Record keyed RepoModel bootstrap ownership

This commit is contained in:
Meta Vens 2026-08-14 12:23:10 +02:00
commit cfa6114147
3 changed files with 48 additions and 24 deletions

View file

@ -4630,16 +4630,33 @@ partial state.
### Keyed RepoModel mutation planning
`EpiphanyRepoModelMutationProposal` is a durable typed semantic proposal, not a
base-revision patch. The bounded planner currently owns node put/retire and
frontier put/revision. It derives exact identity, domain, node, dependency
frontier, and per-node claim-obligation envelopes from the store, projects the
candidate graph, validates it, and emits deterministic strong-read and write
sets. Callers cannot choose which stale inputs are harmless.
base-revision patch. The bounded planner owns domain, node, edge, summary, and
frontier puts plus node and edge retirement. It derives exact identity, domain,
node/edge, covered-summary member, dependency-frontier, and per-node
claim-obligation envelopes from the store, projects the candidate graph,
validates it, and emits deterministic strong-read and write sets. Callers cannot
choose which stale inputs are harmless. Admission purpose, commit time, and
lifecycle receipts are deliberately absent from model-authored operations.
Node retirement writes an empty per-node obligation even when none existed.
Frontier targeting writes that same identity with its live membership. Thus a
retirement planned concurrently with a new frontier target cannot pass by an
absence scan: the two operations contend on one document. The test commits the
frontier and proves the stale retirement returns a typed conflict while the node
remains accepted. Domain, edge, summary, and lifecycle operations remain the
next expansion of this closed planner before aggregate admission cutover.
remains accepted. A second proof creates a complete domain/node/edge/summary
slice in dependency-reversed order, retires the edge, and rejects a proposal
that addresses the same edge twice.
### Fresh keyed RepoModel seed
`EpiphanyRepoModelSeed` is the only new-store bootstrap input. It contains the
Body binding and canonical semantic documents, but no aggregate revision/hash.
`initialize_keyed_repo_model` derives unresolved-claim obligations and commits
the typed seed provenance, keyed documents, and generic Mind commit receipt in
one exact-envelope transaction. Exact replay returns the same projected state;
divergent seed identity or an aggregate RepoModel envelope refuses.
Exact `8ad16be0` moves the production `epiphany-repository-body bootstrap`
command onto this owner. The legacy bootstrap/migration binary and launch-time
aggregate reader remain the next deletion line; the shakedown stays paused
until they and aggregate admission are gone.

View file

@ -6,7 +6,7 @@ Updated: 2026-08-14
The five-day shakedown remains paused for architectural consolidation. The
latest behavior cut is clean and pushed on `codex/epiphany-shakedown-live`
through exact `bd5034cd`.
through exact `8ad16be0`.
The active campaign is now the hard Decision-Auditable Concurrent Mind
migration. Its first foundation is implemented locally: typed content-addressed
@ -53,15 +53,22 @@ only semantic writes. A stale read-only dependency blocks the whole mutation
without partial insertion. Full core remains 690 passing with one ignored
cross-process helper.
The first concrete RepoModel mutation planner now accepts a persisted typed
semantic proposal and owns dependency derivation for node put/retire and
frontier put/revision. It reads exact domains, nodes, frontier dependencies,
the RepoModel identity, and affected per-node obligation documents; callers do
not supply a strong-read list. It validates the complete projected graph before
returning one Mind mutation plan. A fresh node retirement and a concurrent new
frontier target both write the same previously absent obligation identity, so
only one can commit. The acceptance test makes the frontier win and proves the
stale retirement leaves the node unchanged.
The concrete RepoModel mutation planner now accepts a persisted typed semantic
proposal and owns dependency derivation for domains, nodes, edges, summaries,
and frontier documents. Node and edge retirement are semantic operations;
admission and lifecycle receipts remain runtime-owned. Callers do not supply a
strong-read list. One mutation can create a complete domain/node/edge/summary
slice in dependency-reversed order, while duplicate semantic identities refuse.
A fresh node retirement and a concurrent new frontier target both write the
same previously absent obligation identity, so only one can commit.
Exact `8ad16be0` cuts the first aggregate RepoModel bootstrap path.
`epiphany-repository-body bootstrap` now admits an `EpiphanyRepoModelSeed` as
typed operator provenance and atomically writes only keyed RepoModel documents,
derived claim obligations, and the generic Mind commit receipt. Identical seed
replay is inert; divergent replay and any aggregate RepoModel envelope refuse.
The seed contains no revision/hash head. Full core passes 692 tests with one
ignored cross-process helper, and the repository-body binary checks cleanly.
Operational correction: the original c011 resident and Heartbeat containers
are not alive; both exited 255 on 2026-08-11. Their named volumes are quiescent
@ -176,12 +183,12 @@ unchanged; the lifecycle authorities above remain separate.
## Immediate next action
Extend the keyed RepoModel mutation planner across domain, edge, summary, and
lifecycle operations, then cut its aggregate
admission writers. In parallel sequence, migrate focus/mode, subgoal/invariant, evidence/observation,
Delete the remaining legacy RepoModel bootstrap/migration binary and callers,
then make launch context assemble the keyed view rather than creating or
reading an aggregate. Cut aggregate admission writers after that read boundary
is gone. In parallel sequence, migrate focus/mode, subgoal/invariant, evidence/observation,
checkpoint, and planning admission owners from `EpiphanyThreadStateEntry` to
their keyed documents. Delete the aggregate transaction, reader, and schema
before enabling old writable-store refusal; do not translate or dual-read it.
Then split RepoModel into exact semantic-key documents. Do not touch the
original c011 volumes, resume the shakedown, add capability surfaces, or build
on Yggdrasil.
Do not touch the original c011 volumes, resume the shakedown, add capability
surfaces, or build on Yggdrasil.

