OLLMcoder.Task
Description:
Content:
Interfaces:
- ProgressItem - Row surface for the task
progress UI (ProgressList). **status** is
PhaseEnum (reuse); it **changes** as the row advances. **status_str** is
**not** stored — use PhaseEnum.to_human for the stage column / Gtk
bindings (**Pango** markup). The **status** setter emits **notify** for **status_str** only.
Classes:
- Details - One task in the plan. Built from task
list output; updated from refinement output.
- List - Ordered list of task steps produced by
planning; runs refinement and execution.
- ProgressList -
GLib.ListModel of ProgressItem rows:
Details from completed work, zero or more
ProgressRunner rows (e.g. one for task creation and one for iteration —
each PhaseEnum.COMPLETED when that slice is done), pending
Details from runner.pending. A
Step uses
PhaseEnum.COMPLETED_DONE once it lives on runner.completed. GLib.ListModel.get_item_type
returns typeof(ProgressItem).
- ProgressRunner
- ProgressView - Read-only task progress
strip: collapse header (“Skill activity”) plus Gtk.Revealer around Gtk.ScrolledWindow
/ Gtk.ColumnView. Default collapsed;
#set_runner keeps the grid hidden when progress
data binds. Gtk.TreeListModel auto-expand applies to row children only. Call #set_runner for
Skill.Runner.progress.
- ResolveLink - Turns validated task reference
links into fenced markdown blocks for prompts: task docs, #anchors in the user request, http(s) from cache, and file excerpts (line
range, full file, or AST path after preload_links parsed the tree). Used from
Details.reference_contents, refine(), and Tool.run after preload.
- ResultParser - Parses structured markdown
responses from the LLM into task data and results.
- Step - One unit of the task list: either a single
task or a concurrent group.
- Tool - Parsed tool call (refinement) and/or one
execution run.
- ToolList - List of
Tool rows for one Details.
Backing store for ProgressItem.children on
Details once **7.14.1.3** wires the execution queue; implements
GLib.ListModel, Gee.Iterable, and Gee.Traversable
so call sites can foreach over tools.
- ValidateLink - Reference-link validation
for task references (used from ResultParser and similar).
- WriteChange - One write operation parsed
from a write-executor heading section (e.g. Change details).
Enums:
- PhaseEnum - Which task-list or executor
phase is active for markdown generation, link validation, and (on restore) transcript replay.