W-082: demo-anno ANNO-F06 goal, victory, bankruptcy, restart¶
Type: feature · Size: M · Epic: E-anno-m1 · Target: apps/demo-anno · Breaking: no Depends: W-033, W-036, W-080, W-081 Refs: brief ANNO-F06; demo-anno spec ANNO-100..109; ecs-schedule SCH-002, SCH-013, SCH-065, SCH-143
Goal¶
Add the end of the game. The settlement/outcome system in PostUpdate sets victory or bankruptcy, sticky until restart (ANNO-100, ANNO-101). Gating is checked end to end for every action (ANNO-102), and both outcomes are reachable with custom content (ANNO-103, ANNO-104). restartSettlement calls world.reset() and runs setup again with the remembered content, re-registers the observers once, and replays the same result (ANNO-105, ANNO-089 from W-081). The Victory or Bankrupt banner, the Restart button and R key, and the "Population: N / goal" text (ANNO-106, ANNO-107). The pipeline table check ANNO-109 runs systemsOf. Ends with the acceptance checklist A6 (ANNO-108).
Steps¶
Not written. The Planner writes the ordered steps (/work W-082).
Log¶
- 2026-11-02 created from the approved spec (Triage). Size M; held in Later until W-033, W-036, W-080 and W-081 are done (Triage)
- 2026-11-02 Planner note: ANNO-109 needs W-036 (OQ9). The restart focus and banner (ANNO-106) is the canary for
world.reset()withuseTrait(OQ14). The spec header says "F06 (100..119)", but it defines only ANNO-100..109, so the Refs use those. (Triage)