Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.208 Home All releases olderv2.1.207 v2.1.209newer
Claude Code v2.1.208

GitHub repo visibility and branch protection context

What

Claude now gathers repository visibility (public/private), branch protection rules, and rulesets from GitHub via gh when working in a git repository. This gives Claude better context for decisions about pushing, branching, and code review workflows.

Details
  • Uses gh CLI to query /rulesets?per_page=100 and /branches?protected=true&per_page=100
  • Includes org-level sibling repo docs (top 50 by pushedAt)
  • Degrades gracefully when gh is unavailable, unauthenticated, or the token lacks org scope — each section shows a "not queryable here" marker rather than failing
  • Org/repo docs are candidates only — Claude filters to those whose org already appears in known repo facts
Evidence

New repo context gathering (search for "Repo visibility & branch protection (via gh)" and "/rulesets?per_page=100")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.208 →