diff --git a/.claude/memory/journal.md b/.claude/memory/journal.md index 7554916..0160957 100644 --- a/.claude/memory/journal.md +++ b/.claude/memory/journal.md @@ -807,3 +807,4 @@ rules: ## 2026-11-23 - prompt-audit Opus 5.5: always-on ~14k tok (doctor), 5 small edits CLAUDE.global merged 38be889; olmind not found; slim gitflow/memory text = BDR-125 candidate. +- advisor trigger before root-cause diagnosis / user-run commands (7b63507). Measured: unserved advisor blocks beside tool_use all re-served next msg, no lost calls; lever dropped. diff --git a/.claude/tasks/contracts/2026-11-23-advisor-diagnosis-trigger-1335.md b/.claude/tasks/contracts/2026-11-23-advisor-diagnosis-trigger-1335.md new file mode 100644 index 0000000..159b7d5 --- /dev/null +++ b/.claude/tasks/contracts/2026-11-23-advisor-diagnosis-trigger-1335.md @@ -0,0 +1,19 @@ +# CONTRACT โ€” advisor diagnosis trigger (hotfix weight) + +## REQUEST (verbatim) +User 2026-11-23: "A" โ€” add lever 3 only: out-of-skill main-loop advisor +trigger "before handing the user a root-cause diagnosis or commands to run +on their machine", in CLAUDE.global.md ยง Workflow advisor bullet. + +## ACCEPTANCE CRITERIA +1. The advisor bullet's parenthesized trigger list ends with "before handing + the user a root-cause diagnosis or commands to run on their machine". + CHECK: cd /home/bchanot/Documents/claude && tr '\n' ' ' < CLAUDE.global.md | tr -s ' ' | grep -c 'public interface, before handing the user a root-cause diagnosis or commands to run on their machine) โ†’ the main loop calls the advisor tool' + EXPECT: 1 +2. CLAUDE.global.md stays within the 320-line budget. + CHECK: wc -l < /home/bchanot/Documents/claude/CLAUDE.global.md + EXPECT: 320 +3. Nothing else in the file changes; build/tests green (`make test`). + +## FILE SCOPE +- CLAUDE.global.md (lines 81-86 only)