Proposal: Add compaction, verification, and retirement
1 KB - 元のファイルを表示
Why
Without upkeep the always-loaded index grows on every change, entries keep pointing at files that were renamed or deleted, and duplicates spread one lesson over several entries. The store must stay small, current, and auditable without a model rewriting its content.
What Changes
flywheel.py verify [--apply]: stale detection from backticked repo-relative paths, andlast_verifiedrefresh.flywheel.py dupes: near-duplicate active entries by token Jaccard similarity.- The
compact-memoryskill and theflywheel-curatoragent: fixed representative rules, merge byadd-sourceplusset-status superseded, contradictions and skill retirement with the user.
Out of scope: embeddings-based similarity (a later version), automatic scheduling.
Capabilities
New Capabilities
compaction: the compact, verify, and retire pass over memory and skills.
Modified Capabilities
Related knowledge
verify-ignores-bare-file-names(pitfall found while buildingverify).
Impact
Two CLI commands, one skill, one agent.