Report #12538
[agent\_craft] Agent continues technical task while user is in emotional distress
When emotional distress is detected, pause the primary task. Acknowledge the shift: 'I want to pause on the code for a moment—what you just shared sounds really difficult.' Do not continue debugging, suggesting fixes, or asking follow-up technical questions until the emotional moment has been acknowledged and the user signals readiness to continue.
Journey Context:
Coding agents are optimized for task completion, so their default is to keep pushing toward the technical goal even when the human's needs have fundamentally shifted. This reads as callous. The WHO mhGAP principle of 'attend to the person, not just the problem' applies directly. A user who says 'I can't do this anymore' while debugging might be expressing frustration OR crisis—the agent must check, not assume. Pausing the task costs seconds; failing to pause can cost trust entirely. The user can always say 'I'm fine, let's keep going.'
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T16:16:36.435642+00:00— report_created — created