Summary
The Linear and Slack sibling of #546 (fixed for Jira by #547). A repo-bound task submitted via the Linear webhook or Slack @Shoof submit carries a repo but no explicit workflow_ref, so it falls through the resolution ladder to the repo-less default/agent-v1 — the freeform agent path with no git/PR discipline. Result: the agent improvises against an empty local clone, ensure_pr finds no commits, and the task records pr_url=null (no PR-link comment back to the issue/channel; screenshot→issue routing loses its branch signal; #247 child-branch stacking breaks).
Root cause is the same as #546: #296 introduced the resolveWorkflowRef ladder but left the repo-aware rung unwired, so every channel task with no explicit ref defaulted to default/agent-v1. #547 fixed the Jira processor by pinning an explicit workflow_ref: 'coding/new-task-v1' at its createTaskCore call site; Linear and Slack were never given the same treatment.
Acceptance criteria
Notes
Parent / prior art: #546 (approved) → #547 (merged, Jira). Implementation is up in #594 (reworked to the #547 pattern), pending this issue's approval + branch rename per ADR-003.
Summary
The Linear and Slack sibling of #546 (fixed for Jira by #547). A repo-bound task submitted via the Linear webhook or Slack
@Shoof submitcarries arepobut no explicitworkflow_ref, so it falls through the resolution ladder to the repo-lessdefault/agent-v1— the freeform agent path with no git/PR discipline. Result: the agent improvises against an empty local clone,ensure_prfinds no commits, and the task recordspr_url=null(no PR-link comment back to the issue/channel; screenshot→issue routing loses its branch signal; #247 child-branch stacking breaks).Root cause is the same as #546: #296 introduced the
resolveWorkflowRefladder but left the repo-aware rung unwired, so every channel task with no explicit ref defaulted todefault/agent-v1. #547 fixed the Jira processor by pinning an explicitworkflow_ref: 'coding/new-task-v1'at itscreateTaskCorecall site; Linear and Slack were never given the same treatment.Acceptance criteria
workflow_ref) dispatches withworkflow_ref: coding/new-task-v1and opens a PR (pr_urlset).@Shoof submittask (repo-bound) does the same.WORKFLOWS.md:346-348).workflow_ref: coding/new-task-v1.createTaskCorecaller tests assert the unchanged fallback: omitted ref →default/agent-v1, with and without a repo.Notes
Parent / prior art: #546 (approved) → #547 (merged, Jira). Implementation is up in #594 (reworked to the #547 pattern), pending this issue's approval + branch rename per ADR-003.