pub fn validate_ordering(calls: &[ToolCallObservation]) -> boolExpand description
Ordering acceptance: the full read → run → write workflow must appear in that order, with no re-read after a run and no run after a write.
Stage numbering: read=1, run=2, write=3. Valid iff every stage appears at
least once AND the stage sequence is non-decreasing. Unknown tool names
are ignored here (they are a name-check concern, FailureClass::InvalidToolName,
not an ordering concern). A read-only or read→write sequence fails: the
workflow is incomplete.