Skip to content

Enable @ccu-bot first-pass automation (issues + PRs) - #56

Merged
Carl723000 merged 1 commit into
mainfrom
enable-ccu-bot
Jul 3, 2026
Merged

Carl723000 merged 1 commit into
mainfrom
enable-ccu-bot

Conversation

@Carl723000

Copy link
Copy Markdown
Collaborator

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-bot mention 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).
  • Publishes the technical ARCHITECTURE.md (+ zh-CN) so the bot has a real map; product strategy stays private.
  • CONTRIBUTING: a short section describing @ccu-bot and its limits.

Safe by default

Every job's if: requires both the repo variable AUTOMATION_ENABLED == 'true' and the ANTHROPIC_API_KEY secret. Supports a third-party Anthropic-format endpoint via ANTHROPIC_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.

… 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>
@Carl723000
Carl723000 requested a review from jack21 as a code owner July 3, 2026 16:34
@Carl723000
Carl723000 merged commit d160612 into main Jul 3, 2026
1 check 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.

1 participant