curator_report_write
Atomically writes a Curator report to the configured report directory, using safe pass and batch IDs so sandboxed CLI agents can persist plans and verification results without filesystem access.
Instructions
Atomically write one Curator report inside the configured report dir.
This narrow tool is the cross-CLI alternative to direct filesystem Write:
Codex workspace sandboxes cannot write ~/.threadkeeper/curator when the
project is elsewhere. pass_id is filename-safe and cannot select an
arbitrary path. A bounded multi-child pass supplies batch_index and
batch_total so children cannot overwrite each other's reports. Repeated
calls replace the same pass/batch report so the Curator can persist its
plan before mutation and then add actual validation/rollback results. Only
a parent-authorized spawned Curator carrying the matching pass ID may write
a report; the final content hash is recorded for the report applier.
The verifier passes phase='verify' and writes its own VERIFY-*
report; only a child launched in the verify phase may do so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | No | ||
| content | No | ||
| pass_id | No | ||
| batch_index | No | ||
| batch_total | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |