Add typed frontier execution amendment
This commit is contained in:
parent
583c09c37c
commit
12c8241bb3
13 changed files with 594 additions and 29 deletions
|
|
@ -1436,6 +1436,34 @@ to own the decision. Without a Hands frontier, the consumed proposal still
|
|||
fails closed at `awaitFrontierProposal`; ordinary non-proposal failures still
|
||||
route back to Modeling.
|
||||
|
||||
## Supervisor execution-amendment authority
|
||||
|
||||
Owner: Mind owns a single-use repair when an immutable adopted plan contains a
|
||||
non-executable command that cannot bind an already-observed Hands consequence.
|
||||
The original Imagination plan and Self route remain immutable evidence.
|
||||
|
||||
Inputs: one exact current route, the exact current frontier-item hash, hashes of
|
||||
the original action and command, authenticated supervisor actor/command/admission
|
||||
and packet provenance, one replacement action and command, rationale, and an
|
||||
operator-owned timestamp.
|
||||
|
||||
Outputs: one new RepoModel revision plus Mind review, admission, execution-
|
||||
amendment, and Modeling-projection receipts in one compare-and-swap. Self must
|
||||
derive a fresh route from the amended model; the old route cannot become current
|
||||
again. Hands command receipts bind `effective_command`, and the gate projects
|
||||
both original and effective values for inspection.
|
||||
|
||||
Forbidden writers: generic Modeling admission cannot carry the amendment
|
||||
operation; Hands cannot substitute a command; a stale route cannot be amended;
|
||||
and an already-amended plan cannot be amended again. The amendment is not a
|
||||
repair loop and does not erase failed Soul launches or historical Hands receipts.
|
||||
|
||||
Verification layer: focused derivation tests prove exact success, original-plan
|
||||
preservation, single-use refusal, and generic-purpose refusal. The Hands receipt
|
||||
test proves a mismatched stated command leaves the store byte-identical before
|
||||
the exact command succeeds. Live v53 migration and renewed Soul verification are
|
||||
the remaining end-to-end proof.
|
||||
|
||||
## Exact release build cache ownership
|
||||
|
||||
The root release-bundle manifest owns release profile policy. Measured on the
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ growth.
|
|||
## Authoritative live state
|
||||
|
||||
- Branch: `codex/epiphany-shakedown-live`
|
||||
- Pushed HEAD: `189091bf` (`Keep rejected Modeling behind pending Soul`)
|
||||
- Pushed HEAD before the current verified repair pass: `583c09c3` (`Expose Soul binding mismatch`)
|
||||
- Live workspace: `F:\Projects\.epiphany-runtime\shakedown\live-20260808-v53-hands-precedence`
|
||||
- Sealed evidence: v49 through v52. Do not mutate them.
|
||||
- Current published release: commit `253ef34084c7b450e587c1938a68cd3e983ed79b`, release `sha256-e0a4fd22df335401d56295453e009f31aa2e82253634614426bfba298dd2d3f0`, witness `sha256-65cbc2f21f0774c4da00a60537c959d130e970a4b860de5629a7b929b8185b2c`.
|
||||
|
|
@ -54,6 +54,16 @@ granting Hands authority. Do not weaken Soul and do not forge an empty command
|
|||
receipt. Preserve the failed launches (`v53-soul-r24`, `r25`, `r27`, diagnostic
|
||||
`r28`/`r29`) as receipts of the corrupted seam.
|
||||
|
||||
The current verified repair pass makes command substitution fail before a Hands
|
||||
command receipt can persist. Hands gates expose the exact effective command.
|
||||
RepoModel now supports one Mind-owned, single-use execution amendment whose
|
||||
authenticated provenance and hashes preserve the original adopted plan while
|
||||
atomically committing a new model revision, Mind review, admission receipt,
|
||||
amendment receipt, and Modeling projection. The narrow operator mouth is
|
||||
`epiphany-mind-repair amend-frontier-execution`. Focused amendment and Hands-gate
|
||||
tests pass; their builds took 73 and 64 seconds respectively while test execution
|
||||
was sub-second, strengthening the case for the pending core crate split.
|
||||
|
||||
## Receipts
|
||||
|
||||
- Final Hands patch: `hands-patch-34b421a7-867f-4414-8265-36f2eb191afb`
|
||||
|
|
@ -65,11 +75,10 @@ receipt. Preserve the failed launches (`v53-soul-r24`, `r25`, `r27`, diagnostic
|
|||
|
||||
## Next action
|
||||
|
||||
Finish the operator-safe mismatch diagnostic in `runtime_spine.rs` and commit
|
||||
it. Add fail-closed admission coverage so a non-executable adopted-plan command
|
||||
cannot produce Hands authority. Then implement one labeled typed supervisor
|
||||
migration for the live route, preserving the original route and every failed
|
||||
Soul launch as evidence, and retry Soul against the repaired binding.
|
||||
Commit and push the typed repair pass. Then use the Mind repair CLI to amend the
|
||||
live v53 plan with explicit supervisor command/admission provenance, derive a
|
||||
fresh route, replay the exact Hands receipts against that amended route, and
|
||||
retry Soul. Preserve the original route and every failed Soul launch.
|
||||
|
||||
Build iteration is also an active architectural defect: a tiny
|
||||
`runtime_spine.rs` diagnostic edit forced 18-29 second debug rebuilds, while
|
||||
|
|
|
|||
Reference in a new issue