- February 2026
The itch
I catch myself pasting the same four paragraphs of project context into a fresh Claude Code session for the third time in a week. Claude Code has skills for exactly this. I had not written one, because writing one means noticing the pattern, and I was too busy repeating it to notice it.
- March 2026
Scoping, and one deliberate cut
Wrote the spec before the code. Mine human-typed messages only — no assistant turns, no tool_use sequences. Narrower, but it makes the whole thing tractable, and everything I actually wanted was in what I typed. The wider version is still sitting in the README as a v2 idea, unbuilt on purpose.
- April 2026
Phase 1 — the parser that ate the month
The transcript format is undocumented and drifts between Claude Code versions. Real data turned up six line types, and most lines aren't human messages: tool results, sidechains, meta lines, slash-command noise. I rewrote the extractor three times. The rule that stuck: never raise, always count. Every drop has a named reason and distill scan prints the tally.
- May 2026
Phase 2 — embeddings, cache, and clusters
MiniLM embeddings behind a per-text-hash cache, then HDBSCAN over the vectors. Repetition weighting went in here too: one point per message per distinct session, so cross-session habits outweigh a single frantic afternoon. First real run on my own history produced clusters that were recognisably my own bad habits, which was the moment it stopped being a toy.
- June 2026
The week it broke
The cleanest pattern in my history kept splitting into two clusters and I could not tune it away. Cause: text pasted verbatim across sessions expands to identical vectors, and a zero-distance blob is denser than any real neighbourhood, so HDBSCAN carves it out on its own — divorced from its own paraphrases. Not a parameter problem, a geometry problem. Fixed with a session-weighted centroid merge after labelling, plus a synthetic-vector test that reproduces the split exactly.
- July 2026
Phase 3 — synthesis, and refusing to trust it
One API call per cluster returning strict JSON. Then the unglamorous half: fence stripping, one retry on malformed JSON, a confidence floor, kebab-case name validation, frontmatter validation, a placeholder-text check, and a body-length cap. A bad response writes nothing and the run keeps going. The model drafts; the validator decides what reaches disk.
- July 2026
Polish and ship
Findings regenerated per run instead of appended across runs, --local-only hardened so the embedding-model download can't quietly reach the network, a model-aware cost estimate, CI on three Python versions, and this site.