Separate daemon supervision from bootstrap
This commit is contained in:
parent
cc00f361f7
commit
5caa80f136
6 changed files with 124 additions and 108 deletions
|
|
@ -138,3 +138,18 @@ owning daemon's provider state, and write only its heartbeat. An unbootstrapped
|
|||
daemon fails before creating the CultCache store and tells the operator to run
|
||||
explicit bootstrap. The wrapper already performs that bootstrap at the
|
||||
operator boundary.
|
||||
|
||||
## Supervisor/bootstrap split
|
||||
|
||||
`epiphany-daemon-supervisor` repeated the same authority collapse across twenty
|
||||
production lifecycle, policy, scheduler, runbook, audit, status, and control
|
||||
paths. Every command seeded shared policy, topology, contracts, brake, and
|
||||
operator status before performing Idunn work.
|
||||
|
||||
Production supervisor paths now require persisted Epiphany status and cluster
|
||||
topology through a read-only prerequisite. Missing bootstrap fails before a
|
||||
CultCache store is created. The two synthetic execution-audit smoke commands
|
||||
retain explicit fixture initialization, but it is isolated behind
|
||||
`seed_supervisor_smoke_fixture`, which refuses every store outside an
|
||||
`.epiphany-smoke` path before writing. Idunn consumes shared initialization; it
|
||||
does not own or repair it.
|
||||
|
|
|
|||
|
|
@ -98,6 +98,10 @@
|
|||
context. They require persisted topology, read narrow liveness, then write
|
||||
only their bounded provider state and heartbeat. Explicit operator bootstrap
|
||||
owns policy/topology/contract initialization.
|
||||
- `epiphany-daemon-supervisor` also requires explicit persisted bootstrap for
|
||||
every production lifecycle, policy, scheduler, runbook, audit, status, and
|
||||
control path. Only its two synthetic audit-smoke commands may initialize
|
||||
fixtures, and only beneath `.epiphany-smoke`.
|
||||
- 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.
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ The confirmed conceptual substitutions have been cut:
|
|||
- cluster daemons do not bootstrap or query the full Verse. Missing persisted
|
||||
topology is a pre-write refusal; explicit operator bootstrap owns shared
|
||||
policy, topology, contracts, brake initialization, and operator status.
|
||||
- daemon-supervisor production commands likewise require persisted bootstrap
|
||||
and cannot create shared state. Its two audit-smoke fixture initializers are
|
||||
hard-confined beneath `.epiphany-smoke`.
|
||||
|
||||
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.
|
||||
|
||||
|
|
|
|||
Reference in a new issue