Skip to content

prompts: github-access-runbook — clone/push/PR/release recipes (measured)#173

Merged
AdaWorldAPI merged 1 commit into
mainfrom
claude/github-access-runbook
Jul 7, 2026
Merged

prompts: github-access-runbook — clone/push/PR/release recipes (measured)#173
AdaWorldAPI merged 1 commit into
mainfrom
claude/github-access-runbook

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

What

Adds .claude/prompts/github-access-runbook.md — the measured-in-production
runbook a fresh session pastes/loads before any cross-repo git/GitHub work:

  • §0 the governing lesson: a 403 here is usually the PROXY, not the repo — retest with the proxy bypassed before declaring a repo locked (two same-day wrong conclusions documented)
  • §1–2 token hygiene (quote-stripping gotcha) + the measured access matrix (proxy remote / git-over-github.com / no-proxy push / direct REST / MCP)
  • §3–4 clone + push recipes, incl. --force-with-lease against a URL with an explicit lease value, and when a force-push is legitimate (already-merged history only)
  • §5 PR create/patch/inspect via direct no-proxy REST (ProxyHandler({})), body-as-file via QUOTED heredoc (the backtick-mangling gotcha)
  • §6 release creation + asset upload (uploads.github.com, ?name=, timeouts, verify state: uploaded)
  • §7 the plateau fallback (format-patch + bundle + PR body banked in a pushable repo — container-loss insurance; the pattern ruff#53/OGAR#172 actually landed from)
  • §8 session rules on top (branch discipline, footers, paired two-sided-fuse merges, the class-view third lockstep spot)

Proven by the 2026-07-07 arc: ruff#53, OGAR#172, lance-graph#655, tesseract-rs#10 all landed with exactly these recipes. Identical copies land in lance-graph, ruff, and OGAR.

🤖 Generated with Claude Code

https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1

…red)

Measured-in-production runbook (2026-07-07 OCR arc: ruff#53/OGAR#172/lance-graph#655/tesseract-rs#10): token hygiene, the access matrix, clone/push (incl. force-with-lease-against-URL), direct no-proxy REST for PR create/patch/inspect + release create/asset upload, the plateau fallback, and the paired-fuse merge rule. Canonical copies in lance-graph + ruff + OGAR .claude/prompts/.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016b33swuXE23hKtqxsHu9p1
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_d4886477-fb1c-420f-95a1-0af6216e45a0)

@AdaWorldAPI AdaWorldAPI merged commit 68d85f0 into main Jul 7, 2026
2 checks passed
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.

2 participants