mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-23 00:05:27 +00:00
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.