Statuses
The [[tasks.status]] legend: legal statuses, the moves between them, required notes and the unblocked guard.
[[tasks.status]] is the status legend: the statuses a task can have, in lifecycle order. mt check reports a task whose status isn’t in the list. Moving a task to another status is a flip, and mt flip does it for you. Each status is also a command, so mt wip <task> runs mt flip wip <task>.
The default legend
If you don’t declare [[tasks.status]], you get this legend from the config floor, the defaults built into mt:
| Value | Glyph | Color | Terminal |
|---|---|---|---|
proposed | 💡 | blue | |
accepted | 📋 | cyan | |
wip | 🔨 | yellow | |
done | ✅ | green | yes |
cancelled | 🚫 | magenta | yes |
failed | ❌ | red | yes |
A terminal status ends a task. A field required with !terminal stops applying there. mt rm with no filter retires every task in a terminal status.
Declaring [[tasks.status]] replaces the whole list, because an array replaces the lower layer’s value (see Configuration). An empty list, [tasks] status = [], removes the legend, and then any status is legal.
Writing a status
A task’s status: has a value, the date of the setting, and an optional note. The prelude has a constructor for common values such as wip and done, which takes the note as a trailing block. For any other value, use status(...), which takes the note as its note argument:
// tasks/stream-large-files.typ: a value the prelude has no constructor for
status: status("on-hold", 2026, 7, 2, note: [waiting on the storage quota]),
// tasks/vendor-the-csv-parser.typ: a prelude constructor with its note
status: failed(2026, 6, 30)[its license forbids vendoring],You can type this line yourself, but mt flip writes it with today’s date, so you rarely need to. The Task DSL covers the rest of the field.
Entry keys
| Key | Default | Purpose |
|---|---|---|
color | Optional color: a named ANSI color or #RRGGBB. | |
glyph | Optional decorative glyph (emoji or ASCII). | |
label | Optional display label, which falls back to value. | |
note | "optional" | Whether a move into this status needs a note: required or optional (the default). With required, mt flip refuses the move without -m, and mt check flags a task here with no note. mt accepts forbidden but does not enforce it for a status. |
terminal | false | Whether this status ends a task. The terminal filter matches tasks in it, and mt does not check their tags or estimate units. |
to | [] | Statuses a task may move to from this one. While no entry sets to, mt flip allows any move. Once any entry sets it, mt flip refuses a move the legend does not list, and an entry with no to allows only a same-status re-stamp. A terminal status reopens by listing the status to reopen into. |
unblocked | false | Whether entering this status requires an unblocked task. mt flip refuses the move while a direct blocking target remains open, and --force overrides. On a terminal status, every child must finish too. mt check warns about a blocked task already here. Off by default. Set it where work starts or finishes, and leave it off statuses that blocked work must still reach, such as cancelled. |
value | "" | The status name, as written in a task’s status: field. |
The legend below sets to, note and unblocked:
# examples/statuses/.mindtape/config.toml: work starts in wip only once nothing it depends on is open
[[tasks.status]]
value = "proposed"
glyph = "💡"
color = "blue"
to = ["wip", "cancelled"]
[[tasks.status]]
value = "wip"
glyph = "🔨"
color = "yellow"
unblocked = true
to = ["on-hold", "done", "failed", "proposed"]
# examples/statuses/.mindtape/config.toml: pausing work demands a reason
[[tasks.status]]
value = "on-hold"
glyph = "⏸"
color = "cyan"
note = "required"
to = ["wip", "cancelled"]
# examples/statuses/.mindtape/config.toml: done reopens to wip; cancelled is a sink
[[tasks.status]]
value = "done"
glyph = "✅"
color = "green"
terminal = true
unblocked = true
to = ["wip"]
[[tasks.status]]
value = "failed"
glyph = "❌"
color = "red"
terminal = true
note = "required"
to = ["wip"]
[[tasks.status]]
value = "cancelled"
glyph = "🚫"
color = "magenta"
terminal = trueTransitions
to lists the statuses a task can move to from this one. The legend of examples/statuses/ allows these moves. A terminal status has a double border:
to allows in examples/statuses/With no to on any entry, a task can move from any status to any other. Once one entry declares to, mt flip refuses a move the list doesn’t name, and prints the moves it allows:
$ mt flip done import-xlsx-files
error: illegal transition: 'proposed → done'
hint: flip to an allowed status first, or pass --force to skip this check
note: allowed next: proposed → wip, cancelled--force overrides the refusal. Re-stamping a task with the status it already has is always allowed, and so is the first status of a task that has none. An entry with an empty to is a sink, which a task leaves only with --force, like cancelled above.
mt check reports a task whose status the to edges can’t reach from the initial status, the first entry that isn’t terminal. It checks only the current status, because a task file stores only the current status.
To get the built-in six statuses with a transition graph, extend the mindtape:flow pack. Your own [[tasks.status]] replaces its legend whole, and mt check validates the to edges of whichever legend wins.
Required notes
With note = "required", mt flip won’t move a task into that status without -m/--note:
$ mt flip failed add-a-dry-run-flag
error: status requires a note: 'failed'
hint: pass one with -m/--notemt check reports a task already in that status whose note is missing or blank. Require a note on statuses that need a reason nothing else records, such as on-hold and failed above. The default is optional. The schema accepts forbidden, but it has no effect on a status entry: mt never rejects a status note for being present.
Unblocked statuses
With unblocked = true, mt flip won’t move a task into that status while it waits on an unfinished target of a depends-on edge, or of a kind you declared blocking (see Task links):
$ mt flip wip import-xlsx-files
error: status requires an unblocked task: 'wip'
hint: finish what it waits on first, or pass --force to skip this check
note: waits on: add-a-dry-run-flag (wip)--force overrides it. mt check warns about a task already in such a status while it’s blocked. It’s a warning, not an error, because --force puts a task there on purpose, and reopening a dependency puts every finished dependant there. Set unblocked on the statuses where work starts or ends, like wip and done. Leave it off statuses that blocked work must still reach, like cancelled.
On a status that’s also terminal, unblocked requires every child to finish: every task whose parent edge names this one. A child in a terminal status counts as finished. mt flip names each unfinished child, --force overrides, and mt check warns about a parent already closed over an unfinished child. A status that’s unblocked but not terminal, like wip, lets a parent start while its children are open.