Repository navigation
fix: exempt @openma/deepseek-harness-acp from name-only conflict scan (#2969) - #2971
Conversation
…#2969) - add the dsh ACP protocol adapter to the verified non-compressor list (its 'acp' suffix names Agent Client Protocol, not acp-kernel); exact token match, lookalikes still flagged; stock [suspected] records are neutralized at display time, no data migration - widen the path-segment matcher so scoped names match Windows paths too - pure [suspected] ledgers drop the imperative per-client fix footer / web hint block (acp_status + banner); confirmed and unconfirmed-signal tiers keep remediation, mixed ledgers stay verbatim (#2802 gate) - CONFIGURATION.md scanner section updated to match
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.3363-pr.2971.4888807This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr2971.tgz
npm install -g packageInstall instructions are refreshed on each push. |
[bot] 🏷 已按 PR Review 规范审完 #2971(Closes #2969)。这是 审查过程(逐项过既有行为):
结构化八问:
CI:static-gates(ubuntu 22/24)+ 全部 guard 作业(kernel/pi-subagents/lane/config-surface/docs/version/build-artifact/lock-sync/unused-exports)= 全绿;全量 |
[bot] 🏷 CI 已全绿 ✅ —— commit 代码审查结论见上一条(八问体例,可合并)。现无任何阻塞,可合并(合并由人执行)。 |
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.357-master.1f936a3 # this exact build
npm install -g billion-context@master # always the newest merged build
|
Closes #2969
What
The third-party compression scanner flags
@openma/deepseek-harness-acp(a dsh ACP protocol adapter) as[suspected]compressor: its-acpsuffix hits the ecosystem-marker keywordacp, but in this package it names the Agent Client Protocol, not acp-kernel. The adapter is verified NOT to compress — its shippedcordis.patch.ymldisables dsh's native compaction features (compaction-basic/command-compact/tool-result-pruner) — yet every scan re-records a false-positive ledger entry, and the conflict surfaces append an imperative "disable auto-compaction / route around bili / start a fresh session" fix footer even though nothing was ever confirmed.Changes
src/thirdparty-scan.ts): added@openma/deepseek-harness-acpto the verified non-compressor list (internal const renamedKNOWN_DISPLAY_ONLY→KNOWN_NON_COMPRESSORS; exported identifiersisKnownDisplayOnlyPlugin/isDisplayOnlyConflictDetailand the stats fielddisplayOnlyare unchanged). Exact-token match only — lookalikes (-fork, unscoped, other scopes) still flag.src/thirdparty-scan.ts): the bounded path-segment regex treated the inner/of scoped names as literal, so path-form entries on Windows escaped the exemption. The inner separator now widens to[/\\]; no-op for unscoped entries.[suspected]records naming this package re-classify at display time automatically (isDisplayOnlyConflictDetail→displayOnlytier → neutral stand-down wording; banner hidden). No data migration.src/conflict-watch.ts,src/web/client.ts): when EVERY event is a name-only match, acp_status/launcher show verify-first advice only (noFix (<client>): disable the client's own auto-compaction …line + docs pointer), and the web banner omits the per-client hint block. Confirmed and unconfirmed-signal tiers keep remediation; mixed ledgers stay verbatim (the feat: surface identity-loss takeovers with an identity-orphan conflict event (#2791) #2802-review gate is preserved — the skip requires zero orphan/signal/confirmed events). AdditiveshowHintsfield on the browser-sidebili_conflictSeverityreturn (not an HTTP payload change).Behavior changes (intentional, flagged)
@openma/deepseek-harness-acprecorded[suspected]on every scanFix (<client>): disable the client's own auto-compaction (or route this session around bili), then start a fresh session+ docs pointerUnchanged: wire formats, ledger record shape, keyword rules, real-compressor detection, native-compaction / history-rewrite evidence paths, config surface, stats payload fields.
Tests
tests/issue1206-thirdparty-scan.test.ts: exemption spec-form coverage + lookalike rejection (incl. Windows paths); dsh scan (adapter alone → zero findings, real compressor still flagged); stock-record neutralization;summarizeConflictstier counting; adapter-only ledger stand-down without footer; pure-[suspected] footer drop with signal-tier retention; native tier intact beside an adapter record.tests/web-conflict-banner.test.ts:showHintsgating across tiers + old-payload degradation.