Release notes: 2026-05-27 — sim-3-env-pool-stub¶
Status: Ready for review
Repo: li-langverse/lic
PR: (pending)
PH / REQ: PH-SIM SIM-2, PH-SIM SIM-3
Author: agent
Summary (one sentence)¶
li-sim gains SIM-2 replay metadata and SIM-3 EnvPoolStub/env_pool_stub_step so RL profile ticks batch sim_step with obs/reward contract stubs.
Agent continuation (required)¶
- Read:
packages/li-sim/src/lib.li,docs/game-dev/studio-full-implementation-plan.md§ WP-SIM-03. - Run:
lic check packages/li-sim/li-tests/smoke/env_pool_stub.li; wirestudio_sim_step_hooksim_rl branch if not merged from sibling vertical PR. - Then: promote persistent
EnvPoolinli-ml-rlre-exportingsimtypes; addenv_pool_step_contract.licomposable test. - Blocked on: async multi-env sampling (PH-ML) — none for this stub merge.
Changed (specific)¶
| Area | What | Evidence |
|---|---|---|
| SIM-2 | SimSessionStub.replay_*, sim_session_replay_record, sim_replay_* | packages/li-sim/src/lib.li |
| SIM-3 | EnvPoolStub, env_pool_stub_step, sim_rl_tick_stub | lic check packages/li-sim/li-tests/smoke/env_pool_stub.li |
| Tests | smoke env_pool_stub.li registered in package manifest | packages/li-sim/li-tests/manifest.toml |
Not changed (scope fence)¶
li-studiostudio_sim_step_hooksim_rl branch — not in this PR (sibling vertical batch).li-ml-rlpackage scaffold — not created; types live inli-simper SIM-3 deepen task.- Physics kernels, tier-2 benches, MCP — not touched.
Breaking changes¶
None — additive fields on SimSessionStub with defaults in sim_session_stub_default().
Security¶
N/A — deterministic stub counters only; no IO or trusted surface.
Performance¶
N/A — composable stub; no bench row.
Downstream¶
| Repo | Action |
|---|---|
| li-ml-rl | Re-export EnvPoolStub from sim when package lands |
| li-studio | Call sim_rl_tick_stub in studio_sim_step_hook when merging vertical ticks PR |