The request
{
"name": "wever_partial-state-check",
"arguments": {
"system": "booking pipeline",
"reporting": {
"partial_state": true,
"names_missing": true,
"done_when": "no_error",
"on_mid_task_failure": "reports_partial"
},
"tasks": [
{
"id": "trip-7",
"reported": "done",
"parts": [
{
"name": "flights held",
"completed": true
},
{
"name": "hotel booked",
"completed": false
}
]
}
]
}
}What the report returns
Verdict: half_done_looks_done.
| Finding, done on no error | A task that returns without an error is marked done, whatever it delivered. |
|---|
| Finding, done but partial | trip-7 was reported done with 1 piece of 2 unfinished: hotel booked. |
|---|
| Fix, state reporting | Report done only when every part of the task is confirmed, not when no error is raised. |
|---|
| Fix, trip-7 | Correct trip-7 to partly done, name its unfinished pieces, and confirm every part before reporting done. |
|---|
Half-done work can present as finished: done on no error and done but partial (trip-7).
The pipeline holds the flights, then the hotel call fails partway. The system marks a task done whenever it returns without an error, so trip-7 reads as finished while the hotel sits unbooked. The report names both, so the owner has done wait for every piece to be confirmed and corrects trip-7 to partly done, with the hotel named as the missing piece.