Repository navigation
feat(status): surface meta — active pack in acp_status + /acp, sidecar audit stamp (#431) - #432
ranxianglei wants to merge 3 commits into
Conversation
…follow-up) - acpTags: 'settled history' inversion is gone; assert the fresh-user-confirmation guardrail wording instead - summariesInContext: kernel now ships a compact trust-guardrail string; assert it survives sanitization and reaches the system prompt - howToCompress: 0.0.68 header is 'HOW TO COMPRESS' (no '(condensed)' suffix); assert the body marker KEEP VERBATIM
[bot] 🏷 Review started. Dependency chain confirmed still open and mergeable: acp-kernel #278 (feat) → #279 (release 0.0.69) → pi #428 (v0.1.69) → this PR; npm currently shows only |
[bot] 🏷 Review complete — LGTM once the documented merge order lands. Cannot merge yet (dependencies unmerged, CI red by design). VerifiedDependency chain (all open, all Kernel contract (inspected Local validation against the #279 branch build (installed via prerelease, then overlaid the local dist per AGENTS.md §5; temp pin reverted after, tree clean):
Cherry-pick integrity: Diff cleanliness: 8 files, every line on-purpose; no Non-blocking observations
Merge gating (human-only)
中文摘要:审核通过——依赖链状态、kernel 侧 meta 契约、本地 typecheck/测试(801 过 0 败)/打包均验证无误,cherry-pick 与 #428 逐字节一致,diff 干净无跑题改动;两个非阻塞观察(getActivePack 暂无生产消费者、首个 agent-start 的 stamp 在一次性 headless 会话中不会落盘)已记录在案;按既定顺序合并 acp-kernel #278/#279 与 pi #428 并刷新 lockfile 后即可合并。 |
📦 Built Extension ArtifactBranch: Option A — Install from npm PR tag (recommended)pi install npm:billion-context-pi@pr-432Each push to this PR publishes a new version under the Option B — Download artifact
tar xzf billion-context-pi-pr432.tgz
pi install ./packageThis comment is automatically updated on each push. |
|
Closing in favor of a correctly named branch ( |
Fixes #431. Depends on acp-kernel 0.0.69 (PR ranxianglei/acp-kernel#278, release ranxianglei/acp-kernel#279).
What
resolveSurfaceMeta()/surfaceMetaOf()insrc/prompt-pack.ts: host-declared surface facts ({ pack, packVersion?, host }). Which pack is active stays host policy (kernel #730 rationale); the kernel only renders what the host declares.acp_statuspassesmetaintobuildStatusReport— the overview and compressed drilldown renderACTIVE SURFACE: pack=lean v1.0.0 | host=billion-context-pi 0.1.68(kernel-rendered, uniform across hosts; the tool is model-visible so format unity matters)./acppanel version line appends· pack: <name>(host-composed string — the panel's existingversionprecedent).SessionStateStore.setActivePack()stamped inbefore_agent_start(where the pack is already resolved); persisted top-levelactivePackin the*.acp.jsonsidecar on next save, read back on load. Post-hoc forensics no longer needs config-mtime archaeology (session 01a09aa0).acp-kernel0.0.66 → 0.0.69; cherry-picked the lean-assertion alignment from release v0.1.69 #428 (b45b22f) so this branch tests green against the 0.0.68+ contract independent of merge order.CI note
package-lock.jsonstill resolves 0.0.66 on purpose: 0.0.69 is not on npm until ranxianglei/acp-kernel#279 merges (human-only). After that:npm installto refresh the lockfile here (or rebase on the next release), then CI goes green. Locally validated against the kernel branch build (804 tests pass, typecheck clean).Merge order
acp_delegate超时和嵌套深度可配置 #279 (publishes 0.0.69)