Skip to main content

Module tasks

Module tasks 

Source
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§

CreateTaskArtifactRequest
Request to create a task artifact
CreateTaskRequest
Request to create a new task
ListTasksQuery
Query params for listing tasks
TaskChangeCommitQuery
Query params for task commit change
TaskChangeFileQuery
Query params for task file change
TaskChangeStatsQuery
Query params for task change stats
TaskEvidenceSummary
Combined task evidence summary
TaskRunLedgerEntry
Task run ledger entry
UpdateStatusRequest
Request to update task status
UpdateTaskRequest
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