sumo_qa_record_mutation
Validate a host-collected mutation summary and persist it as the .sumo-qa/mutation.json artifact that the QA report loads.
Instructions
Validate a host-collected mutation summary and persist it as the
.sumo-qa/mutation.json artifact the QA report loads (issue #147
follow-up). FILE/FORMAT PLUMBING ONLY — the host skill runs the mutation
tool and the LLM reads its output (any format); this tool runs nothing
and infers nothing.
Common natural-language phrasings that map to this tool: "record the mutation result", "save the survivors into the QA report", "persist the mutation summary".
mutation is a dict with optional survivors (>= 0), killed
(>= 0), freshness (fresh/stale/unknown/absent), detail (e.g.
where survivors live), plus source_tool and generated_at
provenance. Omit the counts for a not-measured signal. Validation fails
BEFORE any write. Mutation evidence is REPORTED, never gated.
write_to defaults to the conventional .sumo-qa/mutation.json
under the target repo; a relative path is confined to root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| mutation | Yes | ||
| write_to | No | .sumo-qa/mutation.json |