Skip to content

Task versions and coordinator execution

Bridge workflow dispatch and execution callbacks were removed in S5 (owner decisions a9f0e60e and 6cab5c63). Coordinators run tasks with scripts/heyaira-run.sh and record results with task_update. Historical workflow data remains readable; no migration or data deletion is part of this change.

task_get(task_id, version=N) reads the immutable snapshot of a task version. Omit version for the current task. project_repositories lists active project repository bindings. These read interfaces remain available.

The coordinator reads the current task, prepares a brief with scope and checks, and runs the script from the HeyAira repository. The script creates or reuses an isolated worktree and handles the worker, checks and optional PR/review steps. See run a task.

After the run, the coordinator reads task_get again and records the actual outcome through task_update using the current expected_version and write_context. Completion still requires the existing handoff and work receipt. Use task_ci_follow to follow a published PR, task_ci_failures for failure details and github_ci_status for project CI metadata.

workflow_get remains a read-only view of the stored workflow and bounded phase history. It neither starts work nor accepts execution results.

Interactive task reads

task_list omits workflow summaries. task_get.workflow returns only the highest-revision stored workflow's {id, revision, phase, is_current}, including a retired row, or null when none exists. Versioned task reads return null. Read the stored history with workflow_get. continuity_context.work retains unattended for interactive follow-up and omits workflow stalls; the startup snapshot no longer includes workflow merge reminders. The shared task organization projection and Bridge Work Center reads keep their behavior.