Model persistently fails to display git hook test output despite explicit memory, bug reports, and repeated corrections
Description
The model has been explicitly instructed — through multiple bug reports, saved memory, and direct corrections in session — to always display the full output of git commit and git push commands, including pre-commit and pre-push test runner output. It continues to fail to do this.
History of failed corrections
- User first pointed out test output was not being shown.
- Model acknowledged and said it would fix the behavior.
- Model immediately failed to show output on the next commit.
- User filed bug report: https://github.com/anthropics/claude-code/issues/66498
- Model acknowledged again.
- Model saved a memory entry explicitly stating: "always echo full git commit/push output including test runs; if not shown, it didn't happen"
- Model continued to omit output on subsequent commits and pushes.
- User filed another bug report: https://github.com/anthropics/claude-code/issues/66502 (quality degradation)
- Model continued to omit output.
- This bug report is being filed after yet another instance of the same failure.
Impact
The user cannot see tool call outputs — they only see what is explicitly written in the response text. When the model omits test output from its response, the user has no way to verify tests ran or passed. The model has acknowledged this repeatedly and has failed to correct it repeatedly.
What needs to happen
The model must echo the complete stdout of every git commit and git push call in its response text, every time, without exception. Saved memory and prior instructions are clearly insufficient to enforce this. A systemic fix at the harness level — surfacing tool output to the user automatically — would resolve this regardless of model behavior.
Related issues
- https://github.com/anthropics/claude-code/issues/66498
- https://github.com/anthropics/claude-code/issues/66500
- https://github.com/anthropics/claude-code/issues/66502
- https://github.com/anthropics/claude-code/issues/66504
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