pub fn governance_block(state: &TaskState) -> Option<String>Expand description
Format the goal + open tasks as a prompt block.
Returns None when there is no active goal and no open tasks
— in which case the governance middleware does not need to inject
anything. A default “credential safety” rule is always included
when a goal is present.