Repository navigation
Run CLI summaries tool-free and require explicit opt-in - #431
Merged
Merged
Conversation
The explainer already gathers decoded calls, source, state and simulation before the LLM call, so the CLIs run as text-only summarizers. This removes the monitoring_chain MCP server, the mcp dependency and the RPC/Etherscan credentials passed to the CLI child. - Any tool event disables that CLI (Claude StructuredOutput on schema calls and Codex todo_list plan items excepted). - Non-JSON output lines are skipped; output with no events fails only that call instead of disabling the provider. - Non-zero exit errors quote stderr only, never the event stream. - Pass cli_auth_credentials_store="auto" to Codex: --ignore-user-config drops it and the file-only default misses keyring logins (401). - Docs, .env.example and the systemd unit now state the default is "none". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What changes
LLM_CLI_PROVIDERS=nonethe default. Operators explicitly choosecodex,claude, or an ordered list such ascodex,claude; only listed CLIs are tried before the API provider.--yolowith--sandbox read-only,--ignore-user-config,--ignore-rules, disabled shell/browser/apps/plugins/hooks/multi-agent/image features, andweb_search="disabled". No MCP servers load.--dangerously-skip-permissionswith--permission-mode dontAsk,--tools ""and--strict-mcp-configwith no MCP config, so no built-in tools and no MCP servers.StructuredOutputevent (schema calls only) and Codextodo_listplan items are not tool use. Non-JSON warning lines are skipped; output without events fails only that call.cli_auth_credentials_store="auto"to Codex:--ignore-user-configalso drops that setting, and the file-only default misses a login kept in the OS keyring (401)..env.exampleand the systemd unit state the newnonedefault.If a summary turns out to need more chain data, add the read to the explainer's context gathering rather than giving the agent a tool.
Dependency audit
The certifi fix for
PYSEC-2026-4320(pincertifi==2026.10.19, certifi-onlyexclude-newer-packageoverride, no audit ignore) is split out to #432 somaingoes green first. This branch carries identicalpyproject.toml,uv.lockand CI files, so mergingmainafter #432 is conflict-free and leaves only the CLI changes in this diff.Validation
uv run pytest -q tests/test_llm_cli.py: 40 passed (tool audit, environment allowlist, stderr-only errors, warning-line tolerance, fallback and factory wiring).typass.pwd, each answeredNO_TOOLS; schema-constrained output works on both.Rollout
Keep
LLM_CLI_PROVIDERS=nonein production until this version is deployed. Enable one CLI explicitly for a trial, check theAI summary using <model>logs, then choose the order.Both CLIs still run as the monitoring service's Unix user, and the restrictions are CLI flags; event auditing detects unexpected tool calls after the fact and cannot undo one.
🤖 Generated with Claude Code