Overview
Reorganize agents to implement two-tier structure:
- Spec-based agents (simple YAML/JSON):
.github/agents/
- Multi-file agents (complex implementations): root
agents/
Scope
Current State: 35 agents (12,459 files) all in .github/agents/
- 19 spec-based agents (simple definitions)
- 16 multi-file agents (enterprise implementations)
Target State:
- Spec-based →
.github/agents/ (control-plane-specific)
- Multi-file → root
agents/ (installable, portable)
References: 3,751+ files reference agent paths
- Memory profiles: 19 files expect root agent paths
- Plugin integration: 10+ plugin files reference root paths
- Documentation: Governance files (CLAUDE.md, AGENTS.md, file-organisation.instructions.md)
Definition of Done
Related Issues
Effort Estimate
6-8 hours (audit + migrations + comprehensive reference updates)
Notes
- Highest complexity: 12,459 files involved, 3,751+ references
- Memory system integration: Must validate after migration
- Plugin ecosystem: Must maintain backward compatibility
- Risk: Medium (large scope, but well-understood dependencies)
- Priority: High (foundational for portable agent distribution)
- Timeline: Can proceed after instructions/schemas (sequential recommended)
Overview
Reorganize agents to implement two-tier structure:
.github/agents/agents/Scope
Current State: 35 agents (12,459 files) all in
.github/agents/Target State:
.github/agents/(control-plane-specific)agents/(installable, portable)References: 3,751+ files reference agent paths
Definition of Done
.github/agents/agents/Related Issues
Effort Estimate
6-8 hours (audit + migrations + comprehensive reference updates)
Notes