Skip to main content

Crate hotl_testkit

Crate hotl_testkit 

Source
Expand description

Golden-transcript testkit.

Scripted completions drive the real actor/turn/persistence stack; tests assert on the normalized persisted transcript — the log is the canon, so the log is what gets golden-checked. Determinism comes from the commit protocol: the log fixes exactly one order for every interleaving the harness can produce.

Structs§

Harness
Scripted
The honest “second impl” (D9): a scripted provider driving the real engine in tests. Each stream() call pops the next script.

Enums§

TrajectoryMatch
How assert_trajectory relates the expected names to the actual sequence.

Functions§

tool_batch
A one-sample script whose assistant turn calls several tools in one batch.