# Claude chat: harness-injected user entries Claude Code records more than the operator's prompts as user-role input. The server (`internal/claude/injected.go`) classifies each one for history (`transcript.go`) and the live stream (`translate.go`): | Entry | Identified by | Shown as | |---|---|---| | Subagent / peer report | `origin.kind == "peer"` (user entry or `queued_command` attachment, often `isMeta`), or text opening `` block, or the stream's `system/task_notification` | `kind: "notice"`, one line `Background task finished: `; id `task-notice--` dedupes repeats | | Mid-turn wrapper | `` + `The user sent a new message while you were working:` | the operator's text only, as a user turn | | Reminders, skill bodies, image placeholders, interrupt markers, local commands | `isMeta`, or a harness prefix (``, `