review: Astra brief for instance-control-memory-1291
1 file changed,
+13
−0
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-control-memory-1291.md+13 −0
CI cancelled — superseded by a newer push — run details
Intent
Attributed to this commit: 43.9 g CO₂e (5,647,580 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on instance-control-memory-1291, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-control-memory-1291.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-control-memory-1291.md| new file mode 100644 |
| index 000000000..db7a007e5 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-instance-control-memory-1291.md |
| @@ -0,0 +1,13 @@ |
| +# Review brief: branch instance-control-memory-1291 (code + census), round 1 of 3 |
| + |
| +Repo carlos/platform, branch `instance-control-memory-1291`, commit 8316ed897130d4dbe601919799d755209b030a9c. Under review: `git diff origin/main...8316ed897130d4dbe601919799d755209b030a9c` and the census card docs/superpowers/notes/census-proposal-instance-control-memory-1291.md. |
| + |
| +Incident #1291 (2026-11-19): on a flagship US HA member, carlos-instance-control was OOM-killed in its own cgroup (MemoryMax=64M) while taking four hosts at once; a customer app got 6 x 503. Cause from the code: each generation start makes root registry reads, and each starts a fresh /opt/carlos/carlos __registry-child (about 10-17 MB) inside that cgroup, with no limit on how many overlap. Paul approved raising the cap; a runtime MemoryMax=256M is already set on the affected members. This branch makes 256M permanent and makes claimunit.go's two MemoryMax replacements key on one shared constant, which tests check against the shipped unit. |
| + |
| +Check: |
| +1. Do the claimunit.go replacements still produce exactly what they did before, for every mode (claims, the demo build worker's MemoryMax=1073741824 plus GOMEMLIMIT=768MiB, claim mode's GOMEMLIMIT=192MiB, off, demo box)? Can any mode now silently skip? |
| +2. Will boxes pick up the unit change through carlos system apply (unit install, daemon-reload, restartInstanceControl), with nothing else needed? Does a restart of instance control during apply interrupt anything the release path relies on? |
| +3. Is 256M sound, as a ceiling and not a reservation, on the smallest box that runs this unit (t4g.medium, 3.9 GB, no swap)? |
| +4. Census: a verdict for every unit and envelope on the card. |
| + |
| +Severity: P1 blocks merge; P2 is fixed without another round; P3 goes on a list. End with READY, READY AFTER FIXES or NOT READY. Do not edit files, spawn reviewers, or run full suites. |