Skip to content

Include complexity data in swarm issue output (il list --json) #847

@acreeger

Description

@acreeger

Context

The VS Code extension's kanban board (epic board) needs to display complexity indicators on swarm issue cards. Currently, complexity data is only available in recap files (il recap --json), but the kanban board sources its data from il list --json via the swarmIssues array.

Request

When il list --json returns swarm issues, include the complexity data from each issue's recap file (if available) in the swarm issue object.

Current SwarmIssue shape:

{
  "number": "#123",
  "title": "Fix login bug",
  "url": "https://github.com/...",
  "state": "in_progress",
  "worktreePath": "/path/to/worktree"
}

Desired SwarmIssue shape:

{
  "number": "#123",
  "title": "Fix login bug",
  "url": "https://github.com/...",
  "state": "in_progress",
  "worktreePath": "/path/to/worktree",
  "complexity": { "level": "simple", "reason": "Single file change" }
}

The complexity field should be optional/nullable — only present when the issue has a recap file with complexity set.

Related

  • iloom-ai/iloom-vscode#246 — VS Code extension issue to display complexity on kanban cards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions