f7e539440e
feat(tooling): rewrite merge_spec.py — batch spec merging + new package support
...
Rewrite merge_spec.py to merge one or many feature spec packages into a
single review file.
Batch modes:
- single number: python merge_spec.py 038
- inclusive range: python merge_spec.py 036-041
- explicit list: python merge_spec.py 036 038 044
- by dir name: python merge_spec.py 042-dashboard-scenario-registry
- all: python merge_spec.py all
- custom output: python merge_spec.py 036-041 -o out.md
Handles the new spec package structure that plain *.md merging missed:
- includes contracts/openapi.yaml (YAML), contracts/ux/* (decisions.md),
prototype/index.html + prototype/manifest.md
- skips .json/.py/.zip/.pyc and __pycache__ (fixtures/code/binaries)
- canonical per-feature order: spec -> ux_reference -> checklists ->
UX contracts -> plan -> research -> data-model -> modules -> openapi ->
quickstart -> traceability -> tasks -> prototype
- missing numbers warn+skip; dedup; per-feature grouping in one output
Verified: 043 (14 files), 036-041 (6 features/104 files), 036-047 (12/186),
all (50/572) with no .json/.zip/.pyc leakage.
2026-08-09 11:06:36 +07:00
root
632b730fff
chore: migrate GRACE-Poly anchors to hierarchical dotted naming
...
Systematic rename of all semantic anchors (#region, [DEF], @RELATION)
across 1400+ files — backend Python, frontend Svelte/TS, specs, docs:
- Flat anchors become Namespace.Module.Entity
- @RELATION references updated to match new anchor paths
- Zero business logic changes
2026-07-22 11:48:15 +03:00