{{define "content"}} {{$o := .Data.Origin}}{{$c := .Data.Chain}}

{{.Data.Mind.DisplayName}} › event #{{$o.Seq}} › timeline

Causal timeline

Around {{$o.Type}} {{$o.Summary}}. Arrows are the links events recorded when they were written: caused (causation), parent (parent ids) and cited (evidence references). Grouping by cycle is correlation, shown for orientation and not a causal claim. Nothing here is inferred.

{{if $c.Truncated}} truncated at {{len $c.Nodes}} events{{end}}
{{range .Data.Groups}}
cycle {{if .Cycle}}{{trunc (printf "%s" .Cycle) 8}}{{else}}—{{end}} (same-cycle grouping; correlation, not causation)
{{range .Nodes}}
#{{.Event.Seq}} · {{.Event.OccurredAt.Local.Format "15:04:05.000"}} · {{if lt .Depth 0}}{{.Depth}} (upstream){{else if gt .Depth 0}}+{{.Depth}} (downstream){{else}}origin{{end}}
{{.Event.Type}} {{.Event.Summary}} · {{.Event.Source}}
{{with index $.Data.Inbound .Event.ID}}
{{range .}}← {{.Kind}} {{trunc (index $.Data.Names .From) 70}} {{end}}
{{end}} {{if .Artefacts}}
rests on: {{range .Artefacts}}{{if eq .Kind "belief"}}belief{{else if eq .Kind "memory"}}memory{{else if eq .Kind "llm_call"}}model call{{else}}{{.Kind}}{{end}}{{with .Note}} ({{.}}){{end}} · {{end}}
{{end}}
{{end}}
{{end}}
{{end}}