Expand description
Task-building and task-updating command helpers (request parsing, runner invocation, and queue updates).
Responsibilities:
- Shared types and configuration for task operations (build, update, refactor).
- Parse task request inputs from CLI args or stdin.
- Runner settings resolution for task operations.
- JSON field comparison for task updates.
Not handled here:
- Actual task building logic (see build.rs).
- Task update logic (see update.rs).
- Refactor task generation and LOC scanning (see refactor.rs).
- CLI argument definitions or command routing.
- Runner process implementation details or output parsing.
- Queue schema definitions or config persistence.
Invariants/assumptions:
- Queue/done files are the source of truth for task ordering and status.
- Runner execution requires stream-json output for parsing.
- Permission/approval defaults come from config unless overridden at CLI.
Structs§
- Decomposition
Attach Target - Decomposition
Plan - Decomposition
Preview - Planned
Node - Task
Build Options - Task
Build Refactor Options - Options for the build-refactor command.
- Task
Decompose Options - Task
Decompose Write Result - Task
Update Settings
Enums§
- Batch
Mode - Batching mode for grouping related files in build-refactor.
- Decomposition
Child Policy - Decomposition
Source
Functions§
- build_
refactor_ tasks - Build refactoring tasks for large files exceeding the LOC threshold.
- build_
task - build_
task_ without_ lock - compare_
task_ fields - plan_
task_ decomposition - read_
request_ from_ args_ or_ reader - read_
request_ from_ args_ or_ stdin - update_
all_ tasks - update_
task - update_
task_ without_ lock - write_
task_ decomposition