Repository navigation
chore: bump acp-kernel to 0.0.67 - #418
ranxianglei wants to merge 4 commits into
Conversation
📦 Built Extension ArtifactBranch: Option A — Install from npm PR tag (recommended)pi install npm:billion-context-pi@pr-418Each push to this PR publishes a new version under the Option B — Download artifact
tar xzf billion-context-pi-pr418.tgz
pi install ./packageThis comment is automatically updated on each push. |
… contract flows through sanitizePromptSections hard-nulled RULE_SLOT_KEYS (philosophy/howToCompress/ tier2/tier3) even when a pack supplies a string, so the kernel 0.0.67 condensed how-to-compress contract (acp-kernel #264, Fixes #263) was bundled but never rendered. Widen PiPromptSections rule slots to SectionOverride and pass the value through; junk test updated to the new semantics (only genuinely bad types dropped).
[bot] 🏷 Review: branch was red as pushed — root cause found, fix on the branch, verified green Diff cleanliness ✓ — exactly 3 files, all on-topic: The pushed head was failing its own new test. Ran the CI checks on Root cause (verified by probing the installed kernel directly): the kernel side is correct — Fix now on the branch:
I recorded the sanitizer defect as issue #419 (source-marked); Verified on final head Verdict: code ready — needs CI green + human merge ( 中文摘要:PR 分支推送时是红的(新增断言自身失败)——根因是 pi 侧 sanitizePromptSections 对四个 rule slot 只放行 null、静默丢弃字符串覆盖,导致 lean 的精简压缩契约(kernel #264)根本到不了用户 prompt;已在分支上修复 sanitizer(rule slot 接受 string|null,缺陷记录为 issue #419)并补了运行时回归测试,typecheck / 804 项测试 / build 全绿,可以合并。 |
|
Closing as obsolete: acp-kernel 0.0.68 is live on npm (v0.0.67 was superseded within hours). The next billion-context-pi release bumps the pin straight to 0.0.68 — must ship together with #427 (rule-slot string sanitize), otherwise kernel 0.0.67+'s leanPack |
Bumps the pinned
acp-kernelfrom 0.0.66 to 0.0.67 and fixes the pi side that the new kernel surfaced.Kernel side (acp-kernel #264, Fixes acp-kernel #263)
Lean pack carries a condensed how-to-compress style contract in the pi slot (~2.0K vs the 4.5K default) with integrity rules against the 01a09989 unstyled-summary hallucination class: no simulated Q&A transcripts, owed answers are PENDING, questions recorded as asked (with ref) — never as answered.
Pi side (this PR)
sanitizePromptSectionshard-nulled the rule slots (philosophy/howToCompress/tier2/tier3) even when a pack supplied a string, so the kernel contract was bundled but never rendered — caught by the updated prompt-pack test. Rule slots now accept string overrides (SectionOverride), the condensed contract flows into the lean system prompt, and the junk-sanitize test is updated to the new semantics.E2E smoke: lean system prompt = 3572 bytes; condensed contract rendered; full default and philosophy absent.
Verification
803 tests (0 fail, 3 pre-existing skips), typecheck clean, build green. The currently installed ~/.pi build carries the kernel data but NOT this render fix — this PR completes it locally once rebuilt.
Fixes #419.