analyze_submission
Advisory spec-versus-submission check. Retrieves cited index passages, then a closed judge label: met, not_met, or ambiguous. Empty or off-topic cite packs are ambiguous. Scores a named requirement only when a packed cite bears on it. structuredContent.rationale names met, unmet, and unaddressed requirements without pasting excerpts. Optional public GitHub PR (github_pr) is packed; private repos fail. Not a merge, payout, or money check. Does not post comments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Natural-language spec or acceptance criteria to check against. | |
| when | No | Optional date pin YYYY, YYYY-MM, or YYYY-MM-DD. Keeps cites whose passage date starts with that prefix. | |
| source | No | Optional pin to one corpus source (e.g. github, irc, mail, spec). Omit to search both layers. | |
| github_pr | No | Optional public GitHub PR URL (https://github.com/owner/repo/pull/n) or ref (owner/repo#n). Packed into the submission. Private repos fail. Not an arbitrary URL fetch. | |
| caller_ref | No | Optional opaque correlation id. Echoed, not interpreted. | |
| submission | Yes | Natural-language submission text (description and/or public PR pack). | |
| requirements | No | Optional named criteria strings. When present, the judge scores a criterion 0-1 only if packed cites bear on it; otherwise the score is omitted. |