Skip to content

v0.9.6 — Context-refresh fetch fix + richer Claude Code prompts

Choose a tag to compare

@TheLeePriest TheLeePriest released this 10 Jun 22:52
· 4 commits to main since this release

v0.9.6 — Context-refresh fetch fix + richer Claude Code prompts

Two fixes to the closed-loop Claude Code workflow. Strictly additive — no API or schema changes; the v0.9.3 security pass is intact.

Fixed

  • Context refresh now loads file contents. ↻ Refresh from repo was reporting "could not be fetched" for every file (CLAUDE.md, README, etc.) while only directory listings worked. The GitHub MCP returns a text file as a prefixed plain string rather than a { content } object, so normaliseResponse dropped it. It now parses the string (and strips the successfully downloaded text file (SHA: …) prefix) and stores the file body. (PR #19)

Improved

  • Self-contained Claude Code prompts. Each per-item "Generate Claude Code prompt" now includes the source link, the reason Foresights flagged the item, the "why it matters", and the integration suggestions — so the prompt is paste-and-go instead of making Claude Code rediscover the context.
  • Repo context is now references, not dumps. The prompt lists the tracked repo paths instead of inlining full file bodies. Claude Code auto-loads CLAUDE.md and reads files live, so this keeps prompts compact and avoids baking in stale file content. (Context refresh still captures file content internally — now only for the change-detection fingerprint.)

Verification

727 tests pass; tsc and targeted biome clean; the build reproduces the live aws-cdk-news dashboard byte-for-byte plus the fixes.