Skip to content

docs(data-dependence): add the costly settings check (#615) - #672

Merged
amiddavid merged 1 commit into
mainfrom
docs/costly-settings-data-dependence
Oct 22, 2026
Merged

amiddavid merged 1 commit into
mainfrom
docs/costly-settings-data-dependence

Conversation

@amiddavid

Copy link
Copy Markdown
Collaborator

Summary

Add the costly settings check (#615, merged in #648) to the features table in docs/data-dependence.md. #648 shipped without this row, and its PR body had no Data dependence section.

Data dependence

Metadata only, at every storage level. It stores nothing new.

Level What the check does
Off The cost needs the dashboard, so the proxy has no rows to price. The plugin still finds the settings and says "cost not measured yet".
Metadata only Works. It counts and prices dashboard rows by request shape.
Everything Works the same. It reads no content, even when content is stored.
  • Proxy side (GET /api/adapt/settings): one COUNT and one SUM(cost_usd) per shape, over existing columns: model name, tool count, max_tokens, stream flag. All values are bound parameters. No request text is read.
  • Plugin side: it reads only the named keys (env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS, awaySummaryEnabled, env.CLAUDE_CODE_ENABLE_AWAY_SUMMARY) of the user's own settings files, on the user's machine. It sends none of them to the proxy.
  • Apply and revert write only the user's own settings file, after a yes. They keep a backup next to it and a record of the old value in the plugin's state directory. Nothing is stored on the proxy.

What changed

  • docs/data-dependence.md: 1 row in the features table.

🤖 Generated with Claude Code

#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
amiddavid merged commit f77c938 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
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