Stop heartbeats forging provider surfaces

This commit is contained in:
Meta Vens 2026-07-15 17:51:52 +01:00
commit 624886ca12
10 changed files with 226 additions and 1232 deletions

View file

@ -117,13 +117,13 @@ exported three bulk writers able to stamp every Odin advertisement, Eve
surface, and daemon-hosted tool in one call. Those all-provider writers are
deleted.
`publish_epiphany_cultmesh_provider_state` accepts one persisted daemon ID,
validates that it names a declared cluster, and writes exactly that cluster's
advertisement, Eve surface, and hosted capabilities. `epiphany-cluster-daemon`
calls this primitive on the shared heartbeat/serve path before writing its own
liveness. An unknown daemon is refused before any provider document is written.
The quarantined aggregate smoke iterates the same one-daemon primitive rather
than using a privileged fixture shortcut.
That daemon-bounded transfer was still false authority: the primitive accepted
only a daemon ID and centrally manufactured composition content and tool claims.
It had no provider-authored payload or provenance. The primitive and its
heartbeat call are now deleted. `epiphany-cluster-daemon` writes liveness only.
Legacy v0 provider templates remain test-only vocabulary; live consumers ignore
their provenance-free rows, and explicit bootstrap retires stale rows of the
three exact Odin/Eve/tool families.
## Heartbeat/bootstrap split
@ -133,8 +133,8 @@ repaint Self-owned policy, topology, contracts, brake initialization, and
operator status merely by emitting liveness.
Heartbeat and serve no longer bootstrap or query the full Verse context. They
require persisted topology, load only narrow liveness rows, publish only the
owning daemon's provider state, and write only its heartbeat. An unbootstrapped
require persisted topology, load only narrow liveness rows, and write only the
owning daemon's 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.
@ -1710,9 +1710,11 @@ runtime constants are now cut. Surface schemas may remain discoverable
vocabulary and local projection validators, but cannot claim executable wire
support.
The next adjacent surface frontier is the generic central Eve template builder,
which synthesizes cluster surface rows and actions while claiming the cluster
daemon owns their contents. A surface earns readmission only through an owning
provider publishing a typed CultMesh document that survives Snapshot, schema
The adjacent generic central Eve substitution is now cut. The publisher and
heartbeat call that lowered daemon IDs into seven plausible surfaces and hosted
tools are deleted. Live consumers ignore provenance-free v0 Odin/Eve/tool rows;
explicit bootstrap retires them. Topology `eve_surface_id` remains address
metadata only. A surface earns readmission only through an owning provider's
provenance-bearing typed CultMesh contract that survives Snapshot, schema
validation, and Eve lowering; advertised actions additionally require a real
typed dispatcher and receipt path.

View file

@ -3,9 +3,9 @@
## Observation and bootstrap authority correction (2026-07-12)
- Owner: diagnostics only project persisted CultMesh state; they never initialize it.
- Bootstrap owns static policy, topology, schema, advertisement, surface, and capability declarations. It does not own daemon liveness.
- 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.
- Provider directories contain only persisted provider advertisements, Eve surfaces, and tool capabilities. Missing provider state produces no synthetic row.
- 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.
@ -48,6 +48,16 @@
- Cut line: the supervisor's provider-status writer and synthetic heartbeat advancement are removed. Generated attempts use unique identities; exact retry is idempotent, identity collision is refused, and delayed replay cannot rewind `latest`.
- Verification: the survival rehearsal preserves the provider envelope across two successful restart commands, observes two distinct awaiting receipts, then publishes a real provider heartbeat and proves receipt resolution plus failure-count reset.
## Provider discovery and heartbeat authority (updated 2026-07-15)
- Owner: `epiphany-cluster-daemon` owns only its liveness heartbeat/status envelope. No central process currently owns provider advertisement, Eve composition, or hosted-tool availability.
- Inputs: heartbeat accepts persisted topology identity and daemon-local liveness evidence. Topology `eve_surface_id` is routing/address metadata only; it is not proof that a surface exists.
- Outputs: heartbeat writes liveness only. Live Odin, Eve, and tool directories remain empty until a future provider-authored contract is admitted.
- Derived state: topology, labels, expected routes, and test-only templates may describe stable addresses and legacy shape. They cannot become provider presence, composition content, supported actions, or executable capability.
- Forbidden writers: generic bootstrap, heartbeat, query CLI, and central template builders cannot publish the provenance-free v0 Odin advertisement, Eve surface, or daemon-tool families. Live consumers ignore those families, and explicit bootstrap retires any stale rows of exactly those types.
- Cut line: `publish_epiphany_cultmesh_provider_state` and the heartbeat call to it are deleted. The seven centrally synthesized surfaces and their tool claims are no longer live state.
- Re-admission invariant: provider discovery returns only after an owning provider emits a provenance-bearing typed contract whose origin can be verified; actions additionally require a real dispatcher and receipt path.
## Persona feedback and Imagination consensus boundary (2026-07-12)
- Eve connection requests remain pending until a real target provider daemon or authenticated ingest boundary supplies the typed response. The former generic `epiphany-eve-provider` CLI is deleted because caller-supplied provider identity and status did not constitute provider participation; local response construction/writing is test-only.
@ -109,13 +119,12 @@
publication command. Provider bodies must publish their own discovery state;
central declared topology cannot be lowered into `active`/`daemon-live`
compatibility presence.
- `epiphany-cluster-daemon` owns provider presence beside heartbeat liveness.
Each heartbeat/serve lane publishes only its daemon's Odin advertisement,
Eve surface, and hosted tools through a daemon-ID-bounded primitive. There is
no all-provider writer; an unknown daemon publishes nothing.
- `epiphany-cluster-daemon` owns heartbeat liveness only. Heartbeat/serve does
not publish Odin advertisements, Eve surfaces, or hosted tools. The former
daemon-ID-bounded central publisher is deleted.
- Cluster daemons never bootstrap the local Verse and never load its full
context. They require persisted topology, read narrow liveness, then write
only their bounded provider state and heartbeat. Explicit operator bootstrap
only their bounded 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
@ -138,9 +147,9 @@
single-daemon heartbeat/observation writers remain. Aggregate synthetic
readiness exists solely inside the fixed Verse smoke body.
- Topology-derived Odin advertisement, Eve surface, and tool-capability builders
are private contract templates, not public state APIs. External consumers see
persisted loaders; only the daemon-ID-bounded publisher may lower templates
into provider-owned documents.
survive only as test fixtures for legacy v0 document shapes. Live consumers
ignore provenance-free v0 rows, and explicit bootstrap retires them. Topology
`eve_surface_id` remains address metadata, not availability evidence.
- Generic bootstrap owns declarations and initial control state, not operator
observation. The template-based operator-status writer and its writerless
schema/context/prompt/reader family are deleted. Operator snapshots remain

