Skip to content

docs: remove dangling L0/L1/L2 tier references - #191

Open
nwaughachukwuma wants to merge 3 commits into
mainfrom
claude/remove-l0-l1-l2-refs-hjyecr
Open

docs: remove dangling L0/L1/L2 tier references#191
nwaughachukwuma wants to merge 3 commits into
mainfrom
claude/remove-l0-l1-l2-refs-hjyecr

Conversation

@nwaughachukwuma

Copy link
Copy Markdown
Collaborator

Summary

The old l0/l1/l2 processing modes were replaced by --mode fast|accurate (with mm peek covering the former metadata tier), but stale references survived the transition. This PR reconciles the last mile of that rename — no behavior changes, only docs, comments, labels, and test fixture IDs.

Changes

  • "L2 cache key" → "extraction cache key" in README.md, docs/user-guide.md, docs/pipelines.md, and .claude/skills/mm-skill/SKILL.md (including the --no-cache flag description). The cache is keyed on content hash + mode + merged model/extra_body and serves both fast and accurate modes, so the mode-neutral name is used.
  • AGENTS.mdcache.py was annotated as "L2 result cache"; the module is actually file-fingerprint memoization (mtime/size-keyed LRU, in-memory + disk) for expensive helpers like Whisper and scene detection. The tree comment now says so. (CLAUDE.md symlinks to AGENTS.md.)
  • Benchmark scripts (bench_cli.sh, bench_cli_mini.sh, bench_cli_tiny.sh) — "L0:" section labels now read "metadata:" to match current tier naming; "(L1 text)" became "(fast text)".
  • benchmarks/bench_modes.py — "via mm L1" docstrings now read "via mm cat (fast mode)".
  • tests/python/test_cli.pyl2-* fixture extraction IDs renamed to acc-* (they all seed mode='accurate' rows).

Deliberately kept

python/mm/store/db.py mentions "Distance metric is L2 (Euclidean)" — that's the mathematical L2 norm used by sqlite-vec, not the old processing tier, so it's untouched.

Verification

  • Full-repo case-insensitive sweep for l0/l1/l2 token variants returns nothing except the Euclidean mention.
  • bash -n passes on the three edited shell scripts.
  • tests/python/test_cli.py: 80 passed, 4 skipped.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Cg3KtFq2ZWMck79bq6YvBV


Generated by Claude Code

The old l0/l1/l2 processing modes were replaced by --mode fast|accurate
(with 'mm peek' covering the former metadata tier), but stale references
survived the transition:

- README, docs/user-guide, docs/pipelines, mm-skill: 'L2 cache key' ->
  'extraction cache key' (the cache keyed on content hash + mode +
  merged model/extra_body)
- AGENTS.md: cache.py is file-fingerprint memoization, not an 'L2
  result cache'
- benchmarks/bench_cli*.sh: 'L0' section labels -> 'metadata',
  '(L1 text)' -> '(fast text)'
- benchmarks/bench_modes.py: 'via mm L1' docstrings -> 'via mm cat
  (fast mode)'
- tests/test_cli.py: 'l2-*' fixture extraction IDs -> 'acc-*'

The 'L2 (Euclidean)' mention in store/db.py is the distance norm, not
the old tier, and is left untouched.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cg3KtFq2ZWMck79bq6YvBV
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

CI installs the dev extras with an unpinned 'ruff>=0.4', which now
resolves to ruff 0.16.1 — its new/promoted rules flag 298 pre-existing
errors and fail the test-python job. Pin to 0.15.4 (same fix as #181)
so lint results are reproducible.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cg3KtFq2ZWMck79bq6YvBV
The lock already resolved ruff to 0.15.4; only the recorded specifier
needed updating to match pyproject.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cg3KtFq2ZWMck79bq6YvBV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants