{{define "content"}} {{$c := .Data.Ctx}}{{$e := $c.Event}}

{{.Data.Mind.DisplayName}} › thoughts › event #{{$e.Seq}}

{{$e.Type}} {{$e.Summary}}

{{$e.OccurredAt.Local.Format "2006-01-02 15:04:05.000"}} · source {{$e.Source}} · salience {{conf $e.Salience}} · confidence {{conf $e.Confidence}}{{if $e.Valence}} · valence {{conf (deref $e.Valence)}}{{end}}{{if $e.Arousal}} · arousal {{conf (deref $e.Arousal)}}{{end}}

Causal chain full timeline →

{{if $c.Cause}}
caused by
{{$c.Cause.Type}} {{$c.Cause.Summary}}
↓
{{end}}
{{$e.Type}} {{$e.Summary}}
{{if $c.Children}}
↓
{{range $c.Children}}
{{.Type}} {{.Summary}} {{.Source}}
{{end}}{{else}}
No downstream events yet.
{{end}}

Evidence what this event rests on

{{if $c.EvidenceAll}} {{range $c.EvidenceAll}}{{end}}
KindReferenceNote
{{.Kind}}{{if eq .Kind "event"}}{{.ID}}{{else if eq .Kind "memory"}}{{.ID}}{{else if eq .Kind "belief"}}{{.ID}}{{else}}{{.ID}}{{end}}{{.Note}}
{{if $c.Evidence}}

Cited events

{{end}} {{else}}

No evidence references. {{if eq $e.Category "perception"}}Observations are primary evidence themselves.{{end}}

{{end}}

Payload

{{.Data.Payload}}
{{if $e.Metadata}}

Metadata

{{.Data.Metadata}}
{{end}}

Identifiers

Event
{{$e.ID}}
Seq
{{$e.Seq}}
Recorded
{{$e.RecordedAt.Local.Format "15:04:05.000"}}
{{if $e.CorrelationID}}
Correlation
{{$e.CorrelationID}}
{{end}} {{if $e.ParentIDs}}
Parents
{{range $e.ParentIDs}}{{.}}
{{end}}
{{end}}

Derived from this events citing it as evidence

{{if $c.Derived}}{{else}}

Nothing yet.

{{end}}
{{if $c.Correlated}}

Same correlation {{len $c.Correlated}} events

    {{range $c.Correlated}}
  1. {{.Type}} {{.Summary}}
  2. {{end}}
{{end}}
{{end}}