name: "Repository Structure: Schema Consolidation Migration"
labels:
- type:task
- status:needs-more-info
- priority:medium
- component:repo-structure
- area:documentation
assignees: []
Overview
Consolidate schema files from current location (.github/schema/) to unified hidden folder (.github/.schemas/) following awesome-copilot pattern. This requires updating 200+ references across scripts, workflows, and documentation.
Status: Ready for implementation (Extended audit complete)
Problem Statement
The repository has schema files in .github/schema/ (26 files) with:
- Inconsistent references across 200+ locations (scripts, workflows, docs)
- Hard-coded paths in 4 validation scripts that need updating
- Boundary marker duplication between
.github/.github/schemas/ and .github/.schemas/
- Unclear separation between portable schemas (12) and repo-local schemas (5)
The target consolidation location .github/.schemas/ is prepared but empty.
Definition of Ready (DoR)
Definition of Done (DoD)
Phase 1: Validation & Preparation
Phase 2: Documentation Updates
Phase 3: File Migration
Phase 4: Script & Configuration Updates
Phase 5: Validation & Cleanup
Quality Gates
Audit Findings Summary
Locations Involved:
- Source:
.github/schema/ (26 files - active, contains all production schemas)
- Target:
.github/.schemas/ (nested hidden folder - prepared, currently empty)
- Boundary:
.github/.github/schemas/ (repo-local marker - will remain)
File Inventory (26 total):
- 25 JSON schema files (12 portable, 5 repo-local, 8 supporting)
- 2 example files
- 5 memory system schemas
- 1 README.md
Reference Map (200+ total):
- 4 hardcoded script references (P1)
- 4 workflow file references (P1)
- 150+ documentation references (P2)
- 5 configuration file references (P2)
Risk Assessment: 🟢 Low Risk
- No circular dependencies
- Well-isolated schema system
- Can proceed independently
- Estimated effort: 6-8 hours
Implementation Plan
See detailed plan in:
projects/active/repository-maintenance-infrastructure/SCHEMA-CONSOLIDATION-MIGRATION-PLAN.md
Phases:
- Validation & Preparation (~1 hour)
- Documentation Updates (~2-3 hours)
- File Migration (~30 minutes)
- Script & Configuration Updates (~1-2 hours)
- Validation & Cleanup (~1 hour)
Related Issues & PRs
- Related: Wave 5 Documentation Audit (file organization alignment)
- Related: Repository Maintenance Infrastructure project
- Blocks: Any documentation or tooling relying on schema location clarity
- Blocked By: None
Child Issues (to be created)
Notes
- Use
.github/.schemas/ as canonical location (hidden folder, nested in .github/)
- Archive migration of
.github/instructions/ to root instructions/ is separate initiative
- Consolidate with agents restructuring (PR to follow for that initiative)
- Maintain boundary markers for clarity on portable vs. repo-local assets
Checklist for Reviewer
name: "Repository Structure: Schema Consolidation Migration"
labels:
assignees: []
Overview
Consolidate schema files from current location (
.github/schema/) to unified hidden folder (.github/.schemas/) following awesome-copilot pattern. This requires updating 200+ references across scripts, workflows, and documentation.Status: Ready for implementation (Extended audit complete)
Problem Statement
The repository has schema files in
.github/schema/(26 files) with:.github/.github/schemas/and.github/.schemas/The target consolidation location
.github/.schemas/is prepared but empty.Definition of Ready (DoR)
.github/.schemas/(nested hidden folder)refactor/repo-structure-schema-consolidationDefinition of Done (DoD)
Phase 1: Validation & Preparation
.github/.schemas/Phase 2: Documentation Updates
.github/schema/→.github/.schemas/Phase 3: File Migration
.github/schema/to.github/.schemas/.github/schema/schema-registry.jsonreferences in.github/.schemas/schema-registry.jsonPhase 4: Script & Configuration Updates
.github/scripts/agents/branding-unified.agent.js- Path references (2 locations).github/scripts/verify-wceu-readiness.js- Directory check logicpackage.json- Schema glob patterns fromschema/**→.schemas/**Phase 5: Validation & Cleanup
npm run validate:json:schemas- Verify schemas validate.github/schema/directory (after verification).github/.github/schemas/remains as repo-local boundary markerQuality Gates
.github/schema/location (except history)Audit Findings Summary
Locations Involved:
.github/schema/(26 files - active, contains all production schemas).github/.schemas/(nested hidden folder - prepared, currently empty).github/.github/schemas/(repo-local marker - will remain)File Inventory (26 total):
Reference Map (200+ total):
Risk Assessment: 🟢 Low Risk
Implementation Plan
See detailed plan in:
projects/active/repository-maintenance-infrastructure/SCHEMA-CONSOLIDATION-MIGRATION-PLAN.mdPhases:
Related Issues & PRs
Child Issues (to be created)
.github/.schemas/Notes
.github/.schemas/as canonical location (hidden folder, nested in .github/).github/instructions/to rootinstructions/is separate initiativeChecklist for Reviewer