reviews: Astra briefs for branch and census round 2 (#186)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+109
−0
docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch-R2.md+66 −0docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census-R2.md+43 −0
CI cancelled — superseded by a newer push — run details
CI log
=== gate === go: downloading go1.26.10 (linux/arm64) go version go1.26.10 linux/arm64 .amadan/test-gate.sh go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0 go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5 go: downloading github.com/benbjohnson/litestream v0.5.14 go: downloading github.com/superfly/ltx v0.5.1 go: downloading golang.org/x/net v0.62.0 go: downloading modernc.org/sqlite v1.55.0 go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0 go: downloading github.com/aws/aws-sdk-go-v2/service/acm v1.45.0 go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2 go: downloading github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.0 go: downloading github.com/aws/aws-sdk-go-v2/service/route53 v1.64.1 go: downloading golang.org/x/sys v0.49.0 go: downloading golang.org/x/crypto v0.58.0 go: downloading github.com/pion/logging v0.2.4 go: downloading github.com/pion/stun/v3 v3.1.5 go: downloading github.com/pion/turn/v4 v4.1.4 go: downloading github.com/aws/aws-sdk-go-v2/service/sesv2 v1.66.6 go: downloading github.com/pierrec/lz4/v4 v4.1.22 go: downloading github.com/klauspost/compress v1.20.2 go: downloading github.com/pion/dtls/v3 v3.1.4 go: downloading github.com/pion/transport/v4 v4.0.2 go: downloading golang.org/x/sync v0.24.0 go: downloading github.com/prometheus/client_golang v1.17.0 go: downloading github.com/lmittmann/tint v1.1.3 go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18 go: downloading github.com/wlynxg/anet v0.0.5 go: downloading golang.org/x/text v0.43.0 go: downloading github.com/prometheus/client_model v0.5.0 go: downloading github.com/prometheus/common v0.45.0 go: downloading github.com/prometheus/procfs v0.12.0 go: downloading google.golang.org/protobuf v1.36.10 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e go: downloading github.com/klauspost/compress v1.20.2 go: downloading modernc.org/sqlite v1.55.0 go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0 go: downloading github.com/pierrec/lz4/v4 v4.1.22 go: downloading modernc.org/libc v1.74.1 go: downloading modernc.org/libc v1.74.1 go: downloading modernc.org/mathutil v1.7.1 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec amadan: job cancelled — a newer push superseded it
diff --git a/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch-R2.md b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch-R2.md| new file mode 100644 |
| index 000000000..537259bfd |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch-R2.md |
| @@ -0,0 +1,66 @@ |
| +# Review brief: whole branch, path routes across boxes (#186), round 2 of 3 |
| + |
| +Repo carlos/platform, branch `path-routes-across-boxes`, commit ba87593d93fc8c7cbe2a987d6220c5d1e1271454. |
| +Under review: the diff 40d86b44c2412c76348b106c680ed1e8fc5a6897..96d20217 (code and tests; docs and review files are context). |
| +A packaged diff is at /home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/.superpowers/sdd/2026-11-19-path-routes-across-boxes/review-40d86b44..96d20217.diff (one read). |
| +Authorities: the spec `docs/superpowers/specs/2026-11-19-path-routes-across-boxes-design.md` |
| +(rev 5.2, approved by Paul with build-time rulings recorded in it), the plan |
| +`docs/superpowers/plans/2026-11-19-path-routes-across-boxes.md` (rev 4, Task 10 revised), and |
| +main. Do not review against unmerged branches. |
| + |
| +You are an independent reviewer of the whole branch before merge. Every task already had a task |
| +review (Opus) and Tasks 7-10 had Astra reviews; their findings files are in |
| +docs/superpowers/reviews/ASTRA-FINDINGS-path-routes-across-boxes-task*.md. Your job is what |
| +task-scoped reviews miss: interactions between tasks, regressions for traffic with no path maps, |
| +and anything that would hurt a person using the platform. |
| + |
| +## Fixed: do not re-argue |
| +- Paul's rulings in the spec and the ledger: approach A (ingress selects, one hop, receiver |
| + re-selects); region HA in scope; door calls never cross boxes; one selection entry point; a |
| + platform-alias target is its instance; no response caching for cross-box selections (§7.2 rev |
| + 5.1); no roll gate, an ordering rule instead (§8); login refusal per §7.3 rev 5.2. |
| +- Deferred minors and parked items are listed in the ledger: |
| + /home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/.superpowers/sdd/2026-11-19-path-routes-across-boxes/progress.md (lines containing "Minor (deferred)", "Follow-up", "Ruling:"). Triage them: say |
| + which, if any, must be fixed before merge. |
| + |
| +## What to check |
| +1. Requests and upgrades for hosts with NO path maps behave exactly as on main (the largest |
| + regression surface): selection, ownership, HA dispatch, cache, purge, login, upgrades. |
| +2. Tenancy end to end: no path from any box sends a request, a cache entry, a purge or a login to |
| + another account's route; exact names beat wildcards; door and pinned requests stay confined. |
| +3. One hop, ever, across all new code paths, including HA follows. |
| +4. Consistency between selection, dispatch, upgrades, page cache, response cache and login on the |
| + same request. |
| +5. Cost and churn: the reconcile memo, the generation counter and Reload reuse under failure |
| + (unreadable claims, missing triggers, replaced files). |
| +6. Tests: race safety under the package's rules (CI runs internal/edge under -race), no sleeps, |
| + real topology in the e2e tests. |
| + |
| +## Round 2 |
| + |
| +Earlier round: round 1, `docs/superpowers/reviews/ASTRA-FINDINGS-path-routes-across-boxes-branch-R1.md` (2 P1, 1 P2). |
| +Paul ruled the P2 (rule 2, 2026-11-21): connect the upgrade re-check triggers (home map, mesh keys) |
| +with a guard test. Controller rulings for the P1s: an import-gated route is not a front route (in |
| +the shared PathFront rule); routeHAIngress uses the target's identity only under a front route. |
| +The fix wave is 5e4b79c3..ba87593d93fc8c7cbe2a987d6220c5d1e1271454; a packaged diff is at /home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/.superpowers/sdd/2026-11-19-path-routes-across-boxes/review-5e4b79c3..ba87593d.diff, |
| +and the implementer's report (with three stated residual concerns: a ~35 s window after an import |
| +gate opens while other boxes' home maps are stale; a hibernating HA target ineligible on the box |
| +under a catch-all front still answers 503 before ownership, as on main; demo expiry has no sweep |
| +trigger, as on main) is /home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/.superpowers/sdd/2026-11-19-path-routes-across-boxes/final-fix-report.md. |
| + |
| +First give one line per round 1 finding: resolved, partly, or not. Judge the three residual |
| +concerns. Then new findings in the fix wave only, each with its fault family and whether it |
| +repeats a round 1 family. Do not re-review unchanged code beyond what the fixes touch. |
| + |
| +## Severity |
| +- **P1**: unsafe, would not compile, a test fails, or it would not work. Blocks merge. |
| +- **P2**: wrong or missing. Fixed without reopening this review. |
| +- **P3**: clarity or polish; follow-up list. |
| + |
| +## Output |
| +Findings ranked P1, P2, P3. Each: section or task, problem, evidence (file:line, verified), |
| +failure scenario, concrete fix, and its fault family. Then the triage of the ledger's deferred |
| +items. End with exactly one verdict: READY, READY AFTER FIXES, or NOT READY. |
| + |
| +Do not edit files. Do not spawn reviewers or subagents. Do not run the full test suites. Leave |
| +GOCACHE unset. |
diff --git a/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census-R2.md b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census-R2.md| new file mode 100644 |
| index 000000000..9b0d43bae |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census-R2.md |
| @@ -0,0 +1,43 @@ |
| +# Review brief: census proposal, path routes across boxes (#186), round 2 of 3 |
| + |
| +Repo carlos/platform, branch `path-routes-across-boxes`, commit ba87593d93fc8c7cbe2a987d6220c5d1e1271454. |
| +Under review: the census card `docs/superpowers/notes/census-proposal-path-routes-across-boxes.md` |
| +and the branch's diff against main (merge base 40d86b44c2412c76348b106c680ed1e8fc5a6897). |
| +Authority: AGENTS.md "The census: the reviewer decides" (read it whole), and the spec |
| +`docs/superpowers/specs/2026-11-19-path-routes-across-boxes-design.md` (rev 5.2). |
| + |
| +You are an independent census reviewer (the author is a Claude model). Read the card, then the |
| +diff for every unit and envelope it lists, and give a verdict for each, citing the lines you read. |
| + |
| +Reject a unit (as a finding the author fixes) if the change lets root open, run, query or follow |
| +anything it did not before from a path or input a tenant, an app or a box agent can create, write |
| +or name; if it weakens a check, refusal, validation, argument or environment root relies on; if a |
| +new disposition is wrong for the unit's reads; if a removed or left unit moved rather than went; |
| +or if the diff cannot settle any of these. Otherwise approve it. |
| + |
| +Context you will need: every box now derives route_paths rows for every path-routed host from |
| +the claims in the bucket (claims are written by owner-gated console doors); the edge selects a |
| +path target across boxes and backhauls one signed hop; the registry gained a route_paths |
| +generation counter (SQLite triggers, a per-file epoch); the edges file gained route_account, |
| +route_app, path_front, path_target. |
| + |
| +## Round 2 |
| + |
| +Earlier round: `docs/superpowers/reviews/ASTRA-FINDINGS-path-routes-across-boxes-census.md` (READY, 41 units). |
| +A fix wave (5e4b79c3..ba87593d93fc8c7cbe2a987d6220c5d1e1271454) re-claimed 5 units (PathFront, PathTarget, PathEligibilityCases, |
| +selectFromServedFront, haRouteName) and added 3 (selectUpstream, isFrontRoute, pathRouteKind); |
| +the refreshed card is the same path. Give a verdict for each of these 8 units (and any envelope |
| +re-pinned), citing the lines read; the other 41 stand approved unless the fix wave changed them. |
| + |
| +## Severity |
| +- **P1**: unsafe, would not compile, a test fails, or it would not work. Blocks merge. |
| +- **P2**: wrong or missing. Fixed without reopening this review. |
| +- **P3**: clarity or polish. |
| + |
| +## Output |
| +One line per unit and envelope: APPROVE or REJECT, with the lines read. Then findings ranked P1, |
| +P2, P3 (section, problem, evidence file:line, failure scenario, fix, invariant). End with exactly |
| +one verdict: READY, READY AFTER FIXES, or NOT READY. |
| + |
| +Do not edit files. Do not spawn reviewers or subagents. Do not run the full test suites. Leave |
| +GOCACHE unset. |