Loop 2 layer 2: one-shot Python script for substring frequency from session JSONL #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-20T12:01:04Z - https://github.com/coilysiren/voice-flow-learning-loop/issues/6
Context
Layer 2 of the 8-layer build path for Loop 2 documented in README.md. Automates the manual eyeball pass from layer 1.
Goal
A one-shot Python script (stdlib only, no deps) that:
~/.claude/projects/*/).Substring extraction strategy can be naive at this layer — overlapping n-grams above a length threshold, then dedupe contained substrings. Better strategies land in layer 6.
Done when
scripts/find-snippet-candidates.py(or similar location in this repo).python scripts/find-snippet-candidates.pyproduces a sensible candidate list against current session JSONL.Depends on: layer 1 (value hypothesis confirmed). Unblocks: layer 3.