List
Object Hierarchy:
Description:
public class List : Object
Content:
Properties:
Creation methods:
Methods:
- public void fill_names ()
Call fill_name(index) on each task in order.
- public bool has_tasks_requiring_approval ()
- public async void refine (Cancellable? cancellable = null) throws Error
Run refinement for the first step's tasks only (one after another).
Refinement and execution are interleaved per step: refine first step → execute first step → (iteration) → refine next step →
execute next step.
- public async bool run_step () throws Error
Run the first step only. When it completes (all children exec_done),
move to runner.completed and remove from this list. Caller (Runner) should call run_task_list_iteration() when true.
- public async bool run_step_until_approval () throws Error
Run the first step only. Stops if that step has a task requiring user
approval. When the step completes (all children exec_done), move it to runner.completed and remove from this list. Caller (Runner)
should call run_task_list_iteration() when true.
- public string to_markdown (MarkdownPhase phase)
Returns only ## Tasks and task sections. Runner assembles lead content
(original prompt, goals_summary_md) when building current_task_list. LIST: all tasks with Output when exec_done. REFINE_COMPLETED:
only completed tasks (exec_done and result non-empty), Name + Output (Result summary); no References, no Tool Calls.
- public string validate_skills ()
For each task (steps → children), call
task.skill_manager.validate(task). When false, add issue line: skill must be one of the available skills. Returns combined issues
string; "" when all tasks' skills exist.
- public void write (string filename, string content)
Write content to session task dir under filename. Content is typically
from the LLM (initial or iteration). Use for task_list.md, task_list_latest.md, task_list_completed.md.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref