DD-469 #6 child 5/7: Durable transition and quarantine #33
Labels
No labels
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/attention-mind-mcp#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent and authority
Child 5/7 of #6 (DD-469 Attention 4/6). Parent epic: #1. Reviewed scope: decomposition
decomposition.mdSHA-256a51ac56839bcd81e6a34166e71ce677ba443a9d92b88423f772f3d84bbe39daa, spec PASS with zero findings in disposition4598e30997b235ab493c1067cb636b8612abb5eb53780323ee7f4c5cd179c531. Binds frozendocs/planning/issue-6-transition-protocol-v2.mdSHA-2561aaab9cb149d2575879428eaa9ce42d9b401a582a2ffa9bb44c31d4b2ac82cc2(design PASS 0, #6 comment 42606) and the paired #6 bodyf771415735c3a9238f03e7e9c4dacd259cb62e55e9a7839c20378a46a83f5b61and acceptance matrixa02eb1136bcd60f6dec7395e2a2ff337a189af64d0927a9d6f363b8d03003054, both ratified. Contract: mind-spec3da6a263e6aeb3f37d25590d6ab755045ff53786. Standing grant: #6 comment 42500.Blocked by
Fixed write set
src/attention_mind_mcp/store.py,src/attention_mind_mcp/custody.py,src/attention_mind_mcp/service.py,src/attention_mind_mcp/recovery_transition.py,tests/test_recovery_transition.pyExpanding this write set, or changing reviewed guarantee semantics, goes back to spec review before dispatch.
Interface and responsibility
Extend the existing prepared/finalize path through a single queue transition interface. Persist original-admission reservations and a non-decreasing lifetime high-water, atomically coupled to local mutation/outcome, with the independently surviving authenticated frontier carrying the same authority. Start from reconciled state when opening or admitting a new write. Refuse or quarantine stale/missing/contradictory authority or a lower older archive value presented as authority. Preserve existing schema-2 data on additive migration. The one prepared record durably reserves exact F/C/M bytes, predecessor, identities, nonce allocations and settlement plans before send. It holds the reconstructed readiness and disclosure barrier, applies C once, cancels/spends once on exact M, keeps F alone inconclusive, and retires obsolete state before releasing/replying. Connect backup registration/retirement and staging to the same custody/admission path. Persist only bounded diagnostic metadata. Test production code with the local storage fault adapter and writer termination, lost admission/response, C/M winners, repeated restart before/during settlement and retirement, unresolved/unknown authority and unchanged original deadlines. Release/admission generations block stale work.
Serial dispatch. Children 5, 6 and 7 overlap on
store.py,service.pyandcustody.py. Dispatch only after the preceding child has merged; never run two of them at once.Inherited constraint (spec disposition 4598e309). The prepared record reserves exact F/C/M bytes through P09's separately charged file references/copies; it does not place multi-megabyte envelopes inside the bounded prepared-record payload.
Evidence served
E02–E06, E08, E10, E14 and offline E12/E13 prerequisites. Own persistence and restart evidence for high-water. Forget completes transport/erasure integration. Restore completes reconciliation, fresh-writer activation and maximum-profile evidence.
Completing this child does not discharge E09, E12 or E13. Those stay owed against the real production custodian under the ratified owner-attested, sample-labelled standard. E15 stays with #6 reconciliation.
Gates
command not found,errors during collection,= not foundand"is_error":true.Filed under: operator word "file tickets" sha256:d982c2768589
State:
ready-for-agent. The issue body is the agent brief. Its scope, fixed write set, dependencies, E-row debt and gates come verbatim from the decomposition that mind-spec passed with zero findings (disposition4598e30997b235ab493c1067cb636b8612abb5eb53780323ee7f4c5cd179c531).CONV-40 walk (advisory): branch 3 proposed
ready-for-human. Rule 3 fires: the SQLite/S3 transition protocol is a substrate contract across process and storage.Applied
ready-for-agentunder the operator's ruling. The 2026-11-20T00:18:41+11:00 product-first ruling (Q5) routes each #6 child through delegated SVD with auto-gate and default caps. Spec has already ruled the boundary design in transition protocol v2 (design PASS 0, #6 comment 42606). This child implements that contract offline and authorizes no credential, provider or live action.Dispatch rule: start only when every issue under
## Blocked byhas merged. Children #33, #34 and #35 overlap on shared files, so they run one at a time.Carry-forward note from the PR #42 (#31) merge gate.
recovery_crypto._resolvekeeps a resolver's ownFoundationErrorcode. It maps every other resolver exception tokey_unavailable, includingMemoryErrorand a transient I/O failure. Sokey_unavailablealone does not prove that a key is lost. This child must not treatkey_unavailableas permanent key loss. Its spec should say how it tells a transient resolver failure apart from a lost key. P11 and E07 already require the loss drill to tell an unavailable key, a wrong key, corrupt ciphertext and expiry apart. Sources: the round-5 security observation in the PR #42 gate record, and mind-spec's canonical-fit answer on the #31 round-1 amendments.Carried forward from PR #44 (#30), merged as
35d15ff3These two requirements apply to whichever child encrypts the staged archive (#32 or #33):
staged()verifies the archive through the pinned staging directory, but it returns a plain path. The bytes a later reader opens at that path may differ from the verified bytes. The encrypting child must hash exactly the bytes it reads and refuse on a size or sha256 mismatch with theStagedArchivevalues. The PR #44 body records this as an open risk.ArchiveIdentityacceptscreated_us == original_expiry_us, but the envelope code inrecovery_cryptorequires created < expiry. The encrypting child must refuse that identity with a fixed code before it does any work, or the spec must say which side changes.The PR #44 gate record (comment 43858) has the details.
Filed under: operator-word-d982c2768589
Carried forward from PR #46 (#32), merged as
0828c1efThese requirements apply to #33. The #33 spec must name each one in its acceptance criteria, with negative tests, before #33 dispatch. The #32 spec records items 1 and 2 as its open risks 7 and 8.
coverage_root. Durably bind the snapshot boundary and baseline root to the artifact identity, ciphertext digest, queue and original expiry.decode_admissionaccepts any bucket, and any role or prefix on inventory admissions. #33 must bind all three.timeout_s. At the 30 s default that needs about 3.4 MB/s. PR #46 records this as open risk 12.The PR #46 gate record (comment 44379) has the details.
Filed under: operator-word-d982c2768589
⏸ SVD architect gate: dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine
Status: CLEAN after 2 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity
substrate· dispatch efforthighRun:
20261121T003643Z-46ea8f91Held because: CLEAN but 10 open risk(s) (2 verification · 8 decision) — HOLD-ALL parks everything. The risks, verbatim:
Open risks:
Change: Add src/attention_mind_mcp/recovery_transition.py, which provides QueueTransition, behind the existing seam: commands.decide → store.policy.requires_evidence → custody.prepare, routed through a ContextVar slot. Mirror custody.prepare/load_transition/finalize (custody.py:203-325) for every stage advance. Mirror the recovery_staging.StagingArea discipline (recovery_staging.py:77-560) for the owned custody/ files. Keep SQLite schema 2 byte-identical and add a closed managed variant of prepared_transitions.payload_json. resume() is the only recovery entry. It runs at Store.init open, before each non-info Service.execute, and after each prepare. Rework 2 adds I16 to custody.inspect_pending (custody.py:264-290). Rows are decoded once via load_prepared. Every one of the four capacity sums (items :284, bytes :285, commands +len(rows) :286, lifetime :287-288) is taken over the outstanding rows only: legacy rows, plus managed COMMAND rows at stage PREPARED or MARKER_PREPARED. Managed COMMAND rows in LOCAL_SETTLED={LOCAL_COMMITTED,LOCAL_CANCELLED,RETIRING} contribute 0, because apply_transition (commands.py:342-411) or the spent-row insert has already written their effect in the same FULL tx. Non-command managed rows contribute 0 at every stage. The reserved* columns stay immutable: CHECK(reserved_commands=1) at store.py:240 and the load_transition column binding at custody.py:249-257 both forbid zeroing them. Stage tests use the closed sets custody.MANAGED_STAGES/LOCAL_SETTLED and never StrEnum ordering. For COMMAND rows, a tamper cross-check requires stage∈LOCAL_SETTLED ⇔ a commands row with that scoped_key exists. This is sound because commands.py:223 is the sole commands prune and it runs after the :189 quarantined return.
Files:
src/attention_mind_mcp/store.py·src/attention_mind_mcp/custody.py·src/attention_mind_mcp/service.py·src/attention_mind_mcp/recovery_transition.py·tests/test_recovery_transition.pyDecision: accept the 10 open risk(s) above and dispatch this spec (
svd:go), or park (svd:skip) / re-spec (svd:respec)?Your call (when this issue is held at the gate via
svd:hold):svd:go— approve; Half-B dispatch accepts exactly this spec (open risks accepted)svd:firebesidesvd:go— approve AND authorise the Half-B fire from the phone; never on its ownsvd:skip— park it; dispatch refuses it and the issue stays for a humansvd:respec— discard this spec; the next Half-A run re-produces it with this record as prior-attempt contextSpec:
/Users/piers/src/attention-mind-mcp/data/svd33/specs/2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/src/attention-mind-mcp/data/svd33/specs/2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.mdlabel flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
Architect-gate dispositions for the #33 Half-A spec
The spec is from run 20261121T003643Z-46ea8f91 on main
0828c1ef(CLEAN, 0 blocking, 2 rework rounds):2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md, sha2563f2c3ed4…dfa4. Its five Primary Files are the #33 write set. mind-spec checked the eight decision risks for canonical fit. The operator ruled R2 on 2026-11-21. The guide checked the spec against comments 43686, 43873 and 44393.custody/directory plus a closed managedpayload_jsonvariant, SQLite schema 2 unchangedFact(fp, "terminal", {"w", "d"})and the 1 KiB capOutcome.UNSENTas proof of no dispatchcommand_spentwhile the frontier stays current with no new spendwriter_epochcarried unchangedCarry-forward coverage. Comment 44393 item 1 and the 43873 obligations (re-hash of staged bytes, zero-lifetime refusal) are covered. The spec must add an acceptance criterion and a negative test for each of these:
coverage_rootreuse, a negative case for each of the six bound fields, and a check after reopen.Accepted as written. Upload throughput (item 8) is verified in the E13 packet (R7); the spec pins single-send ambiguity. Key-loss classification is #35's E07 drill (decomposition section 7); this child never classifies
key_unavailableas loss.Next. Amend the spec, run one Half-A verify, and have mind-spec confirm no clash on the amended hash. svd:go follows after that.
Filed under: operator-word-d982c2768589
✅ SVD architect gate: dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine
Status: CLEAN after 0 rework round(s) · 0 blocking defect(s) · 0 lens(es) INCONCLUSIVE (could not run) · 0 lens(es) DEGRADED (deterministic denial) · complexity
unclassified· dispatch effortunclassifiedRun:
20261121T023823Z-423d0b6bFiles:
src/attention_mind_mcp/store.py·src/attention_mind_mcp/custody.py·src/attention_mind_mcp/service.py·src/attention_mind_mcp/recovery_transition.py·tests/test_recovery_transition.pyWrite-set divergence: present table wins. 0 sourceHashes vs 26-row table.
Decision: dispatch this spec (
svd:go)?Your call (when this issue is held at the gate via
svd:hold):svd:go— approve; Half-B dispatch accepts exactly this spec (open risks accepted)svd:firebesidesvd:go— approve AND authorise the Half-B fire from the phone; never on its ownsvd:skip— park it; dispatch refuses it and the issue stays for a humansvd:respec— discard this spec; the next Half-A run re-produces it with this record as prior-attempt contextSpec:
/Users/piers/src/attention-mind-mcp/data/svd33/spec-v2/2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md— next:codex-svd dispatch --args '<same-json>' --approved-spec-path /Users/piers/src/attention-mind-mcp/data/svd33/spec-v2/2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.mdmind-spec canonical fit on the #33 spec amendments
mind-spec checks canonical fit only, against
docs/planning/issue-6-transition-protocol-v2.mdat0828c1efand the attention-v1 contract. The guide relays its answers here, so the spec can cite a forge record. Earlier dispositions: comment 44602.Spec-v2, sha256
2534783d…dfc5b(2026-11-21).command_spent; proven no-send settles only C's dispatch and does not authorize spend from F; P02, P05.2, P06). The R6 fix (one logical admission slot holds two 16,384-byte reservations through verified rewrite retirement; P09). The admission namespace and through-current coverage bindings, original-publication or fence and exclusion evidence, exact-version retirement with fresh post-delete absence, and persistent orphan debt (P03 to P05, P10, P14). No portable contract amendment is needed.unknownfor previously enabled custody (P01, P15); the effective barrier on direct export and staging (P03, P01).Spec-v3, sha256
6f55a611…3742(2026-11-21).Filed under: operator-word-d982c2768589
Approved spec for #33 Half-B
Approved spec:
2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md, revision 5, sha2566f2c939213e60d83c481fde4d8d33006a3169256376d8129e94cb3a332769062(162,517 bytes, 824 lines), on main0828c1ef. Earlier records: comments 44602 and 44651.Verify runs after 44651. Each run was verify-only, with no rework rounds and no label writes, on base
0828c1ef.6f55a611…3742Store.transaction()callers)0e87a4b7…59066f2c9392…9062Revision 4 fixes. Revision 4 fixes the revision 3 blocking defect, the two mind-spec clashes on revision 3 and six smaller items:
Store.transaction()caller as gated content or state-only;Revision 5 fixes. Revision 5 fixes the revision 4 warning on the budget API.
prepare_transitionrefuses while a frontier copy is held. So the spec now runs it on a private state, derived by releasing the idle F charge, under the custody lock as one check. A reopen with a durable prepared row counts F inside that one reservation. Revision 5 also addsbinding.py:134to the reader audit.Warnings accepted without amendment:
commandsprune: the I16 equivalence holds only whilecommands.py:223is the onlyDELETE FROM commands. The spec records this for #34 and #35 under Risk flags. Their gates re-run the grep.mind-spec canonical fit. mind-spec found no clash on revision 4 and no clash on revision 5. It confirmed that both revision 3 clashes are closed. R5 and R6 stay settled and R10 stays with #35. For revision 5 it accommodated the idle-F transfer and the reopen accounting under P09 and P05.1. It also found that the reader audit keeps the attention-v1 readiness values and the P15 status contract.
Filed under: operator-word-d982c2768589
Approved spec for #33 Half-B, revision 6
This record replaces comment 44720. Revision 5 was released, but its Half-B dispatch stopped on two spec contradictions. svd:go was removed until a corrected revision passed review.
Approved spec:
2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md, revision 6, sha256dface8aaefb6f31b78b12bfbb8afdab2c54a214ee3a497414f5e8fee2bbb9154(170,716 bytes, 840 lines), on main0828c1ef.Half-B dispatch on revision 5. Run 20261121T031914Z-5d2d6da3 ran for 97 seconds and declared the work incomplete. It changed no file and opened no PR. The guide confirmed both contradictions against
0828c1ef:recovery_archive.py:432callsstore.transaction()with no argument, and keeps itsArchiveIdentityinside the exporter. Inside the five-file write set, the gate cannot see that identity.Transition. Its candidate JSON, title included, must matchcustody.py:89-94exactly. A scenario also forbade candidate title bytes in any prepared row.Revision 6 fixes.
recovery_archive.pybecomes the sixth Primary File._export_snapshotpasses its actualArchiveIdentityto the privateStore._archive_transaction(identity). Before any snapshot read, that entry checks the identity, the single-use scope, effective quarantine and the full durable reservation. BareStore.transaction()refuses on a managed or previously activated queue. The never-activated local path, the archive bytes and the wire do not change. The engine passes exactly the scope's identity and staging location. The staged summary is a second check before sealing or registration.Verify run. Run 20261121T033426Z-fad6ae3a was verify-only, with no rework rounds and no label writes, on base
0828c1ef. It was CLEAN: 0 blocking, 1 warning and 4 nits, all accepted. The warning was that one lens read only part of the spec. The guide read the whole change from revision 5 to revision 6. The nits are about line citations, and each claim holds.mind-spec canonical fit. Both D1 options fit P10, and the guide chose option A. On revision 6, mind-spec found no clash. It accommodated D1 under P03, P10 and P11, D2 under P02, P09, P05.1 and P11, and the retirement order under P04 and P05.2. Revision 4 and revision 5 dispositions in comment 44720 still stand.
Filed under: operator-word-d982c2768589
#33 split (operator ruling R3, 2026-11-21)
Revision 6 (comment 44727) was released, but its Half-B dispatch stopped on a third spec contradiction (D3): the frozen admission codec cannot hold the literal recovery pass as one plan. That run changed no file and opened no PR, and svd:go was removed. This was the second stop of one class, so attention swept every frozen API that revision 6 depends on, at
0828c1ef. It found 12 gaps. Eleven have a fix inside the six Primary Files. One does not: a non-command transition cannot get an abort marker M without a command charge, because the frozen marker needs exactly one (recovery_frontier.py:583,recovery_budget.py:370-396). mind-spec read the fitting design as a distinct non-command cancellation certificate. That certificate changes two frozen modules and needs section 4 ratification. The operator ruled to split #33.#33 keeps INITIALIZE (the first exact F0) and COMMAND transitions, exact recovery, quarantine, authenticated identity and info, the archive entry guard, D1, D2, and retirement before the acknowledgement and the barrier lift. It carries the in-set fixes:
Primary Files stay six:
store.py,custody.py,service.py,recovery_transition.py,recovery_archive.pyandtests/test_recovery_transition.py.Interim. REGISTER, PUBLISH, SETTLE_COPY, RETIRE_COPY and CLEAR_DEBT refuse at the engine intent entry, before any durable write or provider call. Public codes do not change. Each new command admission needs fresh, complete, bound evidence of an empty artifact namespace, rechecked before the first candidate send. Known orphan debt is kept and reported, and it holds ordinary new work only. Production managed activation and admission stay gated until #34 and #47 land.
#47 takes the non-command certificate and settlement, the exact prepared fence, inventory continuation, the coverage baseline projection and the backup lifecycle. The sentence "Connect backup registration/retirement and staging to the same custody/admission path" in this body moves with it. Order: #33, #34, #47, #35.
mind-spec found the cut fits as a gated integration stage. A revision 7 specification for the narrowed #33 follows, with its own verify run, canonical-fit check and release record. That record will replace comment 44727.
Filed under: operator-word-d982c2768589
Approved spec for #33 Half-B, revision 8
This record replaces comment 44727. Revision 6 was released, but its Half-B dispatch stopped on contradiction D3, and svd:go was removed. The operator then split #33 (comment 44770). Revision 7 specified the narrowed #33. mind-spec found one P03 clash in revision 7, and revision 8 resolves it.
Approved spec:
2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md, revision 8, sha256b080c1e2b75e19df81e5e192ee18536b9c8faebc4fc0dac3231dff751d4d3c86(167,623 bytes, 857 lines, 62 scenarios), on main0828c1ef.Half-B dispatch on revision 6. Run 20261121T034120Z-17944ce8 ran for 216 seconds and declared the work incomplete. It changed no file and opened no PR. The guide confirmed D3 against
0828c1ef: the frozen admission codec has no HEAD plan kind (recovery_storage.py:941-963) and refuses a non-zero ordinal for frontier kinds (:1677). So the literal recovery pass cannot be one plan. This was the second stop of one class, so the full frozen-API sweep and the split followed.Scope.
decidein a savepoint, rolled back on replay and pre-admission refusal (K); a corrected generation statement (L).store.py,custody.py,service.pyandrecovery_archive.py(modify);recovery_transition.pyandtests/test_recovery_transition.py(create).Revision 8: served release under P03. The frozen adapter rechecks only successful
list,getandexplainresponses before release (mcp_adapter.py:84,:179). In revision 7, a cached command replay computed while READY could therefore be released after another request entered PREPARED. Revision 8 makes these changes:quarantineddocument, even after a no-op or cancellation returns the queue to READY.Verify runs. Revision 7: run 20261121T043649Z-b1186b18, CLEAN. Revision 8: run 20261121T050615Z-8efb6eac, verify-only, with no rework rounds and no label writes, on base
0828c1ef. It was CLEAN: 0 blocking, 2 warnings and 3 nits. The R11 warning closes with mind-spec's answer below. R8 is an E15 citation step that the merge gate checks.Lens coverage was partial. Each lens's whole-file read returned the first 296 of 857 lines. One lens read the new release section, and no lens read the new scenarios or test rows. The guide read the whole change from revision 7 to revision 8 and re-measured the adapter seam against
0828c1ef.mind-spec canonical fit. mind-spec measured this exact hash independently and found no clash. The revision 7 P03 replay clash is closed. Protected fresh and replayed outcomes, admission results and refusals, and protected queries pass the served handoff check. The private epoch changes neither cursor generation nor the wire. The existing
quarantinedrefusal fits a direct command that cannot safely enter PREPARED while a handoff is active. The Store-local lease fits the isolated offline INITIALIZE scope of #33. The position 4, interim custody, R4 and R9 dispositions carry over from revision 7.Carry-forwards:
Filed under: operator-word-d982c2768589
Approved spec for #33 Half-B, revision 11
This record replaces comment 44809. Revision 8 was released, but its Half-B dispatch stopped, and svd:go was removed. Revisions 9, 10 and 11 followed. mind-spec found no clash in revision 11.
Approved spec:
2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md, revision 11, sha256d306967d25fe6d770dc75280fea9b7f036900b503058f4549a84eb4aee531302(198,699 bytes, 926 lines, 71 scenarios), on main0828c1ef.Half-B dispatch on revision 8. Run 20261121T051641Z-1a58aa12 declared the work incomplete. It changed no file and opened no PR. Revision 8 still charged the staging file and its full read input together. But the frozen staging route reads the archive after the exporter returns (
recovery_staging.py:459-471), and staging had moved to #47. The guide confirmed this as residue left by the #33 split, not a new need in a frozen module. Attention then mapped every WHEN/THEN clause of the 62 scenarios to a file in the six-file set.Revision 9: residue moves and four fixes.
Revision 10: new-work hold and disclosure barrier. Fresh custody evidence gates new managed commands only (P01). The disclosure barrier covers a pending transition, unretired required material, and current recovery authority that is unproved or contradictory (P03, P15). Once the exact winner, local completion and required retirement are proved, these are released without waiting for new evidence: the settled acknowledgement, an authorized replay, and get, list and explain. A permit fenced before settlement stays revoked.
Revision 11: the hold refusal.
submit,replace,withdrawordispose, held only by the custody-evidence gate, returns the existingineligiblecode. The hold is checked after authority, queue and generation, the token, any eligible replay and the real capacity limits. It is pre-admission and unspent: no prepared transition, no stored fingerprint or outcome, and no mutation request. The client may retry the same request with the same token and command ID before the original deadline.capacity_exceeded. A failure of disclosure authority still returnsquarantined. Delivery operations keep their existing meaning.quarantined.mind-spec ratified the
ineligiblemeaning under grant section 4. The operator approved its canonical text on 2026-11-21 at 17:20:18 +11:00. dev/mind-spec PR #8 merged it atf2d7a963a0dbbb50534b6de85133756c718e89b9, with a conformance case. CI was green on the PR head and on main. The operator ruled that #33 does not wait for that text. This ruling replaces the ownership and waiting wording in the spec's canonical follow-up carry-forward and in R14. The #7/#8 release adopts the new contract pin through mind-spec#4.Verify runs. All three were verify-only, with no rework rounds and no label writes, on base
0828c1ef:Lens coverage: in revisions 10 and 11 the exhaustiveness lens read the whole spec. The other lenses read only the first part. The guide read each whole delta (revision 8 to 9, 9 to 10, and 10 to 11) and re-measured the cited code against
0828c1ef.mind-spec canonical fit. mind-spec measured this exact hash independently and found no clash. The hold refusal, the single refresh, the reopen rule and the #35 restore carry-forward fit the protocol and attention-v1. One wording note: the orphan-debt scenario says "both custody blocks". Its test asserts the command hold and keeps disclosure for a proved winner.
Carry-forwards:
Filed under: operator-word-d982c2768589
Approved spec for #33 Half-B, revision 12
This record replaces comment 44849. Revision 11 was released, but its Half-B dispatch stopped, and svd:go was removed. Revision 12 followed. mind-spec found no clash in revision 12.
Approved spec:
2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md, revision 12, sha2564f7baa16ba1727eeee38d583494e0fb9e2a4e65a213f2759e7ae153230277f24(205,590 bytes, 933 lines, 71 scenarios), on main0828c1ef.Half-B dispatch on revision 11. Run 20261121T063935Z-735b7bbe declared the work incomplete. It changed no file and opened no PR. The worker found two gaps, and the guide confirmed both against the frozen code:
recovery_frontier.py:133-144,:419-421). The ordinary and completion counts exist only as ledger totals (recovery_budget.py:155-156). Revision 11 gave expiry credit only for "the proper command group", which the frontier cannot prove. Swapping the classes of two records gives identical frontier bytes.recovery_budget.py:180,:186-187). Revision 11's profile check allowed 1,024 unexpired commands with no live-reserve term. A store with 1 live item and 1,024 commands passed that check, but the frozen ledger refused it at 1,025.Revision 12: zero expiry credit and the joint command profile. mind-spec read both points against the protocol (P05.1, P08, P09) and attention-v1.
commands.py:223) may remove expired rows of both classes, but only inside a newly admitted prepare. It rolls back on replay and on pre-admission refusal.managed_profile_exceededbefore any custody write, clock-floor update, admission or provider call. Local mode is unchanged.f2d7a963a0dbbb50534b6de85133756c718e89b9. #33 has no pending canonical-text dependency.Verify run. Run 20261121T070011Z-f89a730e, verify-only on base
0828c1ef, with no rework rounds and no label writes: CLEAN, with 0 blocking, 1 warning and 3 nits. The warning says R14 names no post-merge check; this record and the merge gate below close it.Lens coverage: no lens read lines 535-799 of the spec, which hold most of the changed scenarios and test rows. The guide read the whole revision 11 to 12 delta and re-measured the cited code against
0828c1ef.mind-spec canonical fit. mind-spec measured this exact hash independently and found no clash. Omitting expired spent identities while both counters stay charged fits P08 and attention-v1. M stays bound to the original F under P05.1. The joint profile leaves both protected completion slots within 1,024.
Carry-forwards:
Filed under: operator-word-d982c2768589
Approved spec for #33 Half-B, revision 13
This record replaces comment 44906. Revision 12 was released, and three Half-B dispatches on it stopped without a commit, a push or a PR. Revision 13 followed. mind-spec found no clash in revision 13, and svd:go stays on #33.
Approved spec:
2026-11-21-dd-469-6-child-5-7-durable-transition-and-quarantine.md, revision 13, sha25610b8a09364771bb01ceb0730f08a710998fc92b962c4f32ffd3b3a029c399cf5(216,333 bytes, 965 lines, 72 scenarios), on main0828c1ef.Half-B dispatches on revision 12.
quarantinedrefusal when release evidence is missing. The frozen adapter could not enforce that. It holds the response start only whenslot.obligationis set (mcp_adapter.py:179-181), and a missing obligation after buffering raisesinternal_failure(:193-194). Neither path calls the release recheck. The guide confirmed both lines at0828c1ef.admitted_m, M's admission already exists and M was never sent, so the no-resend rule bars a second M. With only the original F visible, no winner can be proved.The operator ruled "Add mcp_adapter.py (Recommended)" (received 2026-11-21 between 21:26:52 and 21:27:54 +11:00).
Revision 13: the adapter release path and the restart matrix.
store.py,custody.py,service.py,recovery_archive.py,mcp_adapter.py) and two new.commands.pyandqueries.pystay unchanged.ReleaseSlot(:42-49), the bounded release path with its buffer (:167-220), and a managed-scope capture aroundService.execute(:78-81). The query-success hook, request parsing, schemas, transport and CLI stay unchanged.infotool result, the adapter holds the response start and body even when no obligation or permit is registered. It classifies the result against the closed table and checks the document digest, slot, Store, operation, obligation and permit under the release gate before any protected byte goes downstream. Missing, removed or mismatched release metadata, before response start or after a partial buffer, returns only the existing operation-specificquarantineddocument in both representations. It never becomes HTTP 200 with content, and never a bareinternal_failure. Wire shapes stay unchanged.admitted_m, the row, the charges and the barrier stay in durable quarantine, with no local apply or cancel and no further sends.Verify run. Run 20261121T103517Z-cad8f175, verify-only on base
0828c1ef, with no rework rounds and no label writes: CLEAN, with 0 blocking, 1 warning and 2 nits. The warning says R10 must stay a design decision for #35 and must not be reclassified as sequencing. It stays a decision.Lens coverage: no lens read lines 492-736 of the spec. Those lines hold the restart schedule table and the new served-metadata scenario. One lens checked the Test Strategy rows at lines 737-830. The guide read the whole revision 12 to 13 delta and re-read the cited adapter code at
0828c1ef.mind-spec canonical fit. mind-spec measured this exact hash independently and found no clash. The adapter section meets the P03 release requirement and keeps the attention-v1 wire shapes. The restart table fits the once and no-resend rules and the P05 and P06 recovery rules, including the
admitted_candadmitted_mrows.Carry-forwards, unchanged from revision 12:
Filed under: operator-word-d982c2768589
Correction to the revision 13 release record: lens coverage
This corrects the lens coverage paragraph in the revision 13 release record. That record said no lens read lines 492-736 of the spec. The gap was wider. The approved spec, its hash and svd:go do not change.
The guide re-measured the verify run 20261121T103517Z-cad8f175 from the lens logs. A line counts as read only when a lens opened it whole. A grep hit, or a sed range piped into a filter, does not count. Three lenses read the spec as a whole file, and each read returned only lines 1-264 of 965. The decision-retrieval lens opened no file.
No lens read lines 265-341, 492-828, 877-915 or 928-954. That is 485 of 965 lines read, 50%. The earlier record's "one lens checked the Test Strategy rows at lines 737-830" was a filtered extraction of the scenario column only.
The guide has now read every unread range in full. It found no clash with the revision 13 rules:
0828c1ef, the two new files are absent at that base, and the protocol hash is1aaab9cb….The operator ruled to proceed with this workaround for partial lens reads: measure each lens's coverage from its log, and the gate reads every range no lens read.
Filed under: operator-word-d982c2768589
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
b5cb5e2efeb5cb5e2: ci/woodpecker/pr/validation pending. Local unit, transport, ruff and mypy are green. 10 scenario-test name blockers remain (11 spec-named test functions absent). Not ready for merge.b5cb5e2: tests/test_recovery_transition.py 416 passed; -m unit 1317 passed; -m transport 66 passed; ruff check, ruff format --check and mypy src all clean. The declared failure floor is empty and no failures were observed.spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
b1943a5ccab1943a5cca; merge waits for green.0828c1etouches exactly the seven Primary Files.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7 --confirm-merge)PR #48 round 1: guide dispositions
Operator ruling (§6, 2026-11-22T07:39+11:00): SEC1 to SEC4, fix all four. mind-spec fit (answer a7cf44c5 on corr pr48-r1-fit, spec-v13 10b8a093, protocol 1aaab9cb, attention-v1 f2d7a963): ACCOMMODATE / NO CLASH for items 1 to 13, within the bounds in the section "mind-spec bounds" below. No spec amendment.
Head
b1943a5, spec-v13 sha256 10b8a093. Three independent reviews, all FAIL. Guide reproduced SEC1 to SEC4 and confirmed ST1 on its own copy before the voyager reboot at 04:46.Code fixes (Primary Files only)
_Files.writesyncs record content withos.fsync. Spec L63 names_sync_fd(F_FULLFSYNC on Darwin) plus_sync_directory. Fix: sync file content withrecovery_staging._sync_fdor an identical helper. Directory syncs stay as they are. Test: record the content-sync call for every record write and fail if any write uses plainos.fsyncon the file.key_custody_ioand every other resolver I/O code is transient in reconcile and resume: derived quarantine, neverqueue.quarantined=1. Test through the productionKeyCustodypath with an injected EMFILE and EIO on the key directory (inject, do not chmod: CI runs as root): derived quarantine during the fault, then ready with durable 0 after.capacity_exceeded; a key or custody I/O failure during prepare quarantines. Fix: a key or custody I/O failure during COMMAND prepare returnsquarantined(derived), and a later healthy resolver proceeds. The side-file fsync failure case (tests L4735-4736 assert capacity_exceeded) is custody I/O under L275 and L589; change it to quarantined (mind-spec: accommodate, no clash; bound B1).activatelets raw OSError escape (mkdir EACCES; fsync EIO). Spec L63: quarantine-on-failure that never raises past the barrier. Fix: map OSError to fixed codes as staging does.assert outcome is not Noneat :2744. Fix: a fixed refusal._releasedtakes_test_ownership_releaseby getattr on any transport, honoured on a stock S3Transport instance. Fix: bind the seam the way neighbours bind test hooks (a validated private ManagedConfig or transport-type check), so a stock S3Transport can never release (spec L225, L704)._failhas nofrom None; 13 refusals carry a FoundationError__context__. Spec L67 names therefusedidiom (asserts__cause__and__context__are None). Fix:_fail(code)raisesfrom None, no FoundationError leaves with a__context__(raise outside the handler), and the new tests userefusedfor FoundationError refusals._digest,storage._memberfor enum decode so unknown values give a fixed code). Match codes onerror.argslike staging, notstr(exc); narrow the broad except clauses; guard_quarantine()at :1067 as resume does. Fold the three service reauthorization copies into one helper.Test-only fixes
before is not None; :1727-1733 GET 1 SUCCEEDED with F digest and ETag), each with an isolated case that turns red when that layer alone is removed.ineligibleprotection row in test_served_result_classification (L423, L723). SP5 an open prepare intent closes new handoff leases (L445; service.py:189-190). SP6 F0 carries every reserve, suppression and terminal fact (L500, L706-707, L755): read F0 content after a withdraw and a dispose. SP7 driver (b) on a non-command request (L557). SP8 archive identity compare with the same artifact_id and a different original_expiry_us (L468, L491).Nits
_sweep. ST12 compare readiness with the enum. ST13UNIT = pytest.mark.unitper L67.Accepted residuals (no change)
Anyin recovery_transition.py decoders (replace only where a concrete type exists in the service and adapter diff:_Permit, Store). ST9 module size (spec names the module). ST13 file size and private-attribute coupling (L550 requires stripping each check).mind-spec bounds (binding on the fixes)
quarantined. Keep any uncertain copy charged and the barrier up until durable retirement and current authority are proved. Roll back with zero new spend, no PREPARED commit and no transition send. A healthy retry may reuse the same unspent key and token within the original deadline. An actual finite reservation failure (the no_headroom control) still returnscapacity_exceeded. Spec L229, L235, L241-245, L275, L402, L491-492, L588-590, R14 L870; P06 L81.Round rules
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
cfae3861a1cfae3861a1.0828c1ef) passed locally: the protocol hash matches 1aaab9cb... and the diff touches only the seven named files. The CONV-23 reader row rests on the passing test_wire_readiness_reader_accepts_only_ready plus the unchanged existing suite.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 2: guide dispositions
Head
cfae386, spec-v13 sha256 10b8a093, base0828c1ef. Three fresh independent reviews: Spec FAIL, Standards PASS, §19 Security FAIL. mind-spec fit answer ba25a12c (corr pr48-r2-fit). Operator ruling (§6, 2026-11-22T10:26:05+11:00): SEC-r2-1 to SEC-r2-4, fix all four. No spec amendment.Round-1 items confirmed fixed: ST1, ST3, ST4, ST5, ST10-ST13, SEC1, SEC2, SEC3, SEC4, SP1 (except R2-1 below), SP2, SP3, SP4, SP6, SP7, SP8, SP11, SP12. Not fixed or partly: SP5 (R2-8), SP9 (R2-7), SP13 (R2-6, N1), ST2 (R2-4), ST7/ST8 (R2-5).
Code fixes (blocking)
_reserve(:1641). With a real finite bound and an untrusted clock or a MISMATCHED premise, the result isineligible, notcapacity_exceeded. Spec L235: check existing local capacity and the named reservation bounds first, against the same locked reconstructed state, without allocating candidate material; a genuine finite refusal keeps its result; only then report the P01-only hold, before any candidate reservation. L683: "Repeat with an actual finite bound, including when P01 evidence is also missing, and assert capacity_exceeded is never remapped." L402, L492. Fix: a non-allocating capacity check before the hold. Test: each of submit, replace, withdraw and dispose under no_headroom, once with an untrusted clock and once with a MISMATCHED premise, returnscapacity_exceededwith no prepared row, spend or send.key_custody_insecureandkey_custody_corruptmust not persist durable quarantine unconditionally, in reconcile (default durable outside_TRANSIENT_AUTHORITY, :1081-1091) or in resume (_CONTRADICTIONS, :2594+). Each fences disclosure, keeps evidence and charges, and needs secure custody plus exact proof through the configured resolver (spec L282, L314, L320, L588-593, L688-689; frozen P11:119).key_purpose_mismatch,key_custody_contradictory,envelope_binding_mismatchandenvelope_replayedpersist only when the fact contradicts the exact recorded current or prepared authority; the code name alone is not enough for an unbound input or an orphan (L306, L320, L591-593). Apply the same boundary in reconcile and resume. Tests: injected key-directory mode 0750 and 0755, ELOOP, and a wrong-size key file give derived quarantine, durable 0, then ready after the fault clears; for each of the four durable codes, one bound case persists and one unbound or orphan case does not.queue.quarantined=1. Fix: fence on the unsafe directory (:296-304) as derived quarantine; once secure, the bounded sweep, exact authority authentication and verified retirement establish READY. A mode correction alone proves nothing and must not clear a persisted contradiction (L63, L282, L302-306, L314, L320; P01:7, P11:115). Test: 0755 at reopen gives derived, durable 0; after the fix the normal sweep reaches READY.invalid_prepared_stateinside the handler, so the refusal keeps a FoundationError__context__(base0828c1efat custody.py:260 did not catch it). Fails today:test_forged_settled_stage_refused[derived_stage],test_complete_prepared_row_over_cap_refused[load]under a context check. Fix: set a flag in the handler and raise after it; convert the remainingpytest.raises(FoundationError, match=)sites (about 25) torefused.except (TypeError, ValueError, KeyError)at recovery_transition.py:1084-1085 (reconcile) and :2542-2543 (resume) persist durable quarantine and are untested (deleting both passes 489/489). A programming error must not writequarantined=1(B2). Fix: remove them if the decoders already map to fixed codes; otherwise test each.Test-only fixes (blocking)
producer_skips_registrationpatches only_capture; the frozen query obligation hook still registers forget. L719-720 require skipping both registrations. Patch bothqueue.service._captureandmcp_adapter.obligation(get and submit); the mutant_protected(...) -> slot.permit is None and slot.obligation is Nonemust turn it red. Correct PR-body row 5.or identity["quarantined"]in service.py recheck) is masked onlistby the frozenqueries.recheck. Parametrize the barrier-only case over replay and admit as well as list (L716-717, L431).test_open_prepare_intent_excludes_new_handoffasserts inside the callback; the raise becomes the same quarantine document, so removingor self.store._prepare_intent is not Nonestays green. Record in the callback and assert after the request returns (L445).key_custody_ioorkey_unavailableto_CONTRADICTIONSpasses 489. Arm the key fault after the send, atsettled_cand atpointer_replaced, for both codes: durable 0 during the fault, then healthy completion with no reset, marker, cancel or extra send.preparedso complete C and M exist with no row; reopen with a resolver that fails only on the 2nd or 3rd key use: both files kept, chargeprepared, durable 0; a healthy reopen retires them.Should-fix
_custody_state.preparedwhile the fault holds (L229, L268).store_transactionin_TRANSIENT_AUTHORITYis untested (removal survives 18). Add a fault-injected test, or state in the PR body why it is equivalent (L282).any(error.args == (code,) ...)tables (:972, :1082, :1696, :2541) classify some codes one way in reconcile and the other in resume. Use one helper and one classification table; it is the natural place for R2-2.Nits
_PermitandStoreimports out of theReleaseSlotclass body to a module-levelTYPE_CHECKINGblock. ST5 nit:_releasedand_stock_transport()(:1850) define "stock" differently; use one. N1: PR-body row 2 names a redundant single term; name the pair or theinitial_metadatacomparison. N2: exercise SP10 for MARKER_PREPARED. N3: drive the SP9 barrier by custody_required or engine-not-READY (L716), not rawquarantined=1.Accepted residuals (record in the PR body)
activateleaves onlycustody.lock; a retry refusesinitialization_unproven; derived quarantine, durable 0; READY needs operator-assisted recovery. mind-spec: accommodated, no clash (L305, L324-330; P04:27, P06). No adoption path in #33.st_nlinkcheck inrecovery_crypto._check_custody(outside the write set): carry to #47.Probes you may reuse
Reviewer probes and mutant harnesses (copied out of /tmp):
/Users/piers/src/_architect/dd469-minds-2026-11-16/r2-probes/—test_r2_sec_probe.py(P11 kills M5, P12 kills M6, P7 kills M9),r2-spec-tools/(mut.py and mutant sets),r2-st-tools/.Round rules
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
0aad72bcb6codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 3: guide dispositions
Head
0aad72b, spec-v13 sha256 10b8a093, base0828c1ef. Three fresh independent reviews: Spec FAIL, Standards FAIL, §19 Security FAIL. mind-spec fit answers ead5d026 (Q1, Q2), 2dc3f6a4 (Q3) and c00b96e7 (Q4), all on corr pr48-r3-fit. Operator ruling (§6, round 3): SEC-r3-1 to SEC-r3-5, fix all five. No spec amendment.Round-2 items confirmed fixed by all lenses that checked them: R2-1 custody reservation order (ledger residue below as R3-3), R2-2, R2-3 (directory), R2-4, R2-5, R2-6, R2-7, R2-8, R2-9, R2-10, R2-11, R2-12, R2-13 (with the default change below as R3-2), N1, N2, N3 (one raw
quarantined=1left, nit 12). No round-1 regression. All 15 PR-body rule removals reproduced red.Code fixes (blocking)
_file_info(recovery_transition.py:285-293) raisescustody_file_unsafe, which is not in_AUTHORITY_FAULTS, so it defaults to CONTRADICTION. An injected mode 0644 or an external hard link onfrontier.current,activation.recordorfrontier.recordat reopen, or on an admission record during resume, persistsquarantined=1, and the queue stays QUARANTINED after the fault clears. mind-spec rule:custody_file_unsafeis overloaded (:285-293, :368-441, :648-684): classify at the call site, not by the code name. Content and name contradictions (non-canonical record or wrong class at :441, name that does not match the digest at :528 and :531) stay durable.os.fstat/os.stat, never chmod): mode 0644 and a hard link on each of the three owned files at reopen and on an admission record during resume give derived quarantine with durable 0, before and after reopen, then READY after the fault clears. Add adurable_quarantineassertion totest_custody_rejects_owned_file_with_external_hard_link(tests:4680-4692). A staged C or M hard link keeps the file and thepreparedcharge until disposition is proved. One proved size or digest conflict persists durable 1 across reopen.admissions/stray.recordpersists durable 1 (L229, L304)._authority_fault(:2620-2623) sends every unlisted code to CONTRADICTION; about 150 codes raisable in reconcile and resume are unlisted. Fix: an explicit durable list (proved contradictions, the torn-envelope set, and the exhausted-continuation terminal case) with a derived fallback, or typed errors. Annotate the table asMapping[str, _AuthorityFault]or wrap it inMappingProxyType, and add a one-line comment naming the default (Standards nit ST-r3-4). Test: an unlisted code raised in reconcile and in resume gives derived quarantine with durable 0._compose(:1666), after the P01 hold (:1654-1657). Withlifetime_admitted=65,536and a changed submit: an untrusted clock givesineligible; missing evidence with a failing refresh givesineligibleafter 4 provider calls; a successful refresh givescapacity_exceededonly after 4 refresh calls. Spec L235, L402, L683; refresh limit L403-404. mind-spec conditions:capacity_exceededwhether P01 is fresh, missing or held by an untrusted observation clock, with no command-triggered observation refresh and no mutation request.frontier.recordledger reconciled to the exact current authority under the custody lock. Use that attempt's checked ledger, or recheck its binding and freshness against the same exact frontier and local counters. A parsed or HMAC-verified stale header alone is not enough (L213, L235, L306-308; :920-949, :1078-1090). Missing or contradictory authority still follows the disclosure barrier._compose(:1584-1608, :1648-1666; recovery_budget.py:248-256, :288-333). The lifetime increment applies only to a changed submit: do not refuse a command that adds no occurrence because lifetime is saturated. Apply the correct live-byte delta, revision and command or reserve charges for the real operation.capacity_exceededwith 0 provider calls and no prepared row, spend or send. Add a 512-LIVE or command-limit case for a non-submit operation. Add a saturated-lifetime case where a command that adds no occurrence is not refused. Probe:r3-spec-probes/test_r3_spec_probe.py::test_ledger_lifetime_cap_vs_p01_hold.cfae386, reconcile treated onlycustody_byte_limitandadmission_limitas transient among the bound codes. At0aad72bevery CAPACITY code in_AUTHORITY_FAULTS(:2597-2617) is non-persisting in_contradicts_authority(:2626). Probe Q1: an authenticated, digest-bound current or prepared envelope that raisesfrontier_byte_limit,plaintext_too_large,record_byte_limitorcounter_overflowat open gives durable 0 at0aad72band durable 1 atcfae386; controlkey_purpose_mismatchgives 1 at both. Spec L282, L306, L320. Reachable only by an envelope sealed out of profile. mind-spec accommodates durable quarantine for a proved structural violation in the exact recorded current or prepared frontier (L225, L282, L306-308, L320, L688-689; frozen P02:13-17, P09:97-103, P11:117). Rules:plaintext_too_largeframing rejection before AEAD (recovery_crypto.py:684-691, :727-745). Keep evidence and charges; recovery needs verified authorized #35 repair._open_recorded_frontierwrapper (:902-918): the resolver can forward a FoundationError string through the same open path (recovery_crypto.py:578-594, :700-707). Typed errors or a mapping at each validator raise site meet this.counter_overflowas raised today is the attempted increment of a valid MAX_COUNTER ledger (recovery_budget.py:160-183, :248-256). That stays a capacity refusal. Only a recorded counter that is itself out of range is inconsistent and durable when proved.custody_byte_limitandadmission_limitceilings stay derived while the obstacle persists. A valid ledger at its maximum is distinct from invalid recorded content, even when a proposed successor would overflow.frontier.open_frontier. Expect durable 1 across reopen. Controls: a valid MAX_COUNTER ledger plus a changed submit givescapacity_exceededwith durable 0; a resolver that forwards a bound-code FoundationError string gives derived quarantine with durable 0. Security probe Q1 (r3-probes/test_r3_sec_probe.py:45-68) shows the classifier only.Test-only fixes (blocking)
envelope_unauthenticated.test_wrong_key_or_corrupt_readback_is_durable_quarantine[envelope_unauthenticated](tests:4975-5018) actually raiseskey_mismatch, because the key-commitment check runs before decryption (recovery_crypto.py:700-714). Removing the TORN_ENVELOPE mapping (:2596) survives all 529 cases. Fix:envelope_unauthenticated(orInvalidTag) after the digest and commitment checks at the open of a recorded digest, astest_frontier_contradiction_requires_recorded_authoritydoes. Assert durable 1 across reopen. Relabel the current case askey_mismatchand correct the PR-body ID map.test_torn_prepared_file_retires_before_ready(kill atprepared). Expect READY, durable 0 and an empty family. Probe:r3-spec-probes/test_r3_spec_probe.py::test_full_length_unauthenticated_orphan_retires.custody_ownership_unproved(:2580, raised at :2396 and :2486) is unpinned: making it durable survives every transition case. Every stock S3 command ends in this state until #47 lands. Assertdurable_quarantine(queue) == 0, before and after reopen, in_exercise_stock_command_worker_exitand_exercise_test_transport_without_ownership_proof(L225, L229, L245, L282, L704).Should-fix (fix this round)
invalid_prepared_state.pass_exhausted,marker_certificate_invalid,lifetime_regressionandcustody_file_unsafesurvive, though L320 names several. Add a durable-across-reopen parametrization for each durable code that stays on the R3-2 list; forcustody_file_unsafeuse a proved-conflict call site from R3-1._can_prove_unsenttoisinstance(transport, storage.S3Transport)survives all 529 cases. Add an S3Transport subclass with an overriddenexecutethat returns UNSENT; assert the result is not treated as no-dispatch proof (L261, L610).Nits
TYPE_CHECKINGinto the line-12typingimport and theif TYPE_CHECKING:block up to the import section; drop thenoqa: E402.status()(:1256) and_refresh(:1548) still catch(FoundationError, OSError, TypeError, ValueError, KeyError). The Standards fuzz (1,356 wrong-type mutations, 0 raw escapes) shows the decoders already map malformed input to fixed codes. Narrow them to(FoundationError, OSError)or state why not.served_release_rechecks…[barrier_only]still sets rawquarantined=1onlist(L716).Accepted residuals (record in the PR body)
_open_recorded_frontieris equivalent (open_envelopechecks the digest first); capacity after staging is unreachable (the row cap precedesstaging_started);hold_always_refreshableis refused by_refresh(:1455-1461);torn_not_durableon crash-reachable recorded paths is closed by R3-5.Probes you may reuse
All in /Users/piers/src/_architect/dd469-minds-2026-11-16:
r3-probes/standards/test_r3_st_probe.py(R3-1 file faults)r3-spec-probes/test_r3_spec_probe.py(R3-1, R3-3, R3-5, R3-6)r3-probes/test_r3_sec_probe*.py(R3-4 probe Q1, R3-5, R3-6, R3-7)Hold pushes until this batch is complete; then report the new head on corr pr48-r3.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
502620ad65502620ad65; the runner re-polls it.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 4: guide dispositions
Head
502620a, spec-v13 sha256 10b8a093, base0828c1ef. Three fresh independent reviews: Spec FAIL, Standards PASS, §19 Security FAIL. No reviewer found a live defect in the round-3 fixes; most of this round is missing tests, plus two contract clashes that mind-spec ruled. mind-spec fit answer ed6241ec (corr pr48-r4-fit). Operator ruling (§6, round 4): SEC-r4-1 to SEC-r4-5, fix all five; SEC-r4-4 and SEC-r4-5 as code fixes per ed6241ec. No spec amendment.Round-3 items confirmed fixed: R3-2, R3-4, R3-5, R3-6, R3-7, R3-8, nits 9 to 12. R3-1 and R3-3 are correct in code but partly pinned (items 3 to 5 below). No earlier-round regression except R2-4 at four new raise sites (item 6). Guide red-side check: the local-counter mutant (item 3) survives all 586 cases of tests/test_recovery_transition.py.
Code fixes (blocking; mind-spec ed6241ec clashes)
_OpeningKeys(recovery_transition.py:2650-2675) forwards resolver-raisedkey_mismatch,key_purpose_mismatchandkey_custody_contradictory.key_mismatchmaps straight to CONTRADICTION (:2721). The other two go through NEEDS_BINDING and are promoted on the recorded-open path (:932-955, :2754-2755). Security probe P1: a resolver raising any of the three while opening the bound current frontier gives durable 1, kept after reopen with the good key. mind-spec rule:key_mismatchfrom the pass-through. Keep the opener's own post-return key-ID and commitment checks (recovery_crypto.py:587-592, :700-703), which can prove a mismatch on a named digest.plaintext_too_largestring check at :951 relies on this normalization ("only the frame validator can report this"). Keep it sound after the change, or move it to the same provenance mechanism.test_forwarded_resolver_code_is_not_recorded_evidence). One real proved case for each durable source (opener commitment mismatch on a bound digest, KeyRing wrong purpose, KeyCustody contradictory copies) persists durable 1 across reopen. Probe:r4-probes/security/test_r4_sec_probe.py(P1).prepared/<T>.csealed under a second key id, opened throughinspect_frontier(:1029-1035), gives durable 1 when the resolver returns wrong material for that id (Security probe P2). The inspection hash is not an independently recorded expected digest (recovery_crypto.py:700-703, :756-764; :1015-1035). mind-spec rule:key_purpose_mismatchandkey_unavailableeach give derived 0 with the file andpreparedcharge kept across reopen, then READY once the fault clears). One activation-bound mismatch case stays durable 1.Test-only fixes (blocking)
_command_ledgerare unpinned:checked.local != (t.expected_mutation, t.expected_lifetime)): the mutant survives all 586 transition cases (guide run). Under it,mutation_generationdrift after a READY reconcile lets the command send a PUT and commitok;lifetime_admitteddrift sends a PUT, then durable quarantine (Security P3, Spec P5)._open_refcheck catches it only after the reservation.mutation_generationandlifetime_admitted, and resizefrontier.current, after READY and before a command. Each givesquarantinedwith no provider call, no prepared row and no spend. Probes:r4-probes/security/test_r4_sec_probe.py(P3),r4-probes/spec/test_r4_spec_probe.py(P5)._file_info(:297-305) and the short read (:399-400) are not pinned as derived. Mutants making them durable survive 62 cases; the short-read mutant survives all 586 (Standards run). Binding: ead5d026 Q1 names mode, uid, file type, link count, the generic byte cap and the short read as precheck faults. Tests: addstat-uid,stat-type,stat-sizeandshort_readtotest_owned_file_safety_is_derived_until_proof(tests:6651). Inject the short read through the streamreadorfdopen, never chmod. Probes:r4-probes/spec/test_r4_spec_probe.py(P1, P2).Should-fix (fix this round)
test_proved_custody_conflict_survives_reopen(tests:6939), each durable 1 across reopen.raise _RecordedConflict(...) from Noneinside except handlers (:452, :952, :954, :960) still carry a FoundationError__context__;from Noneonly suppresses display. Set a local in the handler and raise after thetry, as R2-4 did. Test: extend therefused-style context assertion to these sites. Probe:r4-probes/standards/test_r4_st_probe.py::test_probe_new_handler_raises_carry_context.Nits
__func__checks in_can_prove_unsent(:1941-1942) are unpinned; add an instance-patchedexecutecase, or state in the PR body why it is out of reach._AUTHORITY_FAULTS,_RecordedConflict,_RECORDED_FORMAT_FAULTS,_KEY_RESOLUTION_FAULTS). Use one_code()helper for the repeatedargsguard, add a comment at the table that the typed error takes precedence, and drop the redundantinteger_out_of_rangefrom the format set._open_recorded_frontier(:937-957) copiesfrontier.open_frontier's binding construction and calls the privatefrontier._opened. Add a comment naming why, or expose a public helper (outside the write set: comment only)._Files.document(:449-452) renamesrecord_byte_limittocustody_file_unsafe; its sibling decode errors keep their own codes. Keep one style.prepare_commandcalls_charge_command(:1718) only for its raise; rename_sweepor note that it returns the activation.Record in the PR body
_custody_state = reserved, an in-memory reservation may outlive the request until the next reconcile. It over-counts (fails closed) and predates round 3. Check it; fix it if trivial, otherwise record it as a residual.integer_out_of_rangealready CONTRADICTION;frontier_byte_limitshares the envelope cap that fires first;counter_overflowis never raised during decode; seal-sideplaintext_too_largefollows a same-cap check.Probes you may reuse
All in /Users/piers/src/_architect/dd469-minds-2026-11-16/r4-probes/:
security/test_r4_sec_probe.py(P1 to P3),spec/test_r4_spec_probe.py(P1 to P5),standards/test_r4_st_probe.py.Hold pushes until this batch is complete; then report the new head on corr pr48-r4.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
8162065c718162065c71: ci/woodpecker/pr/validation is pending. Local checks are green: 642 new unit tests, 901 existing unit tests, 66 transport tests, ruff check, ruff format and mypy.import re,sys
spec=open(sys.argv[1]).read()
ids=open(sys.argv[2]).read()
names=set(re.findall(r'tests/test_recovery_transition.py::(\w+)',ids))
sec=spec.split('## Test Strategy')[1].split('## Risk flags')[0]
rows=[l for l in sec.splitlines() if l.startswith('| ') and not l.startswith('| Scenario') and not l.startswith('| ---')]
missing=[]
for r in rows:
cells=r.split('|')
test=cells[2]
for t in re.findall(r'`(test_\w+)',test):
if t not in names: missing.append((cells[1].strip(),t))
if 'unmapped' in r: print('UNMAPPED',r[:100])
print(len(rows),'rows; missing',missing)
EOF
cd /Users/piers/src/attention-mind-mcp/data/svd33/worktrees/20261121T104247Z-d2b4c2a7/worktree && .venv/bin/python -m pytest tests/test_recovery_transition.py --collect-only -q > /tmp/iv_scripts/ids.txt; echo done (ran outside the project environment /Users/piers/src/attention-mind-mcp/data/svd33/worktrees/20261121T104247Z-d2b4c2a7/worktree/.venv/bin)
import re,sys
spec=open(sys.argv[1]).read()
ids=open(sys.argv[2]).read()
names=set(re.findall(r'tests/test_recovery_transition.py::(\w+)',ids))
sec=spec.split('## Test Strategy')[1].split('## Risk flags')[0]
rows=[l for l in sec.splitlines() if l.startswith('| ') and not l.startswith('| Scenario') and not l.startswith('| ---')]
missing=[]
for r in rows:
cells=r.split('|')
test=cells[2]
for t in re.findall(r'`(test_\w+)',test):
if t not in names: missing.append((cells[1].strip(),t))
if 'unmapped' in r: print('UNMAPPED',r[:100])
print(len(rows),'rows; missing',missing)
EOF
cd /Users/piers/src/attention-mind-mcp/data/svd33/worktrees/20261121T104247Z-d2b4c2a7/worktree && .venv/bin/python -m pytest tests/test_recovery_transition.py --collect-only -q > /tmp/iv_scripts/ids.txt; echo done (ran outside the project environment /Users/piers/src/attention-mind-mcp/data/svd33/worktrees/20261121T104247Z-d2b4c2a7/worktree/.venv/bin); no denial signature
8162065c71. The runner re-polls it.0828c1efwas not re-run. The diff against base touches exactly the seven Primary Files. recovery_archive.py changes one line. mcp_adapter.py changes 95 insertions and 10 deletions in the release path.import re,sys
spec=open(sys.argv[1]).read()
ids=open(sys.argv[2]).read()
names=set(re.findall(r'tests/test_recovery_transition.py::(\w+)',ids))
sec=spec.split('## Test Strategy')[1].split('## Risk flags')[0]
rows=[l for l in sec.splitlines() if l.startswith('| ') and not l.startswith('| Scenario') and not l.startswith('| ---')]
missing=[]
for r in rows:
cells=r.split('|')
test=cells[2]
for t in re.findall(r'`(test_\w+)',test):
if t not in names: missing.append((cells[1].strip(),t))
if 'unmapped' in r: print('UNMAPPED',r[:100])
print(len(rows),'rows; missing',missing)
EOF
cd /Users/piers/src/attention-mind-mcp/data/svd33/worktrees/20261121T104247Z-d2b4c2a7/worktree && .venv/bin/python -m pytest tests/test_recovery_transition.py --collect-only -q > /tmp/iv_scripts/ids.txt; echo done (ran outside the project environment /Users/piers/src/attention-mind-mcp/data/svd33/worktrees/20261121T104247Z-d2b4c2a7/worktree/.venv/bin); no denial signature
label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
8162065c718162065c71. Local pytest -m unit (1543 passed), pytest -m transport, ruff check, ruff format --check and mypy src all exit 0. No blockers.label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
8162065c718162065c71. Local: unit 1543 passed. Transport 66 passed on rerun; the first run failed one test under load. ruff check, ruff format and mypy are clean. All 94 spec test names are collected.0828c1efprotocol hash, the write-set comparison and the CONV-23 reader-row check.0828c1ef5a; host=voyager; python3=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3; resolved=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3.14; version=3.14.7; pytest=9.1.1label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
8162065c718162065c71. Local: 98 round-four cases passed, wire reader case passed, ruff and mypy clean, 72 of 72 scenario rows traced to collected test ids.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 5: guide dispositions
Head
8162065, spec-v13 sha256 10b8a093, base0828c1ef. Three fresh independent reviews: Spec FAIL, Standards PASS, §19 Security FAIL. All round-4 items are fixed in code; every one except the R4-1 provenance check is pinned by a test. The open items are all in the R4-1 validator-provenance mechanism in_OpeningKeys.resolve(recovery_transition.py:2675-2709). mind-spec fit answer 61eea58d (corr pr48-r5-fit). Operator ruling (§6, round 5): fix SEC-r5-1, SEC-r5-2 and SEC-r5-3 F5 in this child; record SEC-r5-3 F4 as a PR-body residual. No spec amendment.Round-4 items confirmed fixed and pinned: R4-2, R4-3, R4-4, R4-5, R4-6 (PR-wide: no typed raise inside a handler remains), nits 7 to 11, and the CAPACITY reservation restore. R4-1 is fixed for plain forwarded errors (r4 probe P1 passes) but open as below. No earlier-round regression. Full unit at head: 1543 passed. gitleaks over 0828c1ef..8162065: no leaks.
Code fixes (blocking; mind-spec 61eea58d clashes)
_OpeningKeys.resolveclassifies the resolver's error, then re-raises the same object (:2699, :2708).recovery_crypto._resolve(:582-583) readserror.argsagain. A FoundationError subclass with anargsproperty can showkey_unavailableto the check and another code afterwards.key_mismatchorkey_purpose_mismatch): durable 1, kept after reopen with the good key.envelope_truncatedorenvelope_unauthenticated):_retire_stagedtreats it as torn and removes the orphan (:1042-1043, :1063-1064); READY, charge released.argsonce, validates and normalizes the code, and emits a fresh plain FoundationError that carries the checked code. Unavailable or unusable resolver evidence stays transient._codeitself readserror.argsup to three times (:2681-2682), so snapshot it inside_code(args = error.argsonce), which also covers its other callers (:451, :956, :966, :2825)._fail(code)after thetry, as R2-4 did, so the new error carries no__context__. Guide measured this shape (diff:r5-probes/guide-sec-r5-1-fix.diff): F3 gives derived 0, then READY with the good key; G2 gives a derived fence with the file and full charge kept; 51 related transition cases pass.envelope_truncated,envelope_unauthenticated,key_mismatch) keeps the orphan and itspreparedcharge, durable 0, then retires to READY once the resolver is healthy. Probe:r5-probes/security/test_r5_sec_probe.py(F3, G2).KeyCustody.__init__accepts anyPathsubclass (isinstance(path, Path), recovery_crypto.py:329). Probe F5: a Path subclass whose__fspath__raiseskey_custody_contradictorypasses all four provenance checks before any comparison runs; durable 1, kept after reopen with the good key.key_custody_contradictory, require each configured custody directory to be an exact concretepathlibtype (type(path) is type(Path())), and otherwise treat the code askey_unavailable. If you choose corroboration, state the mechanism in the PR body.r5-probes/security/test_r5_sec_probe.py(F5).Test-only fix (blocking)
_KEY_VALIDATORS.get(type(self.resolver))(:2700),resolve.__self__ is self.resolver(:2705) andresolve.__func__ is validator[0](:2706).__func__, drop__self__, and replace the exact type withisinstance. Each passes all 14 resolver cases (guide run,-k "resolver or forwarded or recorded_key or key_validator"). Under each, a forged code persists durable 1.test_resolver_overrides_cannot_prove_recorded_key_conflict, each derived 0, then READY with the good key:class_patch:monkeypatch.setattr(crypto.KeyCustody, "resolve", forge)(kills drop-__func__).rebound_instance:MethodType(forge, keys)on the instance (kills drop-__func__).foreign_self: genuineKeyCustody.resolvebound to a different custody with contradictory copies (kills drop-__self__).keyring_subclass: a KeyRing subclass whose lookup raiseskey_purpose_mismatchinside the genuine resolve (killsisinstance).r5-probes/spec/test_r5_spec_probe.py(4 cases; kills all three mutants),r5-probes/standards/test_r5_st_probe.py(2 cases), Security F6 and F7.Nits
_code()(:2681) next to_fail(:175); its first use is at :451._KEY_VALIDATORS(:2675) like its sibling_AUTHORITY_FAULTS.resolve = None(:2692) is set: a failed attribute lookup falls through tokey_unavailable.Record in the PR body
object.__setattr__after construction can still reportkey_purpose_mismatchwithout a comparison. The configured-resolver boundary covers supported configuration and callbacks and assumes a trusted validator's private state stays intact. If replaced inner state becomes supported, the source-proof rule applies.code == validator[1](Security A6) survives; it appears equivalent, not proved for every input.8162065: r6 relative-path false red, r7 accounting hold (background test runs), r8 transport timing flake under load (test_writer_kill_and_retry[before_response-dispose], outside the write set; the uncontended rerun passed 66). r9 readyForMerge true on 98 focused cases; Woodpecker 78 is the full-suite evidence.Probes you may reuse
All in /Users/piers/src/_architect/dd469-minds-2026-11-16/r5-probes/:
security/test_r5_sec_probe.py(F1 to F7, G1, G2),spec/test_r5_spec_probe.py,standards/test_r5_st_probe.py, and the guide's measured fixguide-sec-r5-1-fix.diff.Hold pushes until this batch is complete; then report the new head on corr pr48-r5.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
55db5f830f55db5f830f.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 6: guide dispositions
Head
55db5f8, spec-v13 sha256 10b8a093, base0828c1ef. Three fresh independent reviews: Spec FAIL, Standards FAIL, §19 Security FAIL. All three fail on the same boundary, the provenance checks in_OpeningKeys.resolve(recovery_transition.py:2684-2730). A configured resolver can still forge a conflict code that persists durable quarantine after a reopen with the good key. mind-spec fit answer ad41dd8d (corr pr48-r6-fit) accommodates the fix design and the residual wording. Operator ruling (§6, round 6): fix all six in this child; record F4 as a PR-body residual; the guide writes and pushes the fix (round-5 path, because the content filter blocks the attention seat on this material). No spec amendment.Round-5 items: R5-1 fixed for args that vary between reads, but the classification can still raise (item 1, SEC-r6-2). R5-2 and R5-3 are open as below. Nits 4 to 6 fixed. No earlier-round regression. No proved durable case lost. F13 (a non-
ExceptionBaseException escapes reconcile, then READY) matches L282 and is not a finding.Fix: corroborate, do not infer provenance
The boundary no longer infers provenance from the resolver's type, bound method or paths.
KeyCustodyit also captures the configured directories as plain strings. It does this only when the container is an exact tuple of exact concretePathobjects that format to an exactstr.KeyRing.resolveon a resolver that was an exactKeyRingboth before and after the call;KeyCustody.resolveon a fresh custody rebuilt from the captured strings.key_unavailable.key_unavailable. The boundary always raises a fresh error after the handler._retire_stagedalready does this; a new test pins it.Code fixes (blocking)
argsproperty, the metaclass__hash__in the validator lookup, andisinstanceon a bound method with a__class__property. Each can raise a resolver-chosen FoundationError that escapes unchecked: durable 1 on the bound current frontier. On an unbound orphan it is read as torn, so the file is removed and the charge released (Security F12 and F12b, F14, F16; Standards P1 to P4; guide red side 8 of 9 at head). Fix: a guard around capture and classification. Tests:test_resolver_classification_fault_is_derived(args property ×3, metaclass hash ×2, method__class__property) andtest_unbound_staged_key_fault_retains_file_and_charge[raising_args:*]×3.PosixPathbuilt from a str-subclass segment passes the exact-type check, then forgeskey_custody_contradictoryduring parsing in the call (F10: durable 1; the benign control is READY 0). Fix: corroboration rebuilds custody from captured plain strings; a parse fault during capture giveskey_unavailable. Test:[text_subclass_segment]. F8 and F9 do not reach parsing on Python 3.14.5.__class__passesisinstance(resolve, MethodType)and the__self__and__func__checks without running the genuine validator (F15: durable 1 for KeyCustody and KeyRing). Fix: no bound-method inspection. Tests:[spoofed_method_type],[method_lookalike]._KEY_VALIDATORS.get(type(self.resolver))uses the metaclass__hash__and__eq__. A class aliasingKeyRingorKeyCustodyselects that validator (durable 1). Fix: identity checks on the captured type. Tests:[keyring_alias],[custody_alias].__class__toKeyRingduring the call passes (durable 1, kept after a good reopen). Fix: the type is captured before the call, and the KeyRing branch also requires the exact type after it. Tests:[class_swap_to_keyring],[keyring_swap_after_call]._directoriesbefore it raises, so the after-call path check passes (durable 1). Fix: corroboration uses names captured before the call. Tests:[paths_restored_during_call],[directories_swapped_during_call],[fspath_redirect],[directories_redirect].Corroboration itself is pinned by
[keyring_without_key], where the genuine lookup fails with another code, and bytest_unbound_staged_key_fault_retains_file_and_charge[corroborated_contradiction].Test-only and nits
src/.[foreign_custody]now records the genuine comparison through its directory iteration, instead of appending tocallsunconditionally.stable_readshas a comment.Guide verification before push
mypy srcpass.tests/test_recovery_transition.pypasses 679 cases.55db5f8. The 2 that pass there (keyring_swap_after_call,method_lookalike) pin checks that55db5f8does not have.resolver.resolveinstead of the captured function;KeyCustody.resolve;strcheck: an exact path always formats to an exactstron 3.14.5. Kept for otherpathlibversions._failraises inside the boundary. Reachable only through the F4 case.Record in the PR body (SP-r6-5)
code == validator[1], re-raise in the validator branch) go away with their checks.code == validator[1]survivor is "unverified equivalent", as the round-5 disposition said.Probes
All in /Users/piers/src/_architect/dd469-minds-2026-11-16/r6-probes/:
spec/test_r6_spec_probe.py,standards/test_r6_st_probe.py,security/test_r6_sec_probe.py(F8 to F16).The guide pushes the fix on the PR branch and reports the new head on corr pr48-r6.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
ad18dd6424ad18dd6424; the runner must re-poll it.0828c1efremain merge-gate checks. Locally, the diff touches exactly the seven spec files and the protocol hash matches the frozen value 1aaab9cb.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 7: guide dispositions
Head
ad18dd6, spec-v13 sha256 10b8a093, base0828c1ef. Three fresh independent reviews: Spec FAIL (one test gap), Standards PASS, §19 Security PASS. All six round-6 items are fixed in code, and no earlier-round item regressed. mind-spec fit answer bf3ee04d (corr pr48-r7-fit) accommodates all three questions. Operator ruling (§6, round 7): fix SEC-r7-1 in this child; extend the F4 residual for SEC-r7-2 and SP-r7-5; fix all Spec and Standards items this round. The guide writes and pushes the fix, as in rounds 5 and 6. No spec amendment.Round-6 items confirmed fixed: R6-1 to R6-6, the ad41dd8d Q1 orphan rider, nits 7 to 10. The R6-4 KeyCustody side is correct in code but unpinned (item 2).
Code fix (should-fix, operator ruling)
_custody_nameskeeps relative directory names verbatim (recovery_transition.py:2690-2704). Corroboration resolves them against the working directory at the time it runs (:2747). Security probe P1: a resolver callback callsos.chdirinto directories whose copies differ, then raiseskey_custody_contradictory. Result: durable 1, kept after a good reopen; the control is READY 0. Guide reproduced atad18dd6.os.getcwd()with the names before the call, and join each name to it with no lexical normalization, so OS path semantics stay as they are.test_forged_validator_code_is_not_proof[relative_names_chdir]. It fails atad18dd6.Test-only fix (blocking)
==, pass all 48 key-resolution cases.[custody_alias]is refused by the tuple check instead, because its directories are not a tuple.[custody_alias]now gives an aliased foreign resolver an exact tuple of exact paths to a real contradiction. A new[foreign_decoy]case does the same with a plain foreign class. Both are derived 0, then READY. Spec probe:r7-probes/spec/test_r7_spec_probe.py::test_foreign_resolver_with_decoy_directories_is_derived.Should-fix
KeyRing.resolvein place of_KEYRING_RESOLVE(M04c), all 56 cases pass; the guide reproduced 55 of 55. Test:test_resolver_overrides_cannot_prove_recorded_key_conflict[keyring_class_patch]. M05b, the KeyCustody identity check changed to==, is now killed by item 2.key_unavailableas the first read. A mutant that re-raises the resolver's error for other transient codes survives. Test:test_resolver_error_is_checked_oncenow runs the first read over every code in_KEY_RESOLUTION_FAULTS.test_resolver_classification_fault_is_derivedbuildsseenbut never asserts it. Thetype_hashandmethod_classfaults never fire at head, yet the round-6 disposition counted them as pins of R6-1. The orphanraising_args:key_custody_contradictorycase stays green without the guard, because a contradiction on an unbound orphan is not torn.seenis asserted. The args fault must be read; the type-hash and bound-method faults must stay unread, as regression guards. The args property records its own read.[args:*]×3 and the orphanraising_args:envelope_*×2 only.Nits
[fspath_redirect],[directories_redirect]and[text_subclass_segment],callsnow records each real read of the configuration or path, instead of a fixed append.[corroborated_contradiction]no longer reassigns the parametrizedfault. It runs genuine custody through the reconcile and the reopen, and asserts durable 0, the full charge and the staged file directly.castand its import; strict mypy narrowstype(resolver) is crypto.KeyCustody.names = None; the capture guard moves inside the helper.KeyCustody._directoriesread.namestodirectories, becausenamesalready means prepared file names elsewhere in the module.Record in the PR body
55db5f8, not 2.strcheck and the exact error type, as in round 6.Probes
All in /Users/piers/src/_architect/dd469-minds-2026-11-16/r7-probes/:
spec/test_r7_spec_probe.py,standards/test_r7_st_probe.py,security/test_r7_sec_probe.py(P1 to P5).The guide pushes the fix on the PR branch and reports the new head on corr pr48-r7.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
cec9e255fbcodex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 8: guide dispositions
Head
cec9e25, spec-v13 sha256 10b8a093, base0828c1ef. Three fresh independent reviews: Spec FAIL (one test gap), Standards PASS, §19 Security PASS. All round-7 items are fixed in code, and each named test kills the mutant that undoes its fix. No earlier-round item regressed. Spec's full suite at head: 1667 passed. mind-spec answer to fd282c1a (corr pr48-r8-fit) accommodates all three fit questions. Operator ruling (§6, round 8): fix SEC-r8-1, SEC-r8-2 and SEC-r8-3/SP-r8-1 in this child, with SP-r8-3, SP-r8-4 and the Standards nits. The guide writes and pushes the fix, as in rounds 5 to 7. No spec amendment.Code fixes (should-fix, operator ruling)
cec9e25captures the working directory as a path string (recovery_transition.py:2700, :2708). A resolver callback that renames that directory away and plants differing copies at its old path makes the rebuilt custody read the planted copies, while the process still reads the agreeing ones. Result: durable 1, kept after a good reopen; the control is READY. Guide reproduced:cec9e25durable 1,ad18dd6derived 0 then READY.st_dev,st_ino) of.with the path before the call. At corroboration, when the path no longer names that directory or cannot be read, the result iskey_unavailable.test_forged_validator_code_is_not_proof[relative_names_renamed]. It fails atcec9e25.cec9e25:os.getcwd()runs even when every name is absolute. With a deleted working directory the capture gives None, and a genuine contradiction between absolute directories becomes derived instead of durable (spec L320). Guide reproduced:cec9e25derived 0,ad18dd6durable 1.test_bound_key_validator_conflict_survives_reopen[key_custody_deleted_cwd]. It deletes its own temporary directory; no chmod. It fails atcec9e25.Test-only fix (blocking)
abspath,normpathandrealpathmutants pass every key-resolution case; under them a forged code reaches a real disagreement the genuine validator never reads (durable 1).test_forged_validator_code_is_not_proof, each derived 0, then READY:[symlink_dotdot_names],[symlink_dotdot_absolute]: a..after a symlink, relative and absolute.[symlinked_directory],[symlinked_directory_relative]: a configured directory that is itself a symlink, which the genuine read refuses as insecure.Should-fix
test_bound_key_validator_conflict_survives_reopen[key_custody_relative].Nits
kindfor the capture check): declined. Strict mypy narrowsresolveronly ontype(resolver) is crypto.KeyCustody, not on the storedkind; reusing it needscastback.kind is crypto.KeyCustodyis removed. Sources exist only when the exact type was captured, so the capture-side identity check alone carries the rule, and[custody_alias]pins it.[corroborated_contradiction]now records the genuine comparison's code and asserts it provedkey_custody_contradictory.[raising_args:key_custody_contradictory]is read at head; the case stays green without the guard only because a contradiction on an unbound orphan is not torn.Record in the PR body
.(they name the same directory at capture), and treating a failed stat as unchanged (paths that are gone make the genuine lookup fail anyway). Each KeyCustody identity check alone is no longer a survivor, because only one remains.Probes
All in /Users/piers/src/_architect/dd469-minds-2026-11-16/r8-probes/:
spec/test_r8_spec_probe.py,standards/test_r8_st_probe.py,security/test_r8_sec_probe.py(Q1 to Q5).The guide pushes the fix on the PR branch and reports the new head on corr pr48-r8.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
9d3f8a268f9d3f8a268f. It is not a blocker.0828c1eftouches only the seven Primary Files, and docs/planning is untouched.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 9: guide dispositions
Head
9d3f8a2, spec-v13 sha256 10b8a093, base0828c1ef. Three fresh independent reviews: Spec FAIL (one test gap), Standards PASS (four nits), §19 Security FAIL (one test gap, one should-fix). All round-8 items are fixed in code, and each named test kills the mutant that undoes its fix. No earlier-round item regressed. mind-spec answer b2f06ecd to e83aaeef (corr pr48-r9-fit) accommodates both fit questions. Operator ruling (§6, round 9): fix SEC-r9-1 and SEC-r9-2 in this child, with the Standards nits, and record thest_ino-only comparison as an untestable residual. The guide writes and pushes the fix, as in rounds 5 to 8. No spec amendment.Test-only fix (blocking)
type(resolver) is crypto.KeyCustodyis now the only KeyCustody provenance check, and no test pins that it is exact. Anisinstancemutant passes every key-resolution case. Under it, a KeyCustody subclass that configures a real contradiction it never reads, then forges the code, reaches durable 1, kept after a good reopen.test_forged_validator_code_is_not_proof[custody_subclass], built on_contradictory_copies. Derived 0, then READY. It fails under theisinstancemutant.Code fix (should-fix, operator ruling)
9d3f8a2joins relative names to a capturedos.getcwd()path and checks that path's identity. Two routes lose a proved durable case (spec L320), both durable 1 atad18dd6:os.getcwd()raises, so the capture gives None);os.getcwd()and the join. Relative names stay exactly as configured. When any name is relative, the boundary records the identity (st_dev,st_ino) of.before the call. Corroboration reads the relative names only while.is still that directory; otherwise the result iskey_unavailable. Absolute-only custody records nothing and reads its names as given.test_bound_key_validator_conflict_survives_reopen, each durable 1, kept after a good reopen:[key_custody_mixed_deleted_cwd]: two absolute directories that disagree, one relative name, and a deleted working directory. It deletes its own temporary directory; no chmod. It fails at9d3f8a2.[key_custody_callback_chdir]: a callback leaves the working directory, then runs the genuine lookup over absolute directories that disagree. A chdir cannot hide a genuine disagreement..and makes no path lookup. It has no CI test: CI runs as root, and a chmod cannot make a parent unsearchable for root.Nits
_CustodySourceskeeps one optional field,identity;baseis gone.st_inoonly matters only when another filesystem is mounted at the same place with the same inode number. That needs mount privilege, and a unit test cannot set it up.assert proofs and set(proofs) == {...}dropsproofs and.[symlinked_directory_relative]and[key_custody_relative]no longer build a throwaway absolute KeyCustody first.Corrections to earlier records
[custody_alias]pins it.[custody_alias]kills only the==form, because its metaclass alias is not a subclass.[custody_subclass]now pins exactness.isinstance. Item 1 closes it.Record in the PR body
9d3f8a2(b2f06ecd Q1): a working directory renamed during the call is read as the same directory, by identity, not refused. A chdir during the call is still refused.[relative_names_renamed]stays derived 0, then READY, because corroboration reads the agreeing copies that the process reads.st_inoonly is untestable (item 5). A failed stat of.treated as unchanged is equivalent, because the rebuilt lookup of a relative name then fails too and never gives the proof code. Unverified races (a callback thread that moves the directory between the identity check and the reads, or inode reuse) reach the ruled P3 outcome only, because the callback must write to custody.Probes
All in /Users/piers/src/_architect/dd469-minds-2026-11-16/r9-probes/:
spec/test_r9_*,security/test_r9_sec_probe.pyandsecurity/candidate_fix.py. The fix follows the candidate.The guide pushes the fix on the PR branch and reports the new head on corr pr48-r9.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
4982f3f0984982f3f. Unit passed, 1611 tests. Transport failed in all 3 runs, 2 of 66 each time, with a different pair of tests each run. All failures are in unchanged tests; the common cause is an emptybarrierfile read. ruff and mypy are clean. Scenario collection is complete. The forge status ci/woodpecker/pr/validation is pending. Not ready for merge.(root / "barrier").write_text(name), which creates an empty file and then writes it. The parent test reads the file in between. I did not run the pristine base, so I cannot prove the race is not made likelier by this PR's slower startup. Each of the three transport runs failed 2 of 66 tests, and the failing tests differed between runs. Neither tests/test_commands.py nor tests/test_queries.py is in the diff. The spec asks for a base re-measure of the transport failure set, and it was not done here.-kfilters, and the file has 710 collected tests. The 'Frozen bytes unchanged' row names no test. It is a merge-gate diff and hash check, which I did not run. The diff covers exactly the seven Primary Files.4982f3f. I did not read the PR comments or reviews, so I make no claim about independent review.0828c1ef5a; host=voyager; python3=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3; resolved=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3.14; version=3.14.7; pytest=9.1.10828c1ef5a; host=voyager; python3=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3; resolved=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3.14; version=3.14.7; pytest=9.1.10828c1ef5a; host=voyager; python3=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3; resolved=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3.14; version=3.14.7; pytest=9.1.10828c1ef5a; host=voyager; python3=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3; resolved=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3.14; version=3.14.7; pytest=9.1.10828c1ef5a; host=voyager; python3=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3; resolved=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3.14; version=3.14.7; pytest=9.1.10828c1ef5a; host=voyager; python3=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3; resolved=/nix/store/q27ffdqgbpxbz4d0zfdyzg4jkfn83z7s-python3-3.14.7-env/bin/python3.14; version=3.14.7; pytest=9.1.1label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 10: guide dispositions (spec-v14)
Reviewed head
4982f3f, base0828c1ef; new head49f6f21. Round-10 reviews: Spec PASS (one should-fix, one nit), Standards PASS (two optional nits), §19 Security FAIL (one blocking test gap, three should-fix). No source-only design fitted the seven-file write set (mind-spec 2576f406), so the operator ruled a spec amendment in this child. Spec-v14 addsrecovery_crypto.pyas the eighth primary file. Its key-custody scope is KeyCustody, KeyRing construction, the private directory helpers that KeyCustody calls, and the private record registry with its reader. mind-spec accommodated the final text (b4dcfacd and text4), verify run 20261123T090947Z-9e2ebb28 was CLEAN, and the operator approved spec-v14 at sha256ed311972b1265b9d51bed76bd26a863146a8ce4fbd644bd05a26a54a0e20fdef. The earlier test-only round-10 plan (tests plus cwd residuals) is withdrawn and was never posted. The guide writes and pushes the change, as in rounds 5 to 9.What the change does (I17, §7)
KeyCustodyandKeyRinggets a private constructor record, keyed by instance identity. The record holds the kind and the exact type at construction. A KeyCustody record also holds the configured names and, when any name is relative, a directory anchor opened at construction. A KeyRing record holds a copy of its entries.KeyCustodyreads every relative name through the anchor withdir_fd, one path component at a time, never following a symbolic link. It never reads through the process working directory. The publicKeyCustody.resolvereads the same way.KeyCustody.close()closes the anchor. Aweakref.finalizecloses it when the instance dies.ManagedConfigrecords the key custody it was built with. Its wrapped__init__refuses reentry before any field write.__post_init__stores a record only for an instance that its constructor marked. A standalone call,copy.copyorobject.__new__leaves no record.QueueTransitionbinds its key reader once, at construction. Binding takestuple(dict.items(d))of the config's instance dict and checks for exactstrkeys. It requires the exact recordedkeysobject and its recorded type. A mismatch givesunsupported_type. A recorded reader is an engine-owned copy: the names and the engine's own duplicate of the anchor, or the ring's entries. No later change toengine.config, the config, or the custody object reaches it.activatecompares the reader it would bind._OpeningKeysand_CustodySourcesare removed.Round-10 findings
test_forged_validator_code_is_not_proofandtest_bound_key_validator_conflict_survives_reopen. The matrix covers absolute, relative and mixed custody, with disagreeing and agreeing copies. Its actions arechdir_before,chdir_during,renamed_anchor,deleted_cwd,callback_thread,close_duringandcopy_removed_during.chdir_during,callback_thread). Audit, trace and profile hooks are Not defended in the v14 trust boundary. The round-9 race sentence and the planned R10-3 residual are withdrawn.key_custody_io. After that, corroboration reads every name, absolute and relative. A genuine contradiction is durable in all three layouts (*-disagreearms, durable through a good reopen). The planned R10-4 residual is withdrawn.st_inopremise false). Moot. No inode comparison remains. The round-9st_inoresidual stays withdrawn.identity). Moot. The field is removed.Scope note
The guide reads
_walk_directoryand_DIRECTORY_FLAGSas private directory helpers that KeyCustody calls._custody_directoryand_read_key_filegain an optionalanchorargument. With no anchor, they keep base behaviour, sowrite_key_copyandcreate_key_fileare unchanged. Nothing else inrecovery_crypto.pychanges.tests/test_recovery_crypto.pyis unchanged and passes.Tests and evidence
test_key_custody_anchor(11 arms),test_key_reader(15 arms, one per v14 F11 arm), and the custody matrix (42 ids per test in the two tests above).4982f3fand the new test file: 108 of the selected arms fail and 34 pass. The passing arms guard behaviour that base already has. Fourtest_key_readerarms are in this group:config_explicit_replacement,evidence_needs_digest_binding,private_access_no_protected_writeanddirect_quarantine_keeps_unbound_charge. The sixcopy_removed_duringarms of the bound test are also in it.close_duringarms have no killing one-line mutant. Absolute custody holds no descriptor, and the bound reader never consults its record. They stay as behaviour guards.ruff check,ruff format --checkand strictmypy srcare clean. Full suite: 1791 passed (guide run).Residuals (v14 trust boundary, Not defended)
The v14 boundary is a closed list. Every action not on it is Defended. The list:
engine._quarantine(), for the durable mark only (the staged file and its full charge stay);Under Ruled P3,
close()before binding giveskey_unavailablefor the engine reader and the public resolve.Next
The guide pushed the change as
49f6f21(gitleaks clean for 0828c1ef..HEAD). Next it updates the run's approved spec to spec-v14, and runs integrate, CI, the raw-log audit and the round-11 reviews.spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
49f6f213130828c1ef, the adapter-diff check and the CONV-23 reader-row check stay as merge-gate checks. This run confirmed only that test_wire_readiness_reader_accepts_only_ready exists, is collected and passes.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 11: guide dispositions (spec-v15)
Reviewed head
49f6f21, base0828c1ef; new headef49467. Round-11 reviews: Spec FAIL, Standards FAIL, §19 Security FAIL. All three found every round-10 item fixed or moot, and no earlier item regressed. The guide reproduced every blocking finding before acting.The FAIL has two causes:
The operator ruled to name every in-memory field of that kind as protected state. mind-spec found the enumerated list fits as a closed set (cfe007fb P1), and accommodated the final text (f5fc1de1). The operator approved spec-v15 at sha256
ca43e1e047ef1baf232ff08a4608e4e5d1e909e74c41ebbc0d5958ce19bc0853. Spec-v15 differs from spec-v14ed311972in the protected-state item only. Verify run 20261123T121638Z-251085b6 was CLEAN, but no lens read the changed lines (541-547). The change is test-only: no source file changes.Blocking
_readiness = READY.listthen discloses 1 item. The same result holds at4982f3f.QueueTransition,Store,Serviceand_ReleaseGateassign at49f6f21.engine.configstays Defended, and a field not on the list is not protected state. The readiness write is now residual, for the state written only.[private_access_no_protected_write]assigns onlyengine._probe, so it stands as written._livewas read.[activate_compares_reader]now refuses a closed custody over the same absolute names before the first activation. Mutant (drop the_livecheck) turns exactly that arm red.return True) turns exactly that arm red.[no_leaked_descriptor]addsx/y/aandx/y/b. Mutant (drop the in-loop close) turns exactly that arm red.ManagedConfigtype (SP-r11-3, L501/L504). Fixed by a test.[config_dict_exact_keys]refuses aManagedConfigsubclass withunsupported_type. Mutant T09 turns exactly that arm red.Should-fix
[public_resolve_anchored]builds anobject.__new__KeyCustodywith relative names and expectskey_unavailable. Mutant C23 turns exactly that arm red.keysfrom the live dict). Declined. The code reads the snapshot (recovery_transition.py:2826). A killing test needs a race inside one dictionary operation, or a patch ofdict, which is a trusted dependency.Nits
__class__route untested). Declined, optional. The reviewer's probe passes at head._custody_namecatchesException). Declined. ABaseExceptionescapes construction and stores no record, so no reader exists.recovery_crypto.py._same_configlists fields by hand, as at base), ST-r11-8 (os.dupunderEMFILEraises a rawOSError; resource exhaustion is Not defended). Declined, optional.Tests and evidence
ef49467:ruff check,ruff format --checkand strictmypy srcare clean.tests/test_recovery_transition.pyandtests/test_recovery_crypto.pygive 859 passed. I17 selection: 142 passed.Next
Integrate, exact-head CI and the raw-log audit at
ef49467, then three fresh round-12 reviews against spec-v15. Under the operator's "merge 48 on green", the guide merges pinned to the reviewed head only if every check is green.spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
ef49467d3def49467d3d.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 12: guide dispositions (spec-v16)
Reviewed head
ef49467, base0828c1ef; new head11fe9d2. Round-12 reviews: Spec FAIL, Standards PASS, §19 Security FAIL. All three found every round-11 item fixed or moot, and no earlier item regressed. The guide reproduced every blocking finding before acting.The FAIL has two causes:
The operator ruled "Add code + custody files" (2026-11-24). Spec-v16 adds two items to the closed Not-defended list, and it adds the engine's pinned configuration to the protected list. SEC-r12-2 is fixed in code. A third route, measured by the guide, needed a further ruling (below). mind-spec accommodated the clauses (
8056d808Q1, Q2, Q3, Q5;3d20b3b2) and the final text (7de7866c). The operator approved spec-v16 at sha2565cf79bb485f411a0cb371a3b61179e2e6a999e5534e6629a48cf007f0d0871a8. Verify run 20261123T134350Z-c0f90a0a was CLEAN on15966cc6, which differs from the approved text by one editorial sentence at L510. The lenses read 38% of the spec and none read the changed lines, so the guide read every changed range.Blocking
__class__change, and a class property each disclose 1 item. A remap of the module-global_AUTHORITY_FAULTSgives a durable quarantine.__class__; and setting an instance attribute that hides a method or property. A change to a resolver instance stays Defended. A change to the class of the config'skeysobject stays Defended, and binding refuses it withunsupported_type.engine.configlive). Fixed in code.engine.configwith no invalidations, and a revoked premise lets a command through with a transport put. The archive gate read its namespace fromengine.config(store.py:355), and a reservation in another bucket exported 2174 B._configat construction and reads its configuration only from it: 17 engine reads andstore.py:355.engine.configkeeps its value, so assigning it stays Defended and changes nothing the engine reads. Spec-v16 adds_configto the protected list.[config_assignment_has_no_effect]: a hook assignsengine.configwith no invalidations and another artifact bucket. The revoked premise still givesineligiblewith no transport call. A reservation in the other bucket refuses witharchive_quarantined.self.config, andstore.py:355put back on.config, each turn exactly that arm red.engine._config(39 sites). The[config_assigned_after_construction]arm still assignsengine.config.[activate_compares_reader]now reopens over a closed custody before the first activation, and then asksactivatefor a live custody over the same names. It expectsinitialization_unproven, no durable quarantine and nocustodydirectory. Mutant (not other._livein place ofnot (self._live and other._live)) turns exactly that arm red.Route beyond the first ruling
object.__setattr__(engine._config, "invalidations", ()), and a revoked command goes through with 5 transport sends. The control givesineligiblewith 0 sends.8056d808Q4).premise,invalidationsorfrontier_key_id, or of a field of theDeploymentPremise,Namespace,PremisePrincipalorPremiseInvalidationvalues they hold. Thekeysfield keeps its record check, andtransportand_faultstay Defended.Should-fix
Nits
_activation, which rebinds_authority_premise). Fixed: the hook no longer calls_activation. It calls_headerand_pass, and it assignsengine._probe.asyncio.Lockfields on_ReleaseGate). Fixed in spec-v16 under the round-11 ruling: the list adds_locked,_waitersand_loop.closedsub-case, reused names). Fixed: the old sub-case is removed,closed_sameasserts that readiness is unchanged, and the anchored block usesanchored_baseandanchored_unactivated._same_configis new in this PR, not "as at base". The decline stands, optional.Tests and evidence
ruff check,ruff format --checkand strictmypy srcare clean.tests/test_recovery_transition.pyandtests/test_recovery_crypto.pygive 860 passed. I17 selection: 143 tests.store.py:355) and M3 (not other._live) each turn exactly their arm red. The source is restored byte for byte.Next
Integrate, exact-head CI and the raw-log audit at the new head, then three fresh round-13 reviews against spec-v16. Under the operator's "merge 48 on green", the guide merges pinned to the reviewed head only if every check is green.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
11fe9d2b30codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 13: guide dispositions (spec-v17)
Reviewed head
11fe9d2, base0828c1ef; new heade99c6fb. Round-13 reviews: Spec FAIL, Standards PASS, §19 Security FAIL. All three found every round-12 item fixed or moot, and no earlier item regressed. The guide reproduced both blocking findings before acting.The FAIL has two causes:
The operator ruled "Refuse in code + spec-v17" (2026-11-24). mind-spec accommodated the text (
e3a6b5cdF1, F2). The operator approved spec-v17 at sha256048cc1ee8777624bb2992ac625aa514d8d580f19c55d3174431d1bb4a3584162. Verify run 20261123T203047Z-605b1d90 was CLEAN on that text. The lenses read 52% of the spec and missed L169, L700-701 and L891, so the guide read those lines against the code and tests.Blocking
ineligiblewith 0 transport calls. A list that a fault hook clears givesokwith 5 calls ending input. A tuple subclass whose iteration the hook changes gives the same.ManagedConfig.__post_init__now refuses withunsupported_typeunlessinvalidationsis an exact tuple and each item is an exactPremiseInvalidation. It stores no record. Spec-v17 adds this rule at L492, asDeploymentPremisealready does forprincipals.[config_invalidations_exact]: a list, a tuple subclass, a tuple holding aPremiseInvalidationsubclass value, and a tuple holding a list each refuse, throughManagedConfig(...)and throughdataclasses.replace. An exact tuple still binds, and its revocation givesineligiblewith no transport call._configread in_same_confighad no test). Fixed by a test.11fe9d2. With the read put back onengine.config, it fails (managed_observation_required, notinitialization_unproven), and the I17 and activate selection gives 154 passed.[config_assignment_has_no_effect]now covers an engine not yet activated. A hook assignsengine.configto the exact config thatactivatethen requests, which differs from the engine's own in its invalidations or its premise.activategivesinitialization_unproven, never durable, and creates no custody directory.Should-fix
_configreads had no test). Fixed. The same arm checks that no module insrcloads aconfigattribute, and that the one store is inrecovery_transition.py. Mutants on_same_config, the seal key ID and the invalidation read each turn exactly that arm red.engine.config) turns the arm red at part 1, with the static check turned off.[private_access_no_protected_write]asserts only the result.Nits
_capture_enginesand_archive_scopehelpers replace the two copies of each pattern.closed_engineis a custody). Fixed: renamedclosed_reader, and the sub-case asserts readiness is unchanged.before_releasehook can set a slot's fields to None, and the adapter returns 500). Unverified, and nothing is disclosed. Not changed in this round.engine._configto make the premise mismatch; spec-v17 L511 now says so. The Spec reviewer's full suite had one failure intest_commands.py::test_writer_kill_and_retry[after_commit-submit], a file the PR does not touch. It passes alone; it is a timing flake under load.Tests and evidence
e99c6fb:ruff check,ruff format --checkand strictmypy srcare clean.tests/test_recovery_transition.pyandtests/test_recovery_crypto.pygive 861 passed._same_config), M7 (seal key ID), M1 (invalidation read), M6 with the static check off, and M1+M4 with the static check off. Each turns exactly its arm red. The source is restored byte for byte.Next
Integrate, exact-head CI and the raw-log audit at the new head, then three fresh round-14 reviews against spec-v17. Under the operator's "merge 48 on green", the guide merges pinned to the reviewed head only if every check is green.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
e99c6fb3d1e99c6fb3d1; the runner re-polls it.0828c1efchanges it. The spec lists it as a Primary File (modify), so this is in scope.0828c1efwas not run here beyond the file-list diff. The CONV-23 reader-row check was also not run beyond the spec's reader audit and the passing test_wire_readiness_reader_accepts_only_ready scenario.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 14: guide dispositions (spec-v18)
Reviewed head
e99c6fb, base0828c1ef; new head7439267. Round-14 reviews: Spec FAIL, Standards FAIL, §19 Security FAIL. All three found every round-13 item fixed or partly fixed, and no earlier item regressed. The guide reproduced every blocking finding before acting.The FAIL has two causes:
invalidationsis a list (SEC-r14-1).The guide measured a further route before building the reviewer's 2-line fix (below). The operator ruled "Bind from record, spec-v18" (2026-11-24). Mind-spec did not answer the fit question, and the guide took that silence as its answer. The operator approved spec-v18 at sha256
b56c0f3881f893a21ec236bbe839d652c501d4d74ae45c49689ad17b39618f35. Verify run 20261123T222307Z-feede31b was CLEAN on that text, with 0 blocking. The lenses read 29% of the spec and none read the changed lines (L169, L490-493, L511, L543, L548, L700-701, L891, R20), so the guide read every changed range against the code and tests.Blocking
invalidationsvalue). Fixed by a test.key_readergives 17 passed. A probe under X5 reaches the escaped instance and givesokwith 5 transport calls ending input.[config_invalidations_exact]now builds each refused value throughobject.__new__andManagedConfig.__init__. It asserts the refusal, that no record exists, and that a reopen with that instance refuses withunsupported_type.ManagedConfig.__init__writes a list into a recorded config). Fixed in code, with spec-v18.__eq__during keyword matching, reads the instance from a frame, and callsManagedConfig.__init__on it. The inner call records an exact tuple, and the outer call then writes a list.list_clear,tuple_subclassandthread_listeach giveokwith 5 sends ending input. The control givesineligiblewith 0 sends.unsupported_typewhen the construction mark for the instance is already set (L490). The inner call refuses and stores no record.[constructor_reentry_refused]now makes the nested call from a keyword-name__eq__. It asserts that the nested call refuses and that the record holds the exact tuple of the outer call. Mutant K1 (mark check off) turns exactly that arm red.Route beyond the reviewer's fix
e99c6fbwith the 2-line fix applied.ManagedConfig.__init__.__closure__[0].cell_contentsis the generated__init__. It is not a frame read, and it is on no Not-defended item, so it is Defended.__eq__, it writes a list after the inner record: record True,okwith 5 sends ending input.__post_init__refuses: record True,okwith aput, at head and with the fix._ConfigRecordkeeps the validatedinvalidationstuple (L492)._bind_keysrefuses withunsupported_typeunless the config'sinvalidationsfield is that tuple.QueueTransitionbinds_invalidationsfrom the record._premise,_same_configand_activateread only_invalidations. Spec-v18 adds_invalidationsto the protected list (L543).r14-probes/guide/test_r14_guide_closure.py).[config_invalidations_exact]:unsupported_type; a good reopen then givesreadyand durable 0;ineligiblewith no transport call;.invalidationsattribute reads insrcare onselfand onrecordinrecovery_transition.py.Should-fix
__iter__that records the call and raises. The arm asserts that it never ran. Mutant K5 (X6, iterate before the type check) turns exactly that arm red.[config_assignment_has_no_effect]also refuses a string constant"config"in anysrcmodule. That coversgetattr,vars()[…],__dict__[…]andattrgetter. Mutant K8 (seal key ID throughgetattr(self, "config")) turns exactly that arm red.Nits
engine._config"), and loads and stores are asserted apart. The check stays in the arm, because spec-v18 L891 places it there. Declined in part, optional._archive_scopenames its parameterobject_key._capture_enginesstays where it is. Declined in part, optional.before_releasehook that sets a slot's fields to None gives a 500 or a quarantined document, with durable 0. Nothing is disclosed.Tests and evidence
ruff check,ruff format --check(92 files) and strictmypy srcare clean.tests/test_recovery_transition.pyandtests/test_recovery_crypto.pygive 861 passed.[constructor_reentry_refused];getattr):[config_assignment_has_no_effect];_same_configreads the field), K7 (_activatereadsconfig.invalidations) and K9 (the record read returns the field):[config_invalidations_exact].Next
Integrate, exact-head CI and the raw-log audit at the new head, then three fresh round-15 reviews against spec-v18. Under the operator's "merge 48 on green", the guide merges pinned to the reviewed head only if every check is green.
spec-verify-dispatch Half B for dev/attention-mind-mcp#33 dd-469-6-child-5-7-durable-transition-and-quarantine completed integration verify.
74392674fe0828c1ef(protocol hash, exact write set, CONV-23 reader-row check) was not run in full here. The diff stat shows 8 files, which matches the spec's eight Primary Files: recovery_crypto.py is the eighth and is outside the dispatch's seven-file list. Check the recovery_crypto.py diff at the merge gate as R17 requires.codex-svd ship --run-id 20261121T104247Z-d2b4c2a7available to a permitted seat)label flip withheld (--no-label-writes); gate label is the orchestrator's act — actor unset
PR #48 round 15: guide dispositions (spec-v19)
Reviewed head
7439267, base0828c1ef; new headcc3ceb8. Round-15 reviews: Spec FAIL, Standards FAIL, §19 Security FAIL. All three found every round-14 item fixed, and no earlier item regressed. The guide reproduced every blocking finding before acting.The FAIL has two causes:
The operator ruled "Engine copies, spec-v19" (2026-11-24). Mind-spec did not answer the fit question in a 15-minute window, and the guide took that silence as its answer. The operator approved spec-v19 at sha256
352affb462f5bc3942ab210074f7ac12c3d464a413105b0d85059a53384085b6. Verify run 20261124T001257Z-d53dd7a3 was CLEAN on that text, with 0 blocking. The lenses read 23% of the spec and none read the changed lines (L169, L492-493, L512, L701-702, L892, R21), so the guide read every changed range against the code and tests.Blocking
7439267): a fault hook callsPremiseInvalidation.__init__on the recorded item with another digest. A revoked premise givesokwith 5 transport calls ending input. The control givesineligiblewith 0 calls.Namespace.__init__on the caller's frontier namespace atbefore_local_commitorafter_local_commit. Durable quarantine is 1, and a good reopen keeps it.__post_init__now builds copies of the validated invalidations, and_ConfigRecordkeeps them asowned._recorded_invalidationsreturnsrecord.owned, so_invalidationsis the engine's tuple of copies (L492-493). The bind identity check stays on the caller's tuple._authority_premiseis now the engine's copy,decode_premise(encode_premise(premise)), at bind and at the prepared-record rebind (L512).ineligiblewith 0 sends, and E6 and E7 giveokwith durable 0.[premise_values_owned]:PremiseInvalidationby its generated__init__and byobject.__setattr__;engine._invalidationskeeps the copy, and the revocation givesineligiblewith no transport call;Namespaceatbefore_local_commitand atafter_local_commit; the command givesok, durable 0, and a good reopen reaches READY.listed[0] != record.invalidations):key_readergives 17 passed, and the reviewer's probe fails twice.[config_invalidations_exact]now writes an equal but distinct exact tuple, and a tuple subclass whose__eq__and__ne__record each call, into a recorded config with the generated initializer. Each refuses withunsupported_typeat bind, the reopen refuses, and the subclass records no comparison._same_configread was pinned only against one spelling). Fixed by a test.getattr(current, "invalidations")):key_readergives 17 passed.activategivesinitialization_unproven, and durable is 0.invalidationsandownedby attribute syntax,getattr,attrgetteror a constant subscript. It allows exactly__post_init__onself,_bind_keysonrecordand_recorded_invalidationsonrecord, and its message names the rule and the lines.Should-fix
getattron both sides, and the guide did not run it apart.Nits
refused("unsupported_type", …).ineligible, no transport call, durable 0). The authority itself is now the engine's copy (L512).invalidationsmessage lists file, function, receiver and line. The scans still cover everysrcmodule. Declined in part, optional._generated_config_initializer,_reentrant_name,_capture_enginesand the new_attribute_readssit just abovetest_key_reader.pytest.raisesuserefused,nested["result"]moved up, and the double durable check isready()alone. The wrapper's nested-call check keeps its form, and_recorded_invalidationskeeps its own record lookup, so_bind_keyskeeps one return type. Declined in part, optional.Tests and evidence
ruff check,ruff format --check(92 files) and strictmypy srcare clean.tests/test_recovery_transition.pyandtests/test_recovery_crypto.pygive 862 passed.[premise_values_owned];!=), N6 (_same_configbygetattr), N7 (_same_configreads the field), N8 (through a local namedrecord) and N9 (_activateencodesgetattr(config, "invalidations")):[config_invalidations_exact];[constructor_reentry_refused].Next
Integrate, exact-head CI and the raw-log audit at the new head, then three fresh round-16 reviews against spec-v19. Under the operator's "merge 48 on green", the guide merges pinned to the reviewed head only if every check is green.