2026-09-01 — GitHub push routing (permissions)

Contributors with limited GitHub access are often told to push while GitHub only grants read or PR-only access (org member role, branch protection, or fork workflow). Agents now probe access before push and explain the PR path instead of failing silently or overriding policy.

  • New skill github-repo-accessgh repo view --json viewerPermission,isFork,defaultBranchRef; optional branch protection check; cache in $CODE_ROOT/machine.md (<!-- github-access:begin -→ block).

  • New general/github-push-routing.md — routes direct_push, branch_pr, fork_pr, blocked; when blocked, suggest sharing the agent explanation with whoever assigned direct push.

  • push-code step 0 calls the probe before push; draft-pr cites permission rationale when asked; end-of-run exception when upstream direct push is impossible.

  • user.md one-liner + agents/_MAIN.md routing row; machine.example.md documents the cache block.