Move daemon lifecycle truth to provider
This commit is contained in:
parent
b861c58254
commit
2590627881
6 changed files with 77 additions and 159 deletions
|
|
@ -37,6 +37,14 @@
|
|||
- Dependent invariant: collaboration feedback may cite only a persisted provider receipt; a consumer request is not acceptance.
|
||||
- Negative proof: provider receipt remains absent after request, response-shaped fields fail, and feedback without provider acceptance fails.
|
||||
|
||||
## Daemon lifecycle request and heartbeat paths (2026-07-12)
|
||||
|
||||
- Request owner: Self/operator owns a daemon-poke intent; Idunn or the target daemon owns its receipt and resulting status.
|
||||
- Poke output: pending intent with observed status and null receipt/result fields, shared by single, batch, and triage paths.
|
||||
- Forbidden writers: poke callers cannot provide receipt id/status, resulting status, or artifact; the generic Verse CLI daemon-status writer no longer exists.
|
||||
- Heartbeat owner: `epiphany-cluster-daemon` writes status. On its first run it derives identity/routing fields from persisted topology and authors the first heartbeat itself.
|
||||
- Negative proof: a real provider heartbeat can precede a pending poke; no poke receipt appears, counterfeit `ready` result is rejected, and `set-daemon-status` is unavailable.
|
||||
|
||||
This is the source-grounded map of the live machine. Historical route and
|
||||
bridge anatomy belongs in git history and evidence ledgers, not here.
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,10 @@ The conceptual-substitution audit found observation manufacturing the body it cl
|
|||
|
||||
`connect-eve` and wrapper mode `eve-connect` now persist only `epiphany.cultmesh.eve_connection_intent`, return `pending-provider`, name the target cluster as response owner, and leave receipt fields null. Consumer-supplied connection receipt id/status is rejected. The request path no longer projects repo-work queue data as if the provider had accepted and returned a surface. `collaboration-feedback` now requires the cited Eve connection receipt to exist in CultMesh, and the wrapper no longer invokes `connect-eve` then cites a receipt that the same command fabricated. Physical proof shows intent present, provider receipt absent, counterfeit receipt fields rejected, and feedback refused without a genuine provider receipt.
|
||||
|
||||
## 2026-07-12 daemon lifecycle requester/provider split
|
||||
|
||||
Single poke, batch poke, and swarm triage now write only `epiphany.cultmesh.daemon_poke_intent`. They report `pending-lifecycle-owner`, leave receipt/result fields null, and reject caller-supplied receipt id/status, resulting daemon status, or artifact result. The generic `daemon-status` / `set-daemon-status` CLI writer was deleted because it let callers proclaim readiness and stamp a heartbeat. `epiphany-cluster-daemon`, the provider body, now creates its own initial status from persisted topology after bootstrap rather than depending on a seeded fake heartbeat. Physical proof: provider heartbeat `degraded`, poke intent observes `degraded`, provider receipt absent, caller-supplied `ready` result rejected, and generic status writer unavailable.
|
||||
|
||||
This is the re-entry rite for `E:\Projects\EpiphanyAgent`: the waking chant for
|
||||
the local machine-spirit before it touches the forge.
|
||||
|
||||
|
|
|
|||
Reference in a new issue