Skip to main content

Module tasks

Module tasks 

Source
Expand description

Tolerant parser for Spec Kit’s tasks.md.

A task is a Markdown task-list item (- [ ], - [x], - [X]) whose text starts with an ID T + three or more digits. Items inside code blocks and HTML comments are not list items to a CommonMark parser, so they are never tasks. Level-2 headings are phases, level-3 headings subsections. No dependencies are inferred here.

Functions§

explicit_deps
Task IDs named after depends on, depend on or after (any case): lists separated by whitespace, ,, and, &, and ranges T012-T015 / T012–T015. Nothing else in the text creates a dependency.
parse
Parses text (the contents of the workspace-relative path).