fix(close): 归档时改写链接并堵住 doc-links 假绿 - #31
Merged
Merged
Conversation
task close 不再依赖事后手改;check-doc-links 拒绝仅存在于索引的目标。补 active/.gitkeep,并修好已断的三条审查链接。 Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
task close --yes在renameSync之后改写正好指向该 task 的 Markdown 链接,不再依赖 30 事后手改。check-doc-links要求仓内目标既已入库、工作区也还在,关账前git add过的旧路径不能再假绿。docs/tasks/active/.gitkeep,避免干净 clone 上 W2readdirSyncENOENT。Test plan
npm run typechecktest/close-retarget.test.ts、test/check-doc-links.test.ts、test/w2-gate-table-contract.test.ts、关账 JSON/快照与test/cli-p0.test.ts(79 项通过)test (22.x)/test (24.x)转绿后再考虑后续发版v3.0.1(仍指红提交7a6190f),也不要npm publishMade with Cursor