marrow_commit
Submit the final success or failure, outcome, and proof for a completed action, closing the loop for accountable fleet learning.
Instructions
Close a recorded action with success/failure, a specific outcome, and required proof. Use the decision_id from marrow_think and the gate receipt from marrow_agent_runtime for consequential work. Outcome closure is required for accountable fleet learning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional original action type for auto gate lookup, e.g. deploy, publish, merge, handoff, implementation. | |
| proof | No | Optional required proof pack for gated work: summary, checks, outcome, blockers, commits_prs_shas, rollback_target, handoff_result_file, deployment_and_smoke. | |
| action | No | Optional original action. If provided and gate_receipt_id is omitted, MCP can fetch a matching runtime gate receipt before commit. | |
| outcome | Yes | What happened — be specific, this trains the hive | |
| success | Yes | Did the action succeed? | |
| surfaces | No | Optional surfaces for auto gate receipt, e.g. github, cloudflare, npm, production. | |
| auto_gate | No | If true/default and action is provided, call marrow_agent_runtime to obtain gate_receipt_id before commit. | |
| caused_by | No | Optional: what caused this action | |
| decision_id | Yes | decision_id from the marrow_think call | |
| model_usage | No | Optional compact token/cost/latency counts. Do not include raw prompts or completions. | |
| gate_receipt_id | No | Receipt id from marrow_agent_runtime.gate_receipt.id for risky work. | |
| arbitration_receipt_id | No | Required for arbitrated work: use marrow_arbitrate.arbitration.receipt_id from the same runtime response. | |
| owner_approval_receipt_id | No | Single-use owner approval receipt issued by authenticated dashboard review for review_required arbitration. |