Commit Graph

2 Commits

Author SHA1 Message Date
Boshu2 83ce8597b0 fix(flywheel): improve edit hook precision and archive reliability
Move edit-knowledge-surface hook from PostToolUse to PreToolUse so
learnings surface before the edit, not after. Fix false positives by
matching relative path first, falling back to filename only when no
path match. Fix archive script to use YYYY-MM-DD from filenames
instead of mtime, which gets reset by ao mine.
2026-03-21 00:06:55 -04:00
Boshu2 a550d43064 feat(flywheel): add edit knowledge hook and research archive script
Add PostToolUse:Edit hook that surfaces relevant learnings when editing
files mentioned in .agents/learnings/ (48ms, grep-based). Add
scripts/archive-research.sh to move stale research files to archive
and reduce search noise. Register hook in hooks.json with 3s timeout.
2026-03-20 23:58:52 -04:00