diff --git a/hooks/config-protection.sh b/hooks/config-protection.sh index 07f96ff..9d54f0a 100755 --- a/hooks/config-protection.sh +++ b/hooks/config-protection.sh @@ -14,7 +14,7 @@ # One-shot escape hatch: create .claude/.config-edit-ok (CWD-relative) with a # NON-EMPTY reason inside; the hook logs the reason, consumes (rm) the sentinel, # and allows that single edit. It never persists — a lingering sentinel would be -# a footgun. Discipline, per CLAUDE.md "Root causes only. No temp fixes.": fix +# a footgun. Discipline, per CLAUDE.global.md "Root causes only. No temp fixes.": fix # the code, don't loosen the gate. Fails OPEN (exit 0) on parse failure so it can # never wedge editing. @@ -58,7 +58,7 @@ cat >&2 <'*) exit 0 ;; esac @@ -54,7 +54,7 @@ if printf '%s' "$lc" | grep -Eq "$pattern"; then "$(printf '%s' "$lc" | grep -oiE "$pattern" | head -1 || true)" \ "$(printf '%s' "$prompt" | tr '\n\t' ' ' | cut -c1-100)" >> "$logf" 2>/dev/null || true cat <<'EOF' -Design work detected → apply CLAUDE.md section "Design work — full toolchain" (already in context). Trivial (≤2 files, cosmetic) → /hotfix. +Design work detected → apply global CLAUDE.md section "Design work — full toolchain" (already in context). Trivial (≤2 files, cosmetic) → /hotfix. EOF fi diff --git a/install-plugins.sh b/install-plugins.sh index f971e8d..a8525f7 100644 --- a/install-plugins.sh +++ b/install-plugins.sh @@ -576,7 +576,7 @@ echo "" # subscription plan its ~75% output-token compression has no cost benefit, # and the plugin's always-on SessionStart/UserPromptSubmit hooks added # friction on validation gates and client deliverables. The unrelated -# memory-registry terse-format convention (CLAUDE.md) is kept. +# memory-registry terse-format convention (CLAUDE.global.md) is kept. # ============================================================ # STEP 6 — CONTEXT7 CLI (ctx7)