{{define "content"}} {{$r := .Data.Replay}}{{$m := .Data.Mind}}

Replays › {{$m.DisplayName}}

Replay {{$r.Status}}

From snapshot {{.Data.Snapshot.Name}} (event {{.Data.Snapshot.EventSeq}}), events {{$r.FromSeq}}–{{$r.ToSeq}} · {{$r.Summary.Steps}} steps · {{$r.Summary.Cycles}} cycles · model calls: {{$r.Summary.LLMReplayed}} replayed, {{$r.Summary.LLMLive}} live{{with $r.Error}} · {{.}}{{end}}

{{with .Data.Sandbox}}

Sandbox mind: {{.Slug}} (disabled; kept for inspection) · compare with source

{{end}}
{{$r.Summary.Exact}} exact {{$r.Summary.Approximate}} approximate {{$r.Summary.Diverged}} diverged
{{if eq $r.Status "running"}}

Running… this page refreshes.

{{end}}
{{if .Data.Steps}}{{range .Data.Steps}}
{{.Label}} {{.Index}}. {{trunc .Summary 120}} · {{.Cycles}} cycle(s){{if .LLMReplayed}} · {{.LLMReplayed}} recorded model response(s){{end}}{{if .LLMLive}} · {{.LLMLive}} live call(s){{end}}
{{with .Note}}

{{.}}

{{end}}

Recorded

    {{range .Original}}
  • {{.}}
  • {{else}}
  • nothing
  • {{end}}

Replayed

    {{range .Replayed}}
  • {{.}}
  • {{else}}
  • nothing
  • {{end}}
{{end}}{{else}}

No steps recorded{{if eq $r.Status "running"}} yet{{end}}.

{{end}}
{{end}}