submit_scaffold_verdicts
Validate verdicts for scaffold compliance, attach a provenance stamp, and return the rendered checklist report as the only authoritative assessment output.
Instructions
Scaffold-mode completion: validate verdicts produced by the calling
agent (leaf coverage, verdict vocabulary, mandatory verbatim evidence quotes
resolved to spans) and return the stamped assessment TOGETHER WITH the
finished, rendered deliverable. items is the verdict array from the forced
tool call — one object per leaf with id, verdict, confidence,
rationale, and (for reported/partial) evidence_quotes.
THE ARTIFACT OF RECORD is in the returned report (by default the HTML
form), carrying a provenance stamp bound to the ingested text and prompt.
That stamped render is the ONLY canonical output — present it as the
completed checklist. Need another format? Do NOT hand-assemble one: call
render_checklist (markdown) or render_checklist_docx (.docx bytes) to
re-render the same stamped artifact, or pass report_formats (any of
'html', 'markdown', 'docx') to include them here. The default is HTML only
because every extra format flows through your context window. The items
verdicts are an intermediate object; do NOT hand-assemble your own checklist
document and present it as the assessment, because it will lack the stamp
and cannot be verified. You MAY additionally write an analytic memo
(prioritized gaps, an estimand-first reading), but label it as commentary
and cite the stamp — never let it stand in for, or inherit the authority
of, the stamped form.
Set render=false to skip rendering (verdicts only). The parse cache does not
survive a server restart; if text_sha256 is no longer cached, pass
document (the same path or text) to re-parse transparently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| model | No | unspecified | |
| render | No | ||
| document | No | ||
| text_sha256 | Yes | ||
| spec_version | No | target-0.1.0 | |
| report_formats | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| items | No | ||
| model | No | ||
| usage | No | ||
| report | No | ||
| citation | No | ||
| documents | No | ||
| assessed_at | No | ||
| prompt_hash | No | ||
| temperature | No | ||
| text_sha256 | No | ||
| spec_version | No | ||
| manuscript_id | No | ||
| excluded_leaves | No | ||
| section_rollups | No | ||
| extractor_version | No | ||
| supplement_status | No | ||
| full_text_available | No | ||
| prompt_template_version | No | ||
| unresolved_evidence_leaves | No |