Skip to content

feat(cli): supported cora/uteke versions and a doctor ecosystem report (#422, 1/3) - #423

Merged
ajianaz merged 2 commits into
developfrom
feat/ecosystem-versions
Oct 26, 2026
Merged

ajianaz merged 2 commits into
developfrom
feat/ecosystem-versions

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

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: an ecosystem: section after the provider tiers — ✓ supported, ✗ too old with the upgrade command, - not installed, ? unreadable. Informational only; it never changes the exit code.
  • README (ecosystem position + doctor section) and CHANGELOG.

Testing

  • Unit tests: version parsing (cora 0.19.0\n…, uteke 0.21.1, v1.2.3-rc1, malformed), classification against the floor, the upgrade hint.
  • New e2e doctor_ecosystem (real binary, fake cora 0.18.0 on PATH, no uteke): the offline tier still passes, the report shows "too old" with cargo install cora-code --locked and "uteke not installed".
  • Manually on this machine: ✓ 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.

#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.
@github-actions

github-actions Bot commented Oct 26, 2026 •

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 41e94fd into develop Oct 26, 2026
16 checks passed
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]>
@ajianaz
ajianaz deleted the feat/ecosystem-versions branch November 20, 2026 08:36
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.

1 participant