CodeWhale icon indicating copy to clipboard operation
CodeWhale copied to clipboard

Prompt-level reliability guidance for verification, tool-result handling, and failure recovery

Open Oliver-ZPLiu opened this issue 6 months ago • 2 comments

Coding agents commonly exhibit three reliability gaps:

  1. Claiming completion without verification — the model reports a task as done based on expected outcome rather than actual result.
  2. Losing critical context after tool-result cleanup — compaction clears old tool outputs and the model forgets key facts or fabricates replacements.
  3. Blind retries on tool failure — the model repeats the identical failing command instead of reading the error and adjusting.

These are soft failures that don't crash the TUI but erode user trust. Prompt-level rules are a low-risk improvement before any runtime mechanism.

Oliver-ZPLiu avatar May 10 '26 20:05 Oliver-ZPLiu

yes I agree - are you able to provide any particular chat logs so I can see more detail? feel free to remove anything you don't want - just am hoping to see a full log so I can make targetted changes

Hmbown avatar May 10 '26 22:05 Hmbown

Resolved in v0.8.28 via PR #1393 and #1392. Prompt-level reliability guidance for verification and tool-result handling has been added.

Hmbown avatar May 11 '26 00:05 Hmbown