Give work-items one status rule and a hold verb that follows status-storage

Đang mở
#20,930 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, shell
Lĩnh vực
developer-experience

Hướng nghiên cứu

Read plugins/work-items/tools/work-item-tracker/CONTRACT.md around lines 474–479 and plugins/work-items/reference/tracker-seam.md around line 221 to trace the conflicting status rules. Then inspect the tracker seam and binding configuration for status-storage, hold_states, hold_labels, and role_labels. Done means both documents describe one rule and the seam provides a hold and release operation that works for each storage mode.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Steps to reproduce
  1. In a repository whose tracker binding reports status-storage = field, publish an item; create-item moves a status name such as agent-ready into the Work status field and drops it from the labels.
  2. To hold the item for a person, add the human-gated label (default needs-human) with a label edit, as a session naturally does.
  3. Ask whether the item is held.
Expected behavior

One rule answers that question, and the seam offers one way to apply a hold that works whatever status-storage reports, so a caller never chooses between a label and the field.

Actual behavior

The plugin states two rules that disagree:

  • plugins/work-items/tools/work-item-tracker/CONTRACT.md:474-479 (frontier selection): on field storage "The field can only add a hold", and "the labels decide everything else". Under this rule the label edit holds the item.
  • plugins/work-items/reference/tracker-seam.md:221 ("Reading an item's status"): "An item's status is its Work status value alone". Under this rule the label edit is ignored and the item still reads agent-ready.

There is no seam verb that applies a hold through whichever storage the binding uses (set-fields takes raw field and option ids; label edits go straight to the provider), so a session picks one by hand and cannot tell from either document whether it worked.

Severity

Medium

Severity justification

A session holding an item for an owner decision can believe it is held while an autonomous lane may still pick it up, or the reverse; nothing fails loudly either way. No wrong change merges by itself, but owner-reserved work can start without the owner.

Suggested fix location
  • CONTRACT.md and reference/tracker-seam.md: state one status rule and have the other cite it.
  • The tracker seam: add a hold/release verb (for example set-status <id> <state>) that reads status-storage and writes the role label or the Work status option to match, driven by the binding's config.hold_states, config.hold_labels and config.role_labels, with no repository or organization literal.
Environment

work-items plugin on main, GitHub adapter, a binding with Work status field storage; observed 2026-12-03.

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
3 giờ 20 phút
Pull request đã merge (30 ngày)
956

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.