WORK-496
ID:WORK-496Status:ready

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/plan-runes-status-vocab-jcq1tx View source

Criteria completion

Criteria completion: 0 of 6 (0%) 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/plan-runes-status-vocab-jcq1tx current ready
claude/milestone-v0-28-0-llvtfa donemain ready
History 1
  1. 9a519fd
    Created (ready)by bjornolofandersson

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)