pub fn op_gate(body: &str, id: &str) -> Result<String>Expand description
Transition an item to Gated ([/]) by id.
Open → Gated: state mutates.Gated → Gated: idempotent no-op (returns body unchanged).Done → *: error (cannot re-gate a completed item).