forked from bchanot/claude
chore(citers): rules/README and doctor point at .claude/rules after the split
This commit is contained in:
1 parent
433c10d78f
commit
b4131666af
2 files changed
+3
-2
No files matched your search
@@ -73,7 +73,7 @@ check_symlink() {
|
||||
check_symlink "CLAUDE.md"
|
||||
# check_symlink only asserts the canonical path lands inside $REPO — after a
|
||||
# `git pull` without `link.sh`, ~/.claude/CLAUDE.md can still resolve inside
|
||||
# $REPO but at the wrong file (the 29-line project CLAUDE.md instead of
|
||||
# $REPO but at the wrong file (the project CLAUDE.md instead of
|
||||
# CLAUDE.global.md), passing green while the global doctrine is silently gone.
|
||||
_claude_md_target=$(readlink "$HOME/.claude/CLAUDE.md" 2>/dev/null || true)
|
||||
if [ "$_claude_md_target" != "$REPO/CLAUDE.global.md" ]; then
|
||||
|
||||
+2
-1
@@ -6,4 +6,5 @@ paths: ["rules/**"]
|
||||
|
||||
User-scope rules, deployed to `~/.claude/rules` by `link.sh`.
|
||||
Maintenance doctrine (what belongs here, lazy-load `paths:` semantics,
|
||||
machine-owned files): see `CLAUDE.md` (project scope) at the repo root.
|
||||
machine-owned files): see `.claude/rules/rules-maintenance.md` in the
|
||||
claude-config repo (project scope, loads on Read under `rules/`).
|
||||
Reference in new issue
Block a user