Implement durable attention queue and authenticated commands #11
No reviewers
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/attention-mind-mcp!11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-attention-mind-mcp-4-dd-469-attention-2-6-durabl-dcef0f7c"
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?
Summary
Durable Attention commands now survive restart, concurrent updates and lost responses. The service refreshes authority before replay and fences unresolved prepared work.
Implements info, admit, submit, replace, withdraw and dispose against the unchanged mind-spec pin. Fresh valid queues and clean v1 migrations become ready for this subset. Ordinary outcomes and future erasure reserves remain separately bounded.
Evidence
9b5a7c0.0a1e335689d9a553f4bf89e4eb19d386ca04201e: 255 passed, 40 deselected in 20.66s; 40 passed, 255 deselected in 96.55s (0:01:36). All 295 collected tests have exactly one unit/transport marker. Ruff lint/format, strict mypy and native wheel/sdist build passed.Merge Danger
Door: one-way for the database migration. Source can be reverted, but the v1 runtime refuses a migrated v2 database; there is no downgrade path in this slice.
Blast Radius: queue
Public Forget, queries, delivery, S3, backup/restore, deployment and full-provider conformance remain later slices. No live service or production data was changed.
Refs #4. Issue acceptance and closure remain explicit; parent #1 stays open.
6e3d0cf6c10a1e335689Measured facts
PR #11, base
9b5a7c0b6e4c3b7baded63a4ed7c8a569828030e, final head0a1e335689d9a553f4bf89e4eb19d386ca04201e. Approved spec SHA-25687e321e4ceaeac3e93998f57389797202f44e5033ff233692f054a5d467f6100; immutable mind-spec pin3da6a263e6aeb3f37d25590d6ab755045ff53786. All eleven permitted files are accounted for; schemas, dependencies, CI and binding.py are unchanged. Worktree is clean.Standards
Zero unresolved findings. The initial attribution breach and duplicated reservation-calculation heuristic were fixed, then independently re-reviewed. The commit now contains only
Refs #4and the single literal attribution required by AGENTS. The private shared calculator retains both callers' validation order and independent persisted-field comparisons. No waiver was used.Spec
Zero actionable findings. All sixteen acceptance obligations map to concrete assertions, including eight-thread CAS, concurrent HTTP clients, twelve real barrier/SIGKILL cases, durable refusal clock floor, current authority before replay, separate capacity reserves, and prepared restart/evidence/finalization behavior. The final helper extraction preserves these conclusions.
Security
Zero actionable findings. An independent manual security review substitutes for the unavailable security-review skill. At the final head, seven focused prepared/restart tests and six reviewer-written probe groups passed, including authenticated malformed tokens, stale authority, null association rebinding, capacity races, persistent fences, exact-evidence completion and real HTTP diagnostic canaries. These use synthetic credentials and temporary state.
Verification
20261115T101807Z-dcef0f7cis ready at this exact head. Its build-manifest detector reports no recognized manifest for this Python package; the architect separately executed and passed the actual native package build.Buckets
Already decided: exact six tools and the approved queue/command semantics. Verification: all checks above passed; the dispatch caller's missing
issueBinding: refsargument and the runner's attribution override were corrected without changing the approved spec or original evidence. Genuinely open: the named-PR merge grant. The path-only classifier returns T1 for generic Python paths; the actual token, secret and authority work falls within gate §12's T4 examples, so the stricter T4 boundary is retained. No harness classification rule is changed here.Ruling
GO-held: implementation and validation are complete for the slice; merge remains held for an operator grant naming T4 and PR #11 at
0a1e335689d9a553f4bf89e4eb19d386ca04201eunder gate §22.1. No deployment or issue closure is authorised by this record. The v2 database migration has no downgrade path; a source revert alone cannot reopen migrated state using the v1 runtime.Drafted line: Approve T4 merge of dev/attention-mind-mcp PR #11 at
0a1e335689d9a553f4bf89e4eb19d386ca04201e.Delegation: gate §17.1 records “the delegation is standing (with ongoing open review)” and “run the merge line, after having posted lines to conversation”. Its T0–T3 scope does not supply this T4 grant; §22.1 requires “a seat or session under an operator grant that names T4 and the PR”.
Standards: 0 unresolved findings. Spec: 0 findings. Security: 0 actionable findings. Refs #4; parent #1 remains open.
Measured facts
At 2026-11-15T22:10:49+11:00, PR #11 is open and mergeable at reviewed head
0a1e335689d9, with base9b5a7c0b6e4c. The forge reports successful Woodpecker pipeline 4 at that exact head. The primary and implementation worktrees are clean. This is the repository's only open PR.The completed independent review and completion evidence remain applicable: 255 unit/packaging tests and 40 real HTTP/MCP tests, quality checks, native package build and final integration passed at this head. These are the previous architect's recorded executions, read back during handoff, rather than new test executions by this receiving session.
Gate section 25: inspected all local ride PID files and tested process liveness. The sole live run is PID 4969,
dd466-trialbatchdd466-trial-hermod-s8-1820-811-a1; its manifest names onlydev/stablesissues #1820 and #811. No active ride run servesdev/attention-mind-mcp.Buckets
Already decided: the implemented slice, completed review and tests, and operator-requested landing of PR #11. Verification: exact head/base, successful CI, clean worktrees and repository-scoped active-run exclusion. Open decisions: none for this merge.
Ruling and grant
Merge PR #11 under grant
attention-pr11-t4-20261115-7ac1157b. The operator's exact instruction in receiving session7ac1157b-ea2f-4ae1-ae40-a21a78ada166wasmerge 11, directly following the stated pending T4 + PR #11 grant. This accepts that specific pending T4 merge in context; it is not a new implementation or deployment grant. The substantive class remains T4; the existing path-only T1 classifier output is unchanged.Drafted action: squash merge pinned to
0a1e335689d9, delete the remote feature branch, preserveRefs #4and the existing single Codex attribution, record the actual landing SHA, fast-forward the clean main checkout, and explicitly accept issue #4, mark it closed and update dependency progress. Parent #1 remains open.Revert path: an operator-authorised follow-up PR referencing #4 can revert the resulting single squash commit. Source rollback cannot downgrade a migrated v2 database; no live deployment or production state is changed by this merge.