Repository navigation
fix(status): recommend ranges view in acp_status prompt snippet - #233
ranxianglei wants to merge 1 commit into
Conversation
📦 Built Extension ArtifactBranch: Option A — Install from npm PR tag (recommended)pi install npm:billion-context-pi@pr-233Each push to this PR publishes a new version under the Option B — Download artifact
tar xzf billion-context-pi-pr233.tgz
pi install ./packageThis comment is automatically updated on each push. |
|
[bot] Reviewed and verified PR branch
Ready for merge (human-only per repo rules). |
18b276b to
4c32f9f
Compare
|
分诊(队列清理 #484): 需产品决策,非 rebase 问题。
一行改动两个方向都说得通:若意图是"别默认教模型最贵的列举视图"→ 保留本 PR;若接受现状 → 关闭为 WAI(新理由)。留给维护者拍板。 |
Re-verified after queue cleanup — recommendation: merge. Facts checked:
On the product question — the two directions don't actually collide:
No code changes needed from me — diff is minimal, CI green. Leaving the merge to you (human-only per repo rules). 中文摘要:核实了已 rebase 的分支(tip |
… acp-kernel 0.0.90 (#540, #535 go-live) - #540: compress receipts and the tier3-only rewrite selected 'new' blocks with slice(-blocksCreated); an in-place refold keeps its original array position, so refolding b1 of [b1,b2,b3] presented b3's stale summary as the new one. Selection now diffs before/after runIds (every applyCompression assigns a fresh runId to created AND refolded blocks) — exact for both shapes. Regression test: two blocks, inline-restore the non-tail b1, re-compress its span, assert span clause + fingerprint line reference b1's NEW summary, b2 untouched, still exactly two persisted blocks. - pin acp-kernel 0.0.86 -> 0.0.90 (real install, overlay retired): ships refold-in-place (kernel #403) + full-log resolving (#400), making #535 P2 live end-to-end. - viable-ranges test now feeds well-formed CoreMessages: 0.0.90's syncBlocks (subid coverage, kernel #233) dereferences message.id via baseIdOf and throws on id-less host-shaped entries where 0.0.86 silently tolerated them (kernel-side guard filed separately). Gates: typecheck ✓ · 944 tests / 941 pass / 0 fail / 3 skipped · build ✓ Fixes #540
The promptSnippet suggested scope:'uncompressed' + view:'messages', steering models to the per-message firehose. The ranges view is the right default (now grouped by conversation turn and sorted by size in acp-kernel PR #165), so recommend that instead.
4c32f9f to
c2418f8
Compare
Problem
acp_statuspromptSnippet suggestedscope:"uncompressed" + view:"messages", steering models to the per-message firehose. Combined with the kernel's ranges view collapsing dense refs into one giant range, the tool's output was not actionable by range - see #193.Fix
promptSnippet now recommends
acp_status({ scope: "uncompressed" })(the ranges view), which acp-kernel PR ranxianglei/acp-kernel#165 makes actionable: ranges grouped by conversation turn, sorted by size.One-line change in src/status-tool.ts. typecheck + 428 tests + build all pass.