REH turns an AI video into a fal.ai flow. One Rust binary: CLI (src/main.rs), web (src/web.rs), MCP (src/mcp.rs).
- Evidence contract:
probe.rsproduces only measured facts. Model readings arekind: "inferred". Anything not knowable (prompt, seed, model) goes inunknowns. Never present an inference as fact. - Flow is the contract:
flow.rsowns the schema, validation, per-model input adapters (build_input), cost estimates and the fal Workflow export. Add a model = add aModelInfo+ an adapter arm + a test. - Spending is gated: anything that calls a generation endpoint goes through
build::build, which checks--max-usdfirst. - Harness: prompts live in
harness/*.mdand are compiled in (include_str!). Their SHA is stamped on reports. cargo testmust pass (includes a real-ffmpeg assembly test). Nounsafe, no shelling out through a shell.