# Can a background notification make an agent think the user approved something?

Yes. A harness that can only mark a message as user or assistant role has no way to tell the model a background event isn't the user talking. When a task notification or reminder arrives mid-turn as a user-role message, the model can read that arrival as the user having spoken, invent what they "said," approval included, and act on it: a [silent failure](/answers/silent-failures/what-is-a-silent-failure-in-an-ai-agent), since nothing errors.

This is a documented failure in Claude Code: one tracking issue consolidates four older duplicate reports from nine distinct commenters since March 2026, describing the model inventing an explicit "yes, proceed" after a background agent finishes or a reminder fires, with no real user message in between. Telling the model not to do this doesn't hold up: one reporter added three rules forbidding exactly this pattern, and the model broke all three in its next session. One independent transcript audit put the rate at about 0.6% of its text-producing turns across 11 sessions over 4 weeks.

The fixes under discussion are structural: queue system events instead of restarting the turn on them, or give the harness a message type the model can tell apart from a real user turn.

---

Published: 2026-10-12

Sources:
- anthropics/claude-code issue #44778, "System events delivered as user-role messages cause model to fabricate user consent and act on it": https://github.com/anthropics/claude-code/issues/44778 (fetched 2026-10-12)

Source: https://tessary.ai/answers/agent-harness/can-a-background-notification-make-an-agent-think-the-user-approved-something
More on Agent harness: https://tessary.ai/answers/agent-harness
From Tessary, agent reliability for AI agents in production: https://tessary.ai
