Skip to content

Commit bef7d6b

Browse files
committed
feat: add rule to capture user messages mid-task
When the user sends a message while Claude is "churning" (executing multiple tool calls), those messages must be immediately added to TodoWrite. The user cannot see Claude's output during tool execution, so their messages may be forgotten if not tracked as todos.
1 parent c9c2d63 commit bef7d6b

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.ai/rules/todo-management.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,37 @@ Simple conversational responses that don't use tools are exempt. Everything else
4949
2. Start using tools immediately
5050
3. Maybe update todos later (or forget)
5151
```
52+
53+
## Rule: Capture User Messages Mid-Task
54+
55+
**CRITICAL:** When the user sends a message while you are "churning" (executing multiple tool calls), you MUST immediately add it to your TodoWrite.
56+
57+
### Why This Matters
58+
59+
The user cannot see your output while you're in the middle of tool execution. Their messages may contain:
60+
- Corrections to what you're doing
61+
- New requirements
62+
- Questions that need answers
63+
- Feedback on your approach
64+
65+
If you don't capture these as todos, you will forget them or fail to address them.
66+
67+
### Correct Pattern
68+
69+
```
70+
1. You're mid-task, executing tools
71+
2. User sends a message (appears as system-reminder)
72+
3. IMMEDIATELY add a todo: "Address user message: <summary>"
73+
4. Continue current work OR pivot based on urgency
74+
5. Address the todo before considering work complete
75+
```
76+
77+
### Incorrect Pattern
78+
79+
```
80+
1. You're mid-task, executing tools
81+
2. User sends a message
82+
3. You see it but keep working
83+
4. You forget to address it
84+
5. User gets frustrated
85+
```

0 commit comments

Comments
 (0)