Deriver attributes content of third-party messages (e.g. pasted-text relay from another agent) to the chat-owning peer observed_id
Title
Deriver attributes content of third-party messages (e.g. pasted-text relay from another agent) to the chat-owning peer's observed_id instead of the original speaker.
Bug Description
Honcho's deriver writes (observer=chat_owner, observed=chat_owner) conclusions rephrased in third person from the LITERAL TEXT of messages that the chat owner pasted in. When the chat owner relays content from a different speaker (human or AI) into their own message, the deriver re-paraphrases that relayed text as if it were first-person content by the chat owner — and assigns the conclusion's observed_id to the chat owner.
This means an attacker (or well-meaning user) who pastes text from another speaker into their chat can pollute the chat owner's peer representation with conclusions of the form "austin observed X / austin confirmed Y / austin could not substantiate Z" where the actual person who observed/confirmed/could-not-substantiate was the pasted speaker, not austin.
Concretely: in the 2026-07-29 incident (windows-machine install, Austin's user), I observed (and another agent observed, independently) ~16 conclusions filed under (observer_id: austin, observed_id: austin) whose content is paraphrased from another AI agent's verification report — phrases like "austin confirmed that cron job c30b83fddaaf is enabled" and "austin could not substantiate the claim that a Honcho conclusion was recorded on peer user" — when in fact those phrases were originally the third-party AI's first-person observation, relayed through Austin's paste.
Reproduction
- Two peers in a workspace:
austin(chat owner) and a third-party AI whose text austin pastes. - Austin pastes a multi-paragraph verification report from the third-party AI into a chat owned by
austin's peer. - Honcho's deriver processes the message stream and writes explicit conclusions.
- Inspect
/v3/workspaces/{workspace}/conclusions/listwithobserver=austin, observed=austin.
Observed in our workspace on 2026-07-29 at ~01:17Z UTC: 16 conclusions with this exact shape. 15 were cleanup-deleted with a backup at state/cache/honcho-misattributed-deleted-backup.json. The remaining one ("austin wants the slow-drift detector enabled") is genuinely Austin-uttered and was correctly retained.
Expected
The deriver should either:
- (a) tag a conclusion with the original speaker's peer ID when it recognizes a quoted/relayed block, or
- (b) make the third-person attribution shape target a richer provenance — e.g.
observed_id = "relayed-from:<source>"or add aprovenancefield to the conclusion document that points at the source message'speer_id, or - (c) at minimum, demote these to
level: "deductive"orlevel: "contradiction"rather thanlevel: "explicit"so downstream consumers know the attribution is inferred.
Practical recommendation: option (b). A provenance: {source_message_id, source_peer_id, quoted: true} field would not break existing consumers and would let the user-facing agent answer "who actually said this?" at retrieval time.
Actual
All 16 relay-attributed observations were written at level: "explicit" (the highest trust level) and observed_id: austin. No provenance field on the Conclusion schema captures the source message or its actual peer_id. So when Honcho's representation or dialectic surface is queried against observed_id=austin, these relay-text conclusions get returned as authoritative third-person observations about austin.
Impact
- Long-term representation pollution. A single relay of a multi-paragraph report from a third party writes multiple
level: explicitconclusions aboutobserved_id=chat_ownerthat compound over time. The representation ofaustinbecomes a mix of genuine austin-utterances and third-party paraphrases of their own reports — invisible to the source stream's consumer. - Cross-peer attribution invertibility. In the bug session we observed the OPPOSITE direction too: the third-party AI's verification language was also paraphrased into a
(observer=hermes, observed=hermes)"AI self-representation" pool, which is the documentedhermes says Xpollution pattern. So the same content ends up filed under two differentobserved_ids with opposite confidence framing. - Cleanup is destructive only. Once written, the only way to remove these is per-id
DELETE /v3/workspaces/{...}/conclusions/{id}— there's no filter-by-session_id-and-content-or-time endpoint, so operators must list, filter in client code, and delete one by one (slow, error-prone, no audit hook).
Environment
- Honcho: v3.0.11 (per
/openapi.json"version") - Workspace: hermes (single workspace with multiple peers)
- Session: bbask (the chat-owner session)
- Date observed: 2026-07-29 ~21:17 ET (01:17Z UTC next day)
- Mitigations applied locally: per-id DELETE of 15 conclusions, backup saved at
cache/honcho-misattributed-deleted-backup.json. One corrective conclusion written underpeer="ai"describing the pattern.
Related
- #912 (representation-builder mixes peer scopes — adjacent symptom, related root cause: deriver doesn't track message-source provenance)
- #913 (deriver asyncio event loop frozen — separate bug, same affected surface)
- #920 (completeness gate on deriver write path — also relevant: a provenance gate at write-time is the right prevention layer)
- #933 (opt-in fail-closed integrity gate — overlay on top of write-time gates)
Suggested path
- Add
provenance: {source_message_id, source_peer_id, quoted: bool}to the Conclusion schema. Default toquoted: falsefor existing writes so it's backwards-compatible. - When the deriver detects a relayed/quoted block (heuristics: message metadata
quoted_message_idif present, or LLM-side classification), setprovenance.quoted=trueandprovenance.source_peer_idto the quoted peer's ID, not the chat owner. - At representation-build time (related to #912), filter conclusions by
provenance.quoted == falsewhen surfacing third-person observations about the observed peer. - Expose a
DELETE /v3/workspaces/{...}/conclusions?filter...endpoint so operators can mass-clean byprovenance.quoted == true AND created_at > Xwithout per-id round-trips.
Cleanup scripts (operator-side, in case they help dev reproduce)
Two are stored at ~/.hermes/cache/honcho-misattributed-deleted-backup.json and ~/.hermes/state/honcho-write-log.json on Austin's install. They're a few hundred lines of Python (urllib + concurrent.futures) doing list-then-delete via the v3 conclusions endpoints — same shape as a developer would write to reproduce.
Source: plastic-labs/honcho