rulvar API reference / @rulvar/testing / ReplayRunOptions
Interface: ReplayRunOptions
Defined in: packages/testing/src/replay-strict.ts:25
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
adapters? | ProviderAdapter[] | Identity depends on the resolved model spec, so replays must resolve through the SAME routing as the recording run. Defaults to the createTestEngine fake routing; override for journals recorded against other adapters. | packages/testing/src/replay-strict.ts:36 |
journal | | JournalEntry[] | { runId: string; store: JournalStore; } | The journal to replay: raw entries, or a store plus runId. | packages/testing/src/replay-strict.ts:27 |
mode? | "strict" | 'strict' (default): any live call throws JournalMissError. | packages/testing/src/replay-strict.ts:29 |
onEscalation? | (result) => | EscalationDecision | Promise<EscalationDecision> | Escalation hook for value-form workflows (should stay cold on replay). | packages/testing/src/replay-strict.ts:40 |
profiles? | Record<string, AgentProfile> | - | packages/testing/src/replay-strict.ts:38 |
routing? | Partial<Record<InvocationRole, ModelSpec>> | - | packages/testing/src/replay-strict.ts:37 |