carlos / platform Public

reviews: Astra briefs for the census and the whole-branch review (#186)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 1912d87ce792d4dd67535e4b129aedde930d3b77 parent 96d2021
2 files changed, +85 −0
  • docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch.md +50 −0
  • docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census.md +35 −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/benbjohnson/litestream v0.5.14
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/costexplorer v1.67.5
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.6
go: downloading github.com/aws/aws-sdk-go-v2/service/sns v1.43.0
go: downloading golang.org/x/crypto v0.58.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/ec2 v1.324.0
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/mod v0.41.0
go: downloading github.com/oschwald/maxminddb-golang v1.13.1
go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.6
go: downloading github.com/aws/aws-sdk-go-v2/service/sesv2 v1.66.6
go: downloading github.com/pion/stun/v3 v3.1.5
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/pion/randutil v0.1.0
go: downloading github.com/pion/transport/v4 v4.0.2
go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.14
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.23
go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.31
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading golang.org/x/sync v0.24.0
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18
go: downloading golang.org/x/text v0.43.0
go: downloading github.com/lmittmann/tint v1.1.3
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.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/pion/dtls/v3 v3.1.4
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
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/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 github.com/google/uuid v1.6.0
go: downloading modernc.org/memory v1.11.0
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec
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.md b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch.md
new file mode 100644
index 000000000..44e2de926
--- /dev/null
+++ b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-branch.md
@@ -0,0 +1,50 @@
+# Review brief: whole branch, path routes across boxes (#186), round 1 of 3
+
+Repo carlos/platform, branch `path-routes-across-boxes`, commit 96d20217fa1653c96636a4a1356042add22a6e27.
+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.
+
+## 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.md b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census.md
new file mode 100644
index 000000000..4f486b7e9
--- /dev/null
+++ b/docs/superpowers/reviews/ASTRA-BRIEF-path-routes-across-boxes-census.md
@@ -0,0 +1,35 @@
+# Review brief: census proposal, path routes across boxes (#186), round 1 of 3
+
+Repo carlos/platform, branch `path-routes-across-boxes`, commit 96d20217fa1653c96636a4a1356042add22a6e27.
+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.
+
+## 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.