Add bounded conditional custody proofs and qualification plans #19

Merged
Collaborator

Summary

Adds a bounded, synthetic custody investigation for #17: conditional publication/retirement, slot ABA controls, registered-copy inventory and an opt-in endpoint probe. This is proposed proof material; endpoint qualification remains NOT RUN/UNQUALIFIED and deployment fencing UNPROVEN.

proofs/recovery/custody/
├── slot_model.py + tests       conditional custody and ABA controls
├── inventory_model.py + tests registered copies, expiry and finite bounds
├── probe_endpoint.py + guards opt-in, capped single-PUT investigation
└── README + two plans         bounded evidence and unresolved assumptions

The full diff against main 2b0e9af450391f9d8fbfecb32bfbe6113faa71f3 contains exactly the original twelve custody files. Final documentation delivery f9460df258687171facb4637ce0f9f5462fb04b9 separates random markers from symbolic fresh incarnation preconditions and frontier enumeration from directed inventory checks; two plans receive paragraph reflow only. No runtime, ADR, contract pin, root dependency or CI change.

Evidence

  • Before: the original SVD exhausted two reworks. The subsequent one manual delivery stopped on an existing readiness-test race; #21/PR22 repaired that test. The saved collection comparator then failed on two import-time UUID labels; the operator explicitly disposed that STOP with “merge 22 on green.” The custody artifact reviews at fed9c211 subsequently failed on two prose overclaims and two Markdown wrapping findings. All failures and charged budgets remain preserved.
  • After: the operator's 23:00:56 approval grants exactly one additional three-document correction, patch SHA256 e68a69a87f337e65bcef365851d8b5a2f83f777ecbf201fa796576884c0c1625. The frozen 54-file packet, nine unchanged proof inputs, 22 product/test/dependency inputs, interpreter/dependency versions and root configurations matched before evidence reuse. Exact patch bytes, scope and git diff --check passed. Fresh independent standards/spec verdicts are recorded in the continuation evidence and accompanying PR comment before push.

Saved execution evidence, reused without manual reruns: 44 proof tests; FRESH and CONTENT_MD5 slot searches each 1,158 states/2,307 transitions; inventory frontier search 326/743, complete within stated bounds; seven expected negative controls; no-opt-in probe NOT RUN; offline SDK 1.43.122 compatibility; Ruff check/format and mypy PASS. Corrected product regression at fed9c211 passed 359 unit and 64 transport tests with empty failure sets. Matching source/environment provenance is retained; none of these counts is provider qualification.

Exact-head CI pipeline22 passed at f9460df. The single cap-zero integrate returned readyForMerge=true and zero reworks, but its raw output records unavailable Ruff and four collection errors in each product suite. Custody is STOP under the approved any-failure rule; the runner green result does not clear the checkpoint. Raw truncated diagnostics do not establish the cause. See the subsequent STOP comment and frozen stopped-integrate/ packet; no retry or second integrate follows. Any failed/incomplete result stops, with no further correction or budget reset. No merge, parent or release clearance is granted; staging requires a complete independently reviewed custody PASS.

Evidence directory: /Users/piers/.local/state/exhaust/groupthink/dd469-backup-proof/continuation-20261116/custody/documentation-correction/. Prior immutable STOP packet: sibling stopped-artifact-review/, manifest SHA256 6209e73c4fcb2b881ab548d5bb1202563f0dae86bf45f87c8bae2cdfc59bac5c. Approval: #6 comment 41260 and #17 comment 41262.

Merge Danger

Door: two-way

Blast Radius: proof

Synthetic investigation files only. No endpoint, host, credential or production actions. Product recovery acceptance and release remain held.

Closes #17

Operator disposition and merge readback

PR19 merge completed and read back as e027706c0ee7b14cf1eed9742a4a82aeaf6566f0 at 2026-11-16T19:04:27Z. Authorized exact head/base and twelve-file scope confirmed immediately before merge; #17 closed after merge. The custody checkpoint is explicitly exceptional manual acceptance, not a relabelled integrate PASS. Parent #6 remains held.

