Skip to content

Migrate the custom agents to Claude Code and add an explicit orchestrator #2904

Open

Description

@josecelano-bot

Parent EPIC: #2003 - Overhaul: Automation Tools and AI Agent Guardrails

Goal

Replace the ten GitHub Copilot custom agent profiles in .github/agents/ with a smaller set of Claude Code custom agents in .claude/agents/, led by an explicit orchestrator agent, so the roles can be launched again and a role's model can be fixed in its definition.

The first agent delivered is the one that addresses pull-request reviews, with its model pinned, so the number of review rounds per pull request can be measured.

Problem

Claude Code is the repository's only AI harness, and it reads custom agents only from .claude/agents/. The ten profiles in .github/agents/ were written for GitHub Copilot, so none of them can be started. The independent task review they provided has stopped: of the issue folders archived in October 2026, 25 of 48 contain a review report; of those archived in the first half of November, 2 of 32 do (the specification states the method). Review rounds on pull requests are the main cost of recent work, and the session that addresses a review runs on whatever model it happens to use.

Decided

  • Six agents: orchestrator (new), implementer, task-reviewer, pr-review-handler, pr-reviewer and researcher. The orchestrator is the session the contributor talks to; it starts the others. The implementer starts no agent and commits its own work.
  • pr-review-handler, task-reviewer and pr-reviewer are pinned to one model; the other three inherit the session's model.
  • AGENTS.md stays the single source of truth. A root CLAUDE.md is added that only imports it.
  • Every agent the orchestrator starts writes a JSON reply file in the issue's specification folder, validated against a schema. A stop hook keeps the task reviewer working until its reply file is valid.
  • Agents are thin: each preloads the skill that owns its workflow.
  • One issue, delivered in small pull requests that merge independently: nothing is merged that depends on something not merged yet. .github/agents/ is removed at the end.
  • The Copilot setup workflow stays.

The specification is in the spec-only pull request that adds docs/issues/open/<issue>-2003-migrate-custom-agents-to-claude-code/ISSUE.md.

Activity

  1. added 15 commits that reference this issue on Nov 17, 2026
  2. 254 remaining items

  3. added 9 commits that reference this issue on Nov 26, 2026
  4. added 6 commits that reference this issue on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions