- Rename delegate_task tool to task across codebase (100 files) - Update model references: claude-opus-4-6 → 4-5, gpt-5.3-codex → 5.2-codex - Add tool-metadata-store to restore metadata overwritten by fromPlugin() - Add session ID polling for BackgroundManager task sessions - Await async ctx.metadata() calls in tool executors - Add ses_ prefix guard to getMessageDir for performance - Harden BackgroundManager with idle deferral and error handling - Fix duplicate task key in sisyphus-junior test object literals - Fix unawaited showOutputToUser in ast_grep_replace - Fix background=true → run_in_background=true in ultrawork prompt - Fix duplicate task/task references in docs and comments
31 lines
1.3 KiB
TypeScript
31 lines
1.3 KiB
TypeScript
export const HOOK_NAME = "tasks-todowrite-disabler"
|
|
export const BLOCKED_TOOLS = ["TodoWrite", "TodoRead"]
|
|
export const REPLACEMENT_MESSAGE = `TodoRead/TodoWrite are DISABLED because experimental.task_system is enabled.
|
|
|
|
**ACTION REQUIRED**: RE-REGISTER what you were about to write as Todo using Task tools NOW. Then ASSIGN yourself and START WORKING immediately.
|
|
|
|
**Use these tools instead:**
|
|
- TaskCreate: Create new task with auto-generated ID
|
|
- TaskUpdate: Update status, assign owner, add dependencies
|
|
- TaskList: List active tasks with dependency info
|
|
- TaskGet: Get full task details
|
|
|
|
**Workflow:**
|
|
1. TaskCreate({ subject: "your task description" })
|
|
2. TaskUpdate({ id: "T-xxx", status: "in_progress", owner: "your-thread-id" })
|
|
3. DO THE WORK
|
|
4. TaskUpdate({ id: "T-xxx", status: "completed" })
|
|
|
|
CRITICAL: 1 task = 1 task. Fire independent tasks concurrently.
|
|
|
|
**STOP! DO NOT START WORKING DIRECTLY - NO MATTER HOW SMALL THE TASK!**
|
|
Even if the task seems trivial (1 line fix, simple edit, quick change), you MUST:
|
|
1. FIRST register it with TaskCreate
|
|
2. THEN mark it in_progress
|
|
3. ONLY THEN do the actual work
|
|
4. FINALLY mark it completed
|
|
|
|
**WHY?** Task tracking = visibility = accountability. Skipping registration = invisible work = chaos.
|
|
|
|
DO NOT retry TodoWrite. Convert to TaskCreate NOW.`
|