plans 4d-1: Astra review brief
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+44
−0
docs/superpowers/specs/CODEX-REVIEW-BRIEF-PLANS-4D1-CODE.md+44 −0
CI passed — run details
diff --git a/docs/superpowers/specs/CODEX-REVIEW-BRIEF-PLANS-4D1-CODE.md b/docs/superpowers/specs/CODEX-REVIEW-BRIEF-PLANS-4D1-CODE.md| new file mode 100644 |
| index 000000000..9621d95ad |
| --- /dev/null |
| +++ b/docs/superpowers/specs/CODEX-REVIEW-BRIEF-PLANS-4D1-CODE.md |
| @@ -0,0 +1,44 @@ |
| +# Whole-branch code review brief: Plans 4d-1 (lapse: turn off, choose what stays, turn back on) |
| + |
| +You are a senior Go reviewer on the carlos platform, and the census's |
| +cross-model reviewer for this branch. Review branch `plans-4d-lapse` |
| +(`git diff c743efeafef23567c9e2c37d29d351043690e1e4..HEAD` is the branch's own change). Read-only: do not |
| +modify the working tree, index, HEAD or branches. You may run `go test` |
| +with GOFLAGS=-buildvcs=false, targeted with -run. |
| + |
| +Requirements: the spec docs/superpowers/specs/2026-10-20-plans-caps-packs-design.md |
| +§9.2, §5.1, §6, §7, §8.4 and §3; the plan |
| +docs/superpowers/plans/2026-10-25-plans-4d-lapse.md (Part 4d-1 only; |
| +4d-2/4d-3 are outlines), including Global Constraints, Review Focus and |
| +the calls Paul ACCEPTED (neutral page for visitors; owners choose what |
| +stays; a lapse starts only when a paid plan or pack falls; turned-off |
| +things still count; domains stay attached while off; each further fall |
| +gets its own 7 days; sponsored never on this path); the executor's |
| +Ruling lines in docs/superpowers/notes/plans-4d1-ledger.md. Plans 4a-4c |
| +(merged) are the base. |
| + |
| +Grade by effect. Check each Review Focus line, and also: |
| +- plans off, CARLOS_PLAN_LIMITS=off, sponsored and never-paid accounts: |
| + nothing is ever turned off; |
| +- turning off waits for afterGraceDue (grace + 72 h notice); turning back |
| + on is immediate when limits cover it again; no flapping; |
| +- applyAccountPlan as the single plan-change path (the census test that |
| + forbids other SetAccountPlan callers), lapse start recording, races with |
| + the grace pass and the publish pass; |
| +- the box side: the disabled-host list in the limits record, the edge's |
| + 503 page (no billing details, no cache poisoning, doors/hop/tunnel |
| + behaviour), the activator never waking a turned-off route, moves/probes, |
| + seeds, workers; |
| +- the owner keep page: authorisation (owners only), CSRF, stale ticks, |
| + choosing more than the cap; |
| +- data is never deleted in 4d-1; |
| +- cost: no new per-box polling. |
| + |
| +Census: answer the card's review question for every unit and envelope in |
| +docs/superpowers/notes/census-proposal-plans-4d-lapse.md, including the |
| +hand-written decision overlay plans-4d-units (approve or escalate per |
| +unit; check seals and fingerprints). |
| + |
| +Answer: findings graded Critical / Important / Minor with file:line and a |
| +concrete failure scenario; census verdicts; a verdict: accept, accept with |
| +fixes, or changes required. Do not review the wording (Luna-approved copy). |