{{define "content"}} {{$m := .Data.Mind}}{{$p := .Data.Plan}}{{$op := .Principal.User.Role.AtLeast "operator"}}
plans · intention {{.Data.Intention.Description}}
revision {{$p.Revision}} · {{$p.Strategy}} strategy · {{$p.Origin}}{{if $p.RequireApproval}} · approval required{{end}}{{with $p.StatusReason}} · {{.}}{{end}}
| Step | Status | Expected | Observed | Records | {{if $op}}{{end}} |
|---|---|---|---|---|---|
| {{.Key}} {{.Title}} {{.Kind}}{{if .Capability}} · {{.Capability}} {{.Target}}{{end}}{{if .DependsOn}} · after {{join .DependsOn ", "}}{{end}} · attempts {{.Attempts}}/{{.MaxAttempts}} |
{{.Status}}{{with .StatusReason}} {{trunc . 200}} {{end}}{{with .Error}}{{trunc . 200}} {{end}} |
{{with .Expectation}}{{.Description}} ({{conf .Confidence}}, within {{.WithinSeconds}}s){{end}}{{with .Precondition}} precondition: {{.Check.Description}} {{end}} |
{{with .Observation}}{{index . "path"}} = {{index . "observed"}} ({{if index . "holds"}}holds{{else}}does not hold{{end}}){{end}} | {{if .ApprovalID}}approval · why {{end}}{{if .RequestID}}request {{end}}{{if .ExecutionID}}execution {{end}}{{if .PredictionID}}expectation {{end}}{{if .IntentionID}}subordinate intention{{end}} | {{if $op}}{{if eq .Status "blocked"}}{{end}} | {{end}}
| Estimated | Used | |
|---|---|---|
| Capability invocations | {{$p.Estimate.Invocations}} | {{$p.Actual.Invocations}} of at most {{$p.Budget.MaxInvocations}} |
| Operator approvals | {{$p.Estimate.Approvals}} | {{$p.Actual.Approvals}} |
| Wall time (s) | {{printf "%.0f" $p.Estimate.WallSeconds}} | — |
| Network operations | {{$p.Estimate.Network}} | — |
| Money | {{printf "%.2f" $p.Estimate.Money}} | {{printf "%.2f" $p.Actual.Money}} |
{{$p.CompletionCriteria}}
{{if $p.AbortConditions}}{{$p.Risk}}
| Strategy | Expected confidence | Approvals | Score | |
|---|---|---|---|---|
| {{.Strategy}} {{trunc .Description 120}} | {{conf .ExpectedConfidence}} | {{.Estimate.Approvals}} | {{printf "%.3f" .Score}} | {{if .Selected}}selected{{end}} {{.Why}} |
None recorded.
{{end}}{{.Data.Validation}}