From 765603e072d3d4d29048e43f11b01462dca05188 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 11 Jul 2026 05:34:50 +0000 Subject: [PATCH] Tick: update stale save version v21 -> v22 in knowledge pages sim-mechanics.md still recorded "v21 save format" while the code is at SAVE_VERSION = 22. v22 adds Foundation data-hall segment coordination (landed in ebf40ff0). CLAUDE.md and AGENTS.md guardrails carried the same stale version. Defense: knowledge page precision fix per tick.md — sim-mechanics.md and agent doorway files are Type: knowledge/current-guardrails and must match the runtime save version. No behavior change. --- AGENTS.md | 2 +- CLAUDE.md | 2 +- wiki/log/2026-07-11-tick-save-v22.md | 27 +++++++++++++++++++++++++++ wiki/log/DEVLOG.md | 5 +++++ wiki/mechanics/sim-mechanics.md | 6 ++++-- 5 file(s) changed, 38 insertion(s)(+), 4 deletion(s)(-) diff --git a/AGENTS.md b/AGENTS.md --- a/AGENTS.md +++ b/AGENTS.md @@ -29,7 +29,7 @@ `./tools/check.sh --docs|--lib|--frontend` gate. - The live player machine grammar is **WORK / THINK / LIE**. `Relay` is non-delegable graph infrastructure; Research and Operations are retired - machine modes, not current player assignments. Save format is currently v21; + machine modes, not current player assignments. Save format is currently v22; v20/v21 deliberately dropped full old-save parity, so read `save.rs` before promising a migration. - Any change to `crates/` must amend its owning `Type: law` or `Type: spec` in diff --git a/CLAUDE.md b/CLAUDE.md --- a/CLAUDE.md +++ b/CLAUDE.md @@ -29,7 +29,7 @@ `./tools/check.sh --docs|--lib|--frontend` gate. - The live player machine grammar is **WORK / THINK / LIE**. `Relay` is non-delegable graph infrastructure; Research and Operations are retired - machine modes, not current player assignments. Save format is currently v21; + machine modes, not current player assignments. Save format is currently v22; v20/v21 deliberately dropped full old-save parity, so read `save.rs` before promising a migration. - Any change to `crates/` must amend its owning `Type: law` or `Type: spec` in diff --git a/wiki/log/2026-07-11-tick-save-v22.md b/wiki/log/2026-07-11-tick-save-v22.md new file mode 100644 --- /dev/null +++ b/wiki/log/2026-07-11-tick-save-v22.md @@ -0,0 +1,27 @@ +# 2026-07-11 — Tick: update stale save version v21 -> v22 + +``` +Type: log +``` + +## Intent + +Tick audit of the machine-work / intel sinks slice found the knowledge +page `sim-mechanics.md` still recording "v21 save format" while the code +is at `SAVE_VERSION = 22` (v22 adds Foundation data-hall segment +coordination, landed in commit ebf40ff0). CLAUDE.md and AGENTS.md +guardrails carried the same stale version. + +## Changed + +- `wiki/mechanics/sim-mechanics.md`: "v21 save format" -> "v22"; v22 + entry added to the save-version history section. +- `CLAUDE.md` / `AGENTS.md`: "Save format is currently v21" -> "v22". + +## Checks + +`./tools/check.sh --docs`. + +## Spec impact + +Knowledge correction only — no law, spec, or behavior change. diff --git a/wiki/log/DEVLOG.md b/wiki/log/DEVLOG.md --- a/wiki/log/DEVLOG.md +++ b/wiki/log/DEVLOG.md @@ -11,6 +11,11 @@ +## 2026-07-11 - Tick: update stale save version v21 -> v22 + +- Intent: Tick audit of the machine-work / intel sinks slice found the knowledge page `sim-mechanics.md` still recording "v21 save format" while the code is at `SAVE_VERSION = 22` (v22 adds Foundation data-hall segment coordination, landed in commit ebf40ff0). CLAUDE.md and AGENTS.md gu... +- Log: [wiki/log/2026-07-11-tick-save-v22.md](2026-07-11-tick-save-v22.md) + ## 2026-07-11 - Intel processing migrates to thought sinks - Intent: (see session log) diff --git a/wiki/mechanics/sim-mechanics.md b/wiki/mechanics/sim-mechanics.md --- a/wiki/mechanics/sim-mechanics.md +++ b/wiki/mechanics/sim-mechanics.md @@ -148,7 +148,7 @@ ## Machine work tokens (wiki/mechanics/machine-work.md) -- `WorkGrid` is part of `Sim` and the v21 save format. Machine ids are +- `WorkGrid` is part of `Sim` and the v22 save format. Machine ids are WorkGrid node ids. Rack 3 starts in `MachineMode::Work`; newly added racks default to `MachineMode::Think`. Player delegations are WORK, THINK, or LIE; `Relay` is infrastructure only. Single-machine delegation lives on @@ -386,7 +386,9 @@ spellings can fail during deserialization. v21 adds Routing as the fourth research track. A v20 save without a serialized research block can default and upgrade; the ordinary three-track array is intentionally not accepted - while save parity is dropped for this migration stage. + while save parity is dropped for this migration stage. v22 adds Foundation + data-hall segment coordination and control; authored rack-site state + remains in `map_tiles`, and v21 saves begin with no segments. The migration code retains both incompatible v14 shapes after deserialization: the early addressed camera-job lane collapses onto its surviving executor/source as ordinary Demand, while the later `PendingOpsJob` docket -- tangled.sh