trellis

Typed Flow Example

This example demonstrates context_schema validation for typed context values.

Run

Valid context:

trellis run ./examples/typed-flow --context '{"api_key":"secret","retries":3,"tags":["prod","critical"]}'

Invalid context (wrong type):

trellis run ./examples/typed-flow --context '{"api_key":"secret","retries":"three","tags":["prod"]}'

Missing field:

trellis run ./examples/typed-flow --context '{"api_key":"secret"}'