Build canonical frontier planning foundation

This commit is contained in:
Meta Vens 2026-07-13 23:58:01 +01:00
commit b0d7a9b155
8 changed files with 826 additions and 8 deletions

View file

@ -114,6 +114,30 @@ candidate -> Mind plan adoption -> distinct Self execution route -> canonical
Hands/Soul/verdict-incorporation chain. Plan readiness does not belong in
`RepoFrontierStatus`, and a generic phase router has not earned existence.
The typed pre-Hands planning foundation is now implemented and Soul-approved.
`RepoFrontierWorkProposal` is immutable, content-hashed, runtime-bound, rejects
marked private state, and has an explicit inert contract. It cannot create a
frontier or route. `RepoFrontierPlanningRequest` is a distinct Self document:
it validates the canonical model and admission, chooses the deterministic first
dependency-ready Active Imagination frontier, freezes item hash/source scope,
and uses current-model CAS. `RepoFrontierPlanCandidate` binds that request and
revalidates model/admission/item/scope; safe paths must be contained by the
frozen scope and checks/stop/rollback lists must contain real text. Mind plan
adoption binds exact candidate bytes and current anatomy. `Adopt` owns one
deterministic model+frontier claim; concurrent candidates produce one winner,
while Hold/Refuse cannot squat the reserved claim prefix. Exact retries
revalidate current state. Nothing in this foundation emits an execution route,
Hands authority, or frontier lifecycle change. Full core proof is 296 passed
and 1 ignored; independent Soul verdict is PASS.
Proposal-to-frontier admission is deliberately still absent. Do not infer a
selected proposal by intersecting arbitrary evidence or add patch metadata.
Add one explicit coordinator/user proposal intake and one typed selected-
proposal Modeling launch identity. Modeling's Evolution patch must cite that
proposal in result evidence and exactly one UpsertFrontier evidence_refs; Mind
reloads the immutable proposal and verifies content/repo binding before
admission. Only the admitted frontier becomes anatomy.
The next artifact-contract audit then cut `epiphany.persona_chat.v0`: its live
writer and catalog had disagreed on field vocabulary, evidence fields, and
lifecycle closure. The writer is now typed Rust with closed

View file

@ -62,10 +62,13 @@ identity; no CLI slug, filesystem path, or old close receipt may synthesize it.
scheduler/publication authority, and current-looking CultMesh writers.
Historical readers are sight-only and cannot feed gates, actions, closure,
pending Bifrost requests, or accounting. Temporary workflow outage is honest.
2. Add typed proposal-to-frontier bootstrap through ordinary Modeling/Mind.
3. Add typed Self planning request, frontier plan candidate/adoption, and bind
plan identity into the later Self execution route plus Hands authority.
Re-enable execution only through that chain.
2. **Foundation landed:** immutable inert proposal, typed Self planning request,
Imagination plan candidate, and Mind plan adoption exist with exact model,
admission, frontier, scope, candidate-byte, race, and retry proofs. The
selected-proposal Modeling launch and proposal-bound Evolution admission are
still absent and must be built explicitly.
3. Bind adopted plan identity into a distinct Self execution route plus Hands
authority. Re-enable execution only through that chain.
4. Rewire verification/closure through canonical Soul and verdict incorporation.
5. Rebuild closure/public proof as read-only joins, then delete stale map schemas
and projection keys.