Skip to content

fix: improve extract fact scoring for dev tool outputs#3

Merged
pszymkowiak merged 1 commit intomainfrom
fix/extract-dev-signals
Mar 6, 2026
Merged

fix: improve extract fact scoring for dev tool outputs#3
pszymkowiak merged 1 commit intomainfrom
fix/extract-dev-signals

Conversation

@pszymkowiak
Copy link
Copy Markdown
Contributor

Summary

  • Add dev tool signal keywords to extract_facts for better capture from Claude Code hook outputs
  • New keyword categories: bug fixes, config changes, errors, versions, infrastructure, file paths
  • Add 3 unit tests for the new signal categories

Context

The PostToolUse hook fires icm extract on tool outputs, but the keyword scoring was too selective for dev tool content (error messages, config changes, bug fix descriptions). This fix adds scoring for common dev patterns.

Test plan

  • cargo test -p icm-cli — 11 tests pass
  • Verify in live session that hook captures dev facts

🤖 Generated with Claude Code

Add keyword categories for bug fixes, config changes, errors, versions,
infrastructure, and file paths so the PostToolUse hook captures more
relevant facts from Claude Code sessions.
@pszymkowiak pszymkowiak merged commit 037dfc4 into main Mar 6, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant