Skip to content

fix(close): 归档时改写链接并堵住 doc-links 假绿 - #31

Merged
Cyning12 merged 1 commit into
mainfrom
fix/close-retarget-doc-links
Sep 18, 2026
Merged

Cyning12 merged 1 commit into
mainfrom
fix/close-retarget-doc-links

Conversation

@Cyning12

@Cyning12 Cyning12 commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • task close --yes 在 renameSync 之后改写正好指向该 task 的 Markdown 链接,不再依赖 30 事后手改。
  • check-doc-links 要求仓内目标既已入库、工作区也还在,关账前 git add 过的旧路径不能再假绿。
  • 修好已断的 W1/W3/W5 三条审查链接,并补 docs/tasks/active/.gitkeep,避免干净 clone 上 W2 readdirSync ENOENT。

Test plan

  • npm run typecheck
  • test/close-retarget.test.ts、test/check-doc-links.test.ts、test/w2-gate-table-contract.test.ts、关账 JSON/快照与 test/cli-p0.test.ts(79 项通过)
  • 本 PR 的 CI test (22.x) / test (24.x) 转绿后再考虑后续发版
  • 不要移动已有 tag v3.0.1(仍指红提交 7a6190f),也不要 npm publish

Made with Cursor

task close 不再依赖事后手改;check-doc-links 拒绝仅存在于索引的目标。补 active/.gitkeep,并修好已断的三条审查链接。

Co-authored-by: Cursor <cursoragent@cursor.com>
@Cyning12
Cyning12 merged commit 0e6d861 into main Sep 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants