Repository navigation
fix: gate tole-replay behind a non-default replay feature - #127
Merged
Merged
Conversation
Every [[bin]] target builds unconditionally, so the eval scorer shipped in plain builds and cargo install tole-cli — contradicting the documented operator-only contract (cora full-scan #12, my error from #108). required-features = ["replay"] with a non-default replay = [] feature: default builds/installations never produce it, eval sessions opt in via --features replay. Build commands in evals/README.md + run.py docstring updated. Verified: default build produces no tole-replay, --features replay builds it, package list excludes replay.rs.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Oct 7, 2026
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 (description of the change)
Gates the
tole-replayeval bin behind a non-defaultreplayfeature:required-features = ["replay"]on the[[bin]]target. Default builds,cargo install tole-cli, andcargo packagenever include it; eval sessions opt in viacargo build -p tole-cli --features replay --bin tole-replay. Build commands updated inevals/README.mdand therun.pydocstring.Why (the problem you're solving)
Closes #118 (cora full-scan MAJOR #12 — my own error from #108): every
[[bin]]target builds unconditionally, so the comment claiming "NOT installed by cargo install" was false; the comment now matches enforced reality instead of aspiration.Testing (how you verified this works)
tole-replayNOT produced (PASS).tole-replayrequires the features:replay".--features replay --bin tole-replaybuilds it (PASS).cargo package -p tole-cli --listexcludesreplay.rs.