WORK-496
ID:WORK-496Status:done

Add pr attribute to work and bug runes

Promote PR references from unstructured resolution prose to a first-class, validated, queryable attribute so traceability rollups become possible.

Priority:mediumComplexity:moderateMilestone:v0.28.0Source:SPEC-049
claude/milestone-v0-28-0-llvtfa View source

Criteria completion

Criteria completion: 6 of 6 (100%) checked; tracking started on Jul 9, no incremental history yet0%25%50%75%100%Jul 9Jul 11

Tracking started Jul 9 — check back for trends.

Branches 2
claude/milestone-v0-28-0-llvtfa current done
claude/plan-runes-status-vocab-jcq1tx readymain ready
History 2
  1. 74979c1
    Created (done)by bjornolofandersson
  2. 9a519fd
    Content editedby Claude
    plan: add v0.28.0 plan-model-hardening milestone and work breakdown

Acceptance Criteria

  • work and bug runes accept an optional, multi-valued (comma-separated) pr attribute matching <org>/<repo>#<number>
  • pr added to ALLOWED_ATTRS for work and bug
  • plan validate errors on malformed pr values; does not warn on a missing pr in v1
  • plan.update MCP tool and refrakt plan update accept pr with the same validation
  • The resolution parser continues to read the legacy PR: line, but the pr attribute takes precedence
  • Tests cover format validation, multi-value parsing, and legacy PR: fallback

References

  • SPEC-049 — spec (New attributes, CLI / MCP changes)

Resolution

Completed: 2026-07-09

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

What was done

  • work/bug accept multi-valued pr (ALLOWED_ATTRS, schema, MCP, CLI). validate errors on malformed pr, never on absence. Legacy PR: resolution line still parsed as fallback.
  • Tests: format validation, multi-value, legacy fallback.