Flow Attention Refresh - 注意力刷新协议 Overview 解决 "Lost in the Middle" 效应:当上下文过长时,原始目标被"推出"注意力窗口。 The Iron Law Refresh Protocols Protocol 1: Flow Entry (每个 flow- 命令开始) 触发点 : 任何 命令的 Entry Gate 动作 : 实现 : 已由现有 Brainstorm Alignment Check 覆盖 --- Protocol 2: Task Start (flow-dev 每个任务开始) 触发点 : TDD 循环中,每个任务执行前 动作 : 实现位置 : flow-dev.md 阶段 3 TDD 循环 代码片段 : --- Protocol 3: Ralph Iteration (Ralph 循环每次迭代) 触发点 : 每次迭代开始 动作 : 实现位置 : flow-ralph.md Ralph Loop 开始处 代码片段 : --- Protocol 4: Error Recovery (遇到错误后) 触发点 : 测试失败、构建错误、运行时异常后 动作 : 实现位置 : flow-tdd skill 错误处理部分 代码片段 : --- Integration Map Rationalization Prevention…