View file

@ -346,9 +346,9 @@ The confirmed conceptual substitutions have been cut:
Eve surfaces, or hosted tools; provider absence survives bootstrap.
- the central `provider-advertisements` / `publish-odin` compatibility mouth is
deleted; only provider-owned bodies may publish presence to Odin.
- bulk provider-state writers are deleted. Each `epiphany-cluster-daemon`
heartbeat publishes only its own advertisement, Eve surface, and hosted
tools; unknown daemon identities are refused before writes.
- bulk and daemon-bounded central provider-state writers are deleted. Each
`epiphany-cluster-daemon` heartbeat publishes liveness only; it cannot turn
topology into an advertisement, Eve composition, or hosted-tool claim.
- 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, and brake initialization.
@ -367,9 +367,10 @@ The confirmed conceptual substitutions have been cut:
- bulk seven-daemon readiness construction/writing is test-only. Production
loaders enumerate topology; the aggregate smoke owns a fixed-store local
fixture helper, while real liveness remains single-daemon authored.
- topology-derived provider builders are private, explicitly named templates.
Consumers can load persisted provider documents but cannot request seven
plausible advertisements/surfaces/tools from topology.
- topology-derived provider builders survive only as test fixtures for legacy
v0 shapes. Live consumers ignore provenance-free v0 Odin/Eve/tool rows;
explicit bootstrap deletes stale rows of exactly those families. Topology
`eve_surface_id` is address metadata only, not surface availability.
- bootstrap no longer writes default operator status. The dedicated writer was
a dead `ready` template, so the writer and its now-ownerless schema/context/
prompt/reader family are deleted. Source-derived operator snapshots remain.
@ -1468,10 +1469,15 @@ Re-admission is deliberately expensive: an owning organ must prove
dispatcher and receipt path. Schema registration alone proves vocabulary, not
runtime support.
The adjacent Modeling frontier is the generic central Eve template builder.
It currently synthesizes cluster rows and supported actions while its own prose
claims the cluster daemon owns surface contents. That is the next conceptual
substitution to map and cut or rebuild around provider publication. It does not
replace the current deployment next action: first complete the real Windows
reboot/logon proof for Task Scheduler, the Yggdrasil tunnel, Idunn, and the
launch-correlated semantic projector heartbeat.
The adjacent central Eve substitution is cut. The generic provider publisher
and its heartbeat call are deleted; a cluster heartbeat now owns liveness only.
Live Odin, Eve, and daemon-tool directories expose no provenance-free v0 rows,
and explicit bootstrap retires stale rows of those exact families. The stable
topology `eve_surface_id` remains routing/address metadata and proves neither
presence nor composition. Provider availability can return only through an
owning provider's provenance-bearing typed contract; advertised actions also
need a real dispatcher and receipt path.
This does not replace the current deployment next action: complete the real
Windows reboot/logon proof for Task Scheduler, the Yggdrasil tunnel, Idunn, and
the launch-correlated semantic projector heartbeat.