Repository navigation
fix: pin acp-kernel 0.0.86 — count distillation default-off; deriveChildState carries image ledgers - #523
Merged
Conversation
…ildState carries image ledgers - kernel 0.0.83 -> 0.0.86: bundles #379/#380 (tier2Trigger 5->1000, tier3Trigger 10->2000, #238 usage gate deleted) — count-triggered distillation is default-off; growth/token-mass stay the need signal. Fixes the prefix-cache sawtooth class (billion-context#1249). - deriveChildState: carry imageFullRestored/imageShrinks from the parent (ref space is NOT re-issued on derive, so the ledgers stay valid for inherited content; kernel resetImageFullState applies only to ref-reissue resets). Without them image_full on an inherited shrunk ref falsely refused. - t3-rewrite-guard #344 test pins the hint mechanism with explicit low triggers; new tier-ready-hint.test.ts asserts default-off silence.
Contributor
📦 Built Extension ArtifactBranch: Option A — Install from npm PR tag (recommended)pi install npm:billion-context-pi@pr-523Each push to this PR publishes a new version under the Option B — Download artifact
tar xzf billion-context-pi-pr523.tgz
pi install ./packageThis comment is automatically updated on each push. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #522
What
1. Kernel pin 0.0.83 → 0.0.86
Bundles acp-kernel#379/#380:
tiers.tier2Trigger5→1000 /tier3Trigger10→2000 — the count path ("满5个块就蒸馏") is default-off; block count is not a need signal. Count distillations reclaimed ~nothing while rewriting the wire from the fold anchor onward — the prefix-cache sawtooth class (billion-context#1249).2. Real bug found & fixed by the suite:
deriveChildStatedropped the image ledgers (#522)Kernel 0.0.84 added
imageFullRestored/imageShrinksto the state; deriveChildState enumerated fields manually and silently lost them →image_fullon an inherited shrunk ref falsely refused. Fix: carry both (ref space is not re-issued on derive, so the records stay valid; the kernel's MUST-clearresetImageFullStateapplies only to ref-reissue resets).3. Test updates
tests/t3-rewrite-guard.test.ts(tier3-rewrite rejection lacks the actionable tier-ready alternative #344): pins the hint MECHANISM with explicit low triggers (tier2Trigger: 3) — defaults are now count-off.tests/tier-ready-hint.test.ts: default triggers 1000/2000;tierReadyHintsilent for 5 tier-1 / 9 tier-2 block handfuls under defaults; fires when explicitly configured low.Verification
npm run typecheckcleannpm run build✓ (dist inlines the kernel)Sequence
acp-kernel 0.0.86 already live on npm — merge + next release carries everything.