# NousResearch/hermes-agent · Bedrock tool call replay and ordering bugs

## Open now

- 1 issue, 2 PRs open on GitHub.
- #108584: \[Bug\]: Bedrock replays a deduplicated tool call from bedrock_content_blocks -> ValidationException "Expected toolResult blocks"
- PR #108585: fix(bedrock): don't replay a toolUse that was dropped from tool_calls
- PR #112303: fix(bedrock): replay the sidecar's block order with the values from content + tool_calls

These issues and fixes address bugs in Bedrock where tool calls are incorrectly replayed—either replaying dropped/deduplicated tool calls or replaying blocks in the wrong order—causing ValidationException errors.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #108584: \[Bug\]: Bedrock replays a deduplicated tool call from bedrock_content_blocks -> ValidationException "Expected toolResult blocks"

## Prior & competing PRs

- **#108585: fix(bedrock): don't replay a toolUse that was dropped from tool_calls**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`
  - files: `agent/bedrock_adapter.py`, `tests/agent/test_bedrock_transport_replay.py`
- **#112303: fix(bedrock): replay the sidecar's block order with the values from content + tool_calls**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `fadd080e1d`, `f5e6de6f4a`, `64628ea89b`, `#108584`, `#108200`, `#108200`, `#115290`, `#108584`, `#108585`, `#108584`
  - files: `agent/bedrock_adapter.py`, `agent/turn_recovery.py`, `tests/agent/test_bedrock_adapter.py`, `tests/agent/test_thinking_signature_recovery_strips_sidecars.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
