Replays you can trust
A workflow now says when it is not sure instead of acting wrong, and works out more of its figures and decisions with code. On our 11-workflow benchmark, replays on a free model went from 21 of 44 right to 43 of 44, and the one left over handed over to the agent instead of acting.
Improved
- Check a recording before it goes live. hotpath compile shows what the recorded run did and asks whether it is right; an unconfirmed workflow does not replay on its own. Confirm later with hotpath confirm <task>, or pass --yes in CI.
- Decisions by code when the recording shows the rule: a lead's tier from its company's size, or a ticket's handling from its category, priority and amount. No model call, and an item between two recorded cases goes to your agent instead of being guessed.
- Per-item decisions the model still makes are asked twice. If the answers differ, your agent decides before anything is done.
- Report figures by code: totals per group, filtered sums, counts, the top item and the most frequent message are computed on each day's data, and the report must state them. Money keeps its cents.
- Number rules: record a calm day and an alert day, and a rule like "page only if the error rate is above 2" is learned from the agent's own words.
- Lists that page with a cursor (next_cursor, next_token) are followed like page numbers.
- Cheaper replays on big days: long lists the code already accounts for are no longer sent to the model. A day of log lines went from $0.024 to $0.0016 a replay. A step whose data grows far past the recording's prints a warning.
Fixed
- A recording where the agent stopped before its first action is refused, with what went wrong, instead of becoming a workflow that does nothing.
- A list longer than a loop's limit now goes to your agent instead of being cut short.
- A page read past the last one no longer splits a loop, and a link followed by full-width punctuation is no longer flagged.