Files
ECC/scripts/ci
lege962 2a42ce1889 feat: add OpenSpec validators foundation (v1 schema, file-level freshness)
Standalone read-only tooling for OpenSpec specs — no CI gating in this PR.

- validate-openspec-syntax.js: documented metadata allowlist + typo guard,
  ordinary comments allowed, per-block delta validation (every declared
  ADDED/MODIFIED/REMOVED block must be non-empty), repo-relative path::symbol
  anchors that reject traversal; YAML frontmatter optional.
- check-spec-freshness.js: file-level freshness. Git invoked only via
  execFileSync argv arrays (hostile filename/date fixtures prove no shell
  escape); project root and targets resolved via realpaths and contained
  (symlinked root / escaping target rejected); shallow clones report
  UNVERIFIED, never ORPHANED/STALE; ECC_SPEC_STALE_WARN_ONLY implemented.
- Real git-backed test fixtures (27 + 23 tests).
- Register existing spec-miner agent in install-components.json.
2026-09-06 00:09:04 +08:00
..