Add managed record profile primitives #27

Merged
Collaborator

Summary

Add private managed-record encoding, decoding and one-archive occupancy validation for #25.

payload → canonical record → atomic per-class/total charge → immutable snapshot

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

  • Before: pristine locked Python 3.12 baseline: 359 unit tests and 64 transport tests.
  • After: exact head 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.
  • Independent Standards and Spec reviews: PASS, zero open findings. Raw logs for all four CI steps audited; no prohibited failure patterns. Exactly the three approved files changed; frozen documents unchanged and register append-only.

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

## Summary Add private managed-record encoding, decoding and one-archive occupancy validation for #25. ```text payload → canonical record → atomic per-class/total charge → immutable snapshot ``` 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 - **Before:** pristine locked Python 3.12 baseline: 359 unit tests and 64 transport tests. - **After:** exact head 92ecee55dc474617e93d9617a231f2ca61ca4392, 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. - Independent Standards and Spec reviews: PASS, zero open findings. Raw logs for all four CI steps audited; no prohibited failure patterns. Exactly the three approved files changed; frozen documents unchanged and register append-only. ## 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
Add managed record profile primitives
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
92ecee55dc
Define canonical managed-record encoding, strict decoding, immutable profile limits and atomic one-archive occupancy accounting. Add boundary and streaming tests, and append the component status and outstanding obligations to the review register.

Closes #25
Co-Authored-By: gpt-6.1-terra <noreply@openai.com>

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.

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.
svc-svd-writer deleted branch feat/svd-dev-attention-mind-mcp-25-dd-469-6-implement-canonic-f3b9f4a6 2026-11-19 12:18:38 +00:00
Sign in to join this conversation.
No description provided.