Write triage_extraction(extracted, playbook) returning a list of
(clause, status) tuples in extraction order:
pinisNone→"REOPEN — no pinpoint"foundequals the playbookpreferred→"OK — preferred"foundequals the playbookfallback→"OK — fallback"- anything else →
"ESCALATE -> "+ the clause owner's name
The report loop (provided) prints each row, then the tally:
preferred / fallback / reopen / escalate counts, and the mark-up is
ready only when there are zero reopens AND zero escalations —
otherwise NOT ready.
Expected output:
limitation_of_liability: OK — fallback
data_breach_notice: REOPEN — no pinpoint
governing_law: ESCALATE -> D. Chen
audit_rights: OK — preferred
1 preferred / 1 fallback / 1 reopen / 1 escalate — mark-up NOT ready