From 9e7a030895f9a4d05ea9288ced60f1791950ce8f Mon Sep 17 00:00:00 2001 From: bchanot Date: Thu, 12 Nov 2026 20:32:24 +0100 Subject: [PATCH] docs: recall idle 8 words and 2 picks, /prune-memory step D --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- USAGE.md | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2748397..df33367 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ Format follows [Keep a Changelog](https://keepachangelog.com/) and this project ## [Unreleased] +### Added +- **/prune-memory feedback step (D)**: reads this repo's `Noisy:` and `Promotion candidates:` lines from `~/.claude/memory-feedback/FEEDBACK.md` (written by `/memory-feedback`). A noisy entry gets an inline rewrite of its title and lesson sentence, narrowed to its concrete trigger, committed as `chore(memory): noisy-rewrite `. A promotion candidate gets a mechanism proposal (rule line, hook, guard, test); on accept, a `, promoted to ` status line is recorded (a closed entry stays closed) and the mechanism is built in a separate `/feat`. Rows already rewritten or promoted are dropped. Cutoffs stay in `lib/memory-feedback/thresholds.ts`. + +### Changed +- **memory recall**: a prompt after 30 minutes idle now needs 8 content words, up from 5 (a context's first prompt or a design/analysis prompt still needs 5), and the haiku rerank keeps at most 2 entries, down from 3. Measured on the first feedback gate: idle precision 44 %, third pick 35 %. + ## [3.0.0] — 2026-11-12 ### Added diff --git a/README.md b/README.md index bbb1b2b..c208214 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,7 @@ Limits: a main-loop switch re-reads cold the part of the context the target mode - Store: the plugin's `$.store`, keyed by project root: the 3 most recent sessions per project, 50 failures per session, 2 KiB per entry. Session keys (`p:`) are swept at 1 MiB; log keys (`l:`) hold about 28 KiB per project; both sit under the engine's 4 MiB cap for the whole store, and when the total nears it the oldest log key is evicted first (never the current project's). It survives `/clear`. The store is the plugin's JSON file under the Claude configuration directory (observed here as `~/.claude/plugins/store/memory_skills-dir-.json`, an engine layout, not fixed by this repo); delete it to wipe the captures. - Note: one context line, `memory: