Separate declared topology from observed presence

This commit is contained in:
Meta Vens 2026-07-15 19:43:56 +01:00
commit 56f54055fa
10 changed files with 207 additions and 187 deletions

View file

@ -79,6 +79,22 @@ All confirmed substitutions above have now been structurally cut from their call
Remaining audit work is provenance rather than this original dual-writer cluster: identify every production call site of response-receipt writers, ensure it belongs to a named provider executable or ingest boundary, and distill contaminated historical claims from `state/map.yaml`.
## Static topology/presence split
The plausible topology risk was confirmed. Bootstrap's seven faculty route
declarations supplied daemon ids and private-Verse addresses; liveness loaders
then manufactured seven `unknown` status rows, and overview counted those rows
as seven agents and daemons without one provider observation.
Declaration remains useful configuration for routing and Idunn reconciliation,
but no longer materializes presence. Liveness returns only persisted
provider-authored status rows. Topology, overview, triage, compact swarm output,
and wrapper summaries distinguish declared faculty/routes/targets from observed
daemons. The prompt labels topology addresses as declared. A daemon heartbeat
does not prove an agent exists, so the overview carries no derived agent count.
Negative proof is now structural: seven declared targets plus no heartbeat
produce zero observed daemons; one status document produces one observed daemon.
## Bootstrap/provider split
The later non-receipt pass found one surviving writer from the same original

View file

@ -4,11 +4,21 @@
- Owner: diagnostics only project persisted CultMesh state; they never initialize it.
- Bootstrap owns static policy, topology, schema, brake, and organ-contract declarations. It does not own daemon liveness or provider availability.
- Daemons own heartbeat/status documents. Missing status is represented as `unknown`, never promoted to `ready` by a reader or seeder.
- Daemons own heartbeat/status documents. Missing status produces no observed daemon row; declared targets remain separate and are never promoted to presence or `ready` by a reader or seeder.
- The provenance-free v0 Odin advertisement, Eve surface, and daemon-tool families are quarantined legacy vocabulary. Live provider directories return no rows from them; missing provider state produces no synthetic row.
- Forbidden writers removed in this pass: read-command calls to `seed_epiphany_local_verse_context`, loader fallback constructors, and bootstrap's default-ready daemon-status loop.
- Next authority cut: requester commands may author intents, but Bifrost, GitHub, tool providers, Eve providers, and daemon lifecycle owners must author their own response receipts.
## Declared topology versus observed presence (updated 2026-07-15)
- Owner of declaration: explicit bootstrap persists seven faculty routes, desired private-Verse addresses, and daemon/Eve targets as configuration.
- Owner of presence: a provider-authored daemon status/heartbeat is the only input that creates an observed daemon row.
- Outputs keep the distinction in their names: `declaredFacultyCount`, `declaredPrivateVerseRouteCount`, `declaredDaemonTargetCount`, and `observedDaemonCount`.
- Restart-policy sight may enumerate desired targets with `daemonStatus=unobserved`; that supports Idunn reconciliation but does not materialize a daemon.
- Prompt context labels topology as declared routes and targets. It cannot imply those addresses are inhabited.
- Forbidden substitutions: topology rows cannot become daemon or agent counts; daemon heartbeats cannot become agent counts; configured private-Verse ids cannot become active Verse counts.
- Cut line: the synthetic `unknown_daemon_status` constructor is deleted. A fresh bootstrap has seven declared targets and zero observed daemons; one persisted provider status yields exactly one observed daemon.
## Bifrost body-change request path (2026-07-12)
- Owner: the calling Hands/requester owns the body-change intent.

View file

@ -534,6 +534,15 @@ The confirmed conceptual substitutions have been cut:
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.
Static cluster topology is declaration, not attendance. Bootstrap persists seven
faculty routes and desired private-Verse/daemon/Eve addresses, but missing
provider status now produces zero observed daemon rows. Topology and overview
publish explicitly declared counts separately from `observedDaemonCount`;
daemon heartbeat sight never claims an agent count. Restart-policy rows may say
`unobserved` for a desired target so Idunn can reconcile it without inventing a
body. Prompt context names these as declared routes/targets. The deleted
`unknown_daemon_status` constructor cannot put seven empty helmets on the roll.
## Authority map
- Request owners write intents and requests.