Module: Pikuri::Tasks
- Defined in:
- lib/pikuri/tasks/extension.rb,
lib/pikuri-tasks.rb,
lib/pikuri/tasks/list.rb,
lib/pikuri/tasks/create.rb,
lib/pikuri/tasks/delete.rb,
lib/pikuri/tasks/completed.rb,
lib/pikuri/tasks/in_progress.rb,
lib/pikuri/tasks/list_changed.rb
Overview
Namespace for the in-memory task-list feature. Holds the List value type, the four task tool classes (Create, InProgress, Completed, Delete), the ListChanged domain event, and the Extension that wires them into an Agent.
Defined Under Namespace
Classes: Completed, Create, Delete, DuplicateItem, Extension, InProgress, Item, ItemNotFound, List, ListChanged
Constant Summary collapse
- LOADER =
Zeitwerk::Loader.new
- STATUSES =
Allowed values for Item#status. Kept deliberately small — three states match the workflow the prompt advertises (pending → in_progress → completed) without inviting a
cancelledvsdeleteddebate.task_deleteremoves items outright rather than introducing a fourth status. %w[pending in_progress completed].freeze