Skip to content

docs(readme): lead 'What it does' with the v3.0 four-lane retrieval stack - #729

Merged
github-actions[bot] merged 3 commits into
mainfrom
docs/readme-retrieval-lanes
May 13, 2026
Merged

docs(readme): lead 'What it does' with the v3.0 four-lane retrieval stack#729
github-actions[bot] merged 3 commits into
mainfrom
docs/readme-retrieval-lanes

Conversation

@robotrocketscience

@robotrocketscience robotrocketscience commented May 13, 2026

Copy link
Copy Markdown
Owner

Summary

Why a follow-up instead of inline in #728

PR #728 wanted to do this rewrite but the introductory sentence contained "Claude Code" and git's line-level diff put it on a + line whenever the in-line text was edited. The pre-push discretion grep blocks + lines containing that phrase. Workarounds tried in #728:

  1. Reword the sentence to drop "Claude Code" — overstepped the v3.0 scope at the time.
  2. Add a parenthetical apology paragraph leaving the L0/L1 code block intact — what shipped.

Now that v3.0 is cut, this PR takes option 1: the lead sentence becomes "When you submit a prompt, aelfrice's UserPromptSubmit hook fires before the model sees your message." — "Claude Code" is still mentioned in five other places in the README, just not on this one line.

Test plan

  • Diff verified — no + lines contain banned vocabulary.
  • Local pre-push hook clears.
  • wc -l README.md delta is +2 (one new lane line × 2 lanes, minus one apology paragraph that collapsed to a one-liner; net +2).

Summary by CodeRabbit

  • Documentation
    • Updated retrieval docs to describe the v3 default four-lane retrieval pipeline and how locked beliefs, lane budgets, and overflow resolution work.
    • Documented default token budget (2,400) and v3 default ranking-stack behavior (stack-r1-r3).
    • Added benchmark and latency notes and linked ARCHITECTURE for details.
    • Removed the “no fuzzy semantic recall” tradeoff line.

Review Change Stack

The v3.0 release-prep PR (b3022b2) parked the four-lane reality behind
an apology paragraph because the pre-push discretion grep flagged any
rewrite of the introductory sentence (it contains 'Claude Code' and
git's line-level diff put the unchanged phrase on a '+' line under a
within-line edit).

Now that v3.0 is shipped I can rewrite cleanly: drop 'in Claude Code'
from the lead sentence (the same phrase still appears elsewhere in the
README; it doesn't need to live on this one line), flip 'two-layer
search' to 'four retrieval lanes in parallel and merges the result',
expand the code block to L0/L1/L2/L2.5 with concrete lane descriptions
(BM25 + posterior-weighted rerank, typed-edge BFS over named edge
types, Plate-FFT structural bind/probe), and replace the apology
paragraph with a one-liner that names the trim policy, the 2,400-token
default budget, and the #718 stack-r1-r3 default flip with its bench
numbers (+0.2851 NDCG@k absolute / +94.8% / p99 4.5 ms).

ARCHITECTURE § Retrieval cross-link preserved.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @robotrocketscience, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai

coderabbitai Bot commented May 13, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 0baedeab-0566-4e87-868e-bf6084238eb5

📥 Commits

Reviewing files that changed from the base of the PR and between f26c7e2 and bc11469.

📒 Files selected for processing (1)
  • README.md

📝 Walkthrough

Walkthrough

This PR updates README documentation to replace the prior two-layer retrieval description with the v3.0 default four-lane pipeline (L0 locked beliefs; L1 FTS5 BM25; L2 typed-edge graph walk; L2.5 structural HRR), documents budget-trimming and locked-belief overflow behavior, default 2,400-token budget, and stack-r1-r3 ranking-stack, plus benchmarks and an ARCHITECTURE link.

Changes

Retrieval Pipeline Documentation Update

Layer / File(s) Summary
v3.0 four-lane retrieval pipeline documentation
README.md
"When you submit a prompt…" section rewritten to describe the four-lane default retrieval stack: L0 locked beliefs always included, L1 FTS5 BM25, L2 typed-edge graph walk, L2.5 structural HRR; budget trimming and locked-belief precedence; default 2,400-token budget; default ranking stack stack-r1-r3; updated benchmark/latency claims; pointer to ARCHITECTURE § Retrieval. Also removed a standalone "no fuzzy semantic recall" line in the Day-to-day surface transition.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

docs, attn:review

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: rewriting the README's 'What it does' section to lead with the v3.0 four-lane retrieval stack.
Description check ✅ Passed The description includes a clear summary of changes, rationale for the follow-up, test plan, and verification steps; all key template sections are substantially covered.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/readme-retrieval-lanes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the docs label May 13, 2026
Two problems with the line as written:

1. It assumes the reader's default is a vector DB and frames aelfrice
   as giving something up in exchange. 'What you get for free' is the
   value-prop section; a one-line antifeature in the middle of it
   interrupts the pitch and answers a question new readers haven't
   asked yet.
2. It overstates the gap. The v1.7 HRR structural-query lane (default-
   on as of v2.1, #154) closed the vocabulary-gap-recovery case that
   embedding pitches usually rest on -- the #433 vocabulary-bridge
   campaign reframed 'vocabulary bridge' as 'typed-edge structural
   retrieval' and closed wontfix on that basis. 'No fuzzy semantic
   recall' is true at the embedding level but misleading at the
   capability level.

The full nuance (free-form paraphrase / synonymy lives in the consuming
agent per the v3.0 #605 ratification; embedding systems still beat
aelfrice on multi-session aggregation) lives in PHILOSOPHY § Determinism
and LIMITATIONS § No semantic similarity. Both are linked one section
down in the README. The compressed one-liner here is noise, not signal.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.md`:
- Around line 60-65: The unlabeled fenced code block containing the lines
starting with "L0: locked beliefs" (the four-line pseudo-format block) triggers
markdownlint MD040; add a language tag by changing the opening fence from ``` to
```text and keep the closing fence unchanged so the block becomes a text-fenced
code block (ensure the exact snippet with "L0: locked beliefs", "L1: FTS5
keyword", "L2: graph walk", "L2.5: structural HRR" is wrapped by ```text ...
```).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9e700879-8a37-4145-826b-9a8114f294ff

📥 Commits

Reviewing files that changed from the base of the PR and between b3022b2 and a0cde84.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md Outdated
@robotrocketscience robotrocketscience added the ready-to-merge Trigger merge-train: FF main to this PR's head label May 13, 2026
@github-actions

Copy link
Copy Markdown

merge-train: blocked

1 review thread(s) are unresolved on these files: README.md. Resolve them on the PR (click 'Resolve conversation' on each) and re-add the label.

The ready-to-merge label has been removed. Address the issue above and re-add the label when you're ready for another attempt.

@github-actions github-actions Bot removed the ready-to-merge Trigger merge-train: FF main to this PR's head label May 13, 2026
CodeRabbit flagged the new fenced block on PR #729 line 60 as missing a
language tag (markdownlint MD040). The block carries pseudo-format
output (lane name + arrow + description), so `text` is the right tag.

Closes the unresolved review thread blocking merge-train per the #721
conversation-resolution pre-check.
@robotrocketscience robotrocketscience added the ready-to-merge Trigger merge-train: FF main to this PR's head label May 13, 2026
@github-actions github-actions Bot removed the ready-to-merge Trigger merge-train: FF main to this PR's head label May 13, 2026
@github-actions
github-actions Bot merged commit bc11469 into main May 13, 2026
19 of 20 checks passed
@github-actions

Copy link
Copy Markdown

merge-train: merged bc11469main via FF push.

1 similar comment
@github-actions

Copy link
Copy Markdown

merge-train: merged bc11469main via FF push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant