fix: validate Soul plan adoption across model transition

This commit is contained in:
Meta Vens 2026-08-08 18:16:14 +01:00
commit d3bfbda0c5
6 changed files with 103 additions and 30 deletions

View file

@ -1497,8 +1497,9 @@ an authenticated operator supplied the decision.
Soul selects and verifies provenance by typed route anatomy. A non-empty
`frontier_plan_decision_id` requires the exact decision receipt, Adopt verdict,
admission receipt binding, base model revision/hash, frontier identity/hash,
and exact Mind-worker result/job or authenticated-operator source. Only an
admission receipt binding, pre-admission model revision/hash and frontier
identity, admission-purpose planning/candidate identity, post-admission route
model revision/hash, and exact Mind-worker result/job or authenticated-operator source. Only an
ordinary worker-result admission may require the Modeling acceptance,
Mind-state-commit, and gateway-review chain. Execution amendments retain their
separate exact receipt chain.
@ -1511,7 +1512,10 @@ validation path despite the legacy generic `WorkerResult` source tag.
Forbidden writer: Soul cannot infer Modeling from result presence, and a plan
decision cannot bypass provenance merely because its admission and review
contain a model-produced result. Missing, substituted, non-Adopt, or
route-mismatched decisions fail closed before worker launch.
route-mismatched decisions fail closed before worker launch. The decision's
pre-adoption frontier-item hash is deliberately not equated with the route's
post-adoption frontier-item hash; Mind's admitted patch is the transition that
changes that item.
## Exact release build cache ownership

View file

@ -72,6 +72,15 @@ The active source repair types all new plan admissions as
uses the already-persisted `frontier_plan_decision_id` as the compatibility
discriminator for v53. It does not rewrite evidence or weaken Soul.
Authenticated release `sha256-53dc65ecf1971fc39a535c3a597723e02ebe73a28936581441b4fe007c98c601`
from `d2538d46` proved the typed branch live, then failed closed because its
first exact-binding predicate incorrectly equated the decision's pre-adoption
frontier hash with the route's post-adoption hash. The follow-up source repair
binds the decision to the pre-admission model, the admission purpose to the
planning request and candidate, and the route to the admitted model. A focused
positive/negative test proves the real transition passes and a substituted
admitted route hash fails.
## Build-time finding
Commit `0f0b006d` made the three named owner manifests drive separate locked Cargo