Repository navigation
fix(source-control): retry a failed owner-template read, then fall back to briefing - #18246
Conversation
…ck to briefing A non-404 failure reading the owner's .github template stopped create before the pull request opened, so a GitHub outage, rate limit or login problem stalled every lane. create now retries the read once, then falls back to briefing and names the failed read in its report and the body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtUszvw6rUY9tpjLr2U
…ic PR body The body names only the endpoint path and the HTTP status or failure kind; the raw gh error goes to the session report, so local paths, hosts or proxy details never publish. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtUszvw6rUY9tpjLr2U
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #18246 (incremental, blocking only)I found no security issues in the change since Scope. This review covered only the push since Data exposure. The new value carries only the endpoint path and the HTTP status or failure kind, never the raw Trust controls and manifests. The push changes no trust control, merge hold, token scope, kill switch, plugin manifest or standing instruction, so no lens beyond the diff read applied. Prior findings. Last round this lane posted a clean summary with nothing to carry forward. Because this lane already reviewed an earlier head, this review reported only blocking findings, and it found none. PR context. The description matches the change. It holds no embedded instructions aimed at the review lane. Spend. No new spend. critical-findings: 0 |
|
claude-review reviewed Code review: PR #18246 (incremental, blocking only)This review covers only what changed since What changed: the new example I found nothing blocking. Closing issue: none. The PR closes no issue (it follows up #18239), so there are no acceptance criteria to check. Loosened checks: this criterion does not apply. The change is a documentation example for a source string, and no check's settings change. Loosened checks would be marked: fail (the prompt had no Spend: none. This is a docs-only change. I verified nothing by running it, because I had no shell. Verifier dropped 0 of 0 candidates. |
…ons source The gate message and report now give the same cause as the body when the fallback follows a failed read, instead of the no-template default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RAoAtUszvw6rUY9tpjLr2U
No related issue: follow-up to #18239; a stop on a transient read is a workflow gate the owner's Intent rule calls a defect
Summary
/source-control:pull-request createno longer stops when a read of the owner's default pull request template fails with anything other than a 404. It retries the read once, then falls back to thebriefingsections and names the failed read, so a GitHub outage, rate limit or login problem cannot stall an unattended lane before its pull request opens.Fix
create.md§2.4.1, level 2 of section resolution: a 404 moves to the next level, as before. Any other failed read is retried once; a second failure also moves to the next level. The body's verification section names the endpoint path and the HTTP status or failure kind (auth, network, rate limit, 5xx); the rawgherror goes only to the session's §2.6 report, so no local path, host or proxy detail reaches the public body (local security review finding, matching the scrub rule atcreate.md:386).briefingsections, and this repository'scheck-contractflag on those sections is advisory (comment andneeds-issue-linkagelabel), so the pull request still opens and a reader sees the cause.Verification
grepoverplugins/source-controlanddocs/contracts/pr-body-conventionfor the old wording: onlycreate.md:292described the failure handling.Related
create.md:292.🤖 Generated with Claude Code
https://claude.ai/code/session_01RAoAtUszvw6rUY9tpjLr2U