## Summary Adds a bounded, synthetic custody investigation for #17: conditional publication/retirement, slot ABA controls, registered-copy inventory and an opt-in endpoint probe. This is proposed proof material; endpoint qualification remains NOT RUN/UNQUALIFIED and deployment fencing UNPROVEN. ```text proofs/recovery/custody/ ├── slot_model.py + tests conditional custody and ABA controls ├── inventory_model.py + tests registered copies, expiry and finite bounds ├── probe_endpoint.py + guards opt-in, capped single-PUT investigation └── README + two plans bounded evidence and unresolved assumptions ``` The full diff against main `2b0e9af450391f9d8fbfecb32bfbe6113faa71f3` contains exactly the original twelve custody files. Final documentation delivery `f9460df258687171facb4637ce0f9f5462fb04b9` separates random markers from symbolic fresh incarnation preconditions and frontier enumeration from directed inventory checks; two plans receive paragraph reflow only. No runtime, ADR, contract pin, root dependency or CI change. ## Evidence - **Before:** the original SVD exhausted two reworks. The subsequent one manual delivery stopped on an existing readiness-test race; #21/PR22 repaired that test. The saved collection comparator then failed on two import-time UUID labels; the operator explicitly disposed that STOP with “merge 22 on green.” The custody artifact reviews at `fed9c211` subsequently failed on two prose overclaims and two Markdown wrapping findings. All failures and charged budgets remain preserved. - **After:** the operator's 23:00:56 approval grants exactly one additional three-document correction, patch SHA256 `e68a69a87f337e65bcef365851d8b5a2f83f777ecbf201fa796576884c0c1625`. The frozen 54-file packet, nine unchanged proof inputs, 22 product/test/dependency inputs, interpreter/dependency versions and root configurations matched before evidence reuse. Exact patch bytes, scope and `git diff --check` passed. Fresh independent standards/spec verdicts are recorded in the continuation evidence and accompanying PR comment before push. Saved execution evidence, reused without manual reruns: 44 proof tests; FRESH and CONTENT_MD5 slot searches each 1,158 states/2,307 transitions; inventory frontier search 326/743, complete within stated bounds; seven expected negative controls; no-opt-in probe NOT RUN; offline SDK 1.43.122 compatibility; Ruff check/format and mypy PASS. Corrected product regression at `fed9c211` passed 359 unit and 64 transport tests with empty failure sets. Matching source/environment provenance is retained; none of these counts is provider qualification. Exact-head CI pipeline22 passed at `f9460df`. The single cap-zero integrate returned readyForMerge=true and zero reworks, but its raw output records unavailable Ruff and four collection errors in each product suite. **Custody is STOP** under the approved any-failure rule; the runner green result does not clear the checkpoint. Raw truncated diagnostics do not establish the cause. See the subsequent STOP comment and frozen `stopped-integrate/` packet; no retry or second integrate follows. Any failed/incomplete result stops, with no further correction or budget reset. No merge, parent or release clearance is granted; staging requires a complete independently reviewed custody PASS. Evidence directory: `/Users/piers/.local/state/exhaust/groupthink/dd469-backup-proof/continuation-20261116/custody/documentation-correction/`. Prior immutable STOP packet: sibling `stopped-artifact-review/`, manifest SHA256 `6209e73c4fcb2b881ab548d5bb1202563f0dae86bf45f87c8bae2cdfc59bac5c`. Approval: [#6 comment 41260](https://git.groupthink.asia/dev/attention-mind-mcp/issues/6#issuecomment-41260) and [#17 comment 41262](https://git.groupthink.asia/dev/attention-mind-mcp/issues/17#issuecomment-41262). ## Merge Danger **Door:** two-way **Blast Radius:** proof Synthetic investigation files only. No endpoint, host, credential or production actions. Product recovery acceptance and release remain held. Closes #17 ## Operator disposition and merge readback PR19 merge completed and read back as [`e027706c0ee7b14cf1eed9742a4a82aeaf6566f0`](https://git.groupthink.asia/dev/attention-mind-mcp/commit/e027706c0ee7b14cf1eed9742a4a82aeaf6566f0) at 2026-11-16T19:04:27Z. Authorized exact head/base and twelve-file scope confirmed immediately before merge; #17 closed after merge. The custody checkpoint is explicitly **exceptional manual acceptance**, not a relabelled integrate PASS. Parent #6 remains held.
Add initial custody proof scaffolding
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
023a00231a
Add an offline test guard, an endpoint qualification checklist, and a draft writer-fence test plan. The custody proof implementation remains incomplete.

Closes #17
Co-Authored-By: gpt-6.1-terra <noreply@openai.com>
Add guarded endpoint probe
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
0703032383
Add an opt-in disposable-prefix probe and offline tests for its client and network guards.

Closes #17
Co-Authored-By: gpt-6.1-terra <noreply@openai.com>
Add partial custody proof models and offline tests
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
4c80927fad
Introduce synthetic conditional-write and inventory primitives, directed writer-fence tests, and an evidence README that records the unfinished proof coverage.

