WORK-497
ID:WORK-497Status:done

plan status PR rollups and implemented-flip suggestion

Surface the traceability data structurally so missing PRs and ready-to-flip specs are visible without grepping prose.

Priority:mediumComplexity:moderateMilestone:v0.28.0Source:SPEC-049

Criteria completion

Criteria completion: 5 of 5 (100%) checked; history from Jul 9 to Jul 140%25%50%75%100%Jul 9Jul 14
Branches 3
History 3
  1. cf13ce1
    • ☑ `plan status` includes a per-spec "PRs" rollup listing the unique (deduped) PRs across its `implemented-by` work items
    • ☑ `plan status` suggests the `implemented` flip when every `implemented-by` work item of an `accepted` spec is `done`
    • ☑ Rollups dedupe when one PR closes multiple work items
    • ☑ `--format json` output includes the rollup data
    • ☑ Tests cover the rollup, dedupe, and flip-suggestion logic
    by bjornolofandersson
  2. 283ce5a
    Created (draft)by bjornolofandersson
  3. 9a519fd
    Content editedby Claude
    plan: add v0.28.0 plan-model-hardening milestone and work breakdown

Acceptance Criteria

  • plan status includes a per-spec "PRs" rollup listing the unique (deduped) PRs across its implemented-by work items
  • plan status suggests the implemented flip when every implemented-by work item of an accepted spec is done
  • Rollups dedupe when one PR closes multiple work items
  • --format json output includes the rollup data
  • Tests cover the rollup, dedupe, and flip-suggestion logic

Dependencies

  • WORK-495 — the implemented status the flip suggests
  • WORK-496 — the pr attribute the rollup aggregates

References

  • SPEC-049 — spec (CLI / MCP changes, Design Principles: carrot before stick)

Resolution

Completed: 2026-07-09

Branch: claude/milestone-v0-28-0-llvtfa PR: refrakt-md/refrakt#565

What was done

  • plan status builds per-spec rollups (deduped PRs across implemented-by work) + implemented-flip suggestions; surfaced in text + JSON. pr attribute wins over legacy PR: line.