fix: insight mode claim extraction instructions in CLAUDE.md (v3)#103
Open
terpjwu1 wants to merge 2 commits into
Open
fix: insight mode claim extraction instructions in CLAUDE.md (v3)#103terpjwu1 wants to merge 2 commits into
terpjwu1 wants to merge 2 commits into
Conversation
…ction (v3) The v2 prompt injection only told hosts to pass a summary on buddy_observe. Insight mode requires claims/edges/cwd but the extraction instruction was only returned in the observer prompt response — which hosts don't reliably act on across turns. This caused "inert insight mode" where the feature was on but no claims were collected. v3 adds explicit instructions for passing claims/edges/cwd when insight mode is on. The installer upgrade logic strips old v2 blocks and replaces them. Doctor sentinel updated to recognize both v2 and v3 as current. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- install.sh: add safety guard to verify closing marker exists before sed range delete; falls back to single-line removal if malformed - install.ps1: tighten regex closing pattern from [^>]* to v\d+\s* Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
claims,edges, andcwdon everybuddy_observecallProblem
Insight mode was "inert" — on but collecting zero claims — because the CLAUDE.md injection only told hosts to pass a summary. The extraction instruction was buried in the observer prompt response which hosts don't reliably act on across turns.
Test plan
npm test— 727 tests pass🤖 Generated with Claude Code