id: recipe-verify-scenarios topic: tooling title: Verify scenarios — declarative sim runs that prove a template works pins: - tests/test_builder.py::test_builder_verify_all_runs_every_scenario verified: flua 0.1.169


Verify scenarios — declarative sim runs that prove a template works

Every recipe manifest can declare a verify block — a scenario run in the sim on a 6000x virtual clock (flua --tool build --verify <id>, --verify-all, --json for agents; CI gates template changes on it):

"verify": {
  "start": {"time": "12:00"},
  "params": {"deviceId": 1, "offset": 1},
  "steps": [
    {"check": {"device": "deviceId", "value": false}},
    {"waitUntil": {"device": "deviceId", "value": true, "timeout": "12h"}}
  ]
}