4.0 handoff
Read 4.0 vision for why. This page is the 4.0 compaction handoff. The live ticket is .xray/state/STATION.md. The suit era is 4.1. What's still open from that handoff: 4.0 left.
What 4.0 is
The suit is the wear on a three-subsystem autonomous engine. Constitution always on. Temperament scales ceremony. The hosts are Grok, OpenCode, Hermes, OpenClaw, and Cursor. The job is a suit that survives the context window. When the window closes, the next session wakes with the job. Plan → build → review → ship stay linear handoffs. Bite-sized work resumes from wear + git + Station. Repertoire is preferred for long-term judgment (vendored 0.2.9, dest = laws). Station is the wake ticket, not a substitute. Split: Station vs Repertoire 0.1.
Score disk, not mind. Chat may lose early turns. Disk must not lose the ticket. After compact the host re-feeds a session summary, the files on disk, and a “conversation was summarized” banner together — naming the ticket afterward is not separable memory proof. Station present means mill was on that machine. Station absent (host did not invent .xray/state/STATION.md) is still PASS for mill-control. Same-bc is not “the agent survived as a conversation.” Killer-dual law: examples/killer-dual/HOST-VS-MILL.md.
Line (feat/v4-temperament)
Do not pin a patch number here. Tag v4.0.0 (f80b42c) is history. The suit era is 4.1. The next publish is a patch. Never release:major (that becomes 5.0.0).
Bone that is already worn (this machine + branch):
- Constitution SSOT on Grok, OpenCode, Hermes, OpenClaw
- Grok hooks = command strings, timeout 30, no
args[] - OpenClaw handshake minProtocol 3 / maxProtocol 4;
xray-pre-toolloaded - Pickle = OpenCode CLI (
opencode run --pure), not Zen/Go HTTP - Hermes pack local 4.0; plugin id
xray-hermes - Repertoire preferred — factory seed 0.2.9 vendored. Grok MCP names unprefixed. Not an 8th 0xRay MCP. Do not pin 0.1.8.
- Memory: shipped
memory_routingis on. Station heat matches seed signals on every host. Compact ingest is shared. Working state:.xray/state/repertoire-working.json. Explicit opt-out:enabled: false+provider: "repertoire". - Hot-swap:
.xray/state/STATION.mdis the card. Compaction (PreCompact), host change, and OpenClaw first-tool write it. The card survives the cut. AGENTS.md: Read the card (Grok does not inject). Live plan line. Lessons stay at 20 hot / 20 retained / 24 learned proposed. Speech that names nothing mints one. Recall carries one plate. Stranger without Repertoire still has git + intent + plan. - Wear review P0: quoted Grok hook commands;
postinstalldogfood actually runs; OpenClaw heat skips only on a concrete session;grok_postprocessor_lightforwarded; Repertoireconfig.tomlon the project. - Stranger-install wear: plugin in tarball, dist-then-src, postinstall PreToolUse, ephemeral markers not clobbering machine, OpenClaw
opencode-clibackend whenopencodeis on PATH.
Not 0xRay bugs: Zen 429, glm billing, xAI chat key, hermes update 17k commits, OpenCode 1.17 vs 1.18.
Next bites
Open list: 4.0 left. Remaining: land the release-gate follow-up (smoke + scripts.publish lifecycle + reconcile). Repertoire is preferred (vendored on).
Do not start a fifth MCP. Do not re-litigate Zen pickle. Do not thicken the Grok exo.
One line for the next model
Suit that survives the context window. Four floors attested. Gate follow-up: smoke matches organ-on; do not re-run the gate after the registry PUT.