Skip to main content

Module todo

Module todo 

Source
Expand description

Todo tracking for plan execution.

After a plan is approved, its implementation steps are converted into TodoItems that track progress (pending → in_progress → completed).

Mirrors the Python todo handler pattern used in opendev/core/context_engineering/tools/handlers/todo_handler.py.

Structs§

SubTodoItem
A sub-step within a parent todo item.
TodoItem
A single todo item derived from a plan step.
TodoManager
Manager for tracking todos during plan execution.

Enums§

TodoStatus
Status of a todo item.

Functions§

parse_plan_steps
Parse plan markdown content and extract numbered implementation steps.
parse_status
Map status alias strings to TodoStatus.
strip_markdown
Strip basic markdown formatting from text (bold, italic, code).