Skip to content

Sync Aleph to upstream bb 9f7c6ebd8 (#6486, resolves plugin-api-docs surfaces.ts) - #104

Merged
mistakeknot merged 1 commit into
mainfrom
sync/upstream-9f7c6ebd8
Nov 3, 2026
Merged

mistakeknot merged 1 commit into
mainfrom
sync/upstream-9f7c6ebd8

Conversation

@mistakeknot

@mistakeknot mistakeknot commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Upstream range

One upstream first-parent commit past the recorded base 272fcc9: get-bb/bb get-bb#6486 (9f7c6eb, "Discover selected ACP reasoning and preserve unset execution levels"). UPSTREAM_BASE moves to 9f7c6eb (release 0.48.0). The probe showed clean-through 0, so get-bb#6486 was the next step and it conflicts, so this PR is that single commit. 59 files, mostly ACP reasoning discovery across server, host-daemon, app, cli, agent-runtime and provider plugins. No migrations, no dependency changes, nothing in the update channel, signing, release locks, install scripts, credentials or sign-in.

Conflict resolution

One conflicted file, plugins/plugin-api-docs/src/surfaces.ts (ledger class plugin-surface): the provider-picker card bullets. Fork had a fourth bullet ("Place the CLI child in its thread's own scope when agent CPU isolation is on"); upstream added a fourth ("Distinguish unknown reasoning from confirmed models with no selectable levels"). Both together make five, and test/surfaces.test.ts caps a card at four bullets. Kept upstream's new bullet unchanged and folded the fork's scope behaviour into the bridge bullet: "Run every thread through a bridge the plugin ships, in its own scope under CPU isolation".

After this step the probe reports the next conflict at get-bb#6519 (2e2d7b2, packages/plugin-sdk/src/testing/app.tsx, plugin-surface); not touched here. 60 conflicting paths remain at upstream head.

Gate (typecheck + tests, origin/main 1774dd7 vs head d26f0dc, one suite at a time, niced, VITEST_MAX_WORKERS=8)

Touched packages: plugin-api-docs, server-contract, domain, agent-runtime, provider-bridge-acp, provider-bridge-protocol, host-daemon-contract, sdk, provider-acp, -claude-code, -codex, -pi, bb-guide, apps/cli, demo-server, host-daemon, server, app.

  • Typecheck passes at head for all of them.
  • apps/server: main 7149 pass, head 7160 pass, 0 fail (install-machine-script tests did not time out).
  • apps/app: main 6982 pass / 1 fail, head 6986 pass / 1 fail (PluginIcon.test.tsx, known, mk-8lcd6.10).
  • plugin-api-docs: head 75/75 after the resolution (the first run, before folding the bullet, failed the four-bullet cap; that is what the fix is for).
  • Same failures at main and at head, identical sets of failing test names (273 lines compared): agent-runtime 126, apps/cli 3, apps/host-daemon 4, provider-acp 1. They look environment-dependent (agent session env, PATH, HOME) and are not caused by this step. Not investigated further here.
  • domain: head 1136/1136; main had one timing failure (credential-redaction-round4 "scales with many secrets", 2440ms vs 2000ms limit) under load.
  • Typecheck of provider-claude-code, -codex, -pi at main shows errors only because the built workspace types were from head when the main run executed after it; they pass at head.
  • Failing at head and not at main: none.
  • packages/bb-app is untouched by this step, so its index.test.ts (mk-8lcd6.12) was not run.

Money: none
Reputation/safety: none
Access:

  • none

Receipt: /home/mk/.local/state/clavain/reviews/mistakeknot__aleph/104-d26f0dcf7c2cdf30f852740abf51eb5c6beca7ad.json (sha256 1d84d777b42e2d87194d4e3191deb6941a4c2a6676d2e021234b06a868c7080e, policy_hash 37cc7df3edf9dffb33c78491b9dd259a2066126f611f76ab907581824909ec81). Reviewer gpt-6.1-sol via packaged dispatch (cross-lab-review), VERDICT: PASS WITH NOTES. No sync defects found; the notes say the reviewer sandbox could not reach the GitHub API or resolve the zklw host, so it did not confirm the repository ID or fleet CI status (unrelated to the diff).

🤖 Generated with Claude Code

…ocs surfaces.ts)

Upstream: 9f7c6eb Discover selected ACP reasoning and preserve unset execution levels (get-bb#6486)
Base:     272fcc9
Release:  0.48.0 (top of upstream CHANGELOG at this commit)

One upstream commit (clean-through was 0, so get-bb#6486 is the next step).
Applied as a 3-way merge against the recorded base. One conflict, in
plugins/plugin-api-docs/src/surfaces.ts (plugin-surface ledger class),
the provider-picker bullets. The fork's "agent CPU isolation" bullet and
upstream's new reasoning bullet together made five bullets, over the
four-bullet limit in test/surfaces.test.ts. Kept upstream's reasoning
bullet and folded the fork's CPU-isolation scope into the bridge bullet.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@mistakeknot
mistakeknot merged commit 129272d into main Nov 3, 2026
3 checks passed
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