Expose authenticated provider health in Status

This commit is contained in:
Meta Vens 2026-07-19 22:36:40 +01:00
commit b2db6ca5b8
8 changed files with 543 additions and 13 deletions

View file

@ -208,6 +208,19 @@ before return. The ignored persistent smoke output lives at
`.epiphany-smoke/operator-command-interop-rust`; regenerate it rather than
committing generated signatures or private material.
Status now has an explicit Epiphany-owned v2 wire projection. The persisted
command result remains v1; only a Status receipt carries
`epiphany.operator_command.status_result.v2` plus typed `statusV2`. Every call
queries Idunn's public CultNet/RUDP snapshot for exactly Epiphany and Bifrost,
verifies each returned record independently against the root-pinned Idunn
projection anchor, and commits the local admission store only when the complete
set verifies. A valid record remains visible when its peer is absent, while the
set stays `incomplete`; stale admission is never reused as current sight.
Provider output contains bounded state, reason, clocks, lineage, and digest—no
signature, detail, path, key, or private state. `protocol.json` now contains the
typed `operatorStatusV2MigrationFixture` golden value for Bifrost and VoidBot
migration; neither consumer is changed by this pass.
Bifrost's JavaScript smoke consumes those Rust bytes, verifies admission and
receipt signatures plus payload digests, compares the real compact enum/byte
shapes, and rejects mutation. That proof exposed two corrected boundary faults:

View file

@ -1,5 +1,26 @@
# Fresh Workspace Handoff
## Authenticated provider health is wired into Epiphany Status v2 (2026-07-19)
The Epiphany operator service now requires Idunn public-query endpoint, pinned
projection anchor, provider admission store, Idunn runtime, local TTL, and exact
deployment lineage configuration. Each Status invocation queries exactly
`yggdrasil-epiphany` and `yggdrasil-bifrost-persona-feedback` through CultNet
RUDP, verifies returned records independently, and atomically advances durable
admission only for a complete valid set. One valid record remains reportable
when its peer is missing, but the set is explicitly `incomplete`; stale durable
admission is never presented as current sight.
Only Status uses `epiphany.operator_command.status_result.v2` and typed
`statusV2`; stored command results and every non-Status wire result remain v1.
The bounded projection carries release lineage, coordinator/brake/resident
namespaces, pressure and pending-review counts, and two provider projections
containing state/reason/clocks/bounded lineage/digest. It carries no provider
signature, detail, path, key, or private state. The Rust interop protocol fixture
now includes `operatorStatusV2MigrationFixture` for later Bifrost/VoidBot work;
those consumers are deliberately unchanged. Focused provider/service/CLI tests
pass 6/6, 7/7, and 1/1; full core library passes 605/0/1.
## Epiphany canonical signed-health publisher landed (2026-07-19)
The Epiphany supervisor now publishes the generic canonical