Add managed record profile primitives #27
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/attention-mind-mcp!27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-attention-mind-mcp-25-dd-469-6-implement-canonic-f3b9f4a6"
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
Add private managed-record encoding, decoding and one-archive occupancy validation for #25.
The caller supplies the occurrence bound; monotonicity applies within one accountant. Durable non-reset across processes or restore remains a #6/P09 integration obligation. No exporter, managed-mode wiring or provider operation is added.
Evidence
92ecee55dc, CI pipeline 28: 406 unit tests and 64 transport tests; lint, formatting and strict typing pass. New tests exercise canonical rejection, integer limits, atomic refusal and bounded streaming occupancy.Merge Danger
Door: two-way
Private primitives and tests can be reverted; no persistent state or public interface changes.
Blast Radius: internal
Durable lifetime admission, full archive validation and E01–E15 product/provider evidence remain owed. #6 remains open and UNQUALIFIED.
Closes #25
Standards: PASS — 0 open findings. Independent reviewer /root/pr24_standards, exact HEAD92ecee55dc474617e93d9617a231f2ca61ca4392 against base1499001652392c3e4392417f325f35ea00a28c89. No documented-standard violations or actionable baseline smells. Typed interfaces, immutable profile definitions, domain classes and fixed FoundationError codes follow adjacent conventions. Tests cover boundary and refusal atomicity. Register preserves existing paragraphs and one-paragraph-per-line; durable lifetime, complete archive validation and E01–E15 remain owed. Read-only review.
Spec: PASS — 0 open findings. Independent reviewer /root/pr24_spec, same exact head/base, approved spec7dcbd361d9880feb6b44c5e47803442b3978eccb8413a8a24ef833b6b74eca81 and dispositione96961eb3606ef7154787045c9ca5dd48b97dbfc3f8773abef78f9491d42da80. Module and tests read line by line: profile, canonical framing, strict decoding/fixed diagnostics, binary encoding, immutable snapshots, atomic reservations and in-instance monotonicity match. Tests cover encoded limits, malformed/noncanonical inputs, bounded parsing, integers, refusal atomicity and simultaneous maximum streaming occupancy. Lifetime scope remains structural only; durable P09 owed. Exact three files, append-only register and frozen hashes verified. No scope creep or missing/incorrect requirements.
Exact-head CI pipeline28 PASS:406 unit,64 transport; ruff lint/format and strict mypy PASS. Complete raw-log audit of all4steps found0 matches for command not found, errors during collection, = not found, and "is_error":true. Saved audit /private/tmp/attention6-pr27-ci28-audit/audit.json. No product/provider qualification; #6 remains open/UNQUALIFIED. No unresolved review findings. Merge gates satisfied for this exact child head only.