Skip to content

Phase 1B: Consolidate Schemas to .schemas/ #1292

Description

@ashleyshaw

Overview

Consolidate schema files from .github/schema/ to .schemas/ (hidden folder following awesome-copilot pattern).

Scope

Source: .github/schema/ (26 files)

  • 19 root schema files (.schema.json, .v2.json, registry)
  • 2 example files (examples/ subdirectory)
  • 5 memory system schemas (memory/ subdirectory)

References: 35 script references across 11 files

  • 27 using schema/ paths (need updating)
  • 8 using .schemas paths (already expecting new location)

Target: .schemas/ (hidden folder at repo root)

Definition of Done

  • Verify all 26 source files in .github/schema/
  • Update hardcoded paths in scripts:
    • scripts/verify-wceu-readiness.js (7 refs, conflicting logic)
    • scripts/validation/validate-agent-frontmatter.js (2 refs)
    • scripts/validation/validate-frontmatter.js (1 ref)
  • Update npm scripts in package.json (2 glob patterns)
  • Move all files from .github/schema/ to .schemas/
  • Update workflow references (4 workflow files)
  • Update documentation references (150+ locations)
  • Run npm run validate:json:schemas — all pass
  • Verify CI/CD workflows pass
  • Delete old .github/schema/ directory
  • Update CHANGELOG with migration entry

Related Issues

Effort Estimate

4-5 hours (scripts + migrations + validation)

Notes

  • Conflicting logic: verify-wceu-readiness.js checks .schemas should NOT exist
  • Scripts already prepared: branding-unified.agent.js, coderabbit validators already expect .schemas/
  • Risk: Low (well-isolated, no circular dependencies)
  • Priority: Medium (can proceed in parallel with instructions migration)

Metadata

Metadata

Assignees

Type

Fields

Priority

None yet

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions