docs(hrr): CONFIG.md + COMMANDS.md + CHANGELOG bundle (#699, closes #553) - #714
Conversation
…699) Adds an *HRR persistence reporter* section covering the three doctor rows (persist_enabled, on_disk_bytes, last_build_seconds) and the status one-line summary shipped by PR #704. Doctor + status table entries cross-reference the new section. Covers the #553 acceptance criterion "docs/COMMANDS.md documents the three new doctor rows".
Marks nine of ten acceptance criteria as shipped, cross-referencing the sub-issue PRs (#693, #701, #703, #704). The cold-start ≤1s gate remains unchecked — the bench-gate test code shipped in PR #706, but capturing the actual numbers needs an operator run with AELFRICE_CORPUS_ROOT set (tracked on #697). Last acceptance item — CONFIG.md + COMMANDS.md documentation — is closed by this docs-bundle PR itself.
Adds the umbrella-closure bullet to v3.0.0 [Added] cross-referencing the five sub-issue PRs (#693, #701, #703, #704, #706) and the docs bundle (#699 itself). Per the issue body, this is the single summary entry tying the substrate together — the per-sub-issue detail bullets already in v3.0.0 stay intact so the granular implementation record isn't lost.
There was a problem hiding this comment.
Sorry @robotrocketscience, you have reached your weekly rate limit of 2500000 diff characters.
Please try again later or upgrade to continue using Sourcery
📝 WalkthroughWalkthroughThis PR documents the HRR persistence feature across three files: ChangesHRR Persistence Feature Documentation Bundle
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related issues
Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
PR-size soft capThis PR is over the advisory size threshold:
Bigger PRs collide with more open work, which under the parallel-session workflow tends to produce repeated This is advisory only — nothing is blocked. If the size is intentional (large refactor, module removal, generated code), apply the |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
docs/CONFIG.md (1)
334-336: ⚡ Quick winAdd language specifier to fenced code block.
The code block displaying the log message should specify a language for proper rendering.
📝 Proposed fix
-``` +```text aelfrice: HRR persistence disabled on ephemeral path <path>; set AELFRICE_HRR_PERSIST=1 to force.</details> <details> <summary>🤖 Prompt for AI Agents</summary>Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.In
@docs/CONFIG.mdaround lines 334 - 336, The fenced code block containing the
log sample "aelfrice: HRR persistence disabled on ephemeral path ; set
AELFRICE_HRR_PERSIST=1 to force." should include a language specifier for proper
rendering; update the triple-backtick fence that surrounds that exact line to
use a language token such as text (e.g., changetotext) so the snippet
is rendered correctly.</details> </blockquote></details> <details> <summary>docs/COMMANDS.md (1)</summary><blockquote> `83-86`: _⚡ Quick win_ **Add language specifier to fenced code block.** The code block displaying example output should specify a language for proper rendering. <details> <summary>📝 Proposed fix</summary> ```diff -``` +```text hrr.persist_state: on <N> bytes, last build <X>s hrr.persist_state: off (<reason>) ``` ``` </details> <details> <summary>🤖 Prompt for AI Agents</summary>Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.In
@docs/COMMANDS.mdaround lines 83 - 86, Update the fenced code block that
shows the hrr.persist_state output so it includes a language specifier (e.g.,
"text") after the openingto enable proper rendering; locate the block containing the lines "hrr.persist_state: on <N> bytes, last build <X>s" and "hrr.persist_state: off (<reason>)" and change the opening backticks totext.</details> </blockquote></details> </blockquote></details> <details> <summary>🤖 Prompt for all review comments with AI agents</summary>Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.Nitpick comments:
In@docs/COMMANDS.md:
- Around line 83-86: Update the fenced code block that shows the
hrr.persist_state output so it includes a language specifier (e.g., "text")
after the openingto enable proper rendering; locate the block containing the lines "hrr.persist_state: on <N> bytes, last build <X>s" and "hrr.persist_state: off (<reason>)" and change the opening backticks totext.In
@docs/CONFIG.md:
- Around line 334-336: The fenced code block containing the log sample
"aelfrice: HRR persistence disabled on ephemeral path ; set
AELFRICE_HRR_PERSIST=1 to force." should include a language specifier for proper
rendering; update the triple-backtick fence that surrounds that exact line to
use a language token such as text (e.g., changetotext) so the snippet
is rendered correctly.</details> --- <details> <summary>ℹ️ Review info</summary> <details> <summary>⚙️ Run configuration</summary> **Configuration used**: Path: .coderabbit.yaml **Review profile**: CHILL **Plan**: Pro **Run ID**: `e35e0d72-d128-4790-9557-ba3f78889973` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 093c1e48088f2a9262bfb6e8104c0553366c7d23 and 1417172e457635ab50eeaa3dec40b4ad92f366bb. </details> <details> <summary>⛔ Files ignored due to path filters (1)</summary> * `CHANGELOG.md` is excluded by `!**/CHANGELOG.md` </details> <details> <summary>📒 Files selected for processing (3)</summary> * `docs/COMMANDS.md` * `docs/CONFIG.md` * `docs/feature-hrr-integration.md` </details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
|
[claim:review:noether:2026-05-12T04:37:06Z] |
ReviewVerified against
One nit (non-blocking, can ship as-is or fix in a follow-up)The two acceptance bullets that just got flipped to
Implementation lives at ApproveDocs-only, all cross-references verified, umbrella close-out is accurate. Adding |
|
[release:review:noether:2026-05-12T04:39:35Z] |
|
merge-train: merged 1417172 → |
Bump pyproject version 2.1.0 → 3.0.0. uv.lock refreshed. Substrate landed across the v3.0 cut: - Wonder consolidation #542 (all sub-issues closed) - Wonder/reason agentmemory parity #645 - HRR persistence umbrella #553 (PR #714) - Type-aware compression #434 - Federation read-only mechanics #650 (scope #688, promote/demote #689, peer-aware reason #690, transport #655) - Phantom promotion #550 (PR #616), wonder dispatch #552 (PR #644) - v3.0 design decisions ratified: PHILOSOPHY #605, sentiment-hook #606, multimodel defer #607, federation read-only #661 - Eval-judge κ calibration #687 (judge-driven; bench captures deferred under attn:bench-needed) Bench-only items #152, #592, #697 remain `attn:bench-needed` and are ratified-deferred per the milestone-tracker DoD. Refs #608.
Closes #699.
Closes the #553 HRR persistence integration umbrella by landing the four-doc bundle held back from each code sub-issue.
What lands here
Four atomic commits, all docs-only — no production code change.
docs/CONFIG.md— adds the[retrieval] hrr_persistTOML key (defaulttrue) and theAELFRICE_HRR_PERSISTenv var override under the existing### use_hrr_structuralsection, plus a note in the top-of-file[retrieval]knobs summary. Documents the ephemeral-path auto-disable behaviour (/tmp/,/var/tmp/,/dev/shm/,/run/→falseunless overridden) and the resolution precedence (env > kwarg > TOML > default).docs/COMMANDS.md— adds a new## HRR persistence reportersection between Lifecycle and Help-flags, documenting the threeaelf doctorrows (persist_enabled/on_disk_bytes/last_build_seconds) and theaelf statushrr.persist_statesummary line. Doctor + status table cells gain a one-clause cross-reference pointing at the new section.docs/feature-hrr-integration.md— checks off nine of ten acceptance criteria with PR cross-references (feat(hrr): HRRStructIndexCache persist-aware load+save+mmap (#691) #693, feat(hrr): ephemeral-path auto-disable for HRR persistence (#695) #701, feat(config): [retrieval] hrr_persist TOML key (#698) #703, feat(doctor): HRR persist/build reporter rows (#696) #704). The cold-start ≤1s gate stays unchecked: the bench-gate test code shipped via PR test(hrr): cold-start bench gate at N=50k (#697) #706, but capturing the actual numbers needs an operator run withAELFRICE_CORPUS_ROOTset; that's tracked on test(hrr): cold-start bench gate at N=50k (#553 sub-task) #697 underattn:bench-needed.CHANGELOG.md— single umbrella-closure bullet at the top of v3.0.0 Added, cross-referencing the five sub-issue PRs (feat(hrr): HRRStructIndexCache persist-aware load+save+mmap (#691) #693, feat(hrr): ephemeral-path auto-disable for HRR persistence (#695) #701, feat(config): [retrieval] hrr_persist TOML key (#698) #703, feat(doctor): HRR persist/build reporter rows (#696) #704, test(hrr): cold-start bench gate at N=50k (#697) #706) and noting [v2.1] HRR integration: persistence default-ON + split-format migration + disk-cost opt-out #553 closes. The pre-existing per-sub-issue detail bullets in v3.0.0 stay intact so the granular implementation record isn't lost.Why a separate docs PR
Per the issue body, splitting docs from the code work kept each code PR small and avoided doc churn when a sub-issue changed shape mid-flight. With all four code sub-issues now merged on
github/main(#693, #701, #703, #704), the docs bundle is the umbrella's final piece.Out of scope
use_hrr_structuraldefault-flip — still gated on labelled-corpus evidence per [retrieval] Pipeline composition tracker — unified retrieve() with feature-flag gate #154.Test plan
pytest -q— passes (no code change;aelf-pr-open.shruns the suite as a gate).release-docs-check— should pass; bundle adds a v3.0.0 CHANGELOG entry referencing all five sub-issue PRs.github/main— clean.Summary by CodeRabbit
statuscommand alias for health diagnostics.