Repository navigation
fix(cli): quiet startup — probe misses only with TOLE_VERBOSE=1 (#435) - #446
Merged
Merged
Conversation
uteke binary not found, cora binary not found and no GitHub origin remote detected are expected states on most machines, yet were printed on every run of every face. The tool roster now prints them only when TOLE_VERBOSE=1; tole doctor reports cora and uteke regardless. A configured MCP server that registers no tools is still reported.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
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
The three startup probe notices are silent by default and printed only with
TOLE_VERBOSE=1. Closes #435.Why
uteke binary not found,cora binary not foundandno GitHub origin remote detectedare expected on most machines, yet every run printed them, on every face (since #426 the server faces too). They landed in CI logs, piped output and every headlesstole run. The information is not lost:tole doctorreports cora and uteke against the supported versions (#423).Changes
tool_roster.rs:probe_noticeprints a probe miss only whenTOLE_VERBOSEis1/true/yes; the three notices use it.mcp[<name>]: no tools registeredstays unconditional: an explicitly configured MCP server that fails is a real problem, not noise.TOLE_VERBOSE. CHANGELOG.Testing
quiet_startup(real binary, no uteke / cora on PATH, not a git checkout): by default stderr contains none of the three notices; withTOLE_VERBOSE=1it contains all three. The default-silent test fails on the previous code.TOLE_VERBOSEparsing.cargo fmt --all --check,cargo clippy --workspace --all-targets -- -D warnings, bare-profile clippy (none / shell-tools; the first run caught the helpers being unused without shell-tools, fixed with the existingallow(dead_code)idiom),cargo test --workspace: all green.review_finalize:should_block: false, 0 issues.