Commit b6125c8
fix(ci): propose spec to the canonical registry path, not a flat orphan path
The propose-spec step wrote to specs/${SPEC_KEY}/${SPEC_KEY}-tech-spec.md.
The canonical path in the registry's MANIFEST.json includes the domain
directory: specs/dve-core/sirus/sirus-tech-spec.md. The flat
specs/sirus/ directory does not exist in the registry, so mkdir -p created
it and every proposal landed as a new orphan file instead of updating the
canonical spec.
Effect: the registry's canonical sirus spec has not been updated from this
repository since the 2026-06-16 consolidation pass. Every consuming repo's
fetch-specs CI gate has been served that stale copy.
Changes:
- Add SPEC_DOMAIN and build TARGET from it.
- Replace mkdir -p of the target directory with an existence check that fails
the job loudly if the canonical path is absent, rather than silently
creating a path the registry does not track.
The same defect is present in the other repos that call propose-spec; each is
fixed in its own PR.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U8mxZVHUrAa5NpUJruLzQm1 parent fa78b64 commit b6125c8
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
132 | | - | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
139 | 149 | | |
140 | | - | |
141 | 150 | | |
142 | 151 | | |
143 | 152 | | |
| |||
0 commit comments