Add movement and Traitor practice to the introduction

Expand /learn from five lessons/three exercises to seven lessons/five exercises. Movement practice uses shared board geometry and occupancy rules to teach ordinary range, separate-city ornithopters, storm blocking, full strongholds, one-group movement and conserved force counts. Traitor practice uses the production combat quote for an optional post-reveal call, a declined losing plan, a sole successful call and mutual betrayal, with the existing full private Traitor inspector. The fixed opponent scenario is explicitly teaching data, not live private information or an AI match.

Migrate every v1 saved lesson to its same identity after insertion, preserving previous choices and outcomes under the existing browser key. Validate v2 movement commitments and reveal/call stages, whitelist saved fields and default only new choices. Browser testing exposed stale pre-update React state surviving hot refresh; a schema-keyed lesson remount runs the migration for development updates too. No live rules, AI strategy, room persistence or server scheduling changed.

Eleven focused cases include all 96 movement combinations against actual authoritative actions, exact force/spice preservation, sole/mutual/declined Traitor outcomes, all five old lesson mappings and malformed or impossible save rejection. Independent review found no material teaching, privacy or restore issue. Types, lint, all 4899 offline tests and production build pass on the unchanged source fingerprint. HTTP and complete-game runs were not repeated for this browser-local guidance change.

Browser checks verified range, storm and full-stronghold explanations, committed movement after refresh, private Traitor inspection, decline and successful-call outcomes, and mutual calls after a refresh at the revealed-choice stage. At a 390px viewport both new lessons fit within the 375px client width without horizontal overflow; keyboard movement selection committed four arrivals and one source remainder. Screenshot acceptance remains open. The viewport was reset and /learn retained as the deliverable.

All 1174 rooms, 2456 seats and every original recovery/entry/handover row remain unchanged. SQLite integrity and foreign keys pass. No new live room, migration, reset, restart, usage check or automation was needed. Broader curriculum, rules/mode acceptance and publication remain unfinished. The status dashboard identifies durable unattended bot recovery as the next independent backend capability; pending faction-rule questions were preserved.

Verified source tree: 6f25e31c2d8865dac823762d7da782f21f7538034c9d3c0e853872d796ced6f7
This commit is contained in:
Quintine committed 2026-09-20 15:44:14 +10:00
1 parent 54c8030b9b
commit e13ad454e2
11 files changed
+357 -53

No files matched your search

+19 -13
View File
@@ -6,20 +6,26 @@ gated.** Prototypes do not open completion or publication gates.
## Current checkpoint and work
Latest delivered gameplay checkpoint: `20cc605`, [Smuggler battle collection](SMUGGLER_BATTLE.md).
Types, lint, **4,884 offline tests**, production build and **43 HTTP tests** passed.
The surviving unmodified leader collects even after losing or capture, with saved
settlement before Sandmaster. All 1,106 baseline rooms and 2,314 seats stayed
unchanged; isolated checks added 34 rooms and 71 seats. No restart was needed.
The subsequent `8f7a62c` policy checkpoint removed the usage cutoff and deferred
AI refinement until feature completion, with three adjacent 75% win-rate targets.
Earlier evidence remains in the [implementation history](IMPLEMENTATION_STATUS.md).
Latest delivered gameplay checkpoint: `54c8030`, [Sandmaster worm rides](SANDMASTER_WORM.md).
Types, lint, **4,894 offline tests**, production build and **43 HTTP tests** passed.
Optional native Fremen destination collection connects multi-sector forces,
controls, minimal legal AI and saved Bene Gesserit arrival continuation. All 1,140
baseline rooms and 2,385 seats stayed unchanged; isolated checks added 34 rooms
and 71 seats. No restart was needed. The `8f7a62c` policy checkpoint removed the
usage cutoff and deferred AI refinement until feature completion, with three
adjacent 75% win-rate targets. Earlier evidence remains in the
[implementation history](IMPLEMENTATION_STATUS.md).
Current work: [Sandmaster worm rides](SANDMASTER_WORM.md) connect optional native
Fremen destination collection, multi-sector forces, controls, minimal legal AI
participation and saved Bene Gesserit arrival continuation. Multiple piles and
combined modules remain guarded. Final verification and delivery belong to the
source-bound private report and Git message.
Current work: the [interactive introduction](INTERACTIVE_INTRODUCTION.md) adds
movement and Traitor practice through shared rules, legal controls and migrated
browser-local saves. Broader curriculum remains unfinished. Final verification
and delivery belong to the source-bound private report and Git message.
A bounded remaining-effect audit found that the reviewed faction/Nexus candidates
still cross recorded pending rulings. Continue independent features rather than
inventing answers. Durable unattended bot resumption is the next clear backend
capability: it needs a platform scheduler and saved due-work metadata; current
request/reconnect continuation does not establish it.
The connected [Harass & Withdraw prototype](HARASS_WITHDRAW_RUNTIME.md) supports either
battle-card slot, private category inspections, exact undialed normal/elite