Skip to content

Add Claude Code multi-agent curation workflow - #2719

Merged
aleixpuigb merged 1 commit into
EBISPOT:masterfrom
aleixpuigb:add-claude-code-agent-workflow
Jun 18, 2026
Merged

aleixpuigb merged 1 commit into
EBISPOT:masterfrom
aleixpuigb:add-claude-code-agent-workflow

Conversation

@aleixpuigb

Copy link
Copy Markdown
Collaborator

Summary

Adapts the existing GitHub Copilot three-agent EFO workflow into native Claude Code structures, so you can assign a ticket and have it taken end-to-end to a reviewable PR (branch → research → imports → OWL edits → verification → PR). The Copilot files are left untouched, so both tools keep working.

Trigger: /efo-ticket <issue-number> (or just "handle issue #N").

What's added

File Role
CLAUDE.md Orchestrator — routing table, handoff template, domain policies, verification gate, ticket→PR workflow
.claude/agents/efo-curator.md Literature research subagent (read-only; artl-mcp + OLS)
.claude/agents/efo-importer.md External-import subagent (OLS + edits iri_dependencies/, runs make)
.claude/agents/efo-ontologist.md OWL/XML editor for efo-edit.owl (edits + normalizes, no git)
.claude/commands/efo-ticket.md /efo-ticket <number> one-shot trigger
.mcp.json Project-level OLS-MCP + artl-mcp config
docs/agents-documentation/CLAUDE-CODE-SETUP.md Mapping, usage, and cloud-trigger notes

Mapping from Copilot

Copilot Claude Code
.github/copilot-instructions.md CLAUDE.md
.github/agents/EFO-*.md .claude/agents/efo-*.md
handoffs: frontmatter Orchestrator dispatches via the Task tool
.vscode/mcp.json .mcp.json

Deliberate changes from the Copilot model

Driven by how Claude Code subagents actually behave:

  • Orchestration lives entirely in the main agent — Claude subagents can't call each other (matches the v1.1 "no agent orchestrates others" principle).
  • Git/PR ownership moved to the orchestrator — subagents are stateless and edit the shared working tree; the orchestrator commits and opens the PR.
  • Tool scoping enforced in frontmatter — curator is read-only; importer/ontologist edit but can't touch git.

Checks

  • Copilot files left unchanged (both tools coexist)
  • MCP servers committed for portability (OLS-MCP, artl-mcp)
  • Reviewer: try /efo-ticket <N> on a real issue to validate end-to-end

Notes

Runs in local Claude Code today; copilot-setup-steps.yml remains the environment reference, and CLAUDE-CODE-SETUP.md documents how to add a GitHub-triggered cloud run later. Local tooling (robot, obo-scripts, aurelian) must be on PATH.

🤖 Generated with Claude Code

Adapts the existing GitHub Copilot three-agent EFO workflow (curator,
importer, ontologist) into native Claude Code structures, so a ticket can
be assigned and taken end-to-end to a reviewable PR. Copilot files are left
untouched so both tools keep working.

- CLAUDE.md: orchestrator — routing, handoff template, domain policies,
  verification gate, and the ticket -> branch -> PR workflow
- .claude/agents/efo-{curator,importer,ontologist}.md: specialist subagents
  with scoped tools (curator read-only; importer/ontologist edit but no git)
- .claude/commands/efo-ticket.md: /efo-ticket <number> one-shot trigger
- .mcp.json: project-level OLS-MCP + artl-mcp config (self-contained)
- docs/agents-documentation/CLAUDE-CODE-SETUP.md: mapping, usage, cloud notes

Orchestration and git/PR ownership live with the main agent because Claude
Code subagents cannot call each other and are stateless.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@aleixpuigb
aleixpuigb merged commit 7a3ef26 into EBISPOT:master Jun 18, 2026
1 check passed
@aleixpuigb
aleixpuigb deleted the add-claude-code-agent-workflow branch June 18, 2026 09:37
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