DD-469 #6 child 5b/7: Managed backup lifecycle and non-command cancellation #47
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/attention-mind-mcp#47
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 5b of #6 (DD-469 Attention 4/6), split from #33 on 2026-11-21 by operator ruling R3. Parent epic: #1. It sits between #34 and #35 in serial order. It amends the reviewed decomposition
decomposition.mdSHA-256a51ac56839bcd81e6a34166e71ce677ba443a9d92b88423f772f3d84bbe39daa: the backup lifecycle and non-command transitions move here from #33. mind-spec found the cut fits as a gated integration stage. Binds frozendocs/planning/issue-6-transition-protocol-v2.mdSHA-2561aaab9cb149d2575879428eaa9ce42d9b401a582a2ffa9bb44c31d4b2ac82cc2(design PASS 0, #6 comment 42606). Contract: mind-spec3da6a263e6aeb3f37d25590d6ab755045ff53786. Standing grant: #6 comment 42500.Why the split: #33's sweep of every frozen API found that a non-command transition (REGISTER, PUBLISH, SETTLE_COPY, RETIRE_COPY, CLEAR_DEBT) cannot get an abort marker M without a command charge. The frozen marker needs exactly one command charge (
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 the P05.1/P05.2 guarantee text, so it needs ratification under grant section 4.Blocked by
Fixed write set
src/attention_mind_mcp/recovery_transition.py,src/attention_mind_mcp/custody.py,src/attention_mind_mcp/recovery_budget.py,src/attention_mind_mcp/recovery_frontier.py,tests/test_recovery_transition.py,tests/test_recovery_frontier.py,tests/test_recovery_backup.pyExpanding this write set, or changing reviewed guarantee semantics, goes back to spec review before dispatch.
Interface and responsibility
Add the non-command transitions REGISTER, PUBLISH, SETTLE_COPY, RETIRE_COPY and CLEAR_DEBT through #33's transition engine, and remove #33's interim refusal (
custody_lifecycle_unavailable) and its pristine-custody condition.b = cancel_opsubtype and its own budget and checking path.cancel_transitionand the existing command certificate keep their bytes and semantics. The full encoded certificate is at most 512 bytes, counted against the existing 2 MiB marker reserve, with zero command slots and zero client spend. Validation is subtype-specific, not spent-row limits or deadline retirement. At saturation, F and its protected Forget and cleanup headroom are preserved. Both branches and the retention cost are reserved before C, and only proven-retired bytes are released.Serial dispatch. This child overlaps #33 and #34 on
recovery_transition.pyandcustody.py, and #35 builds on it. Dispatch only after #34 has merged; never run two of them at once.Evidence served
Proposed; the Half-A specification pins the exact rows. From #33: the backup-lifecycle share of E04, E05, E06 and E08 (ciphertext copies and staging, coverage through immutable expiry, encoded bounds for inventory and uploads, orphan clearing). #33 keeps E02, E03 and the command share of E06 and E14. #35 still completes E10 and the 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
P05.3, P10, P12 and P13 still bind. No attention-v1 wire change.
command not found,errors during collection,= not foundand"is_error":true.Filed under: operator-word-d982c2768589 (R3 split ruling)
Carried from #33: the optional recovery HEAD
#33 revision 7 leaves recovery pass position 4 unused, because #33 has no managed artifact and a HEAD cannot authenticate an F, C or M winner. The optional exact artifact HEAD (P05) therefore belongs to this issue, with mind-spec's reading:
Filed under: operator-word-d982c2768589
Carried from #33 revision 11
#33's approved spec, revision 11 (sha256
d306967d25fe6d770dc75280fea9b7f036900b503058f4549a84eb4aee531302, release record #33 comment 44849), moves these items to this issue. This body already carries the non-command transitions, the cancellation certificate, the exact prepared fence, inventory continuation, the J coverage baseline and the backup lifecycle. Comment 44784 still carries the optional recovery HEAD. The items below are additional or more exact.recovery_staging.py:459-471). #33 keeps only the blocking checks before any archive read: the pre-read identity and reservation checks, and blocked export and staging with zero archive bytes.commands.py:223stays the onlyDELETE FROM commandsinsrc. At this merge gate, run the sole-prune grep and the tamper and saturation checks.Production gates. Production managed activation and new managed admission stay disabled until #34 and this issue land. Two gates must also be implemented and verified first: (1) activation (P01, P03): before production activation enters PREPARED, exclude any other serving process for the queue, stop new release permits, drain active handoffs and discard unreleased buffers, with exclusion proved through cutover and restart; (2) the stock-S3 ownership release above.
Filed under: operator-word-d982c2768589
Carried from #33 revision 12: command expiry and reclamation
#33's approved spec, revision 12 (sha256
4f7baa16ba1727eeee38d583494e0fb9e2a4e65a213f2759e7ae153230277f24, release record on #33), adds this item to the carries in comment 44855.recovery_frontier.py:133-144). The ordinary and completion counts exist only as ledger totals (recovery_budget.py:155-156). So the frontier cannot prove which class an expired command belonged to.Filed under: operator-word-d982c2768589