DD-469 #6: charge the decoded frontier object graph under P09 (E06) #43

Open
opened 2026-11-20 03:23:14 +00:00 by svc-agent-writer · 0 comments

Problem

src/attention_mind_mcp/recovery_frontier.py (#31, PR #42) decodes an authenticated frontier into frozen record objects. The PR #42 security review measured the result at the largest permitted frontier:

  • The resident decoded object graph is 1.81 times the plaintext.
  • The peak while opening is 3.04 times the plaintext.
  • With F, C and M decoded at the same time, the total is about 130 MB. P09 charges 48 MiB for the three decoded frontier work copies.

Protocol P09 (docs/planning/issue-6-transition-protocol-v2.md:101) charges three 16 MiB decoded work copies. Line 103 says "no implementation may allocate an uncharged extra copy". A deployment RAM limit set from the P09 charge can therefore stop the service during a transition. The failure is safe (quarantine), but the service stops.

Requirement

Before E06 is discharged, the decoded frontier work copies fit their P09 charge, or the P09 charge covers what decode actually uses.

Acceptance criteria

  • The E06 maximum-profile run records the resident peak for F, C and M decoded together, under the locked interpreter.
  • One of these holds:
    • P09 charges the decoded copies at the measured peak plus a stated margin, and a tracemalloc test asserts the peak stays under that charge.
    • Decode changes so that each decoded copy stays within its 16 MiB charge, and a tracemalloc test asserts it.
  • The recovery_frontier.py module docstring states which of the two holds.

Human act

ruling: the operator picks a measured charge or a lazy decode for the decoded frontier copies before #35 discharges E06 (CONV-40)

Blocked by

Notes

  • #35 does not discharge E06 until this issue closes.
  • Until then, #31 makes no "no uncharged copy" claim for decode. The PR #42 body records the measured factors.
  • Source: PR #42 security review, finding L2. Operator ruling 2026-11-20: correct the claim in #31 and carry the charge to E06.
  • Related: #31, PR #42, #33, #35.

Filed under: operator-word-d982c2768589 (PR #42 gate L2)

## Problem `src/attention_mind_mcp/recovery_frontier.py` (#31, PR #42) decodes an authenticated frontier into frozen record objects. The PR #42 security review measured the result at the largest permitted frontier: - The resident decoded object graph is 1.81 times the plaintext. - The peak while opening is 3.04 times the plaintext. - With F, C and M decoded at the same time, the total is about 130 MB. P09 charges 48 MiB for the three decoded frontier work copies. Protocol P09 (`docs/planning/issue-6-transition-protocol-v2.md:101`) charges three 16 MiB decoded work copies. Line 103 says "no implementation may allocate an uncharged extra copy". A deployment RAM limit set from the P09 charge can therefore stop the service during a transition. The failure is safe (quarantine), but the service stops. ## Requirement Before E06 is discharged, the decoded frontier work copies fit their P09 charge, or the P09 charge covers what decode actually uses. ## Acceptance criteria - The E06 maximum-profile run records the resident peak for F, C and M decoded together, under the locked interpreter. - One of these holds: - P09 charges the decoded copies at the measured peak plus a stated margin, and a tracemalloc test asserts the peak stays under that charge. - Decode changes so that each decoded copy stays within its 16 MiB charge, and a tracemalloc test asserts it. - The `recovery_frontier.py` module docstring states which of the two holds. ## Human act ruling: the operator picks a measured charge or a lazy decode for the decoded frontier copies before #35 discharges E06 (CONV-40) ## Blocked by - #31 ## Notes - #35 does not discharge E06 until this issue closes. - Until then, #31 makes no "no uncharged copy" claim for decode. The PR #42 body records the measured factors. - Source: PR #42 security review, finding L2. Operator ruling 2026-11-20: correct the claim in #31 and carry the charge to E06. - Related: #31, PR #42, #33, #35. Filed under: operator-word-d982c2768589 (PR #42 gate L2)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dev/attention-mind-mcp#43
No description provided.