- todo-write.md adds an explicit note that tasks are referenced by verbatim content text; the tool never emits task-N IDs. - resolveTaskOrError rejects ^task-\d+$ inputs with a clarifying error. - execute sets isError:true when any op failed. - appendItems short-circuits on the first "already exists" error so the call no longer applies the prefix of a doomed batch.