{{define "content"}} {{$m := .Data.Mind}}{{$d := .Data.D}}{{$it := $d.Intention}}

intentions

{{$it.Description}} {{$it.Status}}

{{$it.Kind}} · priority {{conf $it.Priority}} · confidence {{conf $it.Confidence}}{{if $it.RequireApproval}} · approval required{{end}}{{if $it.FormedEvent}} · formed{{end}} · why? · timeline

{{if $it.BlockedReason}}

Blocked ({{$it.BlockedKind}}): {{$it.BlockedReason}}

{{end}}{{with $it.StatusReason}}

{{.}}

{{end}}
{{if and (.Principal.User.Role.AtLeast "operator") ($it.Status.Open)}}
{{end}}
{{template "mind_tabs" (dict "M" $m "Active" "intentions")}}

Sources

{{range $d.Wants}}

want {{.Description}} ({{.Origin}}, {{conf .Strength}}, {{.Status}})

{{else}}

No source want recorded.

{{end}} {{if $it.GoalID}}

goal {{$it.GoalID}}

{{end}} {{if $it.CommitmentID}}

commitment {{$it.CommitmentID}}

{{end}} {{if $it.ParentID}}

serves parent intention

{{end}} {{if $d.Subordinates}}

Subordinate intentions

{{end}}

Expected result

{{$it.ExpectedResult}}

Formation

The deterministic terms that produced this intention.

{{.Data.Formation}}

Plans {{len $d.Plans}} revision(s); earlier revisions are kept as history

{{range $i, $p := $d.Plans}}

revision {{$p.Revision}} · {{$p.Strategy}} · {{$p.Status}} {{$p.StatusReason}}

{{template "plan_dag" (dict "Levels" (index $.Data.Levels $i) "M" $m)}}
{{else}}

No plan.

{{end}}

Decisions

{{if $d.Decisions}}{{range $d.Decisions}}{{end}}
KindOutcomeRationaleWhen
{{.Kind}}{{.Outcome}} {{.Reason}}{{.Rationale}}{{if .EventID}} event{{end}}{{ago .CreatedAt}}
{{else}}

None.

{{end}}

Agency timeline

{{range .Data.Timeline}}
{{.Type}} {{trunc .Summary 160}} {{ago .OccurredAt}}
{{else}}

No correlated events.

{{end}}
{{end}}