{{define "content"}} {{$p := .Data.Proposal}}
{{$p.Rationale}}
{{end}}
proposed by {{$p.Agent}}
(session {{$p.AgentSession}})
against {{shortsha $p.BaseRev}}
{{if .Data.Merged}}
— merged as {{$p.Approval}}
at {{shortsha $p.MergedRev}}
{{end}}
{{.Data.Unresolved}} unresolved Policy auto-merge is suppressed while a review thread is open; approving by hand still works.
{{end}} {{if .Data.CanApprove}}This proposal has been merged.
{{else if .Data.Rejected}}This proposal was rejected.
{{end}}{{.Path}}
{{if .New}}new{{end}}
No textual change.
{{else}} {{.Diff.HTML}} {{end}}This proposal changes no documents.
{{end}} {{/* Comments whose block is gone. They are shown here, whole, rather than moved onto whatever block now sits nearest: a critique read against the wrong paragraph is worse than one that admits it lost its place, because the reader cannot tell it is wrong. */}} {{if .Data.Lost}}The blocks these were written about are no longer in the proposed revision. They are kept as written and attached to nothing.
{{range .Data.Lost}}{{template "thread" .}}{{end}}