Skip to content

fix(cli): quiet startup — probe misses only with TOLE_VERBOSE=1 (#435) - #446

Merged
ajianaz merged 1 commit into
developfrom
fix/quiet-startup
Oct 27, 2026
Merged

ajianaz merged 1 commit into
developfrom
fix/quiet-startup

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

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 found and no GitHub origin remote detected are 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 headless tole run. The information is not lost: tole doctor reports cora and uteke against the supported versions (#423).

Changes

  • tool_roster.rs: probe_notice prints a probe miss only when TOLE_VERBOSE is 1 / true / yes; the three notices use it. mcp[<name>]: no tools registered stays unconditional: an explicitly configured MCP server that fails is a real problem, not noise.
  • README env table: TOLE_VERBOSE. CHANGELOG.

Testing

  • New e2e quiet_startup (real binary, no uteke / cora on PATH, not a git checkout): by default stderr contains none of the three notices; with TOLE_VERBOSE=1 it contains all three. The default-silent test fails on the previous code.
  • Unit test for the TOLE_VERBOSE parsing.
  • 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 existing allow(dead_code) idiom), cargo test --workspace: all green.
  • Cora agent-as-reviewer on the exact staged diff, judged from review_finalize: should_block: false, 0 issues.

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.
@ajianaz ajianaz added this to the 0.9.0 milestone Oct 27, 2026
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit da0d0e4 into develop Oct 27, 2026
16 checks passed
@ajianaz
ajianaz deleted the fix/quiet-startup branch October 27, 2026 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(cli): quiet startup — demote per-run "binary not found" notices

1 participant