# fix\(web\): stop mis-marking recovered and text-reported tool failures in the v2 work log · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/2578d430632010fe3560f32f8ac81455463e2e49)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 2578d430632010fe3560f32f8ac81455463e2e49

Requested commit: 2578d430632010fe3560f32f8ac81455463e2e49

Commit: 2578d430632010fe3560f32f8ac81455463e2e49

Tree: 53188292f142821604792ee286f4972852f91bb8

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(web): stop mis-marking recovered and text-reported tool failures in the v2 work log

Ports main's #7999/#7893 failure policy onto the v2 turn-item work log:
output text that reports a failure (command not found, ENOENT, nonzero
exit markers) now flags a row even when the provider item completed
"successfully", while the rendered row judges only its displayed result —
a command that merely greps for failure strings stays calm. Success now
also requires the failure check to pass, so recovered failures no longer
get the blue check.

The server half of #7893 needs no port: CodexAdapterV2 already projects
item.status directly, so a failed item never masquerades as completed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

```

## Parents

- [49134b7b99c5def640bb4ab7042ec902912e7f91](https://git.cafe/pingdotgg/t3code/commit/49134b7b99c5def640bb4ab7042ec902912e7f91?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/2578d430632010fe3560f32f8ac81455463e2e49?format=markdown)
