carlos / platform Public

review: Astra brief for the code-health plan, round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 7977edd904c8dcabfccc2fdda5a417d6b295db5e parent b2bf354
1 file changed, +48 −0
  • docs/superpowers/reviews/REVIEW-BRIEF-code-health-plan.md +48 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/reviews/REVIEW-BRIEF-code-health-plan.md b/docs/superpowers/reviews/REVIEW-BRIEF-code-health-plan.md
new file mode 100644
index 000000000..3398eba48
--- /dev/null
+++ b/docs/superpowers/reviews/REVIEW-BRIEF-code-health-plan.md
@@ -0,0 +1,48 @@
+# Review brief: plan docs/superpowers/plans/2026-11-16-go-code-health.md, round 1 of 3
+
+Repo carlos/platform, branch `code-health-plan`, commit b2bf354b52353c4621208fe43a4cc4f4916197bf.
+Under review: `docs/superpowers/plans/2026-11-16-go-code-health.md`.
+Authorities: AGENTS.md on main ("Stopping rules", "The census", "Build &
+test"). Context: amadan discussion #1123 (audit backlog, reports, and the
+recheck table against c4b44c34).
+
+You are an independent reviewer. This is a plan for keeping the Go code
+healthy over time, not a feature. Check it against the code and the repo's
+rules.
+
+## What to check
+
+1. The code-health ratchet (Part 2): is the design sound? A test-only
+ package `internal/codehealth` parsing the tree with go/parser and
+ comparing against `.amadan/code-health.tsv`; failing on increase and
+ also on decrease (forcing the record down in the same branch). Will it
+ be stable across parallel branches (merge conflicts in the record), fast
+ enough for the gate, and outside the census as claimed? Are the chosen
+ metrics measurable reliably, and do they track something that matters?
+ Is any metric gameable in a way that makes code worse?
+2. Batch ordering: is anything in batch 3 or 4 more urgent than batch 2?
+ Does the census `moved` class really need to come first for the
+ structural work?
+3. The AGENTS.md rules: each enforceable as stated, and none contradicting
+ existing AGENTS.md rules or the stopping rules?
+4. The monthly pass and quarterly audit: realistic in cost, and do they
+ respect the stopping rules (no review spirals) and the shared-machine
+ CPU budget?
+5. Anything missing that a strong Go team would hold the line on (for this
+ codebase specifically), with evidence.
+6. Factual claims (counts, commits, file:line) against main at c4b44c34.
+
+## Severity
+
+- **P1**: unsafe, would not work, or contradicts a repo rule. Blocks.
+- **P2**: wrong or missing. Fixed without reopening this review.
+- **P3**: clarity or polish. Follow-up list only.
+
+## Output
+
+Findings ranked P1, P2, P3, each with the section, the problem, evidence
+(file:line, verified), and a concrete fix. End with exactly one verdict:
+READY, READY AFTER FIXES, or NOT READY.
+
+Do not edit files. Do not spawn Anthropic-model reviewers or subagents of
+your own. Do not run builds or tests.