claude-code - 💡(How to fix) Fix /insights: prescriptions need repo-grounding; one trust-eroding security false-positive

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

/insights — prescriptions need grounding; one trust-eroding false-positive pattern

The behavioural/narrative half of /insights is genuinely good — a fair mirror of how I work. The prescriptive half (suggestions, "features to try," "on the horizon," fun-ending) is unreliable in a consistent, structural way: it's generated from session transcripts in isolation, with no access to my repo's current state and no confidence calibration. Instances from one report:

  1. Recommended building skills I already have (/handoff, /review, a verdict taxonomy, a validation loop). It can't see .claude/skills/, so it reinvents existing infrastructure.
  2. A security false-positive, dramatized as fact. It identified the string CC_APPLY_LIVE_AUTHORISED as a "leaked secret auth token" and built a headline + a CLAUDE.md rule + a pre-commit hook + a roadmap item on it. It's actually a documented safety-tripwire flag name, correctly present in 7+ files; the proposed grep hook would block every legitimate commit touching them. Telling a user they leaked a secret when they didn't erodes trust fast — this should never surface as an established-fact "fun ending" without a verification pass.
  3. Confabulated a specific figure ("500-token output max") that doesn't exist.
  4. Inverted a causal chain (called my transcription fallback "Whisper→yt-dlp"; it's the reverse).
  5. Proposed bash/grep hooks on a Windows/PowerShell environment obvious from the transcripts.

Fixes: (a) ground prescriptions against the repo's control surfaces before suggesting users build what exists; (b) attach confidence + an explicit "verify against your setup" marker to every recommendation; (c) gate security/leak claims behind a semantic check, and never dramatize an unverified one.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix /insights: prescriptions need repo-grounding; one trust-eroding security false-positive