feat: customization reference — multi-agent collaboration & external ACP integration - #2139
Open
1688mengdie wants to merge 4 commits into
Open
feat: customization reference — multi-agent collaboration & external ACP integration#21391688mengdie wants to merge 4 commits into
1688mengdie wants to merge 4 commits into
Conversation
added 4 commits
August 7, 2026 06:13
Multi-agent collaboration and external ACP agent integration enhancements on top of upstream main (e640aa4). Highlights: - ACP tool family: session-level direct connection with external ACP agents (CodeBuddy, Claude Code, etc.) via SessionControl / SessionMessage tools, real-session creation and lifecycle bridge - Warden guard system: failure-streak governance with scene fingerprinting, LLM judgement port, goal linkage and reference file following - RBAC subagent roles: role pinning for subagent-marked sessions, GeneralPurpose-specific template, K8 template batch (Executor read access) - Session/SessionControl enhancements: compact action, model_id, short names, ghost-deletion fix (created_by + owner/ancestor fallback), ghost-delivery fix - Engine/injection: runtime facts per-round refresh, user-context once-per-generation injection, context-usage display persistence - Legion/task/plan toolchain: legion control, task dual lifecycle with ACP support, plan tool family, goal dual-trigger - CodeBuddy provider: local gateway adapter (ApiFormat::CodeBuddy, Runs two-step streaming), empty finish_reason protection - Web UI: flow-chat session/turn display, legion pages, model switching UI - Notify-style injection: minimal metadata for background task completion (P-19 family), full content retrievable via SessionHistory
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.
Summary
This PR is a reference submission for upstream review (see issue #191 on the fork). It presents a complete, final-state snapshot of customizations built on BitFun's latest main, focusing on multi-agent collaboration and connecting BitFun to external AI agents through the ACP protocol.
This is a reference for how the customization was approached — not a request to merge blindly. It is intentionally large (370 files), because the purpose is to show the final state of a coherent customization effort. Maintainers are welcome to review, cherry-pick, or use it as a design reference.
What is included
Highlights (key domains)
Verification
Notes