docs: document Format 4 and Format 5 todo detection patterns

Add native checkbox (☐/◐/☒) and Claude Code checkmark-based
(✔ Task #N) formats to CLAUDE.md and ralph-wiggum-guide.md,
matching the recently added detection code.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-22 22:25:51 +01:00
co-authored by Claude Opus 4.5
parent bf44925ea4
commit 0ff0dcac82
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ Both wait for idle. Configure via `session.setAutoCompact()` / `session.setAutoC
Detects Ralph loops and todos inside Claude sessions. **Disabled by default** but auto-enables when any of these patterns are detected in terminal output:
- `/ralph-loop:ralph-loop` command
- `<promise>PHRASE</promise>` completion phrases (supports hyphens: `TESTS-PASS`, underscores: `ALL_DONE`, numbers: `TASK_123`)
- `TodoWrite` tool usage
- `TodoWrite` tool usage (including checkmark format: `✔ Task #N created:`, `✔ Task #N updated: status →`)
- Iteration patterns (`Iteration 5/50`, `[5/50]`)
- Todo checkboxes (`- [ ]`/`- [x]`) or indicator icons (`☐`/`◐`/`✓`)
- "All tasks complete" messages
+17
View File
@@ -222,6 +222,23 @@ Todo: ✓ Completed task
- Task name (completed)
```
**Format 4: Native Checkboxes (without "Todo:" prefix)**
```
☐ Pending task
◐ In progress task
☒ Completed task
```
**Format 5: Claude Code Checkmark-Based TodoWrite Output**
```
✔ Task #1 created: Fix the authentication bug
✔ #1 Fix the authentication bug
✔ Task #1 updated: status → in progress
✔ Task #1 updated: status → completed
```
This is the primary output format used by Claude Code's TodoWrite tool in CLI sessions. The tracker maps task numbers to content, allowing status updates to reference tasks by number.
### System Reminder Integration
From official Claude Code documentation: