{{define "content"}}
Actions a mind wants to take that policy marks ASK. Approvals are bound to the exact request; modified parameters are re-validated and recorded.
{{.Capability}}{{if .Target}} on {{.Target}}{{end}} · requested {{ago .CreatedAt}} · expires {{.ExpiresAt.Local.Format "02 Jan 15:04"}}{{if .EventID}} · event{{end}}{{.Access}} · {{if .Idempotent}}idempotent{{else}}not idempotent{{end}}{{if .SideEffects}} · side effects: {{.SideEffects}}{{end}}
{{end}}{{if .Reason}}{{.Reason}}{{else}}none given{{end}}
{{if .Evidence}}{{pretty (jsonOf .Params)}}Nothing is waiting.
{{end}}Temporary, scoped authority a mind has asked for. Granting creates an expiring grant that applies only where policy says ASK; it never overrides DENY. You may grant less than was asked.
{{if .Data.Batches}}{{range .Data.Batches}}{{.Capability}} on {{.TargetPattern}} for {{duration .DurationSeconds}}{{if .MaxOperations}}, at most {{deref_int .MaxOperations}} operations{{end}} · expires {{.ExpiresAt.Local.Format "02 Jan 15:04"}}{{if .EventID}} · event{{end}}{{.Reason}}
{{if .Evidence}}{{pretty (jsonOf .ParamConstraints)}}{{end}}{{if .Risk}}{{.Risk}}{{else}}none stated{{end}}
{{if .Mitigation}}{{.Mitigation}}
{{end}} {{if .Fallback}}{{.Fallback}}
{{end}} {{if .Alternatives}}{{.SideEffects}}
{{end}}{{end}}Earlier decisions on this capability for this mind: {{index .History "granted"}} granted, {{index .History "denied"}} denied. History informs; it never grants.
No open capability requests.
{{end}}| Mind | Capability | Target | Access | Limits | Expires | By | |
|---|---|---|---|---|---|---|---|
| {{index $.Data.MindNames .MindID}} | {{.Capability}} | {{.TargetPattern}} | {{.Access}} | {{if .MaxOperations}}{{.UsedOperations}} of {{deref_int .MaxOperations}} used{{else}}{{.UsedOperations}} used{{end}}{{if .ParamConstraints}} · {{range $k, $v := .ParamConstraints}}{{$k}}={{$v}} {{end}}{{end}} | {{.ExpiresAt.Local.Format "02 Jan 15:04"}} | {{.GrantedBy}} | {{if $op}}{{end}} |
None. Session approvals appear on the policies page.
{{end}}| Status | Mind | Action | By | Note | When |
|---|---|---|---|---|---|
| {{.Status}} | {{index $.Data.MindNames .MindID}} | {{.Capability}} {{.Target}}{{if .Error}}{{.Error}} {{end}} | {{.DecisionBy}} | {{.DecisionNote}} | {{ago .CreatedAt}} |
None.
{{end}}| Mind | Capability | Target | Result | ms | |
|---|---|---|---|---|---|
| {{index $.Data.MindNames .MindID}} | {{.Capability}} | {{.Target}} | {{if .Error}}{{trunc .Error 80}}{{else}}{{payloadField .Result "summary"}}{{end}} | {{.DurationMS}} | {{if .EventID}}event{{end}} |
None yet.
{{end}}