2026-04-23 22:01:17 +01:00
# Fresh Workspace Handoff
2026-07-12 20:45:45 +01:00
## Current orientation — 2026-07-12
2026-07-12 19:38:51 +01:00
2026-07-12 20:45:45 +01:00
Epiphany is in an authority-provenance purification pass. The live question is not whether a command can produce a plausible document; it is whether the subsystem writing that document owns the fact it asserts.
2026-07-12 19:38:51 +01:00
2026-07-12 20:45:45 +01:00
The confirmed conceptual substitutions have been cut:
2026-07-12 19:45:56 +01:00
2026-07-12 20:45:45 +01:00
- read-only Verse diagnostics no longer seed or promote the state they inspect;
- Bifrost publication, public-proof publication, artifact acceptance, and metrics callers submit requests without manufacturing provider receipts;
- daemon tool invocation, Eve connection, and daemon poke callers submit intents without manufacturing provider acceptance or lifecycle results;
- Persona feedback no longer manufactures Imagination consensus;
- arbitrary operator-snapshot JSON cannot be promoted into canonical tool intent or receipt state;
- operator-run completion is derived from a fresh, contained result artifact rather than caller status;
- daemon service plan/execute authority is encoded by explicit command identity;
- synthetic receipt smokes are confined beneath `.epiphany-smoke` .
2026-07-12 20:52:15 +01:00
- generic local Verse bootstrap no longer publishes provider advertisements,
Eve surfaces, or hosted tools; provider absence survives bootstrap.
2026-07-12 20:58:51 +01:00
- the central `provider-advertisements` / `publish-odin` compatibility mouth is
deleted; only provider-owned bodies may publish presence to Odin.
2026-07-12 21:06:27 +01:00
- 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.
2026-07-12 21:09:24 +01:00
- cluster daemons do not bootstrap or query the full Verse. Missing persisted
topology is a pre-write refusal; explicit operator bootstrap owns shared
2026-07-12 22:09:38 +01:00
policy, topology, contracts, and brake initialization.
2026-07-12 21:13:07 +01:00
- daemon-supervisor production commands likewise require persisted bootstrap
and cannot create shared state. Its two audit-smoke fixture initializers are
hard-confined beneath `.epiphany-smoke` .
2026-07-12 21:20:05 +01:00
- query-CLI requester/operator mutations also require persisted bootstrap.
Only explicit seed commands and the fixed aggregate smoke may initialize the
shared local Verse.
2026-07-12 21:25:38 +01:00
- worker launch-context rendering requires the existing Verse and cannot seed
it. The prompt-context smoke accepts no destination and is fixed beneath
`.epiphany-smoke` .
2026-07-12 21:34:21 +01:00
- orphaned Bifrost/GitHub/Maintainer response and Imagination consensus
constructors/writers are test-only. The aggregate smoke proves requests stay
pending; production keeps readers for externally provider-authored documents.
2026-07-12 21:39:44 +01:00
- 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.
2026-07-12 21:44:18 +01:00
- 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.
2026-07-12 22:09:38 +01:00
- 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.
2026-07-12 21:54:53 +01:00
- agent-state SoA sync requires bootstrap; report preserves missing filesystem
state. The wrapper explicitly composes sync then report rather than hiding a
refresh inside readback.
2026-07-12 22:20:14 +01:00
- query, cluster-daemon, and daemon-supervisor argument parsing no longer creates
2026-07-12 22:26:05 +01:00
store parents. CultCache's single-file backing store returns empty before
taking a lock when its file is absent, so all readers preserve filesystem
absence without per-loader guards. Full context projection refuses a missing
Verse; explicit bootstrap or a real writer owns CultMesh body creation.
2026-07-12 22:31:29 +01:00
- the generic `epiphany-eve-provider` CLI is deleted: caller-supplied provider
identity/status was not provider participation. Eve requests remain pending;
local response construction/writing is test-only until a real target daemon
or authenticated ingest boundary owns the receipt.
2026-07-12 19:45:56 +01:00
2026-07-12 20:45:45 +01:00
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.
2026-07-12 19:51:35 +01:00
2026-07-12 20:45:45 +01:00
## Authority map
2026-07-12 19:51:35 +01:00
2026-07-12 20:45:45 +01:00
- Request owners write intents and requests.
- Provider bodies write acceptance, execution, lifecycle, and result receipts.
- Diagnostics read persisted facts; absence remains absent or unknown.
- Adapters may project edge state but cannot promote it into canonical provider truth.
- Smoke fixtures may manufacture synthetic state only inside fixed disposable roots.
- `swarm overview` owns no operational fact and performs no scheduling, publication, deployment, lifecycle, admission, or provider acceptance.
2026-07-12 07:45:15 +01:00
2026-04-25 16:37:51 +01:00
## Rehydrate
2026-04-23 22:01:17 +01:00
2026-07-12 20:45:45 +01:00
Read, in order:
2026-04-26 05:43:32 +01:00
2026-07-12 20:45:45 +01:00
1. `state/map.yaml`
2. `notes/epiphany-current-algorithmic-map.md`
3. `notes/conceptual-substitution-audit-2026-07-12.md`
4. `notes/receipt-writer-provenance-audit-2026-07-12.md`
5. `notes/epiphany-fork-implementation-plan.md`
2026-04-28 15:53:36 +01:00
2026-07-12 20:45:45 +01:00
Then run:
2026-04-23 23:28:10 +01:00
```powershell
2026-07-12 20:45:45 +01:00
cargo run --manifest-path .\epiphany-core\Cargo.toml --bin epiphany-state -- status
2026-04-23 23:28:10 +01:00
```
2026-07-12 20:45:45 +01:00
Historical implementation detail belongs in git history, smoke artifacts, and the evidence ledger. Do not restore deleted writers or requester-authored receipts from old proof prose.
2026-07-12 00:31:43 +01:00
2026-07-12 20:45:45 +01:00
## Next real move
2026-07-11 20:48:19 +01:00
2026-07-12 20:45:45 +01:00
Continue the modeling pass beyond receipt writers. Inventory production paths where a projection, cache, adapter, scheduler, coordinator, or compatibility surface asserts a fact owned elsewhere. For each candidate, name the owner, allowed inputs, emitted state, forbidden writers, and negative proof before changing code. Also audit remaining non-receipt smoke binaries for path escape or destructive scope.
2026-07-12 17:14:39 +01:00
2026-07-12 20:45:45 +01:00
## Verification baseline
2026-04-25 16:54:52 +01:00
2026-07-12 20:45:45 +01:00
The last completed code pass had 249 library tests passing and all binaries compiling. Re-run focused checks for the next touched surface; use the full library/binary baseline before committing a new architectural cut.