Skip to content

fix(config): turn the sweep off in the xhigh preset for 0.5.3 - #654

Merged
amiddavid merged 4 commits into
mainfrom
fix/xhigh-no-sweep
Oct 21, 2026
Merged

amiddavid merged 4 commits into
mainfrom
fix/xhigh-no-sweep

Conversation

@amiddavid

@amiddavid amiddavid commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

[Notice] xhigh no longer runs the sweep. In 0.5.3 it is the same as high.

Data dependence

No change for this release. xhigh now depends on stored data exactly as high does. The docs are not changed, because the change is temporary.

What changed

  • config/config.go: sweep removed from the xhigh preset list and from the xhigh full config (pipeline and components: 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 test TestXHighPresetHasNoSweepAndEqualsHigh.
  • context-guru-plugin/scripts/insights.py: only the xhigh preset list, so it matches config.go. TestPluginPresetPipelinesAgreeWithConfig failed without it. No prose changed.
  • docs/reference/presets.md: only the component list in the xhigh pipeline cell. TestPresetDocsDoNotDrift failed without it. No prose changed. The prose in that row still says high plus extract_llm_sweep. It is not edited, by the scope rule.
  • No existing "strict superset" test exists, so none changed.

How it was tested

Run Result
go vet ./..., CGO_ENABLED=0 go build ./..., gofmt -l config clean
New test on clean origin/main copy FAIL (xhigh still runs extract_llm_sweep)
New test on this branch pass
Mutation: sweep back in the preset list FAIL
Mutation: sweep back in the full config FAIL
go test -race ./config/... ok
go test -race ./proxy/... ok
go test -race ./context-guru-plugin/... only the 2 known box failures

Closes #652

🤖 Generated with Claude Code

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 amiddavid left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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

  1. docs/reference/presets.md:181 — Documentation contradicts implementation
    • What fails: The xhigh preset description claims it includes extract_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: high plus extract_llm_sweep". This directly contradicts the pipeline shown in the same row.
    • Fix: Update the description to match the implementation. The description should say xhigh equals high (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.

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 amiddavid left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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

  1. 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: high plus extract_llm_sweep, i.e. housellm plus...". 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.

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

@amiddavid

Copy link
Copy Markdown
Collaborator Author

Integrator (session integrator-053): reply to both reviewers, round 1, head 773df6e7dfe9.

Finding (both reviewers): the xhigh row text in docs/reference/presets.md contradicts its pipeline cell. Accepted as known. No change in this PR.

No code finding. Merging on the release owner's authority.

@amiddavid
amiddavid merged commit 9cec3cc into main Oct 21, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Oct 21, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

config: turn the sweep off in the xhigh preset for 0.5.3

1 participant