fix(openspec): retarget @spec tags of archived changes to canonical spec paths#12
Merged
Merged
Conversation
…pec paths Archiving moves openspec/changes/<slug>/specs/... into openspec/changes/archive/<date>-<slug>/..., so every @SPEC tag pointing at a change dir becomes an unresolved gate-46 anchor. Retargets all 88 occurrences for live-data-tile-widget, conditional-visibility-editor and clock-weather-widgets to their canonical openspec/specs/<capability>/spec.md. Fragments preserved verbatim. gate-46: 513 -> 427 unresolved anchors. gate-16 stays PASS; 268 frontend tests green; php -l clean on all touched files.
rubenvdlinde
requested review from
SudoThijn,
WilcoLouwerse,
bbrands02,
remko48 and
rjzondervan
as code owners
July 23, 2026 23:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Repairs 88 broken
@specreferences introduced by this session's archive steps.The problem
openspec archivemovesopenspec/changes/<slug>/specs/…intoopenspec/changes/archive/<date>-<slug>/…. Any@spectag pointing at the change directory therefore becomes an unresolved anchor the moment its change is archived. Gate-46 (spec-anchor-existence) flags them.The fix
All 88 occurrences across 17 files retargeted to the canonical
openspec/specs/<capability>/spec.md, forlive-data-tile-widget,conditional-visibility-editorandclock-weather-widgets.#fragmentsuffixes preserved verbatim — only the path before.mdchanged. Diff is exactly 88 insertions / 88 deletions, all text substitutions in docblocks; no logic touched.gate-46: 513 → 427 unresolved anchors. gate-16 stays PASS, 268 frontend tests green,
php -lclean on all 8 touched PHP files.Follow-up (not in this PR)
The same rot exists in long-standing legacy debt — ~253 more occurrences across ~60 files, from changes archived in earlier waves. Seven of those slugs have an obvious canonical target and could be fixed the same mechanical way (
dashboard-public-share57,dashboard-acknowledgements40,dashboard-kiosk-mode34,role-based-content24,dashboard-quota-limits13,nc-dashboard-widget-proxy6,adopt-apphost4); the rest reference onlytasks.mdwith no single canonical file. Filed separately rather than expanding this PR.Rule for future waves: annotate
@spec openspec/specs/<capability>/spec.md, never a change dir.