Skip to content

Validate each route in isolation at registration - #34

Merged
DigiBugCat merged 1 commit into
mainfrom
fix/route-probe-isolation
Jul 28, 2026
Merged

Validate each route in isolation at registration#34
DigiBugCat merged 1 commit into
mainfrom
fix/route-probe-isolation

Conversation

@DigiBugCat

Copy link
Copy Markdown
Owner

Codex caught a hole in #31's intersection probe (raised on promotion PR #32): the resolver received the entire route list, so a valid sibling satisfied the allowlist on behalf of the route under test — upstream /base with routes [/a, /base] accepted the permanently unservable /a, exactly the dead-route class the check exists to reject.

The allowlist handed to the resolver is now the single route under test. All prior cases still hold (route under the base path, route containing the base path, divergent siblings /a vs /ab, default set against a base-path upstream). New test fails with the full-list probe restored.

🤖 Generated with Claude Code

Codex caught a hole in the intersection probe: the resolver received the
ENTIRE route list, so a valid sibling satisfied the allowlist on behalf of
the route under test. Upstream /base with routes [/a, /base] probed /a's
deeper path (/base) against the whole list, /base vouched for it, and the
permanently unservable /a was accepted — exactly the dead-route class the
check exists to reject.

The allowlist handed to the resolver is now the single route under test.
Every prior case still holds: a route under the base path, a route
CONTAINING the base path, divergent textual siblings (/a vs /ab), and the
default set against a base-path upstream.

Test: [/a, /base] against upstream /base must be rejected; fails with the
full-list probe restored.

Go suite: pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@DigiBugCat

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 6902fe3a16

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@DigiBugCat
DigiBugCat merged commit 3f16cab into main Jul 28, 2026
5 checks passed
@DigiBugCat
DigiBugCat deleted the fix/route-probe-isolation branch July 28, 2026 02:03
DigiBugCat added a commit that referenced this pull request Jul 28, 2026
Carries #34: registration validates each route in ISOLATION, so a valid
sibling in the same request can no longer satisfy the allowlist on behalf
of a permanently unservable route. Tree taken wholesale from main;
`git diff origin/main HEAD` is empty.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
DigiBugCat added a commit that referenced this pull request Jul 28, 2026
Carries #34: registration validates each route in ISOLATION, so a valid
sibling in the same request can no longer satisfy the allowlist on behalf
of a permanently unservable route. Tree taken wholesale from main;
`git diff origin/main HEAD` is empty.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant