Repository navigation
chore(provider): drop CORAGENT_* legacy env prefix - #38
Merged
Merged
Conversation
Nothing is released yet — no compatibility surface to protect. The pre-rename CORAGENT_* prefix is removed entirely; resolution is now TOLE_* (canonical) > OPENAI_* (standard fallback), complete-triple semantics unchanged. Docs, CLI error message, .cora.yaml rule, and the env-snapshot test list updated in the same pass. Grep-clean: zero CORAGENT references remain in the tree. Validated live: CORAGENT_*-only env is now rejected with the new guidance message; TOLE_*-only env completes a real provider turn. 112/112 tests, clippy clean.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Oct 7, 2026
Closed
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
Removes the pre-rename
CORAGENT_*env prefix entirely. Provider env resolution is now exactly two prefixes:TOLE_*(canonical) >OPENAI_*(standard fallback) — complete-triple semantics unchanged (no blending, whitespace = absent). Docs, CLI error message,.cora.yamlrule, and the test env-snapshot list updated in the same pass. Grep-clean: zeroCORAGENTreferences remain in the tree.Why
Nothing has been released — there is no compatibility surface to protect, and the repo/crates are already fully renamed to tole. A legacy prefix would only teach new users a name we intend to delete. Simpler contract, one less branch in every future env-related change.
Testing
missing provider config: set TOLE_* … or the OPENAI_* equivalents); TOLE-only env completes a real provider turn (read_fileprobe answered correctly).