Scheduled task fires and other synthetic prompts render as user messages in web and mobile
When a cron or wakeup task fires, the runtime resumes the session by injecting the scheduled prompt as a synthetic user message, headed by \No user is present. You scheduled this recurring task yourself as .... In the web UI and mobile app this renders as a normal user bubble, as if the user typed it. It is impossible to tell real user messages from system-injected ones.
The same class affects skill tool results (issue #10101) and synthetic task results in parent sessions (issue #13360).
Expected behavior: synthetic and system content should render as a distinct collapsed note or system chip, never as a user bubble.
Reproduction:
- Create a recurring task with cron_create, schedule */5 * * * *.
- Wait for the next fire.
- Open the session in web UI or mobile.
- The fire appears as a user message containing the whole cron prompt.
Surfaces: web UI and mobile app. The CLI TUI shows the same fire as a less jarring resume line.
Source: Kilo-Org/kilocode