Skip to content

feat(save-more): find client settings that cost money (#615) - #648

Merged
amiddavid merged 4 commits into
mainfrom
feat/costly-settings
Oct 22, 2026
Merged

amiddavid merged 4 commits into
mainfrom
feat/costly-settings

Conversation

@amiddavid

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a card Settings that cost you money to /context-guru:save-more.
  • Two checks: CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS and the session recap.
  • The plugin finds the settings on the user's machine. The proxy prices them from metadata only.

Refs #615.

What changed

  • Check list in one file: context-guru-plugin/scripts/costly_settings.json. Each check has id, what it reads, detection, price shape, fix, risk, and "applicable". A Go test keeps the proxy shapes equal to the file.
  • Detection (scripts/costly.py): reads only the named keys from user, user-local, project, project-local and managed settings, and from the process env. It says which file a value came from.
  • Endpoint GET /api/adapt/settings?since=&until= (dash/costlysettings.go): per check, request count and summed cost_usd for the caller's tenant. Unknown shape returns null.
  • Check 1: classifier shape = Sonnet, tools 0, system_blocks 3, max_tokens 64, stream 0, messages 2. The Opus shape (max_tokens 2112) shows apart as "probably classifier stage 2". It is not added.
  • Check 2: cost is "not measured yet". The shape is a TODO in the list.
  • Card: shown in default save-more and in save-more settings. Only checks that fire.
  • Apply / revert: apply settings <id>, revert settings <id>. Apply makes a timestamped .bak, edits one key, keeps the file mode, writes atomically, and records the old value. Revert restores that value. It refuses if the key changed since.
  • Managed and env values show "cannot change" and have no Apply it? line.
  • Updated both SKILL.md files (Claude Code and Codex), docs/plugin/save-more.md, and the vendored Codex copies.

How it was tested

On the shared box (~/cgssh2), Go with -race:

  • go vet ./dash/ ./context-guru-plugin/: clean.
  • go test -race ./dash/...: ok (415 s).
  • go test -race ./context-guru-plugin/...: only the 2 known box-only failures (TestInstallRefusesAnUnverifiedDownload, TestInstallReportsPATHFromTheSourceFallbackToo). One more, TestUserScopeAdoptHandlesAProjectPathWithASpace, failed once on /tmp/context-guru-proxy-*.log: Permission denied (a log file owned by another session on the shared box). It did not fail in the second full run.
  • Targeted run (Costly|SaveMore|CG|Docs|Skill|Vendored): ok.
  • Python: scripts/test_costly.py, 32 tests, all pass (local, Python 3.13, and on the box, Python 3.9).
  • New Go tests: shape match with near-misses, tenant scoping, empty window, null for unknown shape, route auth, list-vs-table equality.
  • Tests use temp dirs only. No real user file was touched.

Open questions

  • Is the messages = 2 rule right for rows written before the dashboard counted the system prompt?
  • Check 2 needs a captured recap request to get its shape.
  • When a value is set in both a user file and managed settings, apply edits only the user file. The managed value stays on. The card says so.

Technical notes

  • Detection uses the highest-precedence file for awaySummaryEnabled. For the env key it reports every file that sets it.
  • The process-env location is named only when no settings file holds the key (Claude Code copies the env block into its own env).
  • Revert compares the current key to what the apply wrote, not to the backup.
  • save-more settings and apply|revert settings need no proxy. A read with no proxy shows "not measured yet".

🤖 Generated with Claude Code

@amiddavid

Copy link
Copy Markdown
Collaborator Author

Evidence for check 1: our litellm gateway supports tool search

Removing CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 turns on MCP tool search. We tested whether the litellm gateway accepts it, so the risk text in check 1 rests on a measurement.

Result: it works. Users of this gateway do not need ENABLE_TOOL_SEARCH=false.

Test: 2 sandboxed claude -p sessions (Claude Code 2.1.305), with the betas setting off. Each went through a capturing proxy to the litellm gateway, with one MCP tool that the model could reach only through tool search.

Model ToolSearch called Deferred tool called Result
claude-sonnet-5-5[1m] Yes mcp__echo__echo correct answer, no error
aws/claude-opus-5-5[1m] (Bedrock) Yes mcp__echo__echo correct answer, no error

What the capture shows (6 main requests):

  • Claude Code did not fall back. Every request kept defer_loading on the MCP tool and declared ToolSearch. A fallback would show as a request sent again without these fields.
  • The tool_reference block reached the gateway in the tool result. This is the part a gateway most often breaks.
  • No 400 or 422 errors in the proxy log.

Earlier runs with the setting off, straight to the gateway: Opus 1M with a subagent, and Sonnet with the same task. Both passed with no errors.

Not tested:

  • An MCP server with many tools.
  • The claude-haiku-4-5 upstream.
  • The prompt-cache effect when a deferred tool loads mid-session.

Suggestion for the check text: keep the 400-error risk, because other gateways can differ. Add: "If tool search fails on your gateway, set ENABLE_TOOL_SEARCH=false instead of keeping the betas setting."

… shape (#615)

Return, per check, the request count and summed cost_usd of the caller's
rows that match the check's request shape. Columns only, no request text.
A check with no known shape returns a null cost, never 0.

Assisted-By: Claude Opus 5.5
Signed-off-by: DAVID AMID <[email protected]>
Add a "Settings that cost you money" card to save-more, and
`save-more settings` alone. Two checks: CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS
and the session recap. Detection reads only the named keys from the user's
own settings files and env. Cost comes from /api/adapt/settings; an old proxy
shows "not measured yet". `apply settings <id>` backs up, edits one key and
records the old value. `revert settings <id>` restores it, and refuses if the
key changed since. The check list is scripts/costly_settings.json.

Assisted-By: Claude Opus 5.5
Signed-off-by: DAVID AMID <[email protected]>
…615)

A clean Claude Code 2.1.305 sends its classifier request with 2 system
blocks, not 3: the third block ("Session Context") is not always there.
The price shape required 3 blocks and 2 dashboard messages, so on a clean
install the card showed $0 for 4 billed classifier requests.

The shape now keys on model (sonnet), 0 tools, max_tokens 64 and no
stream. On a developer proxy and on box 2 production these 4 fields select
the same rows as before plus the 2-block ones (box 2: 9,941 rows against
9,793), and no other request. The Go test now seeds both block counts.

Also gofmt two test files.

Assisted-By: Claude Opus 5.5
Signed-off-by: DAVID AMID <[email protected]>
@amiddavid
amiddavid force-pushed the feat/costly-settings branch from 95b54a9 to 80314db Compare October 22, 2026 14:10
@amiddavid
amiddavid marked this pull request as ready for review October 22, 2026 14:12
@amiddavid

Copy link
Copy Markdown
Collaborator Author

End-to-end test on a clean Claude Code, and 2 fixes

Setup: Claude Code 2.1.305 in auto mode, with a sandbox HOME that held only 2 settings: CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 and awaySummaryEnabled: true. It ran through a proxy built from this branch (macOS arm64, with the dashboard on), to the litellm gateway.

Results

Step Result
Run with betas=1 4 classifier requests (Sonnet 5, max_tokens 64), 21 tools on each main request
save-more settings Both checks shown. Check 1: "about $0.25 over the last 30 days (4 requests)". Recap: "not measured yet". The settings file did not change.
apply settings disable-experimental-betas The key was removed, a .bak was written, and the file mode stayed 0600
Run after the apply 0 classifier requests. 12 tools (tool search). Both actions were checked and ran.
revert settings disable-experimental-betas The file is byte for byte the same as before the apply (same md5)
Revert after an outside change to the key Refused, and nothing was written
apply typed under save-more settings Refused, with the exact command to run

Fix 1: the price shape missed a clean install (commit 80314db4)

  • A clean Claude Code sends the classifier request with 2 system blocks, not 3. The third block ("Session Context") is not always sent.
  • The first shape required 3 blocks and 2 dashboard messages, so the card showed $0 for 4 billed requests.
  • The shape now uses the model (sonnet), 0 tools, max_tokens 64 and no stream.
    • Developer proxy: the same 1,972 rows.
    • Box 2 production: 9,941 rows against 9,793 before (+148 two-block rows), and no other request.
  • The Go test now seeds both block counts.

Fix 2: gofmt on dash/costlysettings_test.go and context-guru-plugin/cg_test.go.

Conflicts with main resolved (rebase on cae32b28):

  • cg.py, both copies: main's cgcache import, cachestate/ping and the removed adapt alias, plus this branch's settings kind.
  • cg_test.go: both file lists.

Tests after the rebase (box 2, -race)

  • ./dash/... passes. gofmt and go vet are clean.
  • Python test_costly.py: 32 of 32 pass.
  • ./context-guru-plugin/...:
    • The 2 known box failures.
    • TestProjectScopeInstallDoesNotEnableMachineWide and TestRouteAddsGitignoreEntryByDefault failed in the full run, and pass when run alone. Unmodified main on the same box also fails a sibling test (TestAProjectUninstallNeverTakesTheMachineWideEnable). This looks like a shared-box flake in the install tests, not this change.

@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 80314db434f8 blocking

Verdict: blocking

Findings

  1. go.mod:48, go.sum:65-66 — Dependency downgrade appears unintentional
    • What fails: klauspost/compress changes from v1.18.7 to v1.18.6, which is a downgrade
    • Proof: The diff shows go.mod line 48 changing from github.com/klauspost/compress v1.18.7 // indirect to github.com/klauspost/compress v1.18.6 // indirect. The go.sum changes from v1.18.7 checksums to v1.18.6 checksums. This PR adds a settings feature and has no reason to downgrade an unrelated compression library.
    • Fix: Run go get github.com/klauspost/[email protected] and go mod tidy to restore the version, or explain why the downgrade is intentional.

Non-blocking

  • The new /api/adapt/settings route is well-designed. It uses metadata only (request shape columns), never reads request text, and returns explicit null for unmeasured checks rather than zero.
  • The Python code follows good practices: atomic file writes, proper backup handling, symlink preservation, and comprehensive error messages.
  • Test coverage is thorough. The Go test TestCostlyChecksMatchThePluginList ensures the proxy and plugin stay synchronized on request shapes.
  • The feature correctly handles the three-level storage model (off/metadata/everything) and updates docs/data-dependence.md as required.
  • The skill integration is clean. The settings word can run alone or with config and cache, and the apply/revert commands follow the existing pattern.

What I checked

  • Read CLAUDE.md and docs/design.md for repo rules
  • Read the full diff (all changed files)
  • Verified the new API route follows the metadata-only principle
  • Checked that CostlyChecks in Go matches costly_settings.json structure
  • Reviewed Python test coverage for detection, cost calculation, and file editing
  • Confirmed the feature integrates correctly with the save-more skill
  • Verified error handling and fail-open behavior
  • Checked that the feature respects the storage level rules
  • Examined the go.mod/go.sum 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 80314db434f8 blocking

Verdict: blocking

Findings

  1. go.mod:48 — Unintended dependency downgrade

    • What fails: klauspost/compress downgraded from v1.18.7 to v1.18.6
    • Proof: Line 48 in go.mod shows github.com/klauspost/compress v1.18.6 // indirect, and go.sum confirms the downgrade. The PR description does not mention this change. This is an indirect dependency, so the downgrade likely came from running go mod tidy or updating another dependency.
    • Fix: Revert to v1.18.7 by running go get github.com/klauspost/[email protected] and go mod tidy, or document why the downgrade is needed.
  2. dash/costlysettings.go:103 — SQL injection risk in dynamic query construction

    • What fails: shapeWhere builds SQL with string concatenation: col+" = ?". If col comes from untrusted input, this allows SQL injection.
    • Proof: Lines 103-104 iterate over a map where keys are column names: for col, v := range map[string]*int{"r.tools": s.Tools, ...}. The keys are hardcoded here, but the function signature accepts CostlyShape from external input. If a future caller passes a CostlyShape with a malicious field, the column name goes directly into SQL.
    • Fix: Use a whitelist. Check that col is one of the allowed column names before building the query. Or use a fixed set of column builders instead of a map.
  3. dash/costlysettings.go:119 — Missing error handling for empty result set

    • What fails: costlyPart calls QueryRowContext and scans into n and usd. If the query returns no rows, Scan returns sql.ErrNoRows, but the function returns this error to the caller. The caller in CostlySettings (line 137) returns the error, which makes the whole route fail with 500.
    • Proof: Line 119 scans the result. QueryRowContext with COUNT(*) always returns one row, so this is safe. But if the query changes, or if a future edit removes the COUNT(*), the route fails instead of returning zero.
    • Fix: None needed now, but add a comment that the query must always return one row, or handle sql.ErrNoRows explicitly.
  4. context-guru-plugin/scripts/costly.py:285 — Race condition in atomic write

    • What fails: _write_atomic creates a temp file, writes it, sets its mode, then renames it over the target. Between os.chmod and os.replace, another process could read the temp file with the new mode but old content.
    • Proof: Lines 285-295 show the sequence. The temp file is created with mkstemp, which gives it mode 0600. Line 292 changes the mode. Line 293 renames it. If the target mode is 0644, the temp file becomes world-readable before the rename completes.
    • Fix: This is a known limitation of atomic writes on POSIX. The risk is low because the temp file has a random name in the same directory as the target. Document this, or accept it.
  5. context-guru-plugin/scripts/costly.py:374 — Backup file not cleaned up on success

    • What fails: apply writes a backup file (line 374) but never deletes it. Over time, the config directory fills with .bak files.
    • Proof: Line 374 writes the backup. Line 378 writes the new file. No code deletes the backup. The user must clean it up manually.
    • Fix: This is intentional. The backup is for the user, not for Context Guru. Document that old backups should be cleaned up, or add a cleanup command.
  6. dash/costlysettings_test.go:142 — Test does not verify tenant isolation

    • What fails: TestCostlyChecksMatchThePluginList compares the Go and Python lists, but it does not test that the route enforces tenant isolation. A manager can name another tenant, but a regular user cannot.
    • Proof: TestCostlySettingsRouteIsOneAccount (line 99) tests this, but only for the route. The test does not verify that CostlySettings itself filters by tenant, or that a malicious caller cannot bypass the filter.
    • Fix: Add a test that calls CostlySettings directly with a filter for tenant A, seeds rows for tenant B, and verifies that the result has zero rows.

Non-blocking

  • dash/costlysettings.go:42: The comment says "No system_blocks or messages" because the classifier shape varies. This is correct, but it makes the shape match more requests than just the classifier. A future model with the same shape but a different purpose would be counted. Consider adding a comment that this is a known limitation.
  • context-guru-plugin/scripts/costly.py:200: where_words joins locations with semicolons. If a location path contains a semicolon, the output is ambiguous. This is unlikely, but consider using a different separator or quoting paths.
  • context-guru-plugin/scripts/test_costly.py:28: The test sets CONTEXT_GURU_STATE to a temp dir, but it does not clean up the state file after each test. If a test fails, the state file stays. Consider using self.addCleanup to remove it.

What I checked

  • Read CLAUDE.md and docs/design.md for repo rules
  • Read the full diff (2,000+ lines across 15 files)
  • Examined dash/costlysettings.go: SQL query construction, error handling, tenant filtering
  • Examined dash/costlysettings_test.go: shape matching, tenant isolation, null handling
  • Examined context-guru-plugin/scripts/costly.py: file I/O, atomic writes, backup handling
  • Examined context-guru-plugin/scripts/test_costly.py: test coverage, temp file cleanup
  • Examined context-guru-plugin/scripts/costly_settings.json: check definitions, price shapes
  • Verified that the Go test compares the Python and Go lists (line 142 of costlysettings_test.go)
  • Checked go.mod and go.sum for dependency changes
  • Verified that the route is mounted in dash/toolapi.go (line 1040)
  • Checked that the skill documentation is updated (docs/plugin/save-more.md)
  • Verified that the Python tests run in the Go test suite (context-guru-plugin/costly_test.go:18)
  • Checked for fail-open violations: the route returns 500 on error, which is correct (no silent data loss)
  • Checked for data loss: the apply/revert mechanism backs up before writing, and refuses to revert if the file changed
  • Checked for security issues: found SQL injection risk (finding 2), but it is mitigated by hardcoded column names
  • Verified that new behavior has tests: Python unit tests, Go integration tests, and golden tests

The first commit of this branch moved klauspost/compress back to v1.18.6.
That undid the CVE-2026-63209 bump on main (#645). go.mod and go.sum are
now the same as main. Both reviewers found it in round 1.

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

Copy link
Copy Markdown
Collaborator Author

Replies to round 1

Both reviewers, finding 1 (go.mod: klauspost/compress v1.18.7 → v1.18.6): fixed in 4d618428.

Reviewer 1, findings 2–6: rejected, no change. Each one, with the reason:

  1. SQL injection in shapeWhere: not reachable. The column names come from a fixed map literal inside shapeWhere, not from CostlyShape. The shape adds only values, and they are bound as ? parameters. CostlyShape has no string field that reaches SQL, except ModelContains, which is also a bound parameter (instr(lower(r.model), ?)). All shapes come from the CostlyChecks literal, not from a request.
  2. sql.ErrNoRows: cannot happen. SELECT COUNT(*), COALESCE(SUM(...),0) always returns exactly one row. The finding itself says "this is safe" and asks for no change.
  3. Atomic write race: not a race. mkstemp creates the temp file with mode 0600. os.chmod runs before os.replace, so the file is never wider than its target mode before the rename. The function's doc comment says so. A reader of the temp file sees the new content, never old content.
  4. The backup is not cleaned up: by design. The backup is for the user, and revert does not depend on it (revert uses the recorded old value). Each apply writes one timestamped file, and an apply happens only after a yes. The finding itself says "this is intentional".
  5. Tenant isolation is not tested on CostlySettings: it is. TestCostlySettingsMatchesTheClassifierShapeOnly calls db.CostlySettings directly with Filter{Tenant: "t1"} and Filter{Tenant: "t2"}. The t1 call does not count the t2 row ($9), and the t2 call gets only its own row (lines 45–73). TestCostlySettingsRouteIsOneAccount covers the route.

Non-blocking points: noted, no change. The test cleanup is already done with self.addCleanup (test_costly.py lines 27 and 37).

@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 resumed 1 of 2 2 of 2 4d6184285916 approve

Verdict: approve

Findings

None. All round 1 findings have been addressed.

Status of round 1 findings

  1. go.mod:48 — Unintended dependency downgrade: FIXED

    • The author restored klauspost/compress to v1.18.7 in commit 4d618428.
    • Verified: go.mod line 48 now shows v1.18.7, and go.sum has the correct checksums.
    • The commit message explains this undid a CVE fix from main (#645).
  2. dash/costlysettings.go:103 — SQL injection risk: REJECTED, valid

    • The author is correct. Column names come from the hardcoded map literal {"r.tools": s.Tools, ...}, not from CostlyShape fields.
    • CostlyShape.ModelContains is the only string field, and it is bound as a parameter: instr(lower(r.model), ?).
    • All shapes come from the CostlyChecks literal, not from external input.
    • No change needed.
  3. dash/costlysettings.go:119 — Missing error handling: REJECTED, valid

    • The author is correct. SELECT COUNT(*), COALESCE(SUM(...),0) always returns exactly one row.
    • sql.ErrNoRows cannot occur with this query.
    • My finding said "this is safe" and asked only for a comment. The author chose not to add one.
    • No change needed.
  4. context-guru-plugin/scripts/costly.py:285 — Race condition: REJECTED, valid

    • The author is correct. mkstemp creates the temp file with mode 0600.
    • os.chmod runs before os.replace, so the file is never wider than its target mode before the rename.
    • A reader of the temp file sees the new content with the new mode, not old content.
    • This is standard atomic write behavior on POSIX.
    • No change needed.
  5. context-guru-plugin/scripts/costly.py:374 — Backup not cleaned up: REJECTED, valid

    • The author is correct. The backup is for the user, not for Context Guru.
    • Each apply writes one timestamped file, and an apply happens only after a yes.
    • Revert does not depend on the backup (it uses the recorded old value).
    • My finding said "this is intentional". The author confirmed it.
    • No change needed.
  6. dash/costlysettings_test.go:142 — Tenant isolation not tested: REJECTED, valid

    • The author is correct. TestCostlySettingsMatchesTheClassifierShapeOnly calls db.CostlySettings directly with Filter{Tenant: "t1"} and Filter{Tenant: "t2"}.
    • Lines 70-73 verify that the t1 call does not count the t2 row ($9), and the t2 call gets only its own row.
    • TestCostlySettingsRouteIsOneAccount covers the route layer.
    • No change needed.

What I checked

  • Last review: round 1, 80314db, 2026-10-22T14:17:29Z
  • New commits read: 1 commit
    • 4d618428 fix(deps): keep klauspost/compress at v1.18.7 from main (#615)
  • Read in full: 2 reviews, 3 comments, 0 inline comments (from the three files)
  • New items since my last review:
    • Author's comment at 2026-10-22T08:53:54Z: Evidence for check 1 (tool search gateway test). Noted.
    • Author's comment at 2026-10-22T14:12:09Z: End-to-end test and 2 fixes. Verified the dependency fix is in commit 4d618428.
    • Author's comment at 2026-10-22T14:20:49Z: Replies to round 1. Reviewed each rejection and verified the reasoning.
  • Verified the dependency fix: go.mod and go.sum now match main for klauspost/compress
  • Reviewed the author's rejections of findings 2-6: all are valid
  • Checked that no new code was added in the fix commit: only go.mod and go.sum changed
  • Verified that the fix commit message explains the reason (CVE-2026-63209 bump on main)
  • Confirmed that the author ran tests after the fix (mentioned in comment at 2026-10-22T14:12:09Z)
  • Checked for new issues introduced by the fix: none found

@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 resumed 2 of 2 2 of 2 4d6184285916 approve

Verdict: approve

Findings

None. My round 1 finding is fixed.

Status of round 1 findings

My finding 1 (go.mod dependency downgrade): fixed in commit 4d61842.

  • The commit restores klauspost/compress to v1.18.7, matching main.
  • Verified: go.mod line 48 now shows v1.18.7, and go.sum lines 65-66 have the correct checksums.
  • The commit message explains this undid a CVE fix from main (#645).

Reviewer 1 findings 2-6: author rejected with detailed reasons.

  • I reviewed each rejection. The author's reasoning is sound:
    • Finding 2 (SQL injection): column names come from a hardcoded map literal, not from external input.
    • Finding 3 (sql.ErrNoRows): COUNT(*) always returns one row.
    • Finding 4 (atomic write race): the temp file mode is set before rename, so no race exists.
    • Finding 5 (backup cleanup): intentional design, backups are for the user.
    • Finding 6 (tenant isolation test): already tested in lines 45-73 of costlysettings_test.go.

Non-blocking

  • The author's end-to-end test (comment 2026-10-22T14:12:09Z) demonstrates the feature works correctly on a clean Claude Code install.
  • The price shape fix (removing system_blocks and messages requirements) correctly handles the classifier request variation.
  • The evidence for check 1 (comment 2026-10-22T08:53:54Z) shows the litellm gateway supports tool search, validating the risk text.

What I checked

  • Last review: round 1, 80314db, 2026-10-22T14:17:12Z
  • New commits read: 1 commit
    • 4d61842 "fix(deps): keep klauspost/compress at v1.18.7 from main (#615)"
  • Read in full: 2 reviews, 3 comments, 0 inline comments
  • New items since my last review:
    • Verified the dependency fix: go.mod and go.sum now match main for klauspost/compress
    • Read author's replies to all round 1 findings from both reviewers
    • Reviewed author's end-to-end test results showing the feature works correctly
    • Checked author's evidence for the tool search gateway compatibility
    • Confirmed the price shape fix addresses the clean install case
  • Verified no new code changes beyond the dependency fix
  • Confirmed all round 1 blocking issues are resolved

@amiddavid

Copy link
Copy Markdown
Collaborator Author

On the next release's list (#658), by the release owner.

@amiddavid
amiddavid merged commit 69cbb0b into main Oct 22, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Oct 22, 2026
amiddavid added a commit that referenced this pull request Oct 22, 2026
docs(data-dependence): add the costly settings check (#615)

#648 added GET /api/adapt/settings and the save-more settings card, but
no row in the features table. The check is metadata only: it counts and
prices dashboard rows by model name, tool count, max_tokens and the
stream flag. The plugin reads only the named keys of the user's own
settings files, on the user's machine, and sends none of them to the
proxy. With the dashboard off, the plugin still finds the settings and
says the cost is not measured.

Assisted-By: Claude Opus 5.5
Signed-off-by: DAVID AMID <[email protected]>
amiddavid added a commit that referenced this pull request Oct 22, 2026
…0.2.4) (#673)

chore(plugin): bump the plugins for v0.5.4 (Claude Code 0.5.4, Codex 0.2.4)

Both plugins changed in this release, so installed plugins must update.

- Claude Code plugin: the new band and pane (#659), one status-line
  timer and the 12 old commands removed (#660), the Ping header and
  ping reasons (#667), and the save-more settings card (#648).
- Codex plugin: the vendored cg.py and the save-more settings card
  from #648, #660 and #667.

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.

1 participant