View file

@ -70,7 +70,7 @@ current_status:
yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed
resident_physiology: historical_c011_exact_465af24d_zero_zombie_proof_accepted_current_containers_exited_255
unresolved_authority: Coordinator receipt, Heartbeat pulse-artifact, genuine-idle and active resource plateaus, exact-grant terminality, restart-persistent cooldown refusal, schedule/action issuance cardinality, runtime-owned typed fulfillment, all three packaged fulfilled-before-receipt lanes, genuine packaged Imagination option generation, narrow model-generation retention, published model-turn JSON ingress, semantic logical/physical retention, Persona conversation retention, stable Starfire firewall ownership, completed model-adapter session archival, normal coordinator lifecycle opening/error closure/legacy repair/archival, co-resident resident lifecycle retention, authenticated outer-worker attempt retention, deployed supervisor/projector journald ownership, Docker named-volume atomic snapshot visibility, deterministic incremental release construction, and canonical-brake refusal of direct daemon lifecycle actuation are accepted. Starfire's Docker Desktop F: bind is rejected for mutable authority after an exact packaged lockless reader observed an empty published snapshot during writer interruption. Historical migrated semantic attempts without recorded physical namespace remain durable and non-retirable. One completed Discord consequence remains blocked by the absent Yggdrasil credential. Exact aa841873 also makes legacy coordinator repair one full-snapshot transaction so a later hostile family cannot leave an earlier partial repair.
next_action: Complete the hard Decision-Auditable Concurrent Mind cut. Exact 0fbf862c establishes keyed RepoModel documents and read-only strong dependency fences. The current bounded mutation planner persists a typed semantic proposal and derives exact node/domain/frontier/claim-obligation reads and writes itself; callers cannot declare stale state safe. It validates the projected graph before commit. Per-node obligation insertion makes concurrent node retirement versus new unresolved frontier targeting contend even when no prior membership document exists; the test proves the frontier wins and the stale retirement refuses with the node unchanged. Full core passes 690 with one ignored helper. Next extend the same closed planner to domain, edge, summary, and lifecycle operations, then replace aggregate RepoModel admission writers in one hard cut. Keyed coordinator admission and aggregate deletion follow before old-store refusal. No migrator or dual-read path; historical stores remain read-only.
next_action: Complete the hard Decision-Auditable Concurrent Mind cut. Exact 8ad16be0 gives the closed RepoModel planner semantic domain/node/edge/summary/frontier operations with owner-derived strong reads, then moves production repository-Body bootstrap onto one typed seed transaction containing only keyed documents, derived claim obligations, operator provenance, and a Mind commit receipt. It writes no aggregate or revision/hash head; identical replay is inert, divergent replay and aggregate stores refuse. Full core passes 692 with one ignored helper. Next delete the remaining legacy RepoModel bootstrap/migration binary and callers, make launch context assemble the keyed view, then replace aggregate admission writers in one hard cut. Keyed coordinator admission and aggregate deletion follow before broader old-store refusal. No migrator or dual-read path; historical stores remain read-only.
active_subgoals:
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.