# jira picker: list format and maturity detail

Read by `/multi-agent:jira` when rendering the issue list (step 3/4), when the
maturity check (step 3.5/4) returns a description or blocker case, and when
writing the picker state file.

## Issue list format

Priority badge prefix, status suffix:

```
[3/4] Pick issue (24 found, priority-sorted):
  > [Blocker] PROJ-12345  -  Login crash on iOS 17           (In Progress)
    [Critical] PROJ-12340  -  Payment fails for refunds       (In Review)
    [High]    PROJ-12338  -  Dark mode polish                 (To Do)
    [Medium]  PROJ-12330  -  Add empty state                  (To Do)
    [ - ]       PROJ-12300  -  Refactor LoginViewModel          (To Do)
```

## Maturity shape

`~/.claude/lib/issue-fetcher.sh` returns:

```jsonc
"maturity": {
  "score":    0..100,
  "blockers": ["status_closed", "already_resolved", "description_empty"],
  "warnings": ["short_description", "no_repro_steps", "no_acceptance_criteria", "description_empty_parent_available"],
  "summary":  "..."
}
```

## Empty description and the parent candidate

Development sub-tasks are often filed with no description of their own, with
the real requirements on the parent issue. Before scoring, `issue-fetcher.sh`
fetches the issue's `parent` (single hop, no chasing the parent's parent). If
the issue's own description is empty and the parent's is not, it does **not**
auto-substitute - it exposes `descriptor.parentKey` +
`descriptor.parentDescription` as a candidate and adds
`description_empty_parent_available` to `warnings` (not `blockers`) instead of
the plain `description_empty` blocker. If the parent is also empty or
unreachable, `description_empty` still blocks.

## Picker state file

`/tmp/multi-agent-picker-{taskId}.json`, read by `multi-repo-pipeline.sh bridge`:

```json
{
  "taskId":"PROJ-12345-{timestamp}",
  "shortId":<int>,
  "branch":"<feature|bugfix>/PROJ-12345",
  "baseBranch":"develop",
  "issueRef":{...},
  "primary":{"name":"...","cloneUrl":"...","provider":"github|bitbucket"},
  "extras":[{...}],
  "worktreeRoot":"~/.worktrees/PROJ-12345-{timestamp}",
  "commitType":"<feat|fix>",
  "identity":{"name":"...","email":"..."}
}
```

## Blocker follow-up detail

An edit is a reason to re-check, never proof the gap closed - the check re-runs
on the new content, and only a DIFFERENT gap set ever earns a second comment.
Read the item's existing comments FIRST and derive the prior ask from the newest
one of ours (`priorFromComments`): a scan is a new run with a fresh state file,
so state alone would make every scan a first ask. Full contract:
`features/maturity-followup.md`.
