docs(v2): C11 BashTool / PowerShellTool 双 shell (YAO-112)#34
Merged
Conversation
判定档:保留。最小修改原则: - 替换两处「约 12,400 行」→ 精确 12,411 行(按 commit 290fdc94 复算) - 「其他 8 个文件 ~1,405」→ 1,416(同口径复算) - 新增「十、Windows 路径上的对照:PowerShellTool」一节作为 PowerShellTool 的点名补充,对照 BashTool/PowerShellTool 两条 几乎平行的实现路径,并点出 gitSafety.ts 与 clmTypes.ts 两块 PowerShell 独有的逻辑 未触动 v1 原 12 个一/二级标题;未改文风;中文段落留存率远高于 50%;C-2 / C-3 / C-4 / C-5 / 章节正文禁 frontmatter / 禁 spec 术语 本地全绿。 Co-authored-by: multica-agent <github@multica.ai>
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.
概要
YAO-112 · C11 BashTool / PowerShellTool 双 shell。判定档:保留(v1-10 全章)。本 PR 在 v1 原稿基础上做最小修改 + PowerShell 点名补充:
290fdc94复算,wc -l tools/BashTool/*累加)gitSafety.ts与clmTypes.ts两块 PowerShell 独有的逻辑未触动 v1 原有的 12 个一/二级标题、未改写任何 v1 段落的文风、未把散文改表格、未把"为什么"型标题改"是什么"型。
保留 v1 段落 / 改写 / 新增统计(R-2)
N (保留) >> M+K (改写+新增) ✓
风格双亲实证
风格双亲:v1-03 状态管理 + v1-20 API 调用与错误恢复
v1 原文摘抄(≥ 200 字 × 2 段)
【摘抄 1,来自 docs/03-状态管理.md】
【摘抄 2,来自 docs/20-API调用与错误恢复.md】
共同特征:第二人称破题("当你");提问/对比式引入;先列出现实矛盾再给出答案;散文为主、列表点缀;句长中等、口语化形容词("灾难性的"、"太重了")。
本章新写正文摘抄(≥ 200 字 × 2 段)
【新写 1,来自 docs/10-BashTool-深度剖析.md §十 开篇】
【新写 2,来自 docs/10-BashTool-深度剖析.md §十 收束】
两段新写与 v1 摘抄对比:同样的对比式破题("整本书一直站在 macOS / Linux 这一侧 / 但翻开 …")、同样的散文 + 行号引用混排、同样的口语化形容词("无辜的"、"摘掉了"),未引入"§1 源码锚点"打头、未把对比压成纯表格。
验收事实点
tools/BashTool/+tools/PowerShellTool/✓BashTool/(18 文件 / 12,411 行)+PowerShellTool/全部在正文出现wc -l tools/{BashTool,PowerShellTool}/*@ commit290fdc9481a70612bc5823aa4ed225c52c52aad3复算本地 CI 结果
bun run check:docs全绿:290fdc94…)约 100 个一处主动收紧(删数字)测试
bun run check:docs通过wc -l对源码 commit290fdc94复算行数