Show agent readiness and capabilities before delegation#2957
Open
BradGroux wants to merge 1 commit into
Open
Conversation
Co-authored-by: Brad Groux <bradgroux@hotmail.com> Signed-off-by: Brad Groux <bradgroux@hotmail.com>
BradGroux
added a commit
to BradGroux/buzz
that referenced
this pull request
Jul 26, 2026
Author
ScreenshotsReadiness and runtime evidenceThe owner can see the six readiness gates alongside runtime, ACP protocol, model, and provider evidence. Capabilities, permissions, and toolsReported, unavailable, and unknown states remain distinct. Requested and effective permission modes are shown together, followed by commands, MCP source names, and tool risk classes. Complete manifestThe full card fits in the existing Runtime tab without exposing the underlying observer payload. |
9 tasks
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.



Closes #2931.
What this fixes
Buzz currently makes an owner infer whether an agent is safe and ready to delegate to by cross-referencing the agent editor, managed-runtime state, presence, and ACP observer logs. Missing evidence can also look like unsupported behavior, while requested and effective permission modes are not visible together.
That makes the most important pre-delegation questions unnecessarily hard to answer: is the current process healthy, which runtime and model are active, which features and tools were actually reported, how risky are those tools, and is the evidence current?
What changes
The owner-only Runtime tab now includes a readiness and capability manifest built from four existing evidence sources:
The card shows:
The reducer deliberately treats absent or malformed evidence as unknown. A stopped process, failed lifecycle, offline presence, closed observer, or initialize event from an older process cannot produce a fresh ready state.
Security and compatibility
The new harness observation projects only MCP server names and permission semantics. It does not forward MCP commands, arguments, environment values, credentials, executable paths, raw lifecycle errors, or config values.
Desktop parsing is strict and bounded. Older Desktop backends that do not report the new static fields remain compatible and render those facts as unknown. A non-owner E2E regression test verifies that neither the Runtime tab nor the manifest is exposed.
Verification
cargo test -p buzz-acp— 601 unit tests and 9 lifecycle integration tests passed.pnpm --dir desktop test— 3,528 tests passed.just desktop-tauri-test— 1,638 tests passed, 14 keychain tests ignored as designed, plus 3 mixer diagnostics passed.just cireaches the Desktop file-size gate after workspace Clippy and Biome, then stops on the unchanged upstreamdesktop/src-tauri/src/managed_agents/runtime.rs: 2,220 lines against its existing 2,216-line ratchet. This branch does not modify that file. The branch-owned discovery test file is below its ratchet.Non-goals