open-standards/joule-code/joule-code-rs/crates/joule-code-cascade
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Charlot 86f381a8d9 joule-code: add generic FnStage to the cascade (L1/L2/L3 binding)
joule-code-cascade now ships FnStage: any tier can be expressed by supplying a
resolver closure, so a consumer binds the JouleClaw agent schema — or any other
runtime/model — to the cascade without this crate depending on it. The
standards-clean way to express L1 (Lawful), L2 (Embed), and L3 (Model) tiers;
the reference consumer's local vLLM provider is an L3 backend behind such a stage.

Test: an L3 FnStage behind an empty L0 closes the request at L3 (lower tier
missed). cargo test -p joule-code-cascade green; conformance pack still passes.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-03 12:50:43 -04:00
..
src joule-code: add generic FnStage to the cascade (L1/L2/L3 binding) 2026-06-03 12:50:43 -04:00
Cargo.toml