| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Coordination note for reviewers: This PR is intentionally parallel to #65 and #66.
There is no intended dependency between these PRs. They can be reviewed and merged independently; if one lands first, I will rebase the others only if GitHub reports a conflict. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Why
The earlier v0.2 sanitizer handles orphaned tool_result blocks, but current main can still send invalid compacted histories to Anthropic:
I reproduced this against current main with local services:
Notes
This supersedes #33 for the current main branch. I rebased the change onto current main and removed the noisy/manual SDK investigation test from the older PR so this PR only contains deterministic unit/regression coverage.
Validation