carlos / platform Public

reviews: Astra task review of Task 9, round 2 (READY)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 0e426102282d75a63223d03fdc9cd8fcc3506d40 parent da7dd99
1 file changed, +19 −0
  • docs/superpowers/reviews/ASTRA-FINDINGS-path-routes-across-boxes-task9-R2.md +19 −0

CI failed — run details

diff --git a/docs/superpowers/reviews/ASTRA-FINDINGS-path-routes-across-boxes-task9-R2.md b/docs/superpowers/reviews/ASTRA-FINDINGS-path-routes-across-boxes-task9-R2.md
new file mode 100644
index 000000000..e3a5d9672
--- /dev/null
+++ b/docs/superpowers/reviews/ASTRA-FINDINGS-path-routes-across-boxes-task9-R2.md
@@ -0,0 +1,19 @@
+R1 P1-1 — **Resolved.** Case 3 now canonicalizes P to I before checking eligibility; the guard includes H only on A, P/I on A and B, and I held on B.
+
+R1 P1-2 — **Resolved.** Selection returns I’s entry without alias flags. HA classification no longer infers selection from Host equality; the guard includes H=I with the non-admitted peer claim.
+
+No new P1, P2 or P3 findings in `3eb45b14..c33eebbc`. Neither round 1 fault recurs.
+
+The structural fix is implemented in [selectedEntry](/home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/internal/edge/pathselect.go:346), shared by both local selection cases. It verifies the canonical entry’s identity before returning it. The [guard test](/home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/internal/edge/path_across_ha_test.go:705) compares alias-target and instance-target dispatch across five placements, including both reported failures.
+
+The three behaviour notes:
+
+- **Instance paths — acceptable.** The selected entry carries I’s map, but selection does not recurse into it. Front ownership continues to use `sel.Front`; downstream path-map consumers do not reselect this request.
+- **Demo checks — safe, but the note overstates reachable behaviour.** Canonical selection removes alias flags, but [filterDemoRoutes](/home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/internal/edge/demo.go:169) removes demo aliases and demo path targets. Runtime checks also require the exact demo Host. This change does not enable serving a demo through another front; the report’s suggestion that a direct-instance prefix already permits that is inaccurate.
+- **Regional collision — acceptable.** The [regional fold](/home/paulca/.paseo/worktrees/03ai90xp/path-routes-across-boxes/internal/edge/regional.go:125) replaces I’s key with an alias-marked deny entry. Canonicalization rejects it. A prefix naming I directly is also rejected, so both fall back to the front. Retaining P’s copied backend would defeat the chosen equivalence.
+
+Independent targeted execution stopped before compilation: the read-only sandbox prevented creation of Go’s work directory. `git diff --check` passed. No files changed, no full suites ran, and `GOCACHE` remained unset.
+
+Round 2 has no P1; the task review stops under rule 1.
+
+READY
\ No newline at end of file