What exactly does Museion record in ~/Library/Application Support/Museion/state.json, and when? Engine version, last check result, timestamp — written every launch or only on change? Who reads it (gate, About) and what is the minimal schema?
[Generated by AI]
Part of #12
## Question
What exactly does Museion record in `~/Library/Application Support/Museion/state.json`, and when? Engine version, last check result, timestamp — written every launch or only on change? Who reads it (gate, About) and what is the minimal schema?
[Generated by AI]
Schema — ~/Library/Application Support/Museion/state.json, schemaVersion: 1, engine-gate state only (settings stay in UserDefaults). Single writer: the gate.
Pass record — status: "pass", engineVersion (from hermes acp --version, per Hermes CLI ground truth #35), resolved binary path, ISO-8601 timestamp of the check.
Fail record — status: "fail", timestamp, first-probed candidate path (#36 order), stderr excerpt bounded to ~500 chars; engineVersion absent. Records are replaced wholesale — a fail after a pass never leaves a stale version behind.
Cadence — written after every completed check: the launch auto-check and every manual re-check, pass or fail.
Readers — the gate renders from its in-memory result; state.json is the durable record. About and the ACP bridge spike (#14) read the file, never trigger a check.
About pane (graduated from map fog and resolved here) — read-only mirror of the record: status, engine version ("—" on a fail record), last-checked timestamp, binary path. No re-check button in About; re-check lives in the gate's fail sheet (#38).
[Generated by AI]
## Resolution
**Schema** — `~/Library/Application Support/Museion/state.json`, `schemaVersion: 1`, engine-gate state only (settings stay in UserDefaults). Single writer: the gate.
**Pass record** — `status: "pass"`, `engineVersion` (from `hermes acp --version`, per Hermes CLI ground truth #35), resolved binary path, ISO-8601 timestamp of the check.
**Fail record** — `status: "fail"`, timestamp, first-probed candidate path (#36 order), stderr excerpt bounded to ~500 chars; `engineVersion` absent. Records are replaced wholesale — a fail after a pass never leaves a stale version behind.
**Cadence** — written after every completed check: the launch auto-check and every manual re-check, pass or fail.
**Readers** — the gate renders from its in-memory result; state.json is the durable record. About and the ACP bridge spike (#14) read the file, never trigger a check.
**About pane** (graduated from map fog and resolved here) — read-only mirror of the record: status, engine version ("—" on a fail record), last-checked timestamp, binary path. No re-check button in About; re-check lives in the gate's fail sheet (#38).
[Generated by AI]
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #12
Question
What exactly does Museion record in
~/Library/Application Support/Museion/state.json, and when? Engine version, last check result, timestamp — written every launch or only on change? Who reads it (gate, About) and what is the minimal schema?[Generated by AI]
Resolution
Schema —
~/Library/Application Support/Museion/state.json,schemaVersion: 1, engine-gate state only (settings stay in UserDefaults). Single writer: the gate.Pass record —
status: "pass",engineVersion(fromhermes acp --version, per Hermes CLI ground truth #35), resolved binary path, ISO-8601 timestamp of the check.Fail record —
status: "fail", timestamp, first-probed candidate path (#36 order), stderr excerpt bounded to ~500 chars;engineVersionabsent. Records are replaced wholesale — a fail after a pass never leaves a stale version behind.Cadence — written after every completed check: the launch auto-check and every manual re-check, pass or fail.
Readers — the gate renders from its in-memory result; state.json is the durable record. About and the ACP bridge spike (#14) read the file, never trigger a check.
About pane (graduated from map fog and resolved here) — read-only mirror of the record: status, engine version ("—" on a fail record), last-checked timestamp, binary path. No re-check button in About; re-check lives in the gate's fail sheet (#38).
[Generated by AI]