Skip to content

fix: correct absolute /_core/ paths to relative (9 broken references) - #10

Open
Avicennasis wants to merge 1 commit into
RinDig:mainfrom
Avicennasis:fix/core-path-references
Open

fix: correct absolute /_core/ paths to relative (9 broken references)#10
Avicennasis wants to merge 1 commit into
RinDig:mainfrom
Avicennasis:fix/core-path-references

Conversation

@Avicennasis

Copy link
Copy Markdown

Every reference to _core/ inside workspace-builder is written with a leading slash, so it resolves to the filesystem root rather than the repo root.

$ ls /_core
ls: cannot access '/_core': No such file or directory

This is the one workspace where it bites hardest, because workspace-builder generates every other workspace:

  • stages/03-scaffolding cannot reach the three templates it scaffolds from
  • stages/05-validation cannot reach the CONVENTIONS.md it validates against

Scope

29 references across 6 files, not just the Inputs tables:

Location Correct prefix
stages/*/CONTEXT.md ../../../../_core/
CLAUDE.md ../../_core/
references/conventions-reference.md ../../../_core/

Why relative is the right form here

The other 83 path references in Inputs tables repo-wide are all relative, and _core/templates/stage-context-template.md writes these same paths without a leading slash. The /_core/ style is used by 9 refs, all confined to this one workspace.

Verification

All 29 rewritten references were resolved from each file's own directory: 29 resolve, 0 broken.

Note

references/conventions-reference.md line 3 is also touched by the rename PR. If both land, keep the relative path from this one and the ICM wording from that one. It is a one-line conflict.

Every reference to _core/ in workspace-builder was written with a leading
slash, so it resolves to the filesystem root rather than the repo root.
`ls /_core` does not exist on any machine.

This matters most in workspace-builder because it is the workspace that
generates every other workspace: stage 03-scaffolding cannot reach the
templates it scaffolds from, and stage 05-validation cannot reach the
CONVENTIONS.md it validates against.

29 references across 6 files, rewritten to the correct relative depth:

  stages/*/CONTEXT.md          -> ../../../../_core/
  CLAUDE.md                    -> ../../_core/
  references/conventions-*.md  -> ../../../_core/

This matches the rest of the repo: the other 83 path references in Inputs
tables are all relative, and _core/templates/stage-context-template.md
writes the same paths without a leading slash.

Verified by resolving all 29 rewritten references from each file's own
directory: 29 resolve, 0 broken.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant