- review.yml and git.push set http.<GITHUB_SERVER_URL>/.extraHeader, so the bot token
is sent only to the Gitea server; git.push falls back to the unscoped key when no
server is known.
- README: a same-repository PR runs the caller workflow from its head, so the
safeguards bound PR content, not edits to the caller; drafter: local fails the job.
- Tests: the source-grep fetch test is replaced by a behavioral one over a resumed run
(fetch ends options, push uses the scoped key); the no-op summary test is dropped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stage 1 flags the living documents a pull request makes stale (no model, nothing sent).
Stage 2, on repositories that opt in with drafter: claude, has Claude Code draft the edits
in a sandboxed copy of the tree and opens them as a pull request into the feature branch.
A monthly pass re-reads the top-level documents against the whole repository.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>