docs(v2): C08 Prompt Cache 横切 · 勘误保留 · 零差异存档#33
Closed
luyao618 wants to merge 1 commit into
Closed
Conversation
判定档:勘误保留。逐条核对 v1-07 全部 file:line 引用 vs commit 290fdc9481a70612bc5823aa4ed225c52c52aad3,结论:**无可勘误事实点**。 仅冻结 source_commit 到章节开篇 frontmatter,正文 0 diff。 风格双亲:docs/04-System-Prompt-工程.md + docs/06-上下文管理.md 保留 v1 段落 N 段 / 改写 0 段 / 新增 0 段(仅引言增加 commit sha 标注) 详细核对清单见 PR 描述。 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-109)
结论
逐条核对 v1-07 (
docs/07-Prompt-Cache.md, 817 行) 全部 file:line 引用 vsclaude-code-cli@290fdc9481a70612bc5823aa4ed225c52c52aad3—— 零勘误事实点。正文 0 diff,仅在第 3 行引言追加
(源码冻结:commit 290fdc9481a70612bc5823aa4ed225c52c52aad3)完成 spec §2 要求的章节级 source_commit 冻结。风格双亲(R-1)
docs/04-System-Prompt-工程.md(同属第二篇 · 内核章,开篇的"为什么单独讲 X?" + 分段叙事节奏)docs/06-上下文管理.md(横切章先例,三大模块串联 + Mermaid 流程图比例)段落统计(R-2)
N(保留)≫ M+K(改写+新增)= 0,符合勘误保留档的统计基线。
完整核对清单(v1 → 290fdc9)
claude.ts:358-374getCacheControlclaude.ts:393-434should1hCacheTTLclaude.ts:1225-1229globalCacheStrategyclaude.ts:1235-1245toolToAPISchema 调用claude.ts:1388遗留注释 toolSchemas markerclaude.ts:3063-3106addCacheBreakpointsclaude.ts:3084-3089skipCacheWriteclaude.ts:3141-3208cache_edits 注入claude.ts:3213-3237buildSystemPromptBlocksclaude.ts:117-132latch 导入utils/api.ts:129cacheControl 选项utils/api.ts:139-209toolToAPISchema 主体utils/api.ts:321-435splitSysPromptPrefixprompts.ts:114-115DYNAMIC_BOUNDARYprompts.ts:568-577boundary 插入点systemPromptSections.ts:20-38systemPromptSections.ts:43-58resolvesystemPromptSections.ts:60-68clearmicroCompact.ts:100-118pin*microCompact.ts:253-293microcompactMessagesmicroCompact.ts:305-399cachedMicrocompactPathmicroCompact.ts:446-529maybeTimeBasedMicrocompactforkedAgent.ts:46-68CacheSafeParamsforkedAgent.ts:70-81save/getLastCacheSafeParamsforkedAgent.ts:389-403contentReplacementState cloneforkedAgent.ts:489-556runForkedAgenttoolResultStorage.ts:399-412cloneContentReplacementStateforkSubagent.ts:44-71FORK_AGENTforkSubagent.ts:91-93FORK_PLACEHOLDER_RESULTforkSubagent.ts:95-105byte-identical commentpromptCacheBreakDetection.ts:247-430recordPromptStatelogging.ts:46GlobalCacheStrategy§5.1 的 12 维度变化矩阵也与
promptCacheBreakDetection.ts:72-83完全对齐。Manifest diff 摘要
source_commit章节级冻结:未冻结 →290fdc9481a70612bc5823aa4ed225c52c52aad3Merge 纪律
按 spec §4 与本 issue §0.4:不要 merge,等尧哥本人手动合。