Give work-items one status rule and a hold verb that follows status-storage
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- github, shell
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
Steps to reproduce
- In a repository whose tracker binding reports
status-storage=field, publish an item;create-itemmoves a status name such asagent-readyinto theWork statusfield and drops it from the labels. - To hold the item for a person, add the human-gated label (default
needs-human) with a label edit, as a session naturally does. - 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 readsagent-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.mdandreference/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 readsstatus-storageand writes the role label or theWork statusoption to match, driven by the binding'sconfig.hold_states,config.hold_labelsandconfig.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.
- 主要语言
- Shell
- 星标
- 22
- 派生
- 2
- 平均合并
- 3 小时 20 分钟
- 30 天内合并 PR
- 956
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
melodic-software/claude-code-plugins 的其他 Issue
-
host-run needs-research
难度 2/5 1-3 小时 新手友好度 66/100
melodic-software/claude-code-plugins#21140 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
melodic-software/claude-code-plugins#21103 · 4 条评论 ·
维护者通常 1 天内回复
-
host-run
难度 2/5 1-3 小时 新手友好度 72/100
melodic-software/claude-code-plugins#21053 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
melodic-software/claude-code-plugins#21021 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
melodic-software/claude-code-plugins#20960 · 5 条评论 ·
维护者通常 1 天内回复
查看 melodic-software/claude-code-plugins 的全部 Issue
相似的 Issue
-
documentation enhancement
难度 2/5 1-3 小时 新手友好度 82/100
aws/aws-networking-best-practices#256 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
openai-directory
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 68/100
smores56/homelab-platform#289 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
omacom/omarchy#21787 · 3 条评论 ·
维护者通常 1 天内回复