# NousResearch/hermes-agent · Anthropic thinking block duplication and trust issues

## Open now

- 1 issue, 2 PRs open on GitHub.
- #123923: Anthropic /v1/messages 400 'thinking blocks cannot be modified': heartbeat continuation duplicates thinking blocks into one assistant message
- PR #123955: fix(agent): demote stale signed thinking on interleaved turns restored from state.db (#123923)
- PR #124570: fix(anthropic): distrust restored tool-turn thinking signatures

These members address problems with thinking blocks being incorrectly duplicated or having stale/untrusted signatures across heartbeat continuations and restored agent turns. The work involves both identifying the bug and applying fixes related to thinking block integrity in multi-turn Anthropic interactions.

## 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

- #123923: Anthropic /v1/messages 400 'thinking blocks cannot be modified': heartbeat continuation duplicates thinking blocks into one assistant message

## Prior & competing PRs

- **#123955: fix(agent): demote stale signed thinking on interleaved turns restored from state.db (#123923)**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `515c0ec06f`, `#124570`
  - files: `agent/anthropic_message_convert.py`, `tests/agent/test_anthropic_interleaved_resume_signature.py`
- **#124570: fix(anthropic): distrust restored tool-turn thinking signatures**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `802ae8544b`, `582750e3f9`, `c04e16f488`, `8c11a233e2`, `#123955`, `#123955`, `#123955`, `#129620`, `#129620`, `#123923`, `#129620`, `#129620`, `#123955`
  - files: `agent/anthropic_message_convert.py`, `tests/agent/test_anthropic_restored_signature_order.py`

## Fix status

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