feat: add Jev decision and tree SDK - #1
Merged
Merged
Conversation
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.
Summary
Jev Code is now a reusable, Jev-only decision harness instead of a coding CLI with optional LLM generation bolted on. Consumers can build typed routers, composable decision programs, and bounded formal trees, while Jev Code itself uses those public contracts for action routing and Bash AST construction.
The old generation-provider, proposal, mapping, OAuth, and recovery surfaces are removed rather than hidden behind flags. The remaining system has one policy authority: Jev chooses among finite alternatives supplied and validated by deterministic host code.
Design decisions
DecisionProgramdefinitions with isolated runsProgramtype and expose the runtime asDecisionProgram; deep implementation imports are blocked.What is now possible
jev-codeCLI binary.Compatibility and migration
This advances the private package from
0.1.0to0.2.0. The language-ASTProgramexport remains available; the new runtime isDecisionProgram.Removed APIs and commands include generation providers,
propose, program/action mapping, provider login/setup, and their credential/wire types. Existing saved config may contain obsolete generation fields; they are ignored. LegacyJEV_GENERATION_API_KEYvalues remain scrubbed from subprocesses.Verification
pnpm test— 309 tests passpnpm run typecheck— passespnpm run build— passespnpm run test:package— packed ESM, NodeNext, bundler, CLI, deep-import, stale-artifact, and example contracts passPost-Deploy Monitoring & Validation
No additional production monitoring service is required because this repository ships a local SDK/CLI rather than a hosted runtime.
--help,decide, and a Jev-only coding run behave normallyPlanning artifacts
docs/brainstorms/2026-09-19-typed-decision-program-sdk-requirements.mddocs/plans/2026-09-19-002-feat-typed-decision-sdk-plan.md