Expand description
Task management API module
This module provides the HTTP API handlers for task management, including CRUD operations, evidence aggregation, change tracking, and kanban automation.
Structs§
- Create
Task Artifact Request - Request to create a task artifact
- Create
Task Request - Request to create a new task
- List
Tasks Query - Query params for listing tasks
- Task
Change Commit Query - Query params for task commit change
- Task
Change File Query - Query params for task file change
- Task
Change Stats Query - Query params for task change stats
- Task
Evidence Summary - Combined task evidence summary
- Task
RunLedger Entry - Task run ledger entry
- Update
Status Request - Request to update task status
- Update
Task Request - Request to update an existing task
Functions§
- build_
task_ evidence_ summary - Build task evidence summary including artifacts, verification, completion, and runs Queries artifacts and board (for backward compatibility)
- build_
task_ run_ ledger - Build task run ledger from lane sessions
- ensure_
transition_ artifacts - Ensure required artifacts exist before task column transition
- get_
task_ change_ commit - GET /api/tasks/:id/changes/commit - Get commit diff
- get_
task_ change_ file - GET /api/tasks/:id/changes/file - Get file diff for a task change
- get_
task_ change_ stats - GET /api/tasks/:id/changes/stats - Get change stats for multiple files
- get_
task_ changes - GET /api/tasks/:id/changes - Get task repository changes
- repo_
label_ from_ path - Extract repository label from path
- resolve_
next_ required_ artifacts - Resolve required artifacts for next column transition
- resolve_
next_ required_ task_ fields - Resolve required task fields for next column transition
- router
- serialize_
task_ with_ evidence - Serialize task with evidence, readiness, and validation summaries Queries board and artifacts if not already loaded (for single-task operations)
- serialize_
tasks_ batch - Batch serialize tasks with evidence - optimized to avoid N+1 queries Preloads all artifacts and boards in batch before serializing
- task_
lane_ session_ status_ as_ str - Convert TaskLaneSessionStatus to string