Skip to content

[YAO-151] S5: 第二卷 09-17 章逐章修正(C17 cron jitter/QoS 等)#78

Merged
luyao618 merged 4 commits into
mainfrom
agent/cc-dev/s5-yao151-1779882820
May 27, 2026
Merged

[YAO-151] S5: 第二卷 09-17 章逐章修正(C17 cron jitter/QoS 等)#78
luyao618 merged 4 commits into
mainfrom
agent/cc-dev/s5-yao151-1779882820

Conversation

@luyao618
Copy link
Copy Markdown
Owner

摘要

S5 第二卷 09–17 章逐章修正。S2/S3 已落地的硬性条目(C11 23 个检查 ID、C15 6 个 agents、C16 7 vs 6 TaskType、章节末尾 `---` 残留、PR 编号→源码引用替换)核验通过,本 PR 专注补齐 S2/S3 未覆盖项。

改动

C17(重点:cron jitter + QoS 推断)

  • §3.2 jitter:补 `utils/cronJitterConfig.ts:24,67` 与 `JITTER_CONFIG_REFRESH_MS` 源码定位,说明 GrowthBook `tengu_kairos_cron_config` 在线下发 + Zod 校验 + defense-in-depth 收敛的完整路径
  • §5 WORKLOAD_CRON:补端到端三步链 `workloadContext.ts:26` → `handlePromptSubmit.ts:457-472` → `constants/system.ts:83-91`(`cc_workload=${workload}` 注入 `x-anthropic-billing-header`);把"会被后端 deprioritize"的笃定推断下调为"标签发出去了,后端 QoS 策略属服务端私有"

其他章节

  • C09 番外标题错别字:打翻 → 打破(Prompt Cache)
  • C12 §一 删除重复的"UNC 路径短路"引子句
  • C13 §六 收尾:替换"三分之一+三分之二+三分之一"凑不到 1 的措辞

验证

Issue: YAO-151

Yao Lu and others added 4 commits May 27, 2026 19:57
- §3.2 jitter 加 cronJitterConfig.ts:24,67 与 JITTER_CONFIG_REFRESH_MS 引用
- §5 WORKLOAD_CRON 链路:workloadContext.ts:26 → handlePromptSubmit.ts:457-472
  → constants/system.ts:83-91 (cc_workload header);下调 QoS 推断为
  「标签发出去了,后端策略属服务端私有」

Co-authored-by: multica-agent <github@multica.ai>
- C09 番外标题: 打翻 → 打破
- C12 §一 删除重复的 UNC 路径短路引子句
- C13 §六 收尾: 替换'三分之一+三分之二+三分之一' 这种凑不到 1
  的措辞为'三层视角叠起来读才能看到设计取舍'

Co-authored-by: multica-agent <github@multica.ai>
C14:
- §2.4 attribution 字段补充 token/API 计费归属的语义说明
- §4.1 移除 Guide Agent 早期剧透,改为指向 §4.2–§4.6
- §4.6 新增 Guide Agent 节,承接 §4.1 引用
- §六 为 TaskOutput(block=true) / classifyHandoffIfNeeded 英文术语补注
- §七.5 重新编号为 §八,§八(设计模式)顺延为 §九

C17:
- §一 顶部补一句指向后续 §二/§三/§四 的源码路径,避免开篇悬空
- §4.2 把"没有独立的 fireCronTask"反向解释为闭包捕获回调的设计动机
- §9 起笔加一行说明这是端到端实践演练,而非新内容回顾
- §8 模式 4 末尾补一条 C15 §六(对抗性 Prompt 模式)的交叉引用

C10:
- 上一次提交已覆盖(三列模型 / §1.1 / §3.5 / §5.1 / §六 BashTool 剧透)

无需修改项:
- C14 §2.1 时序图:现有 mermaid 已按 Phase 1–6 分段,进一步重画收益低
- C17 §一 完整源码引用:已通过"具体源码位置见 §二/§三/§四"指针解决

Co-authored-by: multica-agent <github@multica.ai>
Co-authored-by: multica-agent <github@multica.ai>
@luyao618 luyao618 merged commit e738c95 into main May 27, 2026
1 check 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.

1 participant