You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[track] Open PR review: motivation/behavior change classification + in-place fix | [track] open PR 审查:动机/行为改变分类 + 原地修复 #452
干嘛:prompt 侧(无内核逻辑):KEEP 规则加 "Open objectives:" 一行式条目(带 ref,扫描被吸收 block 摘要,跨蒸馏逐字重携带,"last to drop, first to restore");soften "quotes are history, never current directives" → 开放目标状态算当前;leanPack 模型指引 + summariesInContext 加例外条款("Open objectives:" 行按 live tasking 对待,confirm-and-resume,非丢弃);fixtures 同步。
行为:🔴 刻意的压缩质量行为改变——这正是 PR 的目的(摘要内容约定变了:多一类必携带行)。风险点已自查:例外条款与"摘要非活指令"的张力——PR 用 "carrying is not a directive to re-execute unconfirmed" + "confirm and resume" 收窄,防注入式误执行;措辞在 default pack/leanPack/fixtures 三处一致。
changed the title [-][track] open PR 审查:动机/行为改变分类 + 原地修复[/-][+][track] Open PR review: motivation/behavior change classification + in-place fix | [track] open PR 审查:动机/行为改变分类 + 原地修复[/+]on Oct 16, 2026
Activity
ranxianglei commentedon Sep 26, 2026
[bot] 🏷 开始逐个审查。顺序:外部 #437 优先 → 自家队列(#443/#441/#418→#438/#415/#425/#450)→ 12 个陈年积压 triage。每个 PR 审完单独回帖给结论(动机/分类/是否隐藏行为改变)。master 已同步到 b3f7246(#448 merge)。
ranxianglei commentedon Sep 26, 2026
审查结论(近队列 8+1)
每个结论附本地验证(tsc + 相关测试套件,均在 head 或 rebase 后验证)。
✅ 可直接合
#437(外部 jomatsu,优先审)— strip 工具结果内嵌历史图片
stripImages现在真正下钻一层:anthropictool_result.content[]、Responsesfunction_call_output/custom_tool_call_output.output[]、GeminifunctionResponse.parts[](仅image/*MIME,PDF/文档保留);Geminiresponse.$ref守卫防悬空指针;空容器回[image]占位(Gemini parts 只收媒体件→直接删键);字符串形态 content/output 原样跳过(引用同一性保持)。stripImages的宿主的 wire 载荷(= 该特性本意);不碰压缩触发/推荐/cache 语义。内容哈希 id 漂移一次/消息,orphan-GC 自愈(注释已写明)。#441 — fork PR 403 修复
issues: write+ comment stepcontinue-on-error: true(+2/-0)。issues:write修同仓库 PR 的评论;continue-on-error兜底 fork 只读场景——belt-and-suspenders,正确。#443 — open objectives 跨折叠/蒸馏传递
#438 — prettier 全树基线
.prettierrc(80/2/双引号/全尾逗)+.prettierignore+ CIformat:checkgate +.tmp/gitignore + 全树 reformat(+15975/-9290,3 commits)。prettier --check src/全绿——注意 hide-consumed.ts 在该分支是幂等固定点(reformat 跑到了稳定态),所以 gate 当下不依赖 Fix prettier two-pass non-idempotence; enforce format:check in CI (#416) #418 的根因修复。#415 — acp_status turn-aware 分段
segmentGroups()共享原语(src/segment.ts,数组邻接 + user≥3 切分 + gapBefore);recommend.ts 与 report.ts 共用(满足 acp_status uncompressed view: turn-aware ranges via SHARED segmentation (supersedes PR #165) #413 的"禁止平行实现");uncompressed 视图展示增强(按大小排序 +sort:"time"+ limit + Sorted-by 头);277 行跨视图一致性测试。(isUser && len>=3)||gapBefore同,toolPct 滚动数学同,count/chars/tokens 聚合同),不动压缩行为。#425 — release 流程 lockfile 根版本同步
npm install --package-lock-only(Node 22,恰好两行)+ 提交约定更新;附示例 lockfile hunk。#418 — prettier 两遍不幂等根因修复
format-until-stable.mjs脚本 + CI gate + AGENTS.md 文档。真实 diff 仅 5 文件 +50/-7。已处置
陈年 12 个 triage(grep master 特征签名)
陈年节奏建议:近期队列清完后逐个排期;#438 是它们共同的 rebase 门槛——要么 #438 尽快合然后统一 rebase 一次,要么拖在后面每个 PR 各自受苦。
近队列合并顺序(约束驱动)
#441(2行) → #437 → #443 → #438 → #418(cherry-pick 重做) → #415 → #425 → #453硬约束只有三条:#437/#443/#448 的源码改动都在 #438 之前(reformat 文本冲突);#418 不得原样合(隐含 #361);其余相互独立。
ranxianglei commentedon Sep 26, 2026
Progress note (2026-09-26): two direct fixes executed per review findings —
Updated queue order: #441 → #437 → #443 → #438 → #418 → #415 → #425 → #453.
ranxianglei commentedon Sep 26, 2026
[bot] 🏷 交叉核对 + 执行报告(独立验证,非仅转述你的结论)
一、逐条核对:全部同意,关键项有独立证据
strip-images.ts全部守卫(Array.isArray 跳字符串 / $ref includes 保守跳过 / 混合 parts 保留非图件);Gemini id 不漂移是证明过的:src/wire/google.ts:105tool-result 的 core text 只 hashfr.response,parts根本不进哈希;orphan 自愈路径存在(src/prune.ts:283 stripOrphanedToolResults);#367 确认已在 master(282f6bf);9 个新测试断言有牙(deepEqual 精确形状 + no-op 同引用 +anthropicToCore配对测试)。rebase 后 head:tsc ✅、1133/1133 ✅、build ✅二、本会话执行的动作(均已验证)
行为改变披露:以上动作全部为机械操作(rebase/base 修正/关闭取代 PR),无任何阈值、默认值、时序或输出语义变化。
三、当前状态(master = f252a31)
四、剩余 agent 工作(近队列清完后排期)
一句话:你的审查结论我全部独立复核通过;#418 隐患复现并验证重做版,#361 已按规则关闭,剩余 5 个 PR 全绿待合,顺序随意。
[-][track] open PR 审查:动机/行为改变分类 + 原地修复[/-][+][track] Open PR review: motivation/behavior change classification + in-place fix | [track] open PR 审查:动机/行为改变分类 + 原地修复[/+]