Report work
report_workReport a claimed work unit's outcome—progress, completed with validation, failed, blocked, or released—and advance to the next task in the session.
Instructions
Report a claimed unit: progress (checkpoint), completed (requires validation evidence), failed, blocked (requires blocker), or released. Completed with failing checks counts as a failed attempt. Then call next_work: a finished unit never ends the session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unitId | Yes | ||
| blocker | No | Required for blocked. | |
| outcome | Yes | progress = checkpoint/heartbeat; completed = done with passing validation; failed = attempt failed; blocked = external blocker; released = hand the unit back unstarted or partially done. | |
| summary | Yes | What happened, in one or two sentences. | |
| artifacts | No | Files changed, commits, PRs. | |
| sessionId | Yes | Session handle returned by start_session. | |
| checkpoint | No | Exact resume point for unfinished work. | |
| validation | No | Required for completed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| state | Yes | ||
| guidance | Yes | ||
| sessionId | Yes | ||
| newlyReadyUnitIds | Yes |