Repository navigation
feat(cli): supported cora/uteke versions and a doctor ecosystem report (#422, 1/3) - #423
Merged
Merged
Conversation
#422, 1/3) One place (tole_cli::ecosystem) holds the oldest supported sibling versions: cora >= 0.19.0 (agent-as-reviewer MCP tools) and uteke >= 0.21.1 (rooms replace the deprecated namespaces). tole doctor prints an ecosystem section that reports each binary as supported, too old (with its upgrade command) or not installed. It never blocks: both siblings are optional.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Oct 26, 2026
ajianaz
added a commit
that referenced
this pull request
Oct 27, 2026
#446) ## 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. Co-authored-by: ajianaz <[email protected]>
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
Declares the oldest cora and uteke versions tole supports and reports them in
tole doctor. Part 1 of 3 of #422.Why
tole drives cora and uteke as external binaries, so "on the latest" means stating a supported floor and telling the user when a binary is below it. Until now an old binary just failed tool by tool at run time. The floor is the current latest releases: cora 0.19.0 (agent-as-reviewer MCP tools) and uteke 0.21.1 (rooms replace the deprecated namespaces, needed by part 2).
Changes
tole_cli::ecosystem(new):SIBLINGS(bin, minimum version, role, install command),parse_version,classify,probe(<bin> --version, 5 s timeout, only when the binary is on PATH) and the report line.tole doctor: anecosystem:section after the provider tiers —✓supported,✗too old with the upgrade command,-not installed,?unreadable. Informational only; it never changes the exit code.Testing
cora 0.19.0\n…,uteke 0.21.1,v1.2.3-rc1, malformed), classification against the floor, the upgrade hint.doctor_ecosystem(real binary, fakecora 0.18.0on PATH, no uteke): the offline tier still passes, the report shows "too old" withcargo install cora-code --lockedand "uteke not installed".✓ cora 0.19.0,✓ uteke 0.21.1.cargo fmt,cargo clippy -p tole-cli --all-targets -- -D warnings, bare-profile clippy;cora review --staged: No issues found.