Overview
Execute all file migrations and cross-reference updates based on completed audits from Phase 1. This is the core execution phase.
Scope
4 migration streams (can run in parallel):
-
Instructions Migration
- Move portable files from
.github/instructions/ → root instructions/
- Keep repo-local files in
.github/instructions/
- Update 502+ references
- Archive migration:
.github/instructions/.archive/ → instructions/.archive/
-
Schema Consolidation
- Move files from
.github/schema/ → .schemas/
- Update 35 script references
- Update 150+ documentation references
- Update package.json glob patterns
-
Agents Reorganization
- Move spec-based agents from root
agents/ → .github/agents/
- Move multi-file agents from
.github/agents/ → root agents/
- Update 3,751+ file references
- Update memory profile system
- Update plugin integrations
-
Reports Placement
- Move audit files from root →
.github/reports/audits/
- Update reference locations
Definition of Done
Execution Strategy
Recommended order:
- Reports placement (quick, non-blocking)
- Instructions migration (parallel with schemas)
- Schema consolidation (parallel with instructions)
- Agents reorganization (sequential, largest scope)
Safety measures:
- Commit after each major file move
- Git history preserved for rollback
- Automated reference updates with verification
Related Issues
Effort Estimate
8-10 hours (parallel execution reduces wall-clock time)
Notes
- Complexity: High (4 parallel streams, 3,000+ file updates)
- Risk: Medium (well-audited, but high volume)
- Coordination: Use branching strategy to prevent conflicts
- Testing: Automated reference validation before commit
Overview
Execute all file migrations and cross-reference updates based on completed audits from Phase 1. This is the core execution phase.
Scope
4 migration streams (can run in parallel):
Instructions Migration
.github/instructions/→ rootinstructions/.github/instructions/.github/instructions/.archive/→instructions/.archive/Schema Consolidation
.github/schema/→.schemas/Agents Reorganization
agents/→.github/agents/.github/agents/→ rootagents/Reports Placement
.github/reports/audits/Definition of Done
.github/instructions/.schemas/.github/reports/audits/Execution Strategy
Recommended order:
Safety measures:
Related Issues
Effort Estimate
8-10 hours (parallel execution reduces wall-clock time)
Notes