mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
## Summary This follows #1116. The live test of the self-heal loop (bot PR #1117) merged, but only after one manual step: approving its CI run. - **Approve the bot PR's CI run.** A bot-authored PR's `pull_request` CI run is created as **action_required** (waiting for approval), and until it runs it outranks the passing CI Gate from the dispatched run. The `self-heal-pr` job now approves that run via `POST /actions/runs/{id}/approve`. If approval fails, it dispatches `ci.yml` and the Discord alert says the PR needs a one-click approval, with a link. - **Ruleset dependency, now documented.** `require_extra_approval_for_unattributed_changes` is now set to `false` on the `protect main` ruleset (11423976). It's a newer GitHub setting that defaults to true and blocks bot-authored PRs until a human approves. This is recorded in `docs/TESTING.md` and `docs/LESSONS-LEARNED.md`. ## Testing - `actionlint` is clean for the changed lines. - After merge: a forced-LLM run on `main` on a step with no learned recipe yet (`fillPostalCode`) will open a fresh bot PR and exercise approval → CI → auto-merge without manual input. @coderabbitai ignore 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>