Repository navigation
Enable @ccu-bot first-pass automation (issues + PRs) - #56
Merged
Merged
Conversation
… switched on Adds only the automation-enablement slice so the bot can be tested without merging the rest of V2.2: - `.github/workflows/claude.yml` — maintainer `@ccu-bot` mention agent. - `.github/workflows/issue-first-pass.yml` — one first-pass comment per new issue. - `.github/workflows/pr-first-pass.yml` — one first-pass review per new PR (base checkout only; reads the diff via API, never runs PR code). - Publishes the technical `ARCHITECTURE.md` (+ zh-CN) so the bot has a real map (un-ignored in .gitignore; product strategy stays private). - CONTRIBUTING: a section describing @ccu-bot and its limits. SAFE BY DEFAULT: every job's `if:` requires the repo variable AUTOMATION_ENABLED == 'true' AND the ANTHROPIC_API_KEY secret; official or a third-party Anthropic-format endpoint via ANTHROPIC_BASE_URL. First-pass replies are labelled automated + disclaimed; a maintainer reviews everything. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds only the automation-enablement slice so the @ccu-bot first-pass can be tested without merging the rest of V2.2.
What's in it
claude.yml— maintainer@ccu-botmention agent.issue-first-pass.yml— one first-pass comment on each new issue.pr-first-pass.yml— one first-pass review on each new PR (base checkout only; reads the diff via API, never runs PR code).ARCHITECTURE.md(+ zh-CN) so the bot has a real map; product strategy stays private.@ccu-botand its limits.Safe by default
Every job's
if:requires both the repo variableAUTOMATION_ENABLED == 'true'and theANTHROPIC_API_KEYsecret. Supports a third-party Anthropic-format endpoint viaANTHROPIC_BASE_URL. Replies are labelled automated + disclaimed ("a maintainer reviews everything"); bot-authored items skipped; concurrency + timeout + max-turns.Merge this, then a test issue will trigger the first-pass so we can see the model's output. The rest of V2.2 lands in its own PR later.