# Linked Issue Hydration Implementation Plan

## Goal

Make `/code-review` accept GitHub's lightweight `closingIssuesReferences` response and load each linked issue explicitly before model work.

## Tasks

1. Add regression tests for lightweight references, stable multi-issue ordering, hydration failure diagnostics, malformed reference paths, and draft skip behavior.
2. Replace complete-issue parsing with reference parsing plus bounded hydration through `gh issue view`.
3. Gate both diff loading and linked-issue hydration on an open, non-draft pull request.
4. Bump the package and review marker to `0.1.1`, update the changelog, and regenerate the lockfile without lifecycle scripts.
5. Run the targeted test, full checks, full tests, package verification, and a read-only `/code-review 262` smoke test in `packageauth`.

## Acceptance Criteria

- Private repositories work through the existing authenticated `gh` session.
- Missing embedded issue `title` and `body` no longer cause PR parsing to fail.
- Linked issue failures identify `<owner>/<repo>#<number>` and stop before model work.
- At most four issue hydration commands run concurrently and output order matches GitHub's reference order.
- Draft and closed pull requests perform neither diff loading nor linked-issue hydration.
- No unrelated review behavior changes.