Closes #17
Co-Authored-By: gpt-6.1-terra <noreply@openai.com>
svc-agent-writer changed title from Add initial custody proof scaffolding to Add bounded conditional custody proofs and qualification plans 2026-11-16 12:05:38 +00:00

Fresh independent reviews at exact delivered/pushed head f9460df258687171facb4637ce0f9f5462fb04b9: Standards PASS (0 findings), Spec PASS (0 findings), both read-only over the complete twelve-file artifact and three-document increment. Reviewed base 2b0e9af450391f9d8fbfecb32bfbe6113faa71f3. Saved-evidence source/environment checks and once-only scope/static checks PASS. Reports: continuation-20261116/custody/documentation-correction/{standards-review.md,spec-review.md,reviews.json,preflight.json,static-scope.json}. Normal non-force push read back at the same head. Exact-head CI is pending; args remain unchanged and integrate has not been invoked. Historical FAILs remain preserved. This is not the complete custody checkpoint; staging remains held.

Fresh independent reviews at exact delivered/pushed head `f9460df258687171facb4637ce0f9f5462fb04b9`: Standards PASS (0 findings), Spec PASS (0 findings), both read-only over the complete twelve-file artifact and three-document increment. Reviewed base `2b0e9af450391f9d8fbfecb32bfbe6113faa71f3`. Saved-evidence source/environment checks and once-only scope/static checks PASS. Reports: continuation-20261116/custody/documentation-correction/{standards-review.md,spec-review.md,reviews.json,preflight.json,static-scope.json}. Normal non-force push read back at the same head. Exact-head CI is pending; args remain unchanged and integrate has not been invoked. Historical FAILs remain preserved. This is not the complete custody checkpoint; staging remains held.

Custody continuation STOP at f9460df258687171facb4637ce0f9f5462fb04b9. Fresh Standards PASS/0, Spec PASS/0 and exact-head CI pipeline22 PASS are preserved. The once-only cap-zero integrate returned exit0, readyForMerge=true and reworkRounds=0, but raw tool output records ruff: command not found and unit/transport each interrupted by four collection errors. Under the operator-approved any-failure/incomplete-result stop rule, the green envelope is not a complete custody checkpoint. No merge, staging, repair, retry or second integrate follows.

The inner shell tailed Ruff to5 lines and each suite to3 lines; full tracebacks, individual command exit codes and exact bare-python3 interpreter/dependency provenance are absent. Missing dependencies is the reviewer's attribution, not an established diagnosis. Same-call commands continued after failures, then the model emitted green; the supervisor observed this only after completion. No diagnostic rerun was used. The model also claimed independent review was unrecorded, although comment41272 and the PR body made both PASS reports available before the invocation; consumption is not claimed.

Full transcript, command timeline, source, runner/request/version, args before/after, state, verdict/testEvidence, CI and review availability are frozen at /Users/piers/.local/state/exhaust/groupthink/dd469-backup-proof/continuation-20261116/custody/stopped-integrate/. Verified240-file manifest SHA256 dd160605955d32b01d7e775eb87e7a6e7e5b28ba41c0f50b7da784d90739aa1a; review SHA256 2517519e95e6ccfceb95ff7d9c754c9cd9f2378c4749c1cb971dab9e803f1d6b. Git remains clean at the same delivered/reviewed/CI/integrate head. No new/changed dispatch-rework artifact; historical budgets and all previous FAILs retained. knownFailingTests remains empty. #17 retains ready-for-human and svd:hold. Submitted to mind-spec and guide for read-only review; parent/release remain held.

Custody continuation **STOP** at `f9460df258687171facb4637ce0f9f5462fb04b9`. Fresh Standards PASS/0, Spec PASS/0 and exact-head CI pipeline22 PASS are preserved. The once-only cap-zero integrate returned exit0, readyForMerge=true and reworkRounds=0, but raw tool output records `ruff: command not found` and unit/transport each interrupted by four collection errors. Under the operator-approved any-failure/incomplete-result stop rule, the green envelope is not a complete custody checkpoint. No merge, staging, repair, retry or second integrate follows. The inner shell tailed Ruff to5 lines and each suite to3 lines; full tracebacks, individual command exit codes and exact bare-python3 interpreter/dependency provenance are absent. Missing dependencies is the reviewer's attribution, not an established diagnosis. Same-call commands continued after failures, then the model emitted green; the supervisor observed this only after completion. No diagnostic rerun was used. The model also claimed independent review was unrecorded, although comment41272 and the PR body made both PASS reports available before the invocation; consumption is not claimed. Full transcript, command timeline, source, runner/request/version, args before/after, state, verdict/testEvidence, CI and review availability are frozen at `/Users/piers/.local/state/exhaust/groupthink/dd469-backup-proof/continuation-20261116/custody/stopped-integrate/`. Verified240-file manifest SHA256 `dd160605955d32b01d7e775eb87e7a6e7e5b28ba41c0f50b7da784d90739aa1a`; review SHA256 `2517519e95e6ccfceb95ff7d9c754c9cd9f2378c4749c1cb971dab9e803f1d6b`. Git remains clean at the same delivered/reviewed/CI/integrate head. No new/changed dispatch-rework artifact; historical budgets and all previous FAILs retained. knownFailingTests remains empty. #17 retains ready-for-human and svd:hold. Submitted to mind-spec and guide for read-only review; parent/release remain held.

