Repository navigation
perf: arm compression plans from nudges - #437
ranxianglei merged 2 commits into
Conversation
[bot] 🏷 PR review — arm compression plans from nudges I checked out Verification (local)
Blocker: merge conflict with masterThe PR is currently not mergeable ( FindingsF1 (medium, backward compat) — system prompt change is ungated. F2 (medium, backward compat) — range segmentation change is ungated. In F3 (low) — F4 (low, confirm intent) — with the flag on, if the maxLimit variant triggers but no plan can be armed, the strong "Context limit reached" alert is also suppressed (condition changed from F5 (nit) — DESIGN.md says behavior "remains gated by existing smartPlanRequired"; the flag is introduced by this PR (verified absent from master during the #436 triage). F6 (minor) — heavy Prettier reflow noise in the touched files inflates the diff. Acceptable (repo standard) but noted for future diffs. VerdictExecutor logic, validation guards, and tests check out — no correctness blockers found. Before merge: (a) rebase onto master, (b) resolve F1/F2 (gate or justify), ideally (c) add the CONFIGURATION.md entry. If you want, I can prepare patches for F1–F3+F5 once you decide gate-vs-global for F2. Merge remains a human operation per repo rules. 中文摘要:审查了 nudge 武装压缩计划的实现,执行器校验、可见性快照与测试均无正确性问题;但 PR 与 master 存在合并冲突需先 rebase,且系统提示词和范围切分阈值两处改动未受 |
|
Patched after live native-compaction failure and reviewer feedback. Added stable message-ref high-water preservation, full-history mixed-epoch repair via acp_status, non-contiguous range boundaries, nudge-armed canonical plans sized toward the native watermark, execution-side exact-plan validation, provider/model consistency, docs/tests, and native template hardening for serialized tool markers/plain headings. Verification: typecheck PASS; focused 115/115; full 1311/1311; build PASS; native compaction regression PASS; two independent final reviews APPROVE. Commit: 2f824e5. |
4bb363d to
2f824e5
Compare
[bot] 🏷 Re-review — Pulled the rebased head ( Previous findings — all addressed ✅
New commit reviewed — root cause and fix are soundThe native-compaction failure root cause checks out: the old Also verified: plan sizing toward the watermark ( Local verification
Remaining nits (non-blocking)
VerdictAll prior blockers and findings resolved; the compaction-coordination logic is correct and well-tested. Ready to merge once 中文摘要:复审了 rebase 后的新提交,此前全部问题(系统提示词未加开关、切分阈值全局生效、缺文档、devlog 措辞、合并冲突)均已修复,新增的压缩纪元保留与混合纪元自动修复逻辑经核查正确且有回归测试;仅剩 WORKLOG 验证数字未更新等两处小瑕疵,e2e 转绿后可合并。 |
Fixes #436
Summary
Verification