[Feature]: Add milestone-level issue tracking without task-per-issue conversion
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- github, python
调研方向
Start by reading the bundled GitHub extension and its speckit.github.taskstoissues command, then compare the related proposals #4370, #4421, and #4423. The issue leaves the packaging choice open and calls for validation, previews, confirmation, idempotency, conflict handling, documentation, and representative tests. Done means an opt-in workflow meets the listed acceptance criteria without mirroring task and issue state.
由索引模型根据 Issue 内容生成。
描述
Problem Statement
The bundled github extension currently offers speckit.github.taskstoissues, which creates one GitHub issue for every T### entry in tasks.md. That is useful for task-level issue tracking, but it does not fit teams that deliberately keep fine-grained execution state in tasks.md and use a smaller number of GitHub issues for bounded delivery milestones, blockers, pull requests, and durable acceptance evidence.
Without a supported bridge, these teams must either create an issue per task, duplicate task checklists and acceptance criteria in GitHub, or maintain an ad hoc mapping that can drift from spec.md, plan.md, and tasks.md.
This is distinct from #4370. That proposal retains one issue per task and groups those issues into native GitHub Milestones. This proposal avoids task issues and maps many requirements/design sections/tasks to one delivery issue.
Proposed Solution
Provide an opt-in milestone-level tracking workflow for the GitHub integration, either as a new namespaced command or as an officially documented preset if that is the preferred extension boundary.
The workflow would maintain a versioned tracking.md in the active feature directory. Each stable, anchored milestone entry would map:
- a bounded delivery outcome;
- requirement IDs or anchors from
spec.md; - design sections from
plan.md; - explicit task IDs or ranges from
tasks.md; and - the actual GitHub issue URL returned after creation.
An epic issue would link to tracking.md as the feature index. Each delivery issue would link back to its stable mapping anchor and the underlying Spec Kit artifacts. Implementation pull requests would link the delivery issue and name the task IDs they complete.
The separation of authority is important:
spec.mdowns normative requirements and acceptance criteria;plan.mdowns technical design;tasks.mdowns fine-grained implementation state;- GitHub delivery issues own coordination state, blockers, pull requests, and durable acceptance evidence.
The workflow should not copy task checkboxes or acceptance criteria into issue bodies and should not mirror state automatically. A checked task does not prove milestone acceptance, and closing an issue must not rewrite tasks.md.
Before external writes, the command should preview the intended epic and delivery issues and require explicit confirmation. Repeated execution should be idempotent, use a feature-qualified milestone identity rather than bare M1/T001 identifiers, read back real URLs, and fail on ambiguous or conflicting mappings.
Projects should choose either task-per-issue conversion or milestone-level tracking for a feature. Running both should require an explicit override or be rejected to prevent duplicate tracking systems.
Alternatives Considered
- Use
speckit.github.taskstoissues: Creates substantially more issues and duplicates the fine-grained ledger already maintained intasks.md. - Use #4370's native GitHub Milestone grouping: Improves organization but still creates one issue per task; native GitHub Milestones also remain repository-scoped.
- Maintain the mapping entirely outside Spec Kit: Works locally, but every team must recreate feature resolution, idempotency, validation, and safe GitHub mutation behavior.
- Automatic bidirectional state synchronization: Rejected because task completion and delivery acceptance are different claims and cannot be inferred safely from one another.
Component
Agent integrations (command files, workflows)
AI Agent (if applicable)
All agents
Use Cases
- A feature has 40 implementation tasks but only four independently reviewable delivery milestones.
- A migration needs milestone issues for blockers, rollback evidence, and qualification while implementation progress remains in
tasks.md. - A refactoring spans interfaces and compatibility guarantees but does not benefit from dozens of GitHub task issues.
- A team needs durable traceability from requirements through design and tasks to GitHub coordination without copying normative content.
Acceptance Criteria
- The workflow is opt-in and does not change the provider-neutral core SDD flow.
- It resolves the active feature's
spec.md,plan.md, andtasks.mdand validates referenced IDs/anchors before any GitHub write. - It can generate or validate a versioned tracking map with stable milestone anchors.
- It previews all intended external writes and requires explicit confirmation.
- It creates or reuses one epic and one issue per mapped delivery milestone, then records the real returned URLs.
- Repeated execution is idempotent and feature-qualified identifiers cannot collide across features.
- Issue bodies link to repository artifacts without copying task checkboxes or normative acceptance criteria.
- No automatic state mirroring treats task completion as milestone acceptance or issue closure as task completion.
- The workflow detects or rejects simultaneous task-per-issue and milestone-level tracking for the same feature.
- Documentation explains the authority boundaries, comparison with
taskstoissues, and whether the supported packaging is a GitHub-extension command or preset. - Representative positive and counter-tests cover ambiguous mappings, stale issue URLs, duplicate execution, and partial acceptance.
Additional Context
The concept has been captured locally as a generic tracking template and process rule so it can be tested in real projects before an implementation PR. The newly created fork is available at https://github.com/metaneutrons/spec-kit for future development.
Related work:
- #4370: task issues grouped into native GitHub Milestones
- #4421: bundled GitHub extension
- #4423: removal of the former core
taskstoissuescommand
AI Disclosure
OpenAI Codex using a GPT-5-based model in interactive, human-supervised agent mode; the reasoning-effort setting was not exposed. AI assistance covered reviewing the current extension documentation and related issues, comparing the proposals, and drafting this issue. Fabian Schmieder determined the intended tracking model and authorized the fork and submission.
- 主要语言
- Python
- 星标
- 149k
- 派生
- 13.4k
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 223
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/spec-kit 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
triage-must-have
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
Workflow-step verifier test fixture breaks when the checkout path contains whitespace (4 failures on macOS)可能已有人在做 @mehdikarimi55 于 3 天前认领。 未关闭triage-can-wait
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
Parity tests fail under the documented direct pytest invocation when the ambient python3 lacks PyYAML (11 failures)可能已有人在做 @mehdikarimi55 于 3 天前认领。 未关闭triage-must-have
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug triage-out-of-scope
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 80/100
glossyio/traffic-monitor#312 ·
维护者通常 1 天内回复
-
documentation enhancement
难度 2/5 1-3 小时 新手友好度 76/100
es-ude/elastic-ai.creator#1046 ·
维护者通常 3 天内回复
-
feature request
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
confident-ai/deepteam#306 ·
维护者通常 1 天内回复
-
SslLibrary crashes with unhandled OSError: port/proto not found on non-standard SSL ports可能已有人在做 @himanchalkaushale 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
OWASP/Nettacker#1884 · 1 条评论 ·
维护者通常 1 天内回复