DD-469: Attention 5/6 — fake host and delivery #7
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#7
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?
Scope and authority
Parent: #1 (DD-469). Product decisions: ADR 0002. Agreed decomposition.
Implement attention/1.0 and binding 1.1 pinned to mind-spec
3da6a263e6aeb3f37d25590d6ab755045ff53786, including its schemas and conformance obligations. Preserve the single queue authority, independent grants and host-owned interruption policy. This issue is a bounded implementation brief; it does not claim working software or grant production deployment.Blocked by
Delivery preparation may start after slice 2 against its interfaces; the complete issue stays blocked by slice 4 because final acceptance requires durable erasure/recovery. No separate partial completion claim.
Completed prerequisite
Durable queue/commands #4 landed in PR #11 as
04b0704842deon 2026-11-15. This retires the #4 dependency; it does not dispatch this issue.Deliverables and acceptance
Deliverables. Implement
delivery_request,delivery_begin,delivery_receiptanddelivery_suppresswith durable revision-bound intents and selected-host association. A host explicitly fetches a projection and requests delivery; submit/read alone cannot produce an effect. Recheck eligibility, revision, host association and erasure immediately before starting one serialised attempt. Receipts record an attempt outcome and never change disposition.Provide an isolated fake host with a durable effect ledger, configurable deduplication guarantee and observable effect count. Keep those controls outside the public MCP surface. Retain the same intent-level adapter key for a permitted uncertain retry, within both the seven-day intent deadline and the declared durable deduplication deadline. Without that guarantee, retain an unknown result. A cached
delivery_beginresponse is not permission to repeat an effect. Cancel obsolete unstarted intents, block newly ineligible attempts and remove provider-held render data when obsolete/terminal or forgotten; an already-started effect cannot be recalled.Acceptance. Count effects across lost responses, host restart, repeated begin/receipt calls and uncertain outcomes with and without sufficient deduplication. Verify one active attempt, deadlines, selected-host and grant revocation, late receipt resolution, suppression and disposition independence. Exercise edits, withdrawal, snooze and Forget before begin and during buffered work. After slice 4 lands, repeat crash/restore and late completion tests against durable suppression and recovery fences; no forgotten payload or cancelled work may return. Check pending-delivery count/byte capacity and release on suppression, expiry and Forget.
Boundary. This slice proves only fake-host behaviour. It neither selects a real notification adapter nor certifies global exactly-once delivery, receipt-as-seen semantics, Signals policy or live host switching.
Completion evidence
Link the implementing PR and exact commit, commands and results for the acceptance obligations above. Distinguish actual provider checks from reference-model tests; record unsupported checks as unsupported. Follow the repository's specification/review process before implementation. Do not close the parent epic from this slice.
Operator asks to leave recovery #6 paused today and progress independent ownrepo work. The accepted implementation plan already permits coordinated delivery preparation after durable commands. Tracking the isolated fake-host subset in #13: test-only durable synthetic effect ledger, explicit deduplication controls, restart/lost-response/concurrency evidence and fixture documentation.
This implements no public delivery tool, provider recovery/Forget path, real notification adapter or ADR change. Full #7 remains blocked by #6; #8 and the parent epic remain open. Completing #13 will establish fixture evidence only, not delivery/recovery or production acceptance. mind-spec was notified of this coordinated subset.
Completed the independent test-only preparation in PR #14, merged as
5375725434c7after own detached-checkout execution, independent review, and native exact-head Linux validation passed. The changes add a durable synthetic effect ledger, its retry/crash/concurrency/expiry/capacity tests, and a short fixture guide. Local evidence: 29 fixture tests, 359 unit tests and 64 transport tests passed; Ruff and mypy passed. Native validation: https://ci.groupthink.asia/repos/76/pipeline/9/1 . Final ruling: #14 (comment) .Only #13 is complete. Recovery #6 remains HOLD with its consumed attempt cap. #7, #8 and the epic remain open; this preparation does not complete their dependency edges or establish production delivery, Forget/restore, packaged acceptance or deployment readiness.