docs(C30): Doctor 屏与 Output Style 体验 全新章 (YAO-129) - #63
Merged
Conversation
新增 docs/33-Doctor-屏与-Output-Style-体验.md,覆盖 Doctor 自检屏、 Output Style 注入链与 ResumeConversation 三块此前未在书中出现的体验入口。 风格双亲:docs/03-状态管理.md + docs/21-Ink框架深度定制.md。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
… OC-R Co-authored-by: multica-agent <github@multica.ai>
…d example (YAO-129) Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
…YAO-129) Co-authored-by: multica-agent <github@multica.ai>
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.
概要
新增第 33 篇 Doctor 屏与 Output Style 体验 —— spec §9.3 与 YAO-142 仲裁约定的 C30 落地文件
docs/33-Doctor-屏与-Output-Style-体验.md。100% 新增章节,源码 frozen @290fdc9481a70612bc5823aa4ed225c52c52aad3。覆盖入口锚点:
screens/Doctor.tsx、screens/REPL.tsx(作为背景)、screens/ResumeConversation.tsxoutputStyles/loadOutputStylesDir.ts、constants/outputStyles.tscommands/doctor/{index,doctor}.tsx、commands/output-style/{index,output-style}.tsxutils/doctorDiagnostic.ts、utils/doctorContextWarnings.ts、utils/prompts.ts风格双亲实证段(spec §0.5.1.1)
选取双亲:docs/03-状态管理.md + docs/21-Ink框架深度定制.md。两者都属于"拆某个子系统内部机制"的章型,且都用"为什么 X 值得一篇"作 hook,再走"全景 → 细节 → 综合"三段式。
双亲节选 1 :docs/03-状态管理.md L5-17(≥200 字)
双亲节选 2 :docs/21-Ink框架深度定制.md L5-17(≥200 字)
新章对应节选 1 :本章 L7-9(≥200 字)
新章对应节选 2 :本章 L40-46(≥200 字)
风格匹配点:第二人称读者引导、"为什么 X 值得一篇"开篇钩子、file:line 锚点贴满、段落结尾习惯用一句结论收束、"全景 → 细节 → 综合"三段式。
Manifest diff
仅新增 1 个章节文件,无 spec / 附录改动:
NN=33 由 YAO-142 PR #55 在 spec §9.3.1 + scripts/check-code-ratio.ts
NEW_CHAPTER_FILES中注册,本 PR 不再改 spec。覆盖锚点确认(新章必须项)
screens/Doctor.tsxscreens/REPL.tsxscreens/ResumeConversation.tsxoutputStyles/loadOutputStylesDir.tscommands/output-style/*commands/doctor/*CI gates 本地通过情况
check-source-commits.ts—— OKcheck-no-frontmatter-in-chapters.ts—— OK(无 frontmatter)check-code-ratio.ts—— OK,18.1%(阈值 ≤ 25%)lint-no-spec-jargon-in-prose.ts—— OKlint-no-revision-codenames.ts—— OKlint-no-fuzzy-quantifiers.ts—— WARN 5 处全部为"约"字误命中复合词(契约 / 规约 / 约束 / 约定),非阻塞,reviewer 复核备注