Docs · Current plan
Slices for #1006 (M4 chapter: Opening day), wave 1: created as sub-issues of #1006. Plan: docs/roadmap/m4-slice-plan.md.
docs/roadmap/m4-slices/plan-1006.mdEdit on GitHub
Cards revised by the widening re-cut of 2026-11-14 carry a "Re-cut" note and may depend on keys in plan-1006-widen.md (CF, OC, OS, SW, SJ, O6T, O13W, O16R, G3C, G4E);
those are created already, so this file is a record, not something to run slice new on again.
Slice K1: The generated config schema merges itself, so config slices can run side by side
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 35 min / 50 calls
- owns:
tools/merge/**,.gitattributes,tools/lib/slice.mjs,tools/validation/merge-config-schema-selftest.mjs - depends: none
- acceptance: fixture tools/validation/merge-config-schema-selftest.mjs
- risk: none
- release-blocker: no
Capability
Two branches that each add a config field merge without a conflict in docs/config/config.schema.json and config.example.json: a merge driver regenerates them, and tools/lib/slice.mjs SHARED lists both files (and Core/LF_StaticReset.c, which already has a driver).
Acceptance
The selftest builds two fixture branches that each add a field, merges them through the driver and expects a schema holding both fields. Red before the driver exists (git leaves conflict markers).
Notes
Model it on the existing drivers in tools/merge/ (lf-regen-tests, lf-regen-localization) and their install step. Schema generator: tools/config/schema.mjs.
Slice K2: Host subcommands load one file each from tools/host/commands
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
tools/cli.mjs,tools/host/commands/README.md,tools/validation/host-commands-selftest.mjs - depends: none
- acceptance: fixture tools/validation/host-commands-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools\cli host <sub> falls through to tools/host/commands/<sub>.mjs (export help and main) when <sub> is not built in, and host help lists them, the way tools/commands/ works for top-level commands.
Acceptance
The selftest drops a fixture hello.mjs in a temp commands dir and expects host hello to run it and host help to list it. Red before the fallthrough exists.
Notes
Golden rule 10: after this slice no M4 slice edits tools/cli.mjs. Today cmdHost dispatches at tools/cli.mjs around line 1695.
Slice O1: Host backups rotate: keep the newest N plus every tagged backup
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 35 min / 50 calls
- owns:
tools/host/rotate.mjs,tools/host/commands/prune.mjs,tools/validation/host-rotate-selftest.mjs - depends: K2
- acceptance: fixture tools/validation/host-rotate-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools\cli host prune [--keep N] deletes the oldest plain backups (start, stop) beyond N (default 20) and never a preflight, wipe, crash or replaced-by-restore backup.
Acceptance
Selftest on a fixture backups folder with 30 dated folders of mixed tags: the expected set survives, tagged ones always do. Red first.
Notes
Backups are written by backupSaves/backupSaveRoot in tools/host/host.mjs:132 (do not edit it). Delete only through tools/safe-rm.mjs/safeRemoveTree, never rm -rf.
Slice O2: Restore drill: the newest backup boots on a scratch profile and its accounts load
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: test
- budget: 45 min / 60 calls
- owns:
tools/host/drill.mjs,tools/host/commands/drill.mjs,tools/validation/host-drill-selftest.mjs,tools/host/fixtures/drill/** - depends: K2
- acceptance: fixture tools/validation/host-drill-selftest.mjs
- risk: none
- release-blocker: yes
Capability
tools\cli host drill [<backup>] copies a backup into a throwaway profile, boots it with -loadSessionSave on a pool machine, and passes only when the log shows save loaded: and at least one applied account record; the live profile is never touched. This is #306's tested restore.
Acceptance
Selftest judges fixture logs (good load, empty load, damaged load, VME). Then one real drill on a copy of the playtest host's newest backup; the PR quotes the SUMMARY line.
Notes
Reuse preflightVerdict (tools/host/host.mjs:204) and the load lines in tools/dedicated/session.mjs (read-only). Pool rules: never pin.
Slice O3: Watchdog: a crashed host comes back within a minute with a backup and its crash log kept
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: test
- budget: 45 min / 60 calls
- owns:
tools/host/watchdog.mjs,tools/host/commands/watch.mjs,tools/validation/host-watchdog-selftest.mjs - depends: K2, O1
- acceptance: fixture tools/validation/host-watchdog-selftest.mjs
- risk: none
- release-blocker: yes
Capability
tools\cli host watch supervises the host process: an exit without the stop file is a crash, so it copies the console log to backups/<time>-crash/, backs up the saves, rotates, and restarts with -loadSessionSave; an exit after host stop ends the watch.
Acceptance
Selftest drives the decision function with fixture states (crash, clean stop, scheduled close) and expects restart, stop and restart. Manual in the PR: kill the host process; it returns and a client rejoins.
Notes
Stop file and ready line: tools/host/host.mjs STOP_FILE, READY_LINE. Hidden launch via tools/lib/quiet-launch.mjs. A scheduled restart (O8) exits through the same graceful close as host stop but must be restarted: agree a marker file with O8 ($profile:lf-host-restart).
Slice O4: Crash-loop guard: three crashes in ten minutes stop the watchdog and alert staff
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
tools/host/crashloop.mjs,tools/host/watchdog.mjs,tools/validation/host-crashloop-selftest.mjs - depends: O3
- acceptance: fixture tools/validation/host-crashloop-selftest.mjs
- risk: none
- release-blocker: no
Capability
The watchdog stops restarting after a configurable number of crashes in a window, keeps the server down, and prints (or, with a configured channel, posts) one staff alert naming the crash logs.
Acceptance
Selftest: a crash history of 3 in 10 minutes returns "hold"; 2 returns "restart". Red first.
Notes
Posting reuses tools/discord-mcp/say.mjs (read-only); no token in the repo.
Slice O5: Restart schedule from config: the next restart and its warning times
Card
- type: system
- tier: T2
- model: sonnet
- machines: test
- budget: 45 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Ops/LF_RestartSchedule.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_RestartWarnings.c - depends: CF
- acceptance: test LF_Test_RestartWarnings
- risk: none
- release-blocker: no
Capability
An owner lists daily restart times (server wall clock, HH:MM) and warning lead times (default 15, 5, 1 minutes) in config.json restarts; the schedule returns the next restart and every warning time from a given clock. Empty list means no scheduled restarts (the default).
Acceptance
LF_Test_RestartWarnings (ops/restart-warnings, LOGIC): with restarts 06:00 and 18:00 and leads 15,5,1, a clock of 17:40 gives 17:45, 17:55, 17:59 and 18:00; midnight wrap; empty list gives none. Red first.
Notes
New area Feature/Ops (core, map-free). Look up the wall-clock API with tools\cli api grep before writing (System.GetLocalTime or similar); never guess. Pure functions take the clock as an argument so tests are deterministic. Regenerate the schema (tools\cli config schema regen).
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the restarts config section and the schema regen moved to CF, so this slice waits for CF instead of K1 (#1258) and owns only the pure schedule and its test. Read the section class CF landed; do not change it.
Slice O6: Players get a toast at each restart warning
Card
- type: capability
- tier: T2
- model: sonnet
- machines: session
- budget: 40 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Ops/LF_RestartToast.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_RestartToast.c - depends: OC
- acceptance: test LF_Test_RestartToast
- risk: none
- release-blocker: no
Capability
Every player gets the toast "Server restart in N minutes" when the server bus publishes LF_OnRestartWarning, through the existing notification path, and the server logs [LFDebug:Ops].
Acceptance
LF_Test_RestartToast publishes one LF_OnRestartWarning (15 minutes) with a captured notification sender and expects one toast with the minutes in it; a second event for the same lead in the same minute sends nothing. Red first. One look-style picture of the toast from a session in the PR.
Notes
Notifications: Feature/Notifications/LF_NotificationManagerComponent.c (do not edit; call its server API). Start the ticker beside LF_HostStop.StartIfRequested() at Core/LF_GameModeRoleplay.c:59, one line. Strings in the core table, neutral copy.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): split. The ticker that publishes the events is O6T; this slice only subscribes to OC's event, so it no longer waits for O5. It no longer edits Core/LF_GameModeRoleplay.c (OC starts the ticker).
Slice O7: An optional siren sounds at the 5- and 1-minute warnings where a server places one
Card
- type: capability
- tier: T2
- model: sonnet
- machines: session
- budget: 45 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Ops/LF_RestartSirenComponent.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_RestartSiren.c - depends: OC, OS
- acceptance: test LF_Test_RestartSiren
- risk: none
- release-blocker: no
Capability
A siren prop found through LF_Places by its component plays the site alarm sound on every client at configured leads (default 5 and 1 minutes); no siren in the world means toast only, logged once. Decision 2026-11-15: the flagship places no siren, so for the flagship the toast alone is the warning; the siren stays a core option for other servers.
Acceptance
LF_Test_RestartSiren (WORLD): spawns the siren prefab, fires a warning and expects the component's play counter to rise once; with no siren the warner logs one Info line. Red first.
Notes
Reuse the bank alarm sound the #308 issue names (find it in Feature/Crime/LF_Bank*). The flagship pack must not place a siren (decision 2026-11-15), so the logged-once line is the expected state there, not a fault. Map independence: no coordinates.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the siren prefab moved to OS, and the component subscribes to OC's LF_OnRestartWarning, so this slice waits for OC and OS instead of the toast (O6). The test publishes the event directly.
Slice O8: The server saves and closes at the restart time, marked for the watchdog to restart
Card
- type: system
- tier: T2
- model: opus
- machines: test
- budget: 30 min / 45 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Ops/LF_RestartClose.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_RestartClose.c - depends: OC
- acceptance: test LF_Test_RestartClose
- risk: persistence
- release-blocker: no
Capability
At the restart time the server writes $profile:lf-host-restart, then closes through the same graceful path as LF_HostStop (GetGame().RequestClose()), so the engine writes its SHUTDOWN save and the watchdog restarts it.
Acceptance
LF_Test_RestartClose drives the close decision with a fake clock and a test seam that records the close request instead of closing; expects the marker written before the request. The real SHUTDOWN save is proven by O9. Red first.
Notes
Core/LF_MissionHeader.c:54 LF_HostStop is the model (read-only). Never close inside the test runner. Independent reviewer (interrogate) before merge.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the close subscribes to OC's LF_OnRestartDue instead of waiting for the toast (O6); the test publishes the event with the close seam installed.
Slice O9: Proof verb restart-cycle: warnings reach a client, the server closes, comes back and loads the save
Card
- type: tooling
- tier: T2
- model: sonnet
- machines: session
- budget: 45 min / 60 calls
- owns:
agent-box/proofs/restart-cycle.mjs - depends: O3, O6, O6T, O7, O8
- acceptance: proof restart-cycle
- risk: none
- release-blocker: yes
Capability
restart-cycle sets a restart two minutes out, checks the client log for the warnings, waits for the close, lets the watchdog restart, and passes when the second boot logs save loaded: with the same account and balance.
Acceptance
The verb fails against main before O8 merges (no close), passes after. PR quotes its SUMMARY.
Notes
Proof verbs are one file each (golden rule 10). Use the session queue; session down straight after.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the warnings now come from O6T (ticker) and O6 (toast); both are named so the proof waits for them.
Slice O10: Session triage groups a server log into known and new lines
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 60 calls
- owns:
tools/lib/log-triage.mjs,tools/host/commands/triage.mjs,tools/validation/log-triage-selftest.mjs,tools/validation/fixtures/log-triage/** - depends: K2
- acceptance: fixture tools/validation/log-triage-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools\cli host triage [<console.log>] groups [LFDebug:*] errors and warnings, SCRIPT (E) and VME: lines by normalised text, counts them, and marks each group known (matched to a docs/debug-log-triage.md entry) or new.
Acceptance
A fixture log with 3 known and 2 new kinds of line gives exactly 5 groups with the right known/new marks. Red first.
Notes
The matcher is a library (tools/lib/log-triage.mjs) because O12 server-doctor reuses it.
Slice O11: Triage drafts one issue body per new line group and prints the gh commands
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
tools/host/triage-draft.mjs,tools/host/commands/triage.mjs,tools/validation/triage-draft-selftest.mjs - depends: O10
- acceptance: fixture tools/validation/triage-draft-selftest.mjs
- risk: none
- release-blocker: no
Capability
host triage --draft writes tmp/triage/<date>/<n>.md per new group (log excerpt, count, first time, suspected feature from the [LFDebug:<Feature>] tag) and prints the gh issue create commands; it never files them itself.
Acceptance
The O10 fixture log yields two drafts with the expected titles. Red first.
Slice O12: server-doctor reads a server log and says which mods loaded and whether it booted
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 45 min / 60 calls
- owns:
tools/commands/server-doctor.mjs,tools/lib/server-doctor.mjs,tools/validation/server-doctor-selftest.mjs,tools/validation/fixtures/server-doctor/** - depends: none
- acceptance: fixture tools/validation/server-doctor-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools\cli server-doctor <profile-or-log> works on a downloaded log with no game installed and prints the loaded mods and versions, SCRIPT (E)/VME: lines with the fix from the triage table, the first-boot success lines, and a final PASS or FAIL.
Acceptance
Fixture logs for a good boot, a missing mod and a VME each give the expected report and verdict. Red first.
Notes
Reuse judgeBootLog from tools/release/boot-check.mjs and tools/lib/log-triage.mjs (both read-only).
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): no longer waits for O10: mods, SCRIPT (E)/VME: lines, success lines and the verdict use judgeBootLog only. The known/new marks from tools/lib/log-triage.mjs are wired in by O13W.
Slice O13: server-doctor reports the effective config and which fields fell back to defaults
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 60 calls
- owns:
tools/lib/server-doctor-config.mjs,tools/validation/server-doctor-config-selftest.mjs,tools/validation/fixtures/server-doctor-config/** - depends: none
- acceptance: fixture tools/validation/server-doctor-config-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools/lib/server-doctor-config.mjs exports checkEffectiveConfig(profileDir): it checks config.json against docs/config/config.schema.json and the config log lines, and lists bad fields and fields that fell back to defaults.
Acceptance
A fixture profile with one out-of-range field and one unknown field gives two findings and a failing result. Red first.
Notes
tools/config/check.mjs already validates a config; call it, do not copy it. Check which boot log lines the config loader prints (#279).
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): a library with its own selftest, so it runs beside O12; O13W wires it into the server-doctor report.
Slice O14: host announce drafts the session post and records the next session for the site
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 60 calls
- owns:
tools/host/announce.mjs,tools/host/commands/announce.mjs,tools/validation/host-announce-selftest.mjs,docs/community/announce-template.md,website/content/sessions.json - depends: K2
- acceptance: fixture tools/validation/host-announce-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools\cli host announce --at <time> [--wipe] fills the announcement template (time, build, address, rules link, wipe notice), writes the next session to website/content/sessions.json, and with --send posts it through the Discord tooling; without --send it only prints. --wipe refuses an --at less than 24 hours from now: a wipe is announced on Discord a day ahead.
Acceptance
Selftest with a fixed clock: a fixture time and build give the expected text and JSON row; --wipe adds the wipe line, and refuses an --at 23 hours out while accepting 24. Red first.
Notes
Agents never run --send; the maintainer or a moderator does. Posting goes through tools/discord-mcp/say.mjs (read-only). Decision 2026-11-14: a wipe may happen any time during the alpha with 24 hours' notice on Discord; progress is kept from the public launch. The wipe line says so in those words; the policy page is W1 (docs/community/wipe-policy.md).
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the sessions.json shape is SJ's website/content/sessions.schema.json ({ "next": null | { "at", "build", "wipe", "announced" } }). Write exactly that; when SJ has merged, run its selftest.
Slice O15: Wipe step: backed up, cleared, logged, and only with a typed confirmation
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 35 min / 50 calls
- owns:
tools/host/wipe.mjs,tools/host/commands/wipe.mjs,tools/validation/host-wipe-selftest.mjs - depends: none
- acceptance: fixture tools/validation/host-wipe-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools\cli host wipe --confirm <host dir name> refuses while the host runs, writes a wipe backup, moves the save root aside (nothing deleted), logs the step to backups/wipes.log, and prints how to restore.
Acceptance
Selftest on a fixture host dir: without the right confirm it refuses; with it the backup exists, the save root is empty and the log has a row. Red first.
Notes
Decision 2026-11-14: a wipe may happen any time during the alpha, announced 24 hours ahead (host announce --wipe enforces the notice, O14); progress is kept from the public launch, so a wipe after it is a deliberate decision by the maintainer and keeps the typed confirmation. The policy page is W1. Never rm -rf.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): no longer waits for O1: the wipe backup goes through backupSaves in tools/host/host.mjs, and O1's rotation already never prunes a tagged backup.
Slice O16: Session runbook a second person can follow, written from the plan
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 50 calls
- owns:
docs/ops/session-runbook.md - depends: none
- acceptance: proof validate (docs links) and the checklist in Acceptance
- risk: none
- release-blocker: no
Capability
docs/ops/session-runbook.md: before (announce, preflight after an update, backup), start (host start, host watch), during (moderator roster, warnings), restart, stop, after (host triage, host prune), and what to do when a step fails, with copy-paste commands only.
Acceptance
Every phase is covered with copy-paste commands; the page has a "when it goes wrong" table; a command that has not merged yet is written in code font exactly as its card names it and marked (planned), never linked; validate passes. O16R later replaces the planned names with the real ones.
Notes
Link docs/ops/game-updates.md and docs/playtest/session-playbook.md; do not repeat them.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): written from the plan now; it no longer waits for O2, O3, O10 and O14. O16R reconciles the commands once they merge.
Slice O18: Rented-box checklist, host-agnostic part
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 50 calls
- owns:
docs/ops/rented-box.md - depends: none
- acceptance: proof validate (docs links) and the checklist in Acceptance
- risk: none
- release-blocker: no
Capability
A checklist for the move to a 24/7 box: box spec for 40 players, ports, profile and save copy with a drill, DNS, watchdog and restart schedule, and the trigger read from website/content/costs.json; a section left for the host #378 picks.
Acceptance
Each step names a command or a file; a command that has not merged yet is in code font as its card names it and marked (planned); validate passes. Manual (#311): a dry run on lf-testbox.
Notes
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): written from the plan now; it no longer waits for O16. O16R reconciles the commands.
Slice O19: The install guide gains success lines, update and rollback, and server-doctor
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
docs/owner/install.md - depends: none
- acceptance: proof validate (docs links) and the checklist in Acceptance
- risk: none
- release-blocker: no
Capability
The self-hosted half of #379: the exact log lines that mean success, "run server-doctor on your log", and how to take a release and roll back (link docs/release-process.md).
Acceptance
No step needs reading a source file; each log line quoted exists in a real boot log; validate passes.
Notes
The per-host page waits for #378 (the host trial, maintainer account).
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): no longer waits for O12: name tools\cli server-doctor in code font as the O12 card does; the success lines come from a real boot log today.
Slice S1: Rules and run-your-own sign cards for the flagship
Card
- type: data
- tier: T1
- model: sonnet
- machines: none
- budget: 40 min / 50 calls
- owns:
addons/LF_Everon1989/Configs/Signs/** - depends: none
- acceptance: test LF_Test_PackSignCards
- risk: none
- release-blocker: no
Capability
The pack adds two sign cards: the published server rules, written in full in their own string keys, and "Run your own" (framework, install guide, generator links), in period copy.
Acceptance
LF_Test_PackSignCards loads the pack's sign catalog and finds both cards with non-empty localized text, and the rules card uses no quiz key (LF_Quiz). Red first.
Notes
Decision 2026-11-14: the orientation quiz (#1194, addons/LF_Everon1989/Configs/Rules/LF_Quiz_Everon.conf) is a subset of the published rules, written separately; it is not generated from the rules page and this slice does not touch it. The published rules are the whole set: RDM, fear roleplay, New Life, the safe zone, the lawless area by name, hold-ups and NLR timing. Sign system: Feature/Signs/. If the test file must live in the core tests folder, it owns only LF_Test_PackSignCards.c and uses NeedsPack().
Slice P1: Place the rules board and the run-your-own board in the flagship town
Card
- type: visual
- tier: T1
- model: sonnet
- machines: full-profile
- budget: 40 min / 60 calls
- owns:
addons/LF_Everon1989/Worlds/Everon1989Town/Everon1989Town_Layers/Village_Signs.layer,agent-box/place-audit-allow.json - depends: S1
- acceptance: proof look plaza (before and after) and audit placement --strict
- risk: none
- release-blocker: no
Capability
The rules board stands at the plaza and the run-your-own board near the arrival, placed with tools\cli place. No restart siren is placed (decision 2026-11-15: the toast alone is enough); the siren prefab stays in core as an option.
Acceptance
tools\cli audit placement --strict passes; look before and after pictures in the PR (polish checklist).
Notes
Flagship world is Worlds/Everon1989Town (Missions/LF_Everon1989.conf:2). Never type coordinates.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the placement waited for OS (the siren prefab) and S1. Since the 2026-11-15 decision no siren is placed, so it waits for S1 only.
Slice S2: Rules page on the site and a Discord-ready copy from the same text
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 60 calls
- owns:
tools/commands/rules.mjs,tools/validation/rules-export-selftest.mjs,website/content/rules.json,website/src/pages/Rules.tsx,website/src/App.tsx - depends: S1
- acceptance: fixture tools/validation/rules-export-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools\cli rules export reads the pack's published-rules strings (English, the keys S1 adds) and writes website/content/rules.json and a Discord-ready markdown block; the site gets a /rules page. One source for the board, the site and Discord. The orientation quiz is a separate subset and is neither read nor generated here.
Acceptance
Selftest: a fixture string table gives the expected JSON and markdown, and a quiz key in the table is ignored. Site builds (website/ build). Red first.
Notes
Pinning on Discord is the maintainer's step. Decision 2026-11-14: the quiz is a subset of the rules, written separately, never generated from this page.
Slice S3: Moderator guide for the incident tools
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 50 calls
- owns:
docs/community/moderator-guide.md - depends: none
- acceptance: proof validate (docs links) and the checklist in Acceptance
- risk: none
- release-blocker: yes
Capability
A guide for trial moderators: reading the incident panel, /report flags and !handled, the admin action log, the three-level ladder (moderator, operator, administrator), evidence kept a week, bans recorded by account uid, and who has in-game powers.
Acceptance
Every command and panel named exists in code (Feature/Moderation/, UI/GM/LF_IncidentGmPanel.c); validate passes. Manual (#313): a moderator rules on a staged incident from the guide alone.
Notes
Spec: the integration-spec comment on #313. Staff powers: only administrators have in-game powers (spec). Decision 2026-11-14: at opening only the maintainer is an administrator. The guide describes the three levels, names nobody, and points at the roster file server/flagship/staff-roster.json (R1; write the path in code font, not as a link, since R1 lands separately) for who holds which level as staff are recruited (#313).
Slice S4: Staff webhook: one fail-safe POST to a URL from server config
Card
- type: system
- tier: T2
- model: sonnet
- machines: test
- budget: 45 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Moderation/LF_StaffWebhook.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_StaffWebhookPayload.c - depends: CF, SW
- acceptance: test LF_Test_StaffWebhookPayload
- risk: none
- release-blocker: no
Capability
A server-only sender posts a JSON message to staffWebhookUrl from config.json; quotes and newlines are escaped; an empty or failing URL logs one LF_Debug.Error and does nothing else; the URL is never logged.
Acceptance
LF_Test_StaffWebhookPayload builds payloads from hostile text and expects valid escaped JSON; with no URL the send is a logged no-op. Red first.
Notes
Look up RestApi/RestContext with tools\cli api class. Reference pattern: Overthrow OVT_NotificationManagerComponent.c:108-146 (ideas only, escape the body). Core stays neutral: the payload is generic JSON, Discord is a pack or owner choice. The flagship's config.json is public in this repo (server/flagship/, C1), so the URL is never in that file: C2 (host config apply) merges it from the host's own secrets file.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the staff config section moved to CF and the Send interface with its capture seam to SW; this slice puts the real POST behind Send and keeps the seam. It waits for CF and SW instead of K1.
Slice S5: Admin actions and new report flags relay to the staff channel
Card
- type: system
- tier: T2
- model: sonnet
- machines: test
- budget: 35 min / 50 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Moderation/LF_StaffRelay.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_StaffRelay.c - depends: SW
- acceptance: test LF_Test_StaffRelay
- risk: none
- release-blocker: no
Capability
The relay subscribes to the admin-action and report-flag events and sends one short line per event through the staff webhook, throttled.
Acceptance
LF_Test_StaffRelay raises one admin action and one flag with a captured sender and expects two messages; ten flags in a second give one batched message. Red first.
Notes
Subscribe through Feature/Moderation/LF_ModerationEvents.c (read-only).
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): codes against SW's Send and capture seam, so it no longer waits for the real POST (S4).
Slice S6: Ban record: #ban and #unban write a row with reason, staff uid and incident ids
Card
- type: system
- tier: T2
- model: opus
- machines: test
- budget: 45 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Moderation/LF_BanRecord.c,addons/LifeFramework/Scripts/Game/Feature/Moderation/LF_AdminAction.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_BanRecord.c - depends: none
- acceptance: test LF_Test_BanRecord
- risk: persistence
- release-blocker: no
Capability
Every #ban/#unban appends a row to $profile:LifeFramework/ban_record.txt keyed by account uid with time, staff uid, reason and the target's recent incident ids; !banrecord <uid> prints a player's rows to the admin.
Acceptance
LF_Test_BanRecord writes two rows, reloads the file and reads them back; a legacy or malformed row is skipped with a warning. Red first.
Notes
Hook point: BanCommand in Feature/Moderation/LF_AdminAction.c:124. File pattern and versioned rows: Feature/Police/LF_PoliceApplications.c (#1184). Enforcement stays vanilla. Independent reviewer before merge.
Slice S7: Appeals channel template and the ban-record lookup for staff
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
docs/community/appeals.md - depends: none
- acceptance: proof validate (docs links) and the checklist in Acceptance
- risk: none
- release-blocker: no
Capability
How a banned player appeals (channel, template), who reviews (a different staff member than the one who banned), and how staff read the ban record and its incidents.
Acceptance
validate passes; the template fields match the ban record's columns. Manual (#315): a staged ban appears in the record with its incident.
Notes
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): written from the cards: the ban record's columns are S6's (time, account uid, staff uid, reason, incident ids) and the moderator guide is docs/community/moderator-guide.md (S3); name both in code font if they have not merged.
Slice S8: Staff list, approve and reject police applications through one server API
Card
- type: system
- tier: T2
- model: sonnet
- machines: test
- budget: 40 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Police/LF_PoliceApplicationStaff.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_PoliceApplicationStaff.c - depends: none
- acceptance: test LF_Test_PoliceApplicationStaff
- risk: none
- release-blocker: no
Capability
A server API lists open applications and approves or rejects one by uid, refusing a non-administrator, wrapping the existing LF_PoliceApplications calls (the gates of #1184 included).
Acceptance
LF_Test_PoliceApplicationStaff: a non-admin approve is refused and logged; an admin approve puts the uid on the roster; a reject starts the cooldown. Red first.
Notes
Read Feature/Police/LF_PoliceApplications.c and LF_PoliceApplicationRules.c; do not change them.
Slice S9: The Game Master panel lists open police applications with approve and reject
Card
- type: capability
- tier: T2
- model: opus
- machines: session
- budget: 45 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/UI/GM/LF_PoliceApplicationGmPanel.c,addons/LifeFramework/Scripts/Game/Feature/Police/LF_PoliceApplicationGm.c,addons/LifeFramework/UI/Layouts/GM/LF_PoliceApplicationGm*,addons/LifeFramework/Scripts/Game/Tests/LF_Test_PoliceApplicationGmRpc.c - depends: S8
- acceptance: test LF_Test_PoliceApplicationGmRpc
- risk: replication
- release-blocker: yes
Capability
An administrator in Game Master opens a list of open applications and approves or rejects one; the request goes client to server by RPC and the server re-checks the role.
Acceptance
LF_Test_PoliceApplicationGmRpc calls the server handler with a non-admin sender and expects refusal, then an admin and expects approval. Session picture of the panel (UI kit parts). Red first.
Notes
Model: UI/GM/LF_IncidentGmPanel.c and Feature/Moderation/LF_IncidentGm.c. The test file is owned too: Tests/LF_Test_PoliceApplicationGmRpc.c. Independent reviewer before merge.
Slice S10: A filed police application relays to the staff channel
Card
- type: system
- tier: T2
- model: sonnet
- machines: test
- budget: 30 min / 45 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Police/LF_PoliceApplicationRelay.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_PoliceApplicationRelay.c - depends: SW
- acceptance: test LF_Test_PoliceApplicationRelay
- risk: none
- release-blocker: no
Capability
When an application is filed the staff channel gets one line (account id tail, playtime, time) through the staff webhook.
Acceptance
LF_Test_PoliceApplicationRelay submits an application with a captured sender and expects one message without the full uid. Red first.
Notes
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): codes against SW's Send and capture seam, so it no longer waits for the real POST (S4).
Slice S11: Feedback triage page for staff
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
docs/community/feedback-triage.md - depends: none
- acceptance: proof validate (docs links) and the checklist in Acceptance
- risk: none
- release-blocker: no
Capability
After a session a moderator turns the feedback channel into GitHub issues with the existing template, links them under the announcement, and runs host triage for the log side.
Acceptance
validate passes; the page names the issue template file that exists. Manual (#316): one session's feedback produces linked issues.
Notes
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): no longer waits for O14: name host announce and host triage in code font as their cards do.
Slice S12: Invite-only alpha: invite message, request path and the opening gate checklist
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
docs/community/alpha.md - depends: none
- acceptance: proof validate (docs links) and the checklist in Acceptance
- risk: none
- release-blocker: no
Capability
The invite message, how a player asks for an invite, how access is limited during the alpha (a server password only, handed out with the invite; no account allowlist), and the opening gate as a checklist: sessions at the player target, no save loss, no blocking regression, trial moderators in place.
Acceptance
validate passes; the gate matches the 2026-11-09 decision in docs/roadmap/m4-outline.md; the page names no allowlist and holds no password.
Notes
Decision 2026-11-14: the server password is the whole alpha gate (no account allowlist, no code). The password is host-only and never committed (server/flagship/, C1 and C2); the page says the maintainer hands it out and changes it on the host. Opening the server to the public is removing the password, #555. At opening only the maintainer is an administrator (roster file server/flagship/staff-roster.json, R1); "trial moderators in place" in the gate means the roster has them before the public opening, not before the alpha. Wipes during the alpha: docs/community/wipe-policy.md (W1); name it in code font, not as a link.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): no longer waits for S3: name docs/community/moderator-guide.md in code font.
Slice G1: Trailer shot list and film scenes for the launch trailer
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 50 calls
- owns:
docs/marketing/trailer-m4.md,tools/film/scenes/m4-trailer/** - depends: none
- acceptance: proof film storyboard m4-trailer (dry run)
- risk: none
- release-blocker: no
Capability
An eight-shot list for the trailer (village, heist, chase, ambulance run, the quiz, a moderator at work, police recruits in uniform, the crowd) as film-harness scenes, reusing M2 PR clips where they hold up.
Acceptance
The film tool's storyboard step parses every scene without error. Read docs/film-pipeline.md first and use its real scene format.
Slice G2: Film trailer shots one to four
Card
- type: visual
- tier: T1
- model: sonnet
- machines: full-profile
- budget: 45 min / 60 calls
- owns:
website/public/media/m4-trailer/a/** - depends: G1
- acceptance: proof film shots m4-trailer 1-4
- risk: none
- release-blocker: no
Capability
Shots one to four filmed on the full profile and kept as clips.
Acceptance
Four clips exist and pass the film tool's checks; one still each in the PR.
Slice G3: Film trailer shots five and six: the quiz and a moderator at work
Card
- type: visual
- tier: T1
- model: sonnet
- machines: full-profile
- budget: 45 min / 60 calls
- owns:
website/public/media/m4-trailer/b/** - depends: G1
- acceptance: proof film shots m4-trailer 5-6
- risk: none
- release-blocker: no
Capability
Shots five and six (the rules quiz, a moderator at the incident panel), both built before M4, filmed on the full profile.
Acceptance
Two clips exist and pass the film tool's checks; one still each in the PR.
Notes
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): split: the recruit panel and the rules-board shots that need P1 and S9 are G3C, so this slice waits only for G1.
Slice G4: Cut the launch trailer
Card
- type: visual
- tier: T1
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
website/public/media/m4-trailer/cut/**,docs/marketing/trailer-m4-cut.md - depends: G2, G3, G3C, G4E
- acceptance: proof film post m4-trailer
- risk: none
- release-blocker: yes
Capability
The 60 to 90 second cut rendered from the real clips through G4E's storyboard, ready for the maintainer to publish.
Acceptance
The film post step renders the cut; the PR embeds a still and the length. Publishing is the maintainer's.
Notes
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the storyboard, captions, music and end card moved to G4E, so this slice only swaps in the real clips and renders.
Slice G5: Workshop page copy and images for the flagship pack
Card
- type: docs
- tier: T0
- model: sonnet
- machines: none
- budget: 35 min / 50 calls
- owns:
docs/marketing/workshop-flagship.md,website/public/docs-images/318/** - depends: none
- acceptance: proof validate (docs links) and the checklist in Acceptance
- risk: none
- release-blocker: no
Capability
The Workshop description for LF_Everon1989 (what it is, the core it needs, rules link, run-your-own link) and three images from look, plus the server-browser description text, which says the alpha is password-protected.
Acceptance
The text fits the Workshop limits; images are look pictures, not mocks. The listing name is exactly Life Framework | Everon 1989 (Alpha) (decision 2026-11-14; C1 sets it in server/flagship/server.json).
Slice G6: A2S query reads a server's name and player count
Card
- type: tooling
- tier: T0
- model: sonnet
- machines: none
- budget: 40 min / 60 calls
- owns:
tools/host/a2s.mjs,tools/host/commands/players.mjs,tools/validation/a2s-selftest.mjs,tools/validation/fixtures/a2s/** - depends: K2
- acceptance: fixture tools/validation/a2s-selftest.mjs
- risk: none
- release-blocker: no
Capability
tools\cli host players [address:a2sport] sends an A2S_INFO query (with the challenge step) and prints the name, map, players and max players, with a 3 second timeout.
Acceptance
Selftest parses fixture reply packets (plain and challenge). Red first. One live run against a running host in the PR.
Notes
An operator tool only. Decision 2026-11-14: the website shows no live player count and there is no status endpoint, so nothing publishes this output. It serves the session runbook (is anyone on before a restart?) and the opening gate's player target.
Slice G7: The servers page shows the flagship's next session
Card
- type: visual
- tier: T0
- model: sonnet
- machines: none
- budget: 35 min / 50 calls
- owns:
website/src/pages/Servers.tsx - depends: SJ
- acceptance: fixture website build with a sample sessions file
- risk: none
- release-blocker: no
Capability
The servers page shows the next session time from website/content/sessions.json; when no session is scheduled it says so plainly. Nothing live: no player count, no up or down.
Acceptance
Site builds; the page renders with a scheduled session and with an empty sessions.json (two pictures in the PR); the page makes no network request to any status URL.
Notes
Decision 2026-11-14: the website shows the next session time only; no live player count and no status endpoint. The time comes from host announce (O14).
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): builds against SJ's schema and fixtures instead of waiting for O14's command.
Slice G9: Run-your-own block on the join page
Card
- type: visual
- tier: T0
- model: sonnet
- machines: none
- budget: 30 min / 45 calls
- owns:
website/src/components/RunYourOwn.tsx,website/src/pages/Join.tsx - depends: none
- acceptance: fixture website build
- risk: none
- release-blocker: no
Capability
A reusable block linking the framework, the install guide and the generator, shown on the join page and ready for the Workshop and Discord copy.
Acceptance
Site builds; links resolve (link check); one picture in the PR.
Slice X1: Day cycle config picks day length, night speed and start hour
Card
- type: system
- tier: T2
- model: sonnet
- machines: test
- budget: 45 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Atmosphere/LF_DayCycle.c,addons/LifeFramework/Configs/Atmosphere/LF_DayCycle.conf*,addons/LifeFramework/Scripts/Game/Tests/LF_Test_DayCycleConfig.c - depends: CF
- acceptance: test LF_Test_DayCycleConfig
- risk: none
- release-blocker: no
Capability
config.json dayCycle: mode accelerated (day length in real minutes, optional night speed, start hour) or realtime (server clock plus an offset); the pure function returns the engine settings for a mode. With no dayCycle section the core keeps the vanilla day length.
Acceptance
LF_Test_DayCycleConfig (time/config, LOGIC): each mode gives the expected day duration and start time, and a 120-minute accelerated day gives the 12x rate. Red first.
Notes
Decision 2026-11-08 (docs/decisions.md:360). Decision 2026-11-14: the flagship's in-game day is 2 real hours (12x), set in server/flagship/config.json (C1), not as a core default (the core makes no era or server claims). Read TimeAndWeatherManagerEntity with tools\cli api class first; prefer vanilla settings over a script loop.
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): the dayCycle section class and the schema regen moved to CF; this slice owns the pure function and waits for CF instead of K1.
Slice X2: The server applies the day cycle through the vanilla time manager
Card
- type: system
- tier: T2
- model: sonnet
- machines: test
- budget: 40 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Atmosphere/LF_DayCycleApply.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_DayCycleApply.c - depends: X1, OC
- acceptance: test LF_Test_DayCycleApply
- risk: none
- release-blocker: no
Capability
At game start the server reads the config and sets the time manager's day duration and start time (accelerated) or syncs to the clock (real time), logging the mode.
Acceptance
LF_Test_DayCycleApply (WORLD) applies a 60-minute day and reads GetDayDuration() back. Red first.
Notes
The O6 dependency is only for Core/LF_GameModeRoleplay.c (one start line each).
Re-cut 2026-11-14 (widen, docs/roadmap/m4-slice-plan.md "Widening the graph"): OC added the game-mode start line and the stub; this slice fills LF_DayCycleApply.c and no longer waits for O6.
Slice X3: Accelerated time resumes from the save after a restart
Card
- type: system
- tier: T2
- model: opus
- machines: test
- budget: 40 min / 60 calls
- owns:
addons/LifeFramework/Scripts/Game/Feature/Atmosphere/LF_DayCycleSave.c,addons/LifeFramework/Scripts/Game/Persistence/Serializers/LF_PersistenceComponentSerializer.c,addons/LifeFramework/Scripts/Game/Tests/LF_Test_DayCycleSave.c - depends: X2
- acceptance: test LF_Test_DayCycleSave
- risk: persistence
- release-blocker: no
Capability
In accelerated mode the time of day survives a restart; in real-time mode the clock wins on load.
Acceptance
First check whether vanilla persistence already saves the time; if so the test proves it and no payload is added. Otherwise a daycycle payload appended to RegisterPersistencePayloads with a version bump. LF_Test_DayCycleSave (PERSISTENCE) round-trips; then wt e2e for the restart. Red first.
Notes
Independent reviewer before merge.
Slice X4: Proof verb day-rate on a dedicated server
Card
- type: tooling
- tier: T2
- model: sonnet
- machines: session
- budget: 35 min / 50 calls
- owns:
agent-box/proofs/day-rate.mjs - depends: X2
- acceptance: proof day-rate
- risk: none
- release-blocker: no
Capability
day-rate reads the game time twice a minute apart on a dedicated server and passes when the rate matches the configured day length within 5 percent.
Acceptance
Fails on main before X2, passes after.