来源: #310 分析 summary-fidelity 内核迁移时发现(跟踪项)。
CLOSED — SUPERSEDED (2026-09-06)
Per owner direction, the kernel migration was executed directly inside PR #310 (commit 11912fe) instead of a separate follow-up PR: acp-kernel 0.0.50 → exact 0.0.55, adapter SUMMARY FIDELITY RULES section removed (single-sourced from kernel #205 via ${prompts.howToCompressRules}), 3 unit tests adapted to post-#194/#198 semantics. Verified locally on a clean tree (565/0/3, typecheck+build clean).
Remaining item before #310 can merge (tracked in the #310 thread): CI E2E is red on head — scenario scripts/e2e/scenarios/03-nudge-triggered.json fails on all three e2e jobs (ubuntu/windows/docker): nudgeDetections: 0, nudgeCount >= 1 got 0, blockCount >= 1 got 0. Root cause: same #198 min-pressure-benefit gate (max(5000, limit×1%)) — the scenario's modelContextLimit: 1500 plus ~2K tokens of cumulative growthText puts effective pending below the 5K floor, so the pressure-band nudge is suppressed by design. Fix: scale scenario growthText above the floor (fixture-only change, mirrors the e2e-compress-config unit-test adaptation).
Original scope (kept for reference)
Version span reviewed during bump (0.0.50 → 0.0.55)
Process note (footgun hit during #310 review)
A failed npm ci (EUSAGE sync error) exits non-zero without touching node_modules, so subsequent local runs silently execute against the stale installed version — during #310 review this produced false-green results (runs believed to be on 0.0.55 actually ran on the older installed kernel). Always confirm the npm ci exit status and the installed kernel version (node_modules/acp-kernel/package.json) before trusting local test results.
来源: #310 分析 summary-fidelity 内核迁移时发现(跟踪项)。
CLOSED — SUPERSEDED (2026-09-06)
Per owner direction, the kernel migration was executed directly inside PR #310 (commit
11912fe) instead of a separate follow-up PR: acp-kernel 0.0.50 → exact 0.0.55, adapter SUMMARY FIDELITY RULES section removed (single-sourced from kernel #205 via${prompts.howToCompressRules}), 3 unit tests adapted to post-#194/#198 semantics. Verified locally on a clean tree (565/0/3, typecheck+build clean).Remaining item before #310 can merge (tracked in the #310 thread): CI E2E is red on head — scenario
scripts/e2e/scenarios/03-nudge-triggered.jsonfails on all three e2e jobs (ubuntu/windows/docker):nudgeDetections: 0,nudgeCount >= 1 got 0,blockCount >= 1 got 0. Root cause: same #198 min-pressure-benefit gate (max(5000, limit×1%)) — the scenario'smodelContextLimit: 1500plus ~2K tokens of cumulative growthText puts effective pending below the 5K floor, so the pressure-band nudge is suppressed by design. Fix: scale scenario growthText above the floor (fixture-only change, mirrors the e2e-compress-config unit-test adaptation).Original scope (kept for reference)
acp-kerneldevDependency to exact0.0.55; refreshpackage-lock.jsonin the same commit (bump alone breaks every workflow'snpm ciwith EUSAGE).src/system-prompt.ts; keepsrc/summary-sanitize.tspermanently.tests/e2e-compress-config.test.ts:119(release v0.1.46 #198 gate, v0.0.52/PR compress 伪成功死循环:重复压缩已压缩区间报告 success,模型上下文自复位无限重试(33 次,真实会话复现) #199),tests/sent-view-arbitration.test.ts:100and:120(fix(compress): 'nothing to compress' is terminal — one-shot continue msg, not re-nudge #194 first-sight bypass, v0.0.51/PR feat: salvage malformed compress content strings (omp#121) #196). ✅ Done in 11912fe (fixtures only, assertions intact).Version span reviewed during bump (0.0.50 → 0.0.55)
max(5000, limit×1%)— kills nudge→compress→reject zero-yield loopsProcess note (footgun hit during #310 review)
A failed
npm ci(EUSAGE sync error) exits non-zero without touching node_modules, so subsequent local runs silently execute against the stale installed version — during #310 review this produced false-green results (runs believed to be on 0.0.55 actually ran on the older installed kernel). Always confirm thenpm ciexit status and the installed kernel version (node_modules/acp-kernel/package.json) before trusting local test results.