34 lines
3.2 KiB
Markdown
34 lines
3.2 KiB
Markdown
# Recording Route — deterministic, verified actions
|
||
|
||
The routes come from `test/solver-fixtures.json` and black-box browser tests. Drive the production build through public controls only; do not inject state or localStorage.
|
||
|
||
Run `npm run build && npm run preview`, then open http://localhost:4173.
|
||
|
||
## Verified action sequences
|
||
|
||
- **Scenario 1 win (8 turns):** `Inner cw → Inner ccw → Middle ccw ×4 → Middle cw → Outer cw`
|
||
- **Scenario 1 collapse (5 turns):** `Inner cw → Middle ccw → Outer cw → Outer cw → Inner cw`
|
||
- **Scenario 2 win (10 turns):** `Inner cw → Inner cw → Middle cw → Inner cw → Inner ccw → Outer cw → Middle cw → Middle cw → Middle ccw → Middle ccw`
|
||
- **Scenario 5 win (3 turns):** `Middle ccw → Inner cw → Middle cw`
|
||
|
||
## Uncut recording script (SPEC §16)
|
||
|
||
| # | Beat | Action and visible proof |
|
||
|---|------|--------------------------|
|
||
| 1 | Title / campaign start | Click **New Campaign**. Show the 36-tile board, three rings, six gates, objective, traits, event panel, and six rotation controls. |
|
||
| 2 | Exact preview | Focus or click **Inner ⟳**. Open **Payload destinations** and show `I0→I1`; show predicted objective progress, exact resource/species deltas, board highlights, and enabled **Commit**. |
|
||
| 3 | Movement + flow | Commit. Show turn 1, moved payloads, flow arrows, and `Flow` events. |
|
||
| 4 | Pressure causes adaptation | Follow the Scenario 1 win route through turn 4. Show `Lumiflora unlocked Dormancy`, its 3/3 pressure track, adapted tile borders/✓ tags, and the Hunger response. |
|
||
| 5 | Benefit + carrier cost | Continue the route. Show `Benefit active: hunger loss prevented` and `Cost active: dormant producer could not migrate` in the event panel. |
|
||
| 6 | Strengthened global response | Show `Hunger response active`; nutrient inlets now add 1 instead of 2. |
|
||
| 7 | Collapse + retry | Use **Save & Quit → New Campaign** for a clean Scenario 1, then play the five-turn collapse route. Show **Ecosystem collapsed**, click **Retry**, and show turn 0 restored. |
|
||
| 8 | Win + preserved lineage choice | Play the eight-turn win route. Show **Objective achieved**, then explicitly preserve **Lumiflora · Dormancy** to enter Scenario 2. |
|
||
| 9 | Benefit / cost / spillover together | Commit the first Scenario 2 action. Show inherited Dormancy and the actual `Benefit active`, `Cost active`, and `Spillover active: dormant producer was inedible` events. |
|
||
| 10 | Save & Quit | Click **Save & Quit** and show **Continue** on the title. |
|
||
| 11 | Close | Close the browser tab/window on screen. Do not substitute reload. |
|
||
| 12 | Reopen | Open a new tab/window and navigate back to http://localhost:4173. |
|
||
| 13 | Exact Continue | Click **Continue**. Show Scenario 2 at the same turn, board values, inherited traits, and action history. |
|
||
| 14 | Multiple scenarios | Save & Quit, choose **Replay Standalone**, and show the unlocked Scenario 1 and Scenario 2 entries. |
|
||
|
||
Automated proof covers all five scenarios, all 302 conservative campaign inheritance sets, a legal baseline route that provokes and triggers adaptation benefit/cost/spillover, persistence, retry, accessibility, and preview/commit equality. The recording need not play the full campaign.
|