Skip to content

feat(jev): centralize the advisory layer toggles in each mise [env] block - #58

Merged
CMaintz merged 1 commit into
mainfrom
feat/jev-mise-env-block
Oct 4, 2026
Merged

CMaintz merged 1 commit into
mainfrom
feat/jev-mise-env-block

Conversation

@CMaintz

@CMaintz CMaintz commented Oct 4, 2026

Copy link
Copy Markdown
Owner

What

Gives the advisory Jev layer's non-secret knobs one commented, opt-in home in the [env] block of every mise template (ts/java/php/dotnet/kotlin/python), instead of leaving them as scattered shell exports.

The group covers JEV_PROVIDER, JEV_MODEL, TYPESAFE_AI_BASE_URL, JEV_REVIEW_MIN_FILES, and the downstream hook toggles JEV_TOOLCALL_TRIAGE / JEV_FEATURE_PRECHECK. Every line stays commented, so absent == off == today's behavior. JEV_API_KEY is deliberately not here: the key stays in the shell, never in committed config.

Why it is safe for the gate

The block never names the scripts directory, so boundary.test.mjs (which fails the build if any mise file or gate workflow references that path) stays green. Jev remains strictly advisory and out of the six-verb oracle.

Reach caveat (documented)

A mise [env] value only reaches processes started via mise run / mise exec or a mise-activated shell, so a Claude Code hook sees these only when the editor was launched from such a shell. This is spelled out in the template comment and in scripts/jev/README.md.

Verification

  • boundary.test.mjs green; no scripts/jev substring in any mise/*.toml.
  • mise env / mise exec emit the uncommented vars (after mise trust) and propagate them to child processes.
  • Docs updated: docs/FEATURES.md "jev/" entry and scripts/jev/README.md Config section.

…lock

Give the Jev layer's non-secret knobs (JEV_PROVIDER, JEV_MODEL,
TYPESAFE_AI_BASE_URL, JEV_REVIEW_MIN_FILES, plus the downstream
JEV_TOOLCALL_TRIAGE / JEV_FEATURE_PRECHECK hook toggles) one commented,
opt-in home in all six mise templates instead of scattered exports. Every
line stays commented, so absent == off == today; the key itself is never
committed. Does not name the scripts dir, so boundary.test.mjs stays green.
Documents the mise [env] reach limit (only mise run/exec or an activated
shell) in the template and scripts/jev/README.md.
@CMaintz
CMaintz force-pushed the feat/jev-mise-env-block branch from 92b12a4 to 5404f9b Compare October 4, 2026 15:29
@CMaintz
CMaintz merged commit ad9141b into main Oct 4, 2026
7 checks passed
@CMaintz
CMaintz deleted the feat/jev-mise-env-block branch October 4, 2026 15:54
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