Skip to content

chore: caretaker fleet migration — gated review workflows#90

Merged
ianlintner merged 1 commit into
mainfrom
chore/caretaker-fleet-migration
May 6, 2026
Merged

chore: caretaker fleet migration — gated review workflows#90
ianlintner merged 1 commit into
mainfrom
chore/caretaker-fleet-migration

Conversation

@ianlintner
Copy link
Copy Markdown
Owner

Aligns this repo with the post-2026-05 caretaker setup pattern. Caretaker now runs server-side via the deployed MCP backend listening to GitHub App webhooks; consumer repos hold only config, version pin, and persona docs.

Changes

  • Append caretaker block to existing .github/copilot-instructions.md
  • Add .github/workflows/claude-code-review.yml (gated, label-triggered only)
  • Add .github/workflows/opencode-review.yml (gated, label-triggered only)

How the gated review workflows behave

  • Dormant on PR open / push — neither workflow auto-runs.
  • Triggered when:
    1. Caretaker applies the opencode-review or claude-code label (only happens when pr_reviewer.complex_reviewer in .github/maintainer/config.yml is set to opencode or claude_code — the legacy comment-trigger backends).
    2. A human applies the same label manually.
    3. A human runs the workflow from the Actions tab via workflow_dispatch.

Default reviewer remains the backend

The deployed caretaker MCP pod's opencode_local backend handles caretaker-owned PRs in-pod (no consumer-side workflow needed). To switch to the front-end (workflow-side) review, set in .github/maintainer/config.yml:

pr_reviewer:
  complex_reviewer: opencode    # or claude_code

Caretaker will then apply the trigger label and the workflow will fire.

🤖 Generated with Claude Code

Brings this repo onto the post-2026-05 caretaker setup pattern (backend-
driven via the deployed MCP backend on AKS) and installs the optional
review workflows in DORMANT mode so they only fire when explicitly
triggered.

Changes in this commit:
- Append caretaker block to existing `.github/copilot-instructions.md`
- Add `.github/workflows/claude-code-review.yml` (gated, label-triggered only)
- Add `.github/workflows/opencode-review.yml` (gated, label-triggered only)

Backend remains the default reviewer — the deployed caretaker MCP pod
runs the in-pod opencode_local backend on caretaker-owned PRs. The
review workflows added here stay dormant unless caretaker (or a human)
explicitly applies the trigger label.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ianlintner ianlintner merged commit 0073fdc into main May 6, 2026
8 of 9 checks passed
@ianlintner ianlintner deleted the chore/caretaker-fleet-migration branch May 6, 2026 23:38
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