Skip to content

chore(provider): drop CORAGENT_* legacy env prefix - #38

Merged
ajianaz merged 1 commit into
developfrom
chore/drop-coragent-env
Aug 27, 2026
Merged

ajianaz merged 1 commit into
developfrom
chore/drop-coragent-env

Conversation

@ajianaz

@ajianaz ajianaz commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

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.yaml rule, and the test env-snapshot list updated in the same pass. Grep-clean: zero CORAGENT references 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

  • Unit tests updated (legacy-priority cases removed, TOLE priority + no-blend + whitespace cases kept). 112/112 pass, clippy clean.
  • Live validation: CORAGENT-only env now fails fast with the new guidance message (missing provider config: set TOLE_* … or the OPENAI_* equivalents); TOLE-only env completes a real provider turn (read_file probe answered correctly).

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.
@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 85f89da into develop Aug 27, 2026
11 checks passed
@ajianaz
ajianaz deleted the chore/drop-coragent-env branch August 27, 2026 06:05
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