Skip to content

docs: mark the ultrahigh preset as experimental - #882

Merged
amiddavid merged 3 commits into
mainfrom
feat/ultrahigh-readme
Nov 4, 2026
Merged

amiddavid merged 3 commits into
mainfrom
feat/ultrahigh-readme

Conversation

@amiddavid

Copy link
Copy Markdown
Collaborator

Summary

The ultrahigh preset is now marked experimental in the README, the preset reference and both plugins' preset pickers. The owner asked for this note.

Behavior change

None. Docs and help text only.

What changed

How it was tested

  • The plugin Python tests pass: 85 (Claude Code plugin) and 43 (Codex plugin).
  • plugin.json is valid JSON; settings.py parses.

Data dependence

None.

🤖 Generated with Claude Code

The README's preset table now marks ultrahigh as experimental and links a
short "Experimental: ultrahigh" section: the accuracy result (Sonnet on par,
Opus slightly worse on vague tasks), the measurement before each release
(#871), the known limits (#879, #876) and how to turn it off.

The preset pickers in both plugins, the plugin setting text and the preset
reference say the same. They no longer say "Claude models only": since
#875, ultrahigh also works on GPT, GLM and Kimi through Context Guru's own
search tool.

Assisted-By: Claude Opus 5.5
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 (glm, user of @amiddavid) GLM rits/zai-org/glm-5-3 via Claude Code 2.1.317 offload-review skill, @amiddavid's session fresh 2 of 2 1 of 2 a629bdaaf457 blocking

Verdict: blocking

Findings

  1. docs/reference/presets.md:182 — the ultrahigh row this PR edits still says "Anthropic models only" and "loads it through the API's search tool (tool_search_tool_bm25)", which contradicts the README section this PR adds

    • What fails: a reader follows the new cross-reference in this same cell ("see the README's 'Experimental: ultrahigh'") and lands on "on GPT, GLM and Kimi it uses Context Guru's own search tool". The two docs changed by this PR now state opposite things. The row also says "the first session after that is not deferred" — true only for Claude models; on the client-search path the first request decides at once, with no probe.
    • Proof: proxy/tooldefer.go:394-397 routes OpenAI-provider Chat Completions/Responses requests to applyClientSearch; tooldefer/clientsearch.go:18 names GPT, GLM and Kimi as the models our own search serves; tooldefer/clientsearch.go:339-345 decides on the thread's first request, and no probe runs on that path. This all landed in the base commit (#875), before this PR.
    • Fix: update the row the PR already touched. Say deferral also runs on GPT, GLM and Kimi through Context Guru's own search tool (context_guru_tools), that no provider check runs there, and that the provider check and the not-deferred first session apply to Claude models only.
  2. codex-marketplace/plugins/context-guru/scripts/codex_plugin.py:331 — the ask_defer_probe docstring still says "On OpenAI models deferral does not run in v1"

    • What fails: false since #875. Deferral does run on OpenAI models, through Context Guru's own search. The proxy still ignores the probe ask for non-Claude models, so the second half of the sentence stays true; the stated reason is wrong. This PR removed the same stale claim from the SKILL.md in the same directory but left this copy.
    • Proof: proxy/tooldefer.go:405-408 starts a probe only when tooldefer.AnthropicModel(model) is true; applyClientSearch (same file, line 451) needs no probe. The docstring is at codex-marketplace/plugins/context-guru/scripts/codex_plugin.py:329-333.
    • Fix: reword to "On models that are not Claude the proxy ignores the ask: our own search tool runs there and needs no provider check."

Non-blocking

  • README.md:126 — "set ENABLE_TOOL_SEARCH=false in the client" works only in Claude Code: the flag travels through the Claude Code plugin's session-start hook (proxy/clientsignal.go:214). The Codex plugin has no such hook, so on Codex the variable does nothing. Say "in Claude Code", or name the other two options as the Codex path.
  • codex-marketplace/plugins/context-guru/skills/preset-picker/SKILL.md:15 — the picker still reports a probe= line for ultrahigh. On OpenAI models the ask is now always ignored. Harmless (the ask is sent "so the two pickers behave alike"), but worth one clause when finding 2 is fixed.
  • context-guru-plugin/.claude-plugin/plugin.json changed with no version bump. This matches the repo's pattern (release-time chore(plugin) bump), so no action needed in this PR.

What I checked

  • The full diff (6 files, one commit) and the code around each change.
  • The provider claims against the code: proxy/tooldefer.go (applyToolDefer, applyClientSearch, probe gating), tooldefer/clientsearch.go, tooldefer/gate.go, tooldefer/probe.go.
  • The turn-off claims: defer: off is valid (components/reformat/toolfilter.go:87), ENABLE_TOOL_SEARCH is real (tooldefer/gate.go:128, proxy/clientsignal.go:214).
  • The README numbers against #871: Opus 70/80 vs 73/80 and the Sonnet parity match the owner's comment of 2026-11-03; the "3 releases in a row" rule matches the issue and the owner's decision. Issues #871, #876 and #879 exist and say what the README claims.
  • The README anchor #experimental-ultrahigh matches the new heading.
  • Missed copies of the changed text: grep for "Claude models only" / "Anthropic-only" across both plugin trees and docs; the two findings above are what it left.
  • docs/data-dependence.md needs no change: the PR changes no feature and no data dependence.

@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 (glm, user of @amiddavid) GLM rits/zai-org/glm-5-3 via Claude Code 2.1.317 offload-review skill, @amiddavid's session fresh 1 of 2 1 of 2 a629bdaaf457 blocking

Verdict: blocking

The change is docs only, and it does what its title says. But the new README accuracy
number does not describe the code that ships, and one edited doc row contradicts the README
section this same PR adds.

Findings

  1. README.md:123 — the Opus accuracy number (70 of 80) was measured on a variant that does not ship.

    • What fails: a user reads "70 of 80 against 73 of 80" as the accuracy of the shipped ultrahigh.
      The shipped code was never measured at 70/80. The 70/80 belongs to "ultrahigh + a short
      description per name", a change that was tried and left out. The shipped plain variant last
      measured 66 of 80 against 72 of 80. The README understates the gap of the code users get.
    • Proof: tooldefer/rewrite.go:24-26 — NamesList emits the fixed head plus names only. No
      descriptions. Commit ac6b288 (#872): "The short-description names list was tried for the Opus
      gap and left out: it did not close the gap and it hurt Sonnet." Issue #871, comment of
      2026-11-03: the post-fix table gives 70/80 to the descriptions variant and says "neither change
      is in #872". The issue body gives the plain variant 66/80 against 72/80. #872 changed the
      removed-tool stub, the search ledger and the eager state load. None of these changes which tool
      Opus picks on a vague task, so the plain number still stands.
    • Fix: quote the shipped configuration's number (66 of 80 against 72 of 80, the last plain run),
      or re-measure the shipped configuration and quote that run. Name the setup each number comes
      from.
  2. docs/reference/presets.md:182 — the row this PR edits still tells the old provider story, and contradicts the README section the same PR adds.

    • What fails: the row says tools are "sent with defer_loading: true", that the model "loads it
      through the API's search tool (tool_search_tool_bm25)", "No tool is removed", "Anthropic models
      only, after a provider check passes", and "the first session after that is not deferred". On GPT,
      GLM and Kimi all five claims are false. The tools are removed from tools, loaded through
      context_guru_tools, with no provider check, and the first request of a thread defers at once.
      The row starts with a cross-reference to the README section that says the opposite.
    • Proof: tooldefer/clientsearch.go:18-21 — on these models "a deferred tool is REMOVED from
      tools, and the model loads it through our search tool, context_guru_tools".
      proxy/tooldefer.go:394-396 — an OpenAI-wire request takes applyClientSearch, not Apply.
      proxy/tooldefer.go:451-453 — "No probe: our search needs no provider feature".
      tooldefer/clientsearch.go:353-369 — with no stored record the first request decides and
      applies the set in the same call. README.md:106 and
      codex-marketplace/.../preset-picker/SKILL.md:11, both changed by this PR, say GPT, GLM and Kimi
      are covered. docs/data-dependence.md:187 (updated by #875) says the same.
    • Fix: rewrite the row's provider sentences to match the README: on Claude models a deferred tool
      stays declared with defer_loading and loads through the API's search; on GPT, GLM and Kimi it
      is removed and loads through Context Guru's own search tool, and no provider check runs there.

Non-blocking

  • codex-marketplace/plugins/context-guru/scripts/codex_plugin.py:331 — the ask_defer_probe
    docstring still says "On OpenAI models deferral does not run in v1". Stale since #875. The proxy
    does ignore the probe ask on non-Claude models (proxy/tooldefer.go:406), but the reason changed:
    deferral runs there now, through our own search. The PR updated the SKILL.md in the same folder.
  • README.md:125 — the known-limits bullet names Chat Completions only. The Responses API stream is
    buffered too when our search is on (proxy/proxy.go:2158-2164). A user on a newer GPT model over
    Responses also loses word-by-word answers. Say both wires.

What I checked

  • The full diff: one commit, six files, docs and plugin text only. No Go code changed.
  • Every provider claim against the code: tooldefer/apply.go, tooldefer/clientsearch.go,
    tooldefer/rewrite.go, tooldefer/gate.go, tooldefer/probe.go, proxy/tooldefer.go,
    proxy/proxy.go. The new README story (Claude = the API's search, GPT/GLM/Kimi = our own search
    tool) matches the code paths.
  • The README anchor #experimental-ultrahigh against the new heading. It resolves.
  • toolfilter: {defer: off} is a valid value (components/reformat/toolfilter.go:157).
  • ENABLE_TOOL_SEARCH=false is the documented off switch (tooldefer/gate.go:128-136).
  • The cited issues exist and match their claims: #871 (the standing measurement), #876 (native tool
    search for gpt-5.6+), #879 (stream Chat Completions in deferred sessions).
  • The accuracy numbers against #871's body and its comment of 2026-11-03. The Sonnet claim
    (110/120 against 109/120) matches the plain shipped setup. The Opus claim does not (finding 1).
  • settings.py parses as Python; plugin.json is valid JSON.
  • No Go builds or tests were run (not approved for this review). The change is docs only, so no
    data-dependence row and no behavior change apply.

- README: quote the Opus number of the shipped setup (66 of 80 against 72
  of 80, the last plain run), not the short-description variant that was
  left out; say ENABLE_TOOL_SEARCH=false works in Claude Code only.
- presets.md: the ultrahigh row now tells both paths: defer_loading and
  the API's search tool on Claude models, with the provider check; removal
  and Context Guru's own search tool on GPT, GLM and Kimi, with no check.
- Codex plugin: the probe-ask docstring and the picker's probe line give
  the right reason the ask is ignored on models that are not Claude.

Assisted-By: Claude Opus 5.5
Signed-off-by: DAVID AMID <[email protected]>
@amiddavid

Copy link
Copy Markdown
Collaborator Author

Round 1: all findings fixed in 75d49e17.

  • Reviewer 1, finding 1 (the Opus number): fixed. The README now quotes the shipped setup's last run: 66 of 80 against 72 of 80 with no deferral (2026-11-03). The 70 of 80 was the short-description variant, which was left out.
  • Both reviewers, the presets.md row: fixed. The row now tells both paths: defer_loading and the API's search tool on Claude models, with the provider check and the not-deferred first session; removal from tools and Context Guru's own context_guru_tools on GPT, GLM and Kimi, with no check, so the first request can already defer.
  • Reviewer 2, finding 2 (the ask_defer_probe docstring): fixed. It now says the proxy ignores the ask on models that are not Claude because our own search needs no provider check.
  • Reviewer 2, non-blocking: the README now says ENABLE_TOOL_SEARCH=false works in Claude Code only; the Codex picker's probe= line says the ask is ignored on models that are not Claude. No plugin version bump: it happens at release time.

Plugin Python tests pass: 85 and 43.

🤖 Generated with Claude Code

@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 (glm, user of @amiddavid) GLM rits/zai-org/glm-5-3 via Claude Code 2.1.317 offload-review skill, @amiddavid's session resumed 1 of 2 2 of 2 75d49e17a4cf approve

Verdict: approve

Every finding from round 1 is fixed. The one new commit changes only docs and plugin text,
and each new claim matches the code. One non-blocking note from round 1 stays open.

Findings

None.

Status of the round-1 findings

  1. My finding 1, README.md:123 (the Opus number) — fixed. The README now says "66 of 80
    against 72 of 80 with no deferral, in the last run of the shipped setup (2026-11-03)". That
    matches issue #871's body table (Opus 5.5, 2 runs: 72/80 no deferral, 66/80 ultrahigh), which
    is the plain setup the code ships. The date matches the run the issue's comment names as the
    baseline. "Slightly worse" became "worse", which the larger gap deserves.
  2. My finding 2, docs/reference/presets.md:182 (the provider story) — fixed. The row now tells
    both paths. I checked every new claim against the code:
    • Claude: defer_loading: true, never removed, names list, tool_search_tool_bm25 — matches
      tooldefer/rewrite.go.
    • Claude: provider check, first session not deferred — matches tooldefer/apply.go:122-143.
    • GPT, GLM, Kimi: tool removed from tools, loaded through context_guru_tools, added back for
      the rest of the thread, no check, first request can defer — matches
      tooldefer/clientsearch.go:18-31 and proxy/tooldefer.go:394-396, 451-453.
    • Off switches: toolfilter: {defer: off} everywhere, ENABLE_TOOL_SEARCH=false in Claude Code
      only — matches the hook path below.
  3. My non-blocking 1, codex_plugin.py docstring — fixed. It now gives the right reason: our own
    search runs there and needs no provider check. Matches proxy/tooldefer.go:405-408.
  4. My non-blocking 2, README.md:125 (Responses API buffering) — not addressed. Still
    non-blocking; see below.
  5. Reviewer 2, finding 1 — same as my finding 2, fixed. I checked it myself; the proof above is
    mine.
  6. Reviewer 2, finding 2 — same as my non-blocking 1, fixed.
  7. Reviewer 2, non-blocking (ENABLE_TOOL_SEARCH works in Claude Code only) — fixed. I verified
    the claim the new README makes: the Codex plugin's signal_hook
    (codex-marketplace/.../codex_plugin.py:594-615) sends only {session, event, kind} — no
    enable_tool_search field. The proxy reads that field at proxy/clientsignal.go:240, and only
    the Claude Code plugin's session-start hook sends it. So "the Codex plugin has no such hook" is
    right.
  8. Reviewer 2, non-blocking (the probe= line) — fixed. The picker skill now says the proxy
    ignores the ask on models that are not Claude. Correct.
  9. Reviewer 2, non-blocking (no version bump) — no action needed. The author confirmed the bump
    happens at release time, which matches the repo's chore(plugin) pattern.

Non-blocking

  • README.md:125 — the known-limits bullet still names Chat Completions only. On the Responses API
    the stream is buffered too when our search is on (proxy/proxy.go:2158-2164), so a user on a
    newer GPT model over Responses also loses word-by-word answers. I raised this in round 1; the
    fix commit and the author's reply do not mention it. Say both wires, or say nothing changed on
    purpose.

What I checked

  • Last review: round 1, a629bda, 2026-11-04T06:34:18Z.
  • New commits read: 1 — 75d49e17 "docs: correct the ultrahigh notes after review round 1"
    (4 files: README.md, codex_plugin.py, codex preset-picker SKILL.md, docs/reference/presets.md).
  • Read in full: 2 reviews, 1 comment, 0 inline comments (from the three saved files).
  • New items since my last review:
    • Commit 75d49e17 — read the whole diff and the files around each change.
    • Author comment of 2026-11-04T06:36:30Z ("all findings fixed") — checked each claim it makes,
      including "Plugin Python tests pass" (not re-run here; live tests are not approved, and the
      changed Python file parses with ast.parse).
    • Reviewer 2's round-1 review (posted 06:32:37Z, before my last review; I read it now per the
      round-2 rules) — its findings map to mine as listed above.
  • The corrected Opus number against issue #871's body table and its comment of 2026-11-03.
  • The new provider sentences against tooldefer/rewrite.go, tooldefer/apply.go,
    tooldefer/clientsearch.go and proxy/tooldefer.go.
  • The new "Claude Code only" claim against the Codex plugin's signal_hook and
    proxy/clientsignal.go.
  • A grep of the new head for stale copies ("70 of 80", "73 of 80", "Anthropic models only",
    "Claude models only"): none remain in the changed docs.
  • No Go builds or tests were run (not approved). The change is docs only: no data dependence and no
    behavior change apply.

@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 (glm, user of @amiddavid) GLM rits/zai-org/glm-5-3 via Claude Code 2.1.317 offload-review skill, @amiddavid's session resumed 2 of 2 2 of 2 75d49e17a4cf blocking

Verdict: blocking

Round 1 is almost clean now: both reviewers' findings are fixed and verified. One round-1 note was left out, and it is real, so it blocks.

Earlier findings: status

  • My finding 1 (presets.md row told the old provider story): fixed. The row now tells both paths, and every claim matches the code: the shared Decide rule runs on both paths (tooldefer/clientsearch.go:360-362), Claude keeps defer_loading with the probe and the not-deferred first session, GPT/GLM/Kimi get removal plus context_guru_tools with no check and a first request that can defer.
  • My finding 2 (ask_defer_probe docstring): fixed. The new reason (own search needs no provider check, #825) matches proxy/tooldefer.go:405-408.
  • My non-blocking notes: fixed. ENABLE_TOOL_SEARCH=false is now scoped to Claude Code, and the Codex picker's probe= line says the ask is ignored on models that are not Claude. The version bump at release time is the repo's pattern — agree.
  • Reviewer 1, finding 1 (the Opus number described a variant that does not ship): fixed. The README now quotes 66 of 80 against 72 of 80, the last plain run of the shipped setup. This matches #871's body table (Opus 5.5, 2 runs: 72/80 no deferral, 66/80 ultrahigh).
  • Reviewer 1, finding 2 (the presets.md row): fixed. Same row as my finding 1.
  • Reviewer 1, non-blocking (the Responses stream is buffered too): not addressed. It is my finding 1 below, with my own proof.

Findings

  1. README.md:124 — the known-limits bullet names Chat Completions only, but the Responses stream is buffered too when deferral is on
    • What fails: a user on a GPT model over the Responses API reads "Chat Completions answers ... arrive all at once" and concludes their wire keeps word-by-word answers. It does not: in a session with deferred tools, Responses answers also arrive all at once. The bullet hides the limit from half the users it exists to warn.
    • Proof: proxy/proxy.go:1756 sets searchOn when our client search rewrote the request; proxy/proxy.go:2158-2160 buffers the whole Responses stream when searchOn is true ("Buffer only when a model-visible marker exists" — searchOn is one of the two triggers), exactly like the Chat Completions case at line 2171. Our search runs on both wires (tooldefer/clientsearch.go:70).
    • Fix: one clause. Say "Chat Completions and Responses answers", or just "answers", and keep the #879 link (that issue tracks the Chat Completions side).

Non-blocking

  • The author's comment says the plugin Python tests pass (85 and 43). I did not run them: live tests are not approved for this review. The changed Python file is a docstring only, so I see no risk there.

What I checked

  • Last review: round 1, a629bda, 2026-11-04T06:32:37Z.
  • New commits read: 1 — 75d49e17 "docs: correct the ultrahigh notes after review round 1" (README, codex_plugin.py, Codex SKILL.md, presets.md).
  • Read in full: 2 reviews, 1 comment, 0 inline comments (from the three saved files).
  • New items since my last review: reviewer 1's round-1 review (checked both findings and both non-blocking notes myself); the author's fix comment (checked every claim it makes against the diff and the code); commit 75d49e17 (read the full diff and the code around each change).
  • The new presets.md row against the code: Decide shared by both paths, AddBack for the rest of the thread, the record store shared (docs/data-dependence.md:187), defer: off valid.
  • The new README numbers against #871's body table and its comment of 2026-11-03.
  • The Responses-streaming claim against proxy/proxy.go (searchOn at 1756, the buffering cases at 2158 and 2171) and tooldefer/clientsearch.go:69-70.

In a session with deferred tools on GPT, GLM and Kimi, the proxy buffers
the Responses stream as well as the Chat Completions stream (review round 2).

Assisted-By: Claude Opus 5.5
Signed-off-by: DAVID AMID <[email protected]>
@amiddavid
amiddavid merged commit 6b7b662 into main Nov 4, 2026
7 checks passed
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Nov 4, 2026
amiddavid added a commit that referenced this pull request Nov 4, 2026
…0.2.11) (#921)

Claude Code plugin 0.6.6 -> 0.6.7:
- #889: the preset picker restarts the proxy after a yes, and the status shows a pending preset.
- #891: insights and the status show tool deferral as its own saving lever.
- #877, #885: save-more tools (keep, unkeep, defer, undefer, search on/off, revert).
- #882: ultrahigh is marked experimental in the picker.

Codex plugin 0.2.10 -> 0.2.11:
- #889, #891: the same cg.py changes (vendored copy).
- #882: ultrahigh is marked experimental in the picker.


Signed-off-by: DAVID AMID <[email protected]>
Assisted-By: Claude Opus 5.5 <[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.

1 participant