Skip to content

test: cover transcript insertion and offload thresholds - #410

Merged
github-actions[bot] merged 1 commit into
mainfrom
test/transcript-cost-coverage
Aug 20, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
test/transcript-cost-coverage

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

Adds tests that pin transcript and tool-output behavior that was previously only implicit:

  • read_file full-file, ranged, and huge-file window reads
  • the 2000-token offload gate (at-threshold stays inline; one token over offloads; stub keeps the first 500 characters)
  • compaction token accounting includes thinking and tool arguments
  • a model step applies multiple tool calls in order
  • Anthropic wire format omits assistant thinking

No production code changes.

Test plan

  • Tests are the change
  • CI cargo test --workspace --all-targets --locked

Pin read_file windows, the 2000-token offload gate, compaction token accounting, sequential tool application, and Anthropic thinking omitted from the wire.
@github-actions
github-actions Bot enabled auto-merge (squash) August 20, 2026 02:02
@github-actions
github-actions Bot merged commit afbc23f into main Aug 20, 2026
8 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
Pin read_file windows, the 2000-token offload gate, compaction token accounting, sequential tool application, and Anthropic thinking omitted from the wire.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Pin read_file windows, the 2000-token offload gate, compaction token accounting, sequential tool application, and Anthropic thinking omitted from the wire.
mohitranka added a commit that referenced this pull request Sep 11, 2026
Pin read_file windows, the 2000-token offload gate, compaction token accounting, sequential tool application, and Anthropic thinking omitted from the wire.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant