DEC-AIC-0055: Distinguish missed tasks from cancelled tasks with #missed and an indented reason line
Accepted
Status: accepted · 2026-11-22
Context
Previously, tasks in libs/vault/domain carried three states: open, done, and cancelled (DEC-KI-0064). Closing a task that was not completed before an event or deadline forced marking it cancelled ([-] ❌ YYYY-MM-DD), conflating work deliberately dropped as unnecessary with work that was missed because time ran out or a blocker was not resolved. Without separating the two — and without recording why a task was missed — period reviews (review_period) could not analyze recurring failure modes to fix them.
Decision
- Add a fourth task state
missedrepresented with[-]and#missed.- A missed task is written as
- [-] <text> #missed ❌ YYYY-MM-DD. - Using
[-]ensures the Obsidian Tasks plugin treats it as closed innot donequeries out of the box without any custom status configuration. parseTasksandTaskLineinlibs/vault/domainclassify[-]lines carrying#missedasstate: 'missed'(stripping#missedfromtext) and all other[-]lines asstate: 'cancelled'.
- A missed task is written as
- Store the elaboration as an indented
- missed: <reason>child bullet.- Directly under a missed task line, an indented bullet
- missed: <reason>records why the task was not completed, keeping the task line itself short and readable in Obsidian Tasks queries. parseTasksexposes this onTaskasmissedReason: string | nullalongsidecancelledOn: string | null.
- Directly under a missed task line, an indented bullet
- Support
missedandreasoninupdate_taskandreview_period.update_taskacceptsstate: 'missed'andreason: string | null. Settingstate: 'missed'writes[-],#missed, and❌ <today>, and inserts or updates the indented- missed: <reason>line whenreasonis given. Settingreasonon a non-missed task is refused. Transitioning a task back toopen,done, orcancelledstrips#missedand removes any- missed:line.review_periodreturns amissedlist of tasks markedmissedin the period (matched byscheduled, falling back tocancelledOn), including each task'sreason, so reviews can analyze patterns and address root causes.plansviewexcludesmissedtasks from planned and completed effort cells, matchingcancelled.
Consequences
- Obsidian Tasks queries work immediately with no user-side plugin configuration.
review_periodseparates deliberately cancelled work from missed work and surfaces the elaboration reasons for retrospective analysis.update_taskwithinclude_closed: truereachesdone,cancelled, andmissedtasks alike.- Existing
[-]lines without#missedremaincancelledwith no migration needed.
Alternatives Considered
- Custom Obsidian checkbox status (e.g.
[!]or[m]). Deferred as a future evolution rather than rejected outright: a dedicated checkbox icon in Obsidian is visually appealing, but requires every user to register a custom status of typeCANCELLEDin the Obsidian Tasks plugin settings so missed tasks do not remain innot donequeries. We can revisit migrating to a custom checkbox in the future once themissedworkflow and reason analysis prove themselves in practice. - Inline reason text on the task line itself. Rejected: long explanations clutter Obsidian Tasks query views and complicate
TaskLinesignifier parsing, whereas an indented child bullet matches how notes already live under tasks in the vault.