Skip to content

Commit a89671e

Browse files
committed
chore: sync SKILL.md docs to canonical
Pulls in the SKILL.md doc update that mentions segments.mts as the canonical stage/sibling vocabulary.
1 parent 94b1834 commit a89671e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.claude/skills/path-guard/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ The strategy lives in three artifacts that ship together:
2424
2. **Hook**`.claude/hooks/path-guard/index.mts` runs `PreToolUse` on `Edit`/`Write` of `.mts`/`.cts` files. Blocks new violations at edit time. Mandatory across the fleet.
2525
3. **Gate**`scripts/check-paths.mts` runs in `pnpm check` (and CI). Whole-repo scan. Fails the build on any unsanctioned violation.
2626

27+
The hook and gate share their stage / build-root / mode / sibling-package vocabulary via `.claude/hooks/path-guard/segments.mts` — a single canonical source. Adding a new stage segment or fleet package means editing one file; the two consumers can never drift on what counts as a build-output path.
28+
2729
This skill is the *audit-and-fix workflow* that makes a repo conform initially and validates conformance over time.
2830

2931
## Detection rules

0 commit comments

Comments
 (0)