Skip to content

feat(commandbridge): discover provider commands dynamically - #29

Merged
chicoxyzzy merged 1 commit into
mainfrom
feat/dynamic-command-discovery-kit
Jul 18, 2026
Merged

feat(commandbridge): discover provider commands dynamically#29
chicoxyzzy merged 1 commit into
mainfrom
feat/dynamic-command-discovery-kit

Conversation

@chicoxyzzy

@chicoxyzzy chicoxyzzy commented Jul 18, 2026

Copy link
Copy Markdown
Member

Summary

  • add an asynchronous, provider-neutral command-discovery lifecycle to commandbridge
  • publish discovered inventories as authoritative ACP replacement snapshots, including explicit empty snapshots
  • let live-discovery adapters omit a hard-coded startup catalog; existing static-bootstrap conformance remains strict by default
  • keep discovery inside the bound provider binary and host-owned environment; discovery callbacks receive no prompts, MCP configuration, headers, or metadata
  • provide connection-lifetime cancellation and bounded command-update publication under slow or closed transports

Behavior

A provider discovery result replaces—not merges with or filters—the previous command set. Discovery refreshes after session, configuration, mode, authentication, and successful-prompt changes. Cursor and Grok can continue publishing their native ACP snapshots directly; this creates the shared lifecycle needed by adapters that require a short provider exchange.

Verification

  • go test ./...
  • go vet ./...
  • go test -race ./...
  • git diff --check

Review

Two independent review passes covered cancellation, stale updates, blocked-writer behavior, environment/path boundaries, sensitive MCP metadata handling, and the final async-conformance delta. Actionable findings were fixed before this PR.

@chicoxyzzy
chicoxyzzy force-pushed the feat/dynamic-command-discovery-kit branch from 3667d75 to 4bfe2d5 Compare July 18, 2026 10:01
@chicoxyzzy
chicoxyzzy force-pushed the feat/dynamic-command-discovery-kit branch from 4bfe2d5 to d7a64e7 Compare July 18, 2026 10:06
@chicoxyzzy
chicoxyzzy merged commit 8fc9337 into main Jul 18, 2026
3 checks passed
@chicoxyzzy
chicoxyzzy deleted the feat/dynamic-command-discovery-kit branch July 18, 2026 10:09
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