Skip to content

Revert "feat: bili→bili chain integrity — x-bili-sig digest + ACP-artifact fallback" - #1087

Merged
ranxianglei merged 1 commit into
masterfrom
revert-1079-2026-09-21_bili-chain-sig
Sep 21, 2026
Merged

ranxianglei merged 1 commit into
masterfrom
revert-1079-2026-09-21_bili-chain-sig

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Reverts #1079

@ranxianglei
ranxianglei merged commit becceff into master Sep 21, 2026
8 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: revert-1079-2026-09-21_bili-chain-sig (369f9d5)

Option A — Install from npm PR tag (recommended)

npm install -g billion-context@pr-1087

Each push to this PR publishes a new version under the pr-1087 npm tag.

Option B — Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr1087.tgz
npm install -g package

Install instructions are refreshed on each push.

ranxianglei pushed a commit that referenced this pull request Sep 22, 2026
…sions (#1086)

v0.1.133's content fallback judged bili's own injected ACP artifacts (render tags / acp_status+search_context tool surface) as bili->bili chain evidence and passed every turn through verbatim, so the compression kernel never ran again on single-instance setups (#1086). Re-introduces the fallback correctly after #1087's revert:

- structural detector: declarations alone are not artifacts; historical tool calls (both names, all four wire shapes) or wire-escaped render tags are; prose never counts
- self-state exemption: processed local state for the session (memory or persisted store) means the artifacts are self-produced, process normally
- foreign artifacts without local state: byte-identical passthrough, one warn per session, no session record created
- escape valve: chainContentDetection:false / BILI_CHAIN_CONTENT=0
@ranxianglei
ranxianglei deleted the revert-1079-2026-09-21_bili-chain-sig branch October 15, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant