script_rehearse
Step a cubicle.script v1 over the deck's own bars with the deterministic reference runner (cubicle-script run): one frame per bar (state, every gate's truth and the two sides it compared, fields, vars, position, order, fill, log), the summary (trades, wins, sum R, final state, blocked counts) and the frame hash — the run's receipt. Same script, params and window → the same hash (cached). Window defaults: the previous weekday's cash session (13:30–20:00 UTC) for NQ/ES, the last sealed 8 h for BTC/ETH/SOL; at most 6,000 bars. Pass script (YAML) or example (bender-corridor, ny-open-breakout, range-aware-stop); params replaces defaults within min..max and changes the hash. Metered on the run, not the bars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tf | No | default 1m | |
| to | No | unix seconds (in the past) | |
| from | No | unix seconds; with `to`, an explicit sealed window | |
| hours | No | crypto only: the last N sealed hours (default 8) | |
| frames | No | how many frames to return from the END of the run (default 60, max 600); the summary covers the whole run | |
| market | No | default NQ | |
| params | No | param overrides {name: number}, clamped to the script's min..max | |
| script | No | the cubicle.script v1 YAML text (or use example) | |
| example | No | a bundled example instead of script: bender-corridor | ny-open-breakout | range-aware-stop |