Derive cluster daemon heartbeat status

This commit is contained in:
Meta Vens 2026-07-12 23:50:39 +01:00
commit c247709647
5 changed files with 14 additions and 18 deletions

View file

@ -420,3 +420,12 @@ matching runtime job, binding, role, authority scope, allowed operation, and
path coverage. Patch, command, and commit receipts also require the matching
approved Hands review. Missing grants, mismatched paths, and attempts to mutate
under a read-only planning grant are negative-tested refusals.
## Caller-selected daemon liveness
`epiphany-cluster-daemon` accepted `--daemon-status ready|degraded|down` and
wrote that caller choice as the owning daemon's liveness. It also accepted an
unproven note for the status document. Both inputs are deleted. Reaching the
heartbeat write derives `ready`; command failure writes no heartbeat, while
degradation/down must come from timeout, failed restart, or supervisor
observation rather than a caller describing the desired dashboard color.

View file

@ -106,6 +106,9 @@ The confirmed conceptual substitutions have been cut:
- Hands persistence resolves its grant rather than trusting an ID label. Grant
identity/scope/operations/paths and approved review must match each intent
and patch/command/commit consequence; grants are immutable.
- cluster-daemon heartbeat no longer accepts caller liveness or note fields.
A successful owning-body heartbeat derives `ready`; degraded/down require
observed supervisor or timeout evidence.
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.