Skip to content

v5.6.0 — AHA hygiene

Choose a tag to compare

@ndisisnd ndisisnd released this 02 Aug 06:54
ebba260

Your project's learnings log (devkit/AHA.md) now stays short enough to actually help. Every agent that records a lesson is held to a terse two-to-three-line format — the shared writer script simply refuses anything longer — and a new /msg --aha mode sweeps the log on demand: it merges repeats, prunes entries that no longer earn their lines, and flags lessons that keep recurring as things to fix at the source (a workflow change, a note in your project memory, or a real code fix). Agents reading the log now carry only the handful of entries relevant to their assigned work, so past lessons inform new work without crowding it out.

✨ New

  • /msg --aha — sweeps devkit/AHA.md, shows a per-entry triage table (keep / merge / prune / promote), and after one confirmation rewrites the ledger in compact form. Like --doctor, it never fixes anything itself: promotions are handed to you as briefs.
  • script-aha.sh --list — a deterministic sweep of the ledger with recurrence counts, so the triage never re-counts by hand.

🔧 Improved

  • Terse entries at the source: every writer (eng builds, plan-pm, plan-em, plan-review) goes through the shared writer, which now rejects any field over 140 characters — one clause per field, no narrative.
  • Targeted reads: orchestrated build agents receive at most 5 row-relevant AHA entries in their injected digest; direct runs scan for relevant entries instead of carrying the whole file.