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

{{$m.DisplayName}} goals

{{range $k, $v := .Data.Stats.ByStatus}}{{$k}} {{$v}} {{end}} Goals bias attention through goal relevance; they never grant capabilities.

{{template "mind_tabs" (dict "M" $m "Active" "goals")}}
{{if .Data.Goals}} {{if .Principal.User.Role.AtLeast "operator"}}{{end}}{{range .Data.Goals}} {{if $.Principal.User.Role.AtLeast "operator"}}{{end}} {{end}}
GoalKindStatusPriorityProgressOwnerProgress at
{{if .ParentID}}↳ {{end}}{{.Title}}{{if .Description}}
{{.Description}}
{{end}}{{if .Blockers}}
blocked: {{range .Blockers}}{{.}}; {{end}}
{{end}}{{if .OriginEvent}} origin{{end}}
{{.Kind}}{{.Status}}{{conf .Priority}} {{pct .Progress}}{{.Owner}}{{ago .LastProgressAt}}
{{if ne .Status "completed"}}{{end}}{{if ne .Status "abandoned"}}{{end}}
{{else}}

No goals yet. Curiosity creates investigation goals from unexplained observations, prediction errors and contradictions; operators can set task goals here.

{{end}}
{{if .Principal.User.Role.AtLeast "operator"}}

New goal

{{end}}
{{end}}