record_domain_result
Record audit results for a domain, validating verdict consistency and requiring a verdict for every rule. Set replace=true to overwrite an existing result.
Instructions
Record the audit result for one domain.
The payload itself is pydantic-validated by DomainResult (finding and
verdict consistency, could-not-run reason, could-not-evaluate notes).
On top of that: the domain must be one of the domains selected for
this run, and a completed result must carry a verdict for every rule
the domain defines; a completed result missing a verdict raises
IncompleteResultError listing exactly which rule ids are missing, so
the agent can fix and resubmit rather than a skipped rule silently
passing. Re-recording an already-recorded domain requires
replace=True, to guard against an accidental overwrite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | ||
| replace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||