Separate agent state sync from report

This commit is contained in:
Meta Vens 2026-07-12 21:54:53 +01:00
commit 631fb60520
6 changed files with 30 additions and 2 deletions

View file

@ -201,3 +201,17 @@ positive operator-status path. The read loader returns `None` without opening
or creating a missing store, and the `read` CLI therefore reports `missing`
without filesystem mutation. Its smoke is fixed beneath `.epiphany-smoke` and
rejects every store override before creation.
## Agent-state projection body boundary
The SoA command split already distinguished `agent-state` sync from
`agent-state-report` readback, but the sync could write its summary into an
unbootstrapped path and thereby create a fragmentary local Verse. The report
also opened a missing CultCache store before reporting the summary absent.
SoA sync now passes the same persisted-status/topology bootstrap prerequisite
as every other query mutation. SoA report checks filesystem existence before
opening CultMesh and refuses without creation. After explicit bootstrap, sync
still mirrors the seven persisted agent rows and report reads them without
mutation. The wrapper's `agent-state-soa` mode is an explicit sync-then-report
composition, not evidence that the report command owns refresh.

View file

@ -126,6 +126,10 @@
observation. Operator status remains absent until the dedicated status writer
publishes it. Missing reads do not create a CultCache store; status smoke is
fixed beneath `.epiphany-smoke`.
- Agent-state SoA sync requires an existing bootstrapped Verse before mirroring
the persisted agent store. SoA report is filesystem-pure on a missing store.
Wrapper mode `agent-state-soa` explicitly composes sync then report; the
report itself never refreshes canonical state.
- Store/runtime overrides fail before fixture seeding or receipt construction.
- Negative proof: targeting `state/local-verse.ccmp` was rejected and its SHA-256 did not change.
- Positive proof: the built-in quarantined smoke completes successfully and reports its quarantine coordinates.

View file

@ -45,6 +45,9 @@ The confirmed conceptual substitutions have been cut:
- bootstrap no longer writes default operator status. Only the dedicated
operator-status writer publishes it; missing reads are filesystem-pure and
the status smoke is fixed beneath `.epiphany-smoke`.
- agent-state SoA sync requires bootstrap; report preserves missing filesystem
state. The wrapper explicitly composes sync then report rather than hiding a
refresh inside readback.
The presentation boundary is now plain: `swarm overview` is a generic compact read-only projection. Gjallar is a downstream TUI application on Nightwing and is not an Epiphany organ, provider, owner, runtime, or architectural dependency. Eve/CultUI graphs may be lowered or composited downstream without Epiphany caring which presentation client does it.