reviews: Astra briefs for branch and census round 3 (#186)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+111
−0
docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch-R3.md+68 −0docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census-R3.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 v1.44.0 go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0 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 golang.org/x/sys v0.49.0 go: downloading github.com/aws/aws-sdk-go-v2/service/sns v1.43.0 go: downloading github.com/aws/aws-sdk-go-v2/service/route53 v1.64.1 go: downloading golang.org/x/crypto v0.58.0 go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.45.6 go: downloading github.com/aws/aws-sdk-go-v2/service/acm v1.45.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/iam v1.58.2 go: downloading github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.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/ssm v1.74.0 go: downloading github.com/pierrec/lz4/v4 v4.1.22 go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.40 go: downloading golang.org/x/text v0.43.0 go: downloading github.com/klauspost/compress v1.20.2 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.40 go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.40 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.31 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.23 go: downloading github.com/prometheus/client_golang v1.17.0 go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18 go: downloading github.com/lmittmann/tint v1.1.3 go: downloading github.com/pion/randutil v0.1.0 go: downloading github.com/pion/transport/v4 v4.0.2 go: downloading github.com/pion/dtls/v3 v3.1.4 go: downloading google.golang.org/protobuf v1.36.10 go: downloading github.com/prometheus/client_model v0.5.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/common v0.45.0 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/prometheus/procfs v0.12.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 modernc.org/sqlite v1.55.0 go: downloading github.com/klauspost/compress v1.20.2 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 github.com/pion/dtls/v3 v3.1.4 go: downloading github.com/prometheus/procfs v0.12.0 go: downloading github.com/wlynxg/anet v0.0.5 go: downloading github.com/wlynxg/anet v0.0.5 go: downloading modernc.org/libc v1.74.1 go: downloading modernc.org/libc v1.74.1 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading modernc.org/mathutil v1.7.1 go: downloading github.com/google/uuid v1.6.0 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-R3.md b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch-R3.md| new file mode 100644 |
| index 000000000..7b3e7fa93 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch-R3.md |
| @@ -0,0 +1,68 @@ |
| +# Review brief: whole branch, path routes across boxes (#186), round 3 of 3 |
| + |
| +Repo carlos/platform, branch `path-routes-across-boxes`, commit 09097e067f095e76543ccd94f4a29d6d97c7ef08. |
| +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 3 |
| + |
| +Earlier rounds: `docs/superpowers/reviews/ASTRA-FINDINGS-path-routes-across-boxes-branch-R1.md` and `-R2.md`. |
| +After round 2 (front import gate, second round), rule 2 applied and Paul chose to refuse up front |
| +(2026-11-21): an import cannot start on a front with a cross-box prefix, and while a front's import |
| +is open its path map cannot gain a cross-box prefix; both doors re-check after their own write so a |
| +racing pair cannot leave an open import with a cross-box prefix. Spec §7.6 records it. The fix is |
| +76c9cd2d..09097e067f095e76543ccd94f4a29d6d97c7ef08; packaged diff: /home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/.superpowers/sdd/2026-11-19-path-routes-across-boxes/review-76c9cd2d..09097e06.diff; implementer |
| +report with residual concerns (a begin left pending and recovered later skips the recheck; a target |
| +app moved to another box during an open import is not caught; SetClaimPaths returns no etag so the |
| +restore rereads): /home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/.superpowers/sdd/2026-11-19-path-routes-across-boxes/import-refusal-report.md. The two error texts are pending Paul's copy review |
| +and may change wording only. |
| + |
| +This is round 3 of 3. First give one line per round 2 finding: resolved, partly, or not. Judge the |
| +residual concerns: is each closed by the PathFront exclusion's propagation, acceptable, or a |
| +blocker? New findings in the fix only, with fault family. A NOT READY also says whether the P1s |
| +share one cause and whether refusing up front or cutting would remove 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; 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-R3.md b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census-R3.md| new file mode 100644 |
| index 000000000..90cfbcbfc |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census-R3.md |
| @@ -0,0 +1,43 @@ |
| +# Review brief: census proposal, path routes across boxes (#186), round 3 of 3 |
| + |
| +Repo carlos/platform, branch `path-routes-across-boxes`, commit 09097e067f095e76543ccd94f4a29d6d97c7ef08. |
| +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 3 |
| + |
| +Earlier rounds: `...-census.md` (READY, 41 units) and `...-census-R2.md` (READY, 8 units). The |
| +import-refusal fix (76c9cd2d..09097e067f095e76543ccd94f4a29d6d97c7ef08) changed `internal/domains` (a new claim writer, |
| +RestoreClaimPathsAt) and the record-write census (a new layer); the overlay was refreshed. Give a |
| +verdict for each unit and envelope the fix changed or added, citing the lines read; earlier |
| +approvals stand for unchanged units. |
| + |
| +## 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. |