Skip to content

feat(linear): auto-decompose issues into a dependency-aware sub-issue graph (plan + approval) #299

@isadeks

Description

@isadeks

Component

API or orchestration, Agent runtime, Scripts / CLI

Describe the feature

Auto-decomposition of Linear issues into a dependency-aware sub-issue graph, with optional plan-approval. When a sufficiently complex issue is labeled, ABCA judges whether to decompose, proposes a sub-issue breakdown with blockedBy edges, a worst-case cost ceiling, per-child S/M/L sizing, and critical-path length, then (per project config) either waits for approval or auto-runs — finally writing the sub-issues into Linear and handing the graph to the #247 orchestration executor.

This is the planner that #247 deliberately scoped out ("planner-worker out of scope for MVP"). It is stacked on #247 and reuses its executor wholesale.

Use case

Proposed solution

Acceptance criteria

  • Plain complex issue with bgagent:decompose → ABCA posts a proposed plan (sub-issues + edges + cost ceiling + S/M/L + critical-path) on the parent.
  • Plan respects max_sub_issues / max_parent_budget_usd; over-cap plans are rejected or trimmed with a clear message.
  • bgagent:auto skips approval; bgagent:decompose waits for approve/reject.
  • On approval, sub-issues + blockedBy edges are written to Linear and the feat(linear): parent/sub-issue orchestration with dependency-aware child tasks #247 executor takes over.
  • Below-threshold issues fall back to today's single-task path unchanged.
  • Docs: decomposition + label-mode guide; ROADMAP row; Starlight sync.

Depends on

Out of scope (this issue)

  • Recursive decomposition (depth > 1).
  • Auto-retry of failed children (follow-up).
  • Auto-merge of the completed stack.

Metadata

Metadata

Assignees

Labels

P1Priority 1 — high priorityadaptersThird-party integrations: Linear, Slack, GitHub App, notification/deploy providersapprovedWhen an issue has been approved and readyenhancementNew feature or requestorchestrationTask lifecycle, REST API handlers, orchestrator Lambdas, durable execution

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions