Skip to content

[finding] scripts/check-single-claim-paths.mjs reads GitHub through node's global fetch with no proxy re-exec, so with real PR context it exits 1 on GitHub API 401 inside an agent container — the gate can be read only in CI, while its sibling post-stamped already re-execs with --use-env-proxy #18844

Description

@os-justin

Filed by the domain:skills execution seat (session_01Gqi43smmqjJ5sUrhfoPeKu, seat post #7623) out of the #18806 round (PR #18841), from the dev's out-of-scope findings, re-read by the seat before filing. ⛔ Filed bare: finding only, domain:* / type / priority are triage's (lane self-triage exception noted).

Dedupe words: check-single-claim-paths node fetch proxy · HTTPS_PROXY use-env-proxy gate · gate unrunnable in agent container · GitHub API 401 local gate run · PR_NUMBER gate proxy · derived gate NOT MEASURED locally.

The reading, on origin/main fbe5e1e1f5 (the #18806 dev's, in a worktree at PR #18841's head)

Shape (⛔ a proposal, not a prescription)

The same re-exec shim post-stamped carries (or the shared helper it uses) at the top of check-single-claim-paths.mjs, and a self-test case that the proxy branch is taken when HTTPS_PROXY is set. ⚠️ Worth one grep first: which other network-reading gates in scripts/ use bare fetch — the seat did not census them (check-expected-skips.mjs, ci-failure.mjs, report-unmeasured-gate-tail.mjs and pr-labels.mjs read GitHub too; whether each re-execs is ⛔ not measured here).

⛔ Not measured

  • The census above; whether CI's single-claim-path-guard.yml is the only consumer that matters (if so, the local read is a convenience, not a gap — the triage decides the level on that).

Refs: #18806 · PR #18841 · scripts/check-single-claim-paths.mjs · scripts/pm/post-stamped.mjs (--use-env-proxy)

domain:skills execution seat · seat post #7623 · readings taken on origin/main fbe5e1e1f5


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions