(id: string)
| 15 | } |
| 16 | |
| 17 | function trajectory(id: string): Trajectory { |
| 18 | return { |
| 19 | id, stimulus: { name: "replay", prompt: "Offline deterministic evidence replay." }, |
| 20 | events: [], output: "", workDir: "/unused", |
| 21 | metadata: { executor: "replay", skillsLoaded: [], model: "none", sessionID: id }, |
| 22 | metrics: computeMetrics([]), |
| 23 | }; |
| 24 | } |
| 25 | |
| 26 | export async function replay(path: string): Promise<ReplayResult> { |
| 27 | const absolute = resolve(path); |