Jeremy McSpadden
|
b96255cf0c
|
test(ingest-docs): add structural tests and CHANGELOG entry
- tests/ingest-docs.test.cjs — 40 structural assertions guarding the
contract: command/workflow/agent/reference files exist; frontmatter
shape; --mode/--manifest/--resolve/path parsing; path traversal
guard; 50-doc cap; auto mode-detect via planning_exists; directory
conventions for ADR/PRD/SPEC; parallel classifier + synthesizer
spawns; BLOCKER/WARNING/INFO severity and the no-write safety gate;
gsd-roadmapper routing; --resolve interactive reserved-for-future;
INGEST-CONFLICTS.md writing. Classifier covers 5 types, JSON schema,
Accepted-only locking. Synthesizer covers precedence ordering,
LOCKED-vs-LOCKED block in both modes, three-bucket report, cycle
detection, variant preservation, SYNTHESIS.md entry point. Plus a
regression guard that /gsd-import still consumes the shared
doc-conflict-engine reference (refactor drift check).
- CHANGELOG.md — Unreleased "Added" entry for /gsd-ingest-docs (#2387).
Full suite: 4151/4151 passing.
Refs #2387
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-17 17:12:34 -05:00 |
|