Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

fix(planning): export each decision once in its current form, without superseded or raw duplicate lines

已关闭 适合新手
#9,901 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #10042 来自 @melodic-automation-lanes —— 已合并

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
tooling

调研方向

从 plugins/planning/surface/exporters.py 开始,其中已回答的行作为 - Q<N> 项目符号附加在重述的约束之后;找到 supersededBy 行被路由到 Out-of-scope 的位置,以及 ### Decisions 被渲染的位置。阅读 plugins/planning/skills/plan/context/tag-decisions.md:7 了解 withdrawn 与 approved 的语义,然后为 plugins/planning/surface/test_exporters.py 添加两个命名测试(Q13 被 Q28 取代,且没有重复的决定行)。当 python3 -m unittest discover -s plugins/planning/surface -p 'test_exporters.py' 通过且添加了 changelog 片段时完成;首先根据 origin/main 重新检查行号。

由索引模型根据 Issue 内容生成。

描述

priority: medium status: ready work-class: scoped

Problem

#6051 finding E2. plugins/planning/surface/exporters.py appends - Q<N> <short>: <readable> for every answered row after the restated constraints, superseded and refined ones unmarked (39 bullets in the audited run). A supersedes row becomes withdrawn and exports into Out-of-scope, which plugins/planning/skills/plan/context/tag-decisions.md:7 treats as approved.

What to build

  • Drop an answered row's raw line when the restated constraints or the ### Decisions section (from the sibling slice) already carry it.
  • Stop exporting supersededBy rows to Out-of-scope; they stay in the ledger.
  • In ### Decisions, mark a true replacement replaces Q<N>.

Done when

  • A plugins/planning/surface/test_exporters.py test with Q13 superseded by Q28 asserts Q13's text appears in neither Constraints nor Out-of-scope, and Q28 appears once.
  • A test asserts no decision line appears twice in the exported Brief.
  • python3 -m unittest discover -s plugins/planning/surface -p 'test_exporters.py' exits 0.
  • Planning changelog fragment present.

Split from the parent by the owner's HITL session (2026-10-24) under Q93 (split before any run). Paths and line numbers checked on origin/main 2f6b81e2ca; recheck before building.

主要语言
Shell
星标
22
派生
2
平均合并
2 小时 45 分钟
30 天内合并 PR
940

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。