Runner verification/evidence-accounting defect is now tracked at dev/stables#2237, filed by minds-guide under the operator’s authority. It cites the frozen stopped-integrate packet (manifest SHA-256 dd160605955d32b01d7e775eb87e7a6e7e5b28ba41c0f50b7da784d90739aa1a). The collection-error cause remains unestablished; no fix site or custody implementation defect is inferred.

Workaround of record: never take integrate’s readyForMerge as clearance by itself. Before any merge, inspect the raw integrate log for command not found and errors during collection, and retain failed/incomplete command evidence even when the outer exit or generated verdict is green. These signatures are confirmed in this custody run and remain a STOP; absence of these two signatures alone would not establish complete verification.

The existing-evidence manual-disposition packet has a favorable mind-spec recommendation, but no operator disposition has yet been received by this seat. No retry, second integrate, merge or staging follows from the runner issue or recommendation. All failed evidence and the unknown cause remain preserved.

Runner verification/evidence-accounting defect is now tracked at [dev/stables#2237](https://git.groupthink.asia/dev/stables/issues/2237), filed by minds-guide under the operator’s authority. It cites the frozen stopped-integrate packet (manifest SHA-256 `dd160605955d32b01d7e775eb87e7a6e7e5b28ba41c0f50b7da784d90739aa1a`). The collection-error cause remains unestablished; no fix site or custody implementation defect is inferred. Workaround of record: never take integrate’s `readyForMerge` as clearance by itself. Before any merge, inspect the raw integrate log for `command not found` and `errors during collection`, and retain failed/incomplete command evidence even when the outer exit or generated verdict is green. These signatures are confirmed in this custody run and remain a STOP; absence of these two signatures alone would not establish complete verification. The existing-evidence manual-disposition packet has a favorable mind-spec recommendation, but no operator disposition has yet been received by this seat. No retry, second integrate, merge or staging follows from the runner issue or recommendation. All failed evidence and the unknown cause remain preserved.

Operator decision received: Piers approved the replacement single question at 2026-11-17T06:02:21+11:00, relayed by minds-guide and confirmed by mind-spec.

Exceptional manual acceptance of custody #17 at f9460df258687171facb4637ce0f9f5462fb04b9 uses the reviewed 447-file existing-evidence packet (manifest c3784d8d478e6768ec300dfe01cfb9ca7736c9623a9858e7525f30a5f2d584ff) in place of a trustworthy integrate result. The failed integrate, unknown collection-error cause and all historical evidence remain unchanged; the runner is not relabelled PASS. Runner defect #2237 remains open separately.

The grant permits one PR19 merge only with unchanged head f9460df / base 2b0e9af, exact twelve-file custody scope, no ADR/pin change and standing T4 checks. Current checks confirm those conditions and exact-head CI success; merge/readback is pending. Only successful merge/readback opens the custody prerequisite for the existing bounded #16/PR18 continuation under comment 41130.

Before staging verification, archive the original approved staging spec and append only the exact approved verification addendum at the same path. Reviewed addendum SHA-256: de133e5d9e06d6b2a2249f327a11c165d6a887f9c8c8dc20394e6eded7df7308. Keep root/staging venv-qualified invocations separate, capture complete per-command output/status, stop on first unexpected failure, and audit raw integrate evidence. No runner/template/prompt/effort change or args change beyond the approved cap-zero.

Budgets are not reset. No custody correction, retry or second integrate; no automatic staging retry or pre-agreed manual staging acceptance. Parent #6 stays held; no #7/#8 or release clearance. Authorization and T4 evidence: /Users/piers/.local/state/exhaust/groupthink/dd469-backup-proof/continuation-20261116/custody/manual-acceptance-20261117/ and custody authorization.json.

Operator decision received: Piers approved the replacement single question at **2026-11-17T06:02:21+11:00**, relayed by minds-guide and confirmed by mind-spec. Exceptional manual acceptance of custody #17 at `f9460df258687171facb4637ce0f9f5462fb04b9` uses the reviewed 447-file existing-evidence packet (manifest `c3784d8d478e6768ec300dfe01cfb9ca7736c9623a9858e7525f30a5f2d584ff`) in place of a trustworthy integrate result. The failed integrate, unknown collection-error cause and all historical evidence remain unchanged; the runner is not relabelled PASS. [Runner defect #2237](https://git.groupthink.asia/dev/stables/issues/2237) remains open separately. The grant permits one PR19 merge only with unchanged head `f9460df` / base `2b0e9af`, exact twelve-file custody scope, no ADR/pin change and standing T4 checks. Current checks confirm those conditions and exact-head CI success; merge/readback is pending. Only successful merge/readback opens the custody prerequisite for the existing bounded #16/PR18 continuation under [comment 41130](https://git.groupthink.asia/dev/attention-mind-mcp/issues/6#issuecomment-41130). Before staging verification, archive the original approved staging spec and append only the exact approved verification addendum at the same path. Reviewed addendum SHA-256: `de133e5d9e06d6b2a2249f327a11c165d6a887f9c8c8dc20394e6eded7df7308`. Keep root/staging venv-qualified invocations separate, capture complete per-command output/status, stop on first unexpected failure, and audit raw integrate evidence. No runner/template/prompt/effort change or args change beyond the approved cap-zero. Budgets are not reset. No custody correction, retry or second integrate; no automatic staging retry or pre-agreed manual staging acceptance. Parent #6 stays held; no #7/#8 or release clearance. Authorization and T4 evidence: `/Users/piers/.local/state/exhaust/groupthink/dd469-backup-proof/continuation-20261116/custody/manual-acceptance-20261117/` and custody `authorization.json`.

PR19 merge completed and read back as e027706c0ee7b14cf1eed9742a4a82aeaf6566f0 at 2026-11-16T19:04:27Z. Authorized exact head/base and twelve-file scope confirmed immediately before merge; #17 closed after merge. The custody checkpoint is explicitly exceptional manual acceptance, not a relabelled integrate PASS. Parent #6 remains held.

Staging continuation has started with archive and administrative spec amendment only; implementation count remains 0 until the one manual correction starts. The 115-file exhausted archive manifest is e9810dd6c581bf6c59752f0dc74f6b11bb6980ba1f4a813dcb19501774cb31a7, under /Users/piers/.local/state/exhaust/groupthink/dd469-backup-proof/continuation-20261116/staging/. Original staging spec SHA-256 daada60c0249981b9874c7df84c896523e5cb1759c9efad7b525cf2396ae9156; exact approved addendum appended at unchanged path, resulting SHA-256 d645a30e3179f085e991ad0e148f527246783dc44e3a3d2fa990417a87847f21. Original bytes and all historical budgets preserved; authorization.json and spec-amendment.json record the grant. PR18 preceding authorization comment reproduces the exact addendum. No verification, automatic rework or integrate has run for staging.

PR19 merge completed and read back as [`e027706c0ee7b14cf1eed9742a4a82aeaf6566f0`](https://git.groupthink.asia/dev/attention-mind-mcp/commit/e027706c0ee7b14cf1eed9742a4a82aeaf6566f0) at 2026-11-16T19:04:27Z. Authorized exact head/base and twelve-file scope confirmed immediately before merge; #17 closed after merge. The custody checkpoint is explicitly **exceptional manual acceptance**, not a relabelled integrate PASS. Parent #6 remains held. Staging continuation has started with archive and administrative spec amendment only; implementation count remains 0 until the one manual correction starts. The 115-file exhausted archive manifest is `e9810dd6c581bf6c59752f0dc74f6b11bb6980ba1f4a813dcb19501774cb31a7`, under `/Users/piers/.local/state/exhaust/groupthink/dd469-backup-proof/continuation-20261116/staging/`. Original staging spec SHA-256 `daada60c0249981b9874c7df84c896523e5cb1759c9efad7b525cf2396ae9156`; exact approved addendum appended at unchanged path, resulting SHA-256 `d645a30e3179f085e991ad0e148f527246783dc44e3a3d2fa990417a87847f21`. Original bytes and all historical budgets preserved; authorization.json and spec-amendment.json record the grant. PR18 preceding authorization comment reproduces the exact addendum. No verification, automatic rework or integrate has run for staging.
Sign in to join this conversation.
No description provided.