Repository navigation
fix(config): turn the sweep off in the xhigh preset for 0.5.3 - #654
Merged
Merged
Conversation
xhigh no longer runs extract_llm_sweep. In 0.5.3 it is the same as high. The sweep is still under work (#508) and returns to xhigh when #508 lands. The name xhigh still loads. extract_llm_sweep stays registered, and housellm keeps it. Update the preset comments, docs, README, and the plugin texts that said xhigh adds the sweep. Add a test that xhigh has no sweep and equals high. Closes #652 Assisted-By: Claude Signed-off-by: DAVID AMID <[email protected]>
The sweep removal is temporary (restore with #508). Undo the docs and plugin text edits. Keep the two config changes and the test. Add a short comment at each of the two places. Assisted-By: Claude Signed-off-by: DAVID AMID <[email protected]>
TestPresetDocsDoNotDrift and TestPluginPresetPipelinesAgreeWithConfig compare the xhigh pipeline in docs/reference/presets.md and insights.py with config.go. Change only those two lists. No prose changes. Assisted-By: Claude Signed-off-by: DAVID AMID <[email protected]>
Assisted-By: Claude Signed-off-by: DAVID AMID <[email protected]>
amiddavid
commented
Oct 21, 2026
amiddavid
left a comment
Collaborator
Author
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 2 (bob, user of @amiddavid) | IBM Bob Shell 1.0.3 | offload-review skill, @amiddavid's session | fresh | 2 of 2 | 1 of 2 | 773df6e7dfe9 |
blocking |
Verdict: blocking
Findings
- docs/reference/presets.md:181 — Documentation contradicts implementation
- What fails: The
xhighpreset description claims it includesextract_llm_sweep, but the actual pipeline (shown in the same row) does not include it. The code changes removed the sweep component, but the description text was not updated. - Proof: Line 181 pipeline column correctly shows:
cache_aware_summarizer→format→dedup→toon→cmdfilter→searchfold→textclean→extract_llm→extract→cachesplit→toolfilter(no sweep). But the description column still says: "The picker's tier 4, and the deepest cut it offers:highplusextract_llm_sweep". This directly contradicts the pipeline shown in the same row. - Fix: Update the description to match the implementation. The description should say
xhighequalshigh(not "high plus extract_llm_sweep") and note the sweep is temporarily disabled pending #508, consistent with the code comments in config.go lines 533 and 793.
- What fails: The
Non-blocking
None.
What I checked
- Read CLAUDE.md and docs/design.md for repo rules
- Read the full diff (config/config.go, config/config_test.go, context-guru-plugin/scripts/insights.py, docs/reference/presets.md)
- Verified the code changes are internally consistent: config.go removes sweep from both the preset list and the full config, test validates xhigh equals high, Python script updated
- Verified the test correctly validates the intended behavior (xhigh = high, no sweep component)
- Checked that the change preserves backward compatibility (xhigh preset name still loads)
- Verified fail-open is maintained (no changes to error handling paths)
- Confirmed no data dependence changes (only preset configuration, no component logic changes)
amiddavid
commented
Oct 21, 2026
amiddavid
left a comment
Collaborator
Author
There was a problem hiding this comment.
| Reviewer | Kind | Started by | Context | Review | Round | Head | Verdict |
|---|---|---|---|---|---|---|---|
| Reviewer 1 (bob, user of @amiddavid) | IBM Bob Shell 1.0.3 | offload-review skill, @amiddavid's session | fresh | 1 of 2 | 1 of 2 | 773df6e7dfe9 |
blocking |
Verdict: blocking
Findings
- docs/reference/presets.md:181 — Description text contradicts the pipeline column
- What fails: The xhigh row's description says "high plus
extract_llm_sweep" but the pipeline column shows no sweep component. A reader sees two conflicting statements in the same table row. - Proof: Line 181 reads: "The picker's tier 4, and the deepest cut it offers:
highplusextract_llm_sweep, i.e.housellmplus...". The pipeline column in the same row lists:cache_aware_summarizer→format→dedup→toon→cmdfilter→searchfold→textclean→extract_llm→extract→cachesplit→toolfilter(no sweep). The config change at config/config.go:533 and the test at config/config_test.go:287 both confirm xhigh now equals high. - Fix: Change "high plus
extract_llm_sweep" to "the same as high" or "high (sweep off for 0.5.3; restores with #508)". The rest of the sentence can stay or be shortened.
- What fails: The xhigh row's description says "high plus
Non-blocking
- The README.md table at line 106 correctly describes xhigh as "high plus a periodic deep-adjudication sweep" in the future tense ("the deepest cut"), which reads as the intended behavior rather than current state. This is acceptable given the temporary nature of the change.
What I checked
- Read the full diff (4 commits, 9 files changed)
- Verified the preset change is config-only: xhigh pipeline and config block both remove extract_llm_sweep
- Confirmed the test enforces xhigh equals high and has no sweep component
- Checked that housellm preset is unchanged (still has the sweep)
- Verified insights.py preset list matches the config change
- Found the documentation inconsistency in docs/reference/presets.md where the description text was not updated to match the pipeline column
- Confirmed extract_llm_sweep component itself remains registered and available (not removed from the codebase)
- Verified the change is scoped to xhigh only; other presets mentioning the sweep (housellm, comments) are unchanged
Collaborator
Author
|
Integrator (session integrator-053): reply to both reviewers, round 1, head Finding (both reviewers): the
No code finding. Merging on the release owner's authority. |
amiddavid
added a commit
that referenced
this pull request
Oct 21, 2026
…0.2.3) (#657) chore(plugin): bump the plugins for v0.5.3 (Claude Code 0.5.3, Codex 0.2.3) Both plugins changed in this release, so installed plugins must update. - Claude Code plugin: the band with cache state and a Ping button (#651), next-request cost on the status line and the context bar fix (#653), insights tools leaves out unpriced carry costs (#656), and the xhigh preset list without the sweep (#654). - Codex plugin: the vendored cg.py and cgcache.py from #651, #653 and #656. Assisted-By: Claude Signed-off-by: DAVID AMID <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
[Notice] xhigh no longer runs the sweep. In 0.5.3 it is the same as high.
xhighlosesextract_llm_sweepin both places inconfig/config.go.xhighstill loads.extract_llm_sweepstays registered.housellmkeeps it.Data dependence
No change for this release.
xhighnow depends on stored data exactly ashighdoes. The docs are not changed, because the change is temporary.What changed
config/config.go: sweep removed from thexhighpreset list and from thexhighfull config (pipeline andcomponents:block). One short comment at each place: "Sweep off for 0.5.3 (config: turn the sweep off in the xhigh preset for 0.5.3 #652); restore with feat(sweep): ask at the keep-alive ping, hold the answer, recheck, shadow mode #508."config/config_test.go: new testTestXHighPresetHasNoSweepAndEqualsHigh.context-guru-plugin/scripts/insights.py: only thexhighpreset list, so it matchesconfig.go.TestPluginPresetPipelinesAgreeWithConfigfailed without it. No prose changed.docs/reference/presets.md: only the component list in thexhighpipeline cell.TestPresetDocsDoNotDriftfailed without it. No prose changed. The prose in that row still sayshighplusextract_llm_sweep. It is not edited, by the scope rule.How it was tested
go vet ./...,CGO_ENABLED=0 go build ./...,gofmt -l configorigin/maincopyxhigh still runs extract_llm_sweep)go test -race ./config/...go test -race ./proxy/...go test -race ./context-guru-plugin/...Closes #652
🤖 Generated with Claude Code