[Bug]: /speckit-converge is not idempotent — re-runs append duplicate remediation tasks
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
调研方向
先阅读 .claude/skills/speckit-converge/SKILL.md,并检查它如何读取 tasks.md、如何处理未勾选的任务,以及如何追加修复任务。将该流程与 /speckit-implement 以及 #2968 中的重复检测工作进行比较,然后将 converge 重现两次。完成的标准是:前置条件状态已被检查或发出警告,现有的未勾选工作被复用或更新,并且只有新的缺口会获得新的 ID。
由索引模型根据 Issue 内容生成。
描述
Version
spec-kit v1.0.1 (.claude/skills/speckit-converge/SKILL.md)
Description
/speckit-converge only checks that tasks.md exists before assessing the codebase and appending remediation tasks. It keeps no persisted evidence that /speckit-implement actually ran against the current task list, and it does not map its findings onto existing unchecked tasks before appending.
Two consequences:
- Invoked early (before implement has run, or after a partial implementation), it appends remediation tasks for work that is already represented by existing unchecked tasks — now under new IDs, splitting traceability for the same work across two task entries.
- Invoked twice (e.g. converge → partial fix → converge again), gaps found both times are appended both times.
Expected behavior
- Converge verifies prerequisite state (an implementation checkpoint, or at minimum warns loudly when
tasks.mdcontains unchecked tasks that overlap its findings). - Before appending, each finding is compared against existing unchecked tasks; covered work is reused/updated rather than duplicated, and only genuinely new gaps get new IDs.
Context
Found while upgrading a template fleet from 0.5.0 to v1.0.1 and reviewing the newly vendored command. Related in spirit to the duplicate-detection work in #2968, but on the tasks.md side rather than GitHub issues.
- 主要语言
- Python
- 星标
- 138k
- 派生
- 12.4k
- 平均合并
- 3 天 4 小时
- 30 天内合并 PR
- 154
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/spec-kit 的其他 Issue
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 74/100
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 84/100
-
enhancement needs-triage triage-can-wait
难度 2/5 1-3 小时 新手友好度 76/100
相似的 Issue
-
essnmx good first issue
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 65/100
syfoud/Simulated_Scepter#174 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Giskard-AI/giskard-oss#2840 · 1 条评论 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success 未关闭area: repo bug perceived difficulty: 2
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
yeti-platform/yeti#1380 ·