Implement Attention foundation and authenticated identity #10
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!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-attention-mind-mcp-3-dd-469-attention-1-6-founda-8f126aa8"
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
Attention now has a runnable foundation for authenticated identity discovery. Its only public tool is
attention_info_v1; it always reports quarantine, and its six declared capacity limits are not yet enforced. This is slice 1 of the accepted six-slice product plan.The package includes the four byte-identical schemas from mind-spec
3da6a263e6ae, locked dependencies, isolated wheel verification and a secret-free Woodpecker validation workflow. It adds no deployment or future domain operations.Refs #3. Merged as
9b5a7c0b6e4cunder the named T4 operator grant; foundation #3 is complete and parent #1 remains open. The operator accepted deferring the optional duplication cleanup. The landed tree equals reviewed head52431b750304. SVD integration passed at runtime head1ae60c1e5db7, with only the architect CI/ignore/README companion added afterward. Linux CI passed at the reviewed head and post-merge main pipeline 2 passed on the landed commit.Evidence
f8d652d5199econtained five documentation files and no runtime or tests.52431b750304with Python 3.12.16: 202 unit/installed-wheel tests in 20.17s and 17 real HTTP transport tests in 38.39s. Ruff lint/format and strict mypy passed. Local Python 3.12 full-suite evidence remains 219 passed in 69.36s; the final commit changes README only.pull_requestforrefs/pull/10/headon the Meridian Linux dev agent; Forgejo reportsci/woodpecker/pr/validation: successfor the exact head. Main readback reportsprotected=false,enable_status_check=false, and no required contexts; passing CI does not establish enforcement.Merge Danger
Door: two-way
This branch adds the foundation and can be reverted. It does not activate services, create production credentials, migrate live data or publish a package.
Blast Radius: foundation
Storage, authentication and binding interfaces underpin subsequent slices. The service remains quarantined until later work supplies the domain operations and acceptance evidence.
c02c7c2c57to1ae60c1e5dReview and acceptance record
PR #10, base
f8d652d5199e, final combined heade14201996653. Three independent sub-agents reviewed Standards, Spec and security; final companion deltas were checked against the exact committed head. The security-review skill is unavailable in this environment, so the security review was manual and included independent regression probes.Standards
Zero documented-standard breaches. One nonblocking heuristic remains open. The domain service, authority, store, transport and CLI are separated as ADR 0002 requires. Contract bytes are pinned, foundation limits remain explicit, and every authored commit has exactly one prescribed attribution trailer and references #3 without an automatic issue-closing keyword.
Possible Duplicated Code:
binding.py:184–192,223–230and269–275repeat JSON-RPC version/integer-ID/correlation checks. A small shared predicate could reduce later drift while retaining operation-specific checks. Current checks are conservative; this is maintainability advice, not evidence of an authorization defect. No waiver or accepted-risk ruling is claimed. The combined-head CI/ignore/README delta adds no further finding.Spec
Zero confirmed implementation findings. Reviewed the approved foundation spec, ADR 0002 and immutable mind-spec pin against runtime code and acceptance tests. Strict raw/logical validation, pinned package resources, SQLite identity/time/ownership, current independent authority, offline administration, authenticated info-only transport, and bootstrap/pinned binding handshake match the coding scope. Quarantine and unsupported capabilities remain truthful.
Combined-head CI/ignore/README delta is authorised and consistent. Actual Linux CI evidence remains an outstanding whole-issue gate under spec lines 195 and 257; neither coding completion nor this review satisfies it.
Security
Zero remaining actionable findings. Independent probes verified prompt FIFO refusal, compressed-response refusal before body consumption, and exact raw JSON/SSE logical bounds. The companion's interpreter-spelling finding is resolved in committed
python3 -m pytestcommands. Authentication/context isolation, grants, credential handling, binding/redirect/timeout behavior and SQLite durability were inspected. Runtime, tests, schemas and dependencies are unchanged between the integrated and combined heads.Validation and hold
20261115T073300Z-8f126aa8: 202 unit + 17 transport = 219 full-suite tests, Ruff and strict mypy passed at1ae60c1e5db7; zero rework rounds.Standards: 0 documented breaches, 1 nonblocking heuristic; Spec: 0 implementation findings; Security: 0 remaining findings. Refs #3; parent #1 remains open.
Current-head review and CI evidence
PR #10, base
f8d652d5199e, head52431b750304. This record supersedes the CI-access hold in the previous review. The final commit changes only README to record verified activation. Three independent sub-agents confirmed that runtime, tests, schemas, dependencies and workflow are unchanged from their reviewed combined head.Woodpecker pipeline 1 passed on this exact head: event
pull_request, refrefs/pull/10/head, workflowvalidation, Meridian dev agent 14, Python 3.12.16. The architect read back pipeline/step results and logs: Ruff lint/format and strict mypy passed; 202 unit/installed-wheel tests passed in 20.17s and 17 real HTTP transport tests passed in 38.39s. Forgejo's combined status issuccess, with contextci/woodpecker/pr/validation. This adds actual Linux evidence to the existing local 219-test full-suite proof.The earlier 403 was Cloudflare error 1010 for the Python urllib client signature. Standard curl succeeds with the existing documented token integration. Repository 76 is now active with
allow_pr=true; privileged network, volume and security trust flags remain false. No credential was minted or rotated and the validation workflow holds no secrets. Branch-protection enforcement remains separate and unconfigured in the last writer-visible readback.Proposed merge disposition
The implementation and CI gates are satisfied. Merge remains held for the operator's named T4 grant under gate §22.1. Proposed disposition for the duplication advisory: defer a shared correlation predicate because all current paths enforce the checks, no correctness/security failure was found, and this foundation slice has passed the relevant regressions. This is a proposal, not a recorded waiver or operator ruling; gate §19 requires its disposition before merge.
Refs #3. Issue #3 remains open until landing; parent #1 remains open for later slices. No merge, deployment, release or production service activation occurred.
Measured facts
PR #10 is open and mergeable at approved head
52431b750304; base remainsf8d652d5199e. Linux pipeline 1 and Forgejo validation status are successful for that exact head: 202 unit/installed-wheel plus 17 transport tests, Ruff lint/format and strict mypy passed. The final independent review record has zero documented Standards breaches, zero Spec findings and zero remaining actionable security findings.Buckets
Already decided: foundation scope and quarantine, immutable contract pin, successful Linux execution and independent reviews. Verification: pin the squash merge to the approved head, verify the landed tree, then close foundation issue #3 and update epic #1. Genuinely open: later implementation slices and full product acceptance remain separate work.
Ruling and delegation
Operator prompt: “Approve the T4 merge of PR #10 at
52431b7, with minor duplication cleanup deferred?” Operator reply: “Approve”. Grant id:attention-pr10-t4-20261115-52431b7. This names the PR and T4 class under gate §22.1 and accepts the proposed advisory disposition under §19: defer the minor duplicated response-correlation predicate. All current paths enforce the checks, no correctness/security defect was found, and their regression coverage is green. The earlier hold is lifted for this approved head.Drafted line
Squash-merge dev/attention-mind-mcp#10 with
head_commit_id=52431b750304, delete its remote feature branch, verify the landed tree and record the merge. After landing, mark foundation issue #3 complete; keep parent #1 open. This grant does not authorise deployment, publishing, credential changes or subsequent slices.Foundation is complete and landed in PR #10 as
9b5a7c0b6e4c. The landed tree equals approved head52431b750304; local main is fast-forwarded and the remote feature branch is deleted. The named T4 grant and advisory ruling and independent review are recorded. The actual merge row includes the grant, review URL and forge-verified merge commit.Post-merge main pipeline 2 also passed on
9b5a7c0b6e4c: quality, unit/installed-wheel and real HTTP transport stages all succeeded. Linux PR pipeline 1 passed at the approved head: 202 unit/installed-wheel tests plus 17 real HTTP transport tests, Ruff lint/format and strict mypy. Local Python 3.12 full-suite execution also passed all 219 tests. Commands:uv run ruff check .,uv run ruff format --check .,uv run mypy src,uv run python3 -m pytest -m unit, anduv run python3 -m pytest -m transport; wheel installation/resource checks are exercised by the unit suite. See the linked review for acceptance and regression evidence.The provider exposes only authenticated
attention_info_v1, always reports quarantine, and has 13 unsupported operations. Its six declared capacity limits are not yet enforced; managed backup/cleanup and complete provider conformance remain later slices. Main has no enforced required-check protection. The operator accepted deferring the optional response-correlation duplication cleanup. No deployment or package release occurred.Parent #1 remains open at 1 of 6 slices complete. The next ready frontier is #4, durable queue and commands; it has not been dispatched.