| name | task-outcome-record |
| description | Deterministic post-run task outcome ledger writer. Uses task_outcome_ledger_write.py only and refuses to write without a binary success judgment. |
Task Outcome Record
Use this skill only after run-success-evaluate returns a valid binary success judgment. It appends one auditable task outcome record to a JSONL ledger.
This skill is deterministic and does not invoke any LLM agent.
Inputs
<ledger>
.kamino/evals/tasks/task-outcome-ledger.jsonl
</ledger>
<task_detail_json>
.kamino/evals/tasks/details/<task_id>.json
</task_detail_json>
<run_evidence_json>
path/to/run-evidence.json
</run_evidence_json>
<success_judgment_json>
path/to/success-judgment.json
</success_judgment_json>
Uses
- Script only:
.kamino/evals/scripts/task_outcome_ledger_write.py
Run the script only through uv run:
uv run .kamino/evals/scripts/task_outcome_ledger_write.py \
--ledger ".kamino/evals/tasks/task-outcome-ledger.jsonl" \
--task-detail "<task-detail.json>" \
--run-evidence "<run-evidence.json>" \
--success-judgment "<success-judgment.json>" \
--format json
Output
Strict JSON containing:
record_id
ledger_path
success
task_text_hash
task_detail_path
record_sequence
Rules
- Refuse to run without a task detail JSON file.
- Refuse to run without a success judgment JSON file.
- Refuse to write unless
success is present and boolean.
- Record partial, missing, or unverifiable completion as
success: false.
- Append exactly one completed or failed JSONL record per valid invocation.
- Do not write pending, partial, pre-run, or in-progress rows to the ledger.
- Do not run agents.
- Do not invoke any LLM agent.
- Do not invoke AutoResearch.
- Run Python only through
uv run.
Failure Conditions
Fail clearly and do not modify the ledger if:
- Any required input file is missing.
- Any input JSON is malformed.
- The task detail JSON is malformed or schema-invalid.
- The success judgment is missing
success.
- The success judgment has non-boolean
success.
- The route value inside task detail is unsupported.
- The ledger parent path cannot be written.
- The script exits non-zero.