You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose exact-session effective plugin tool-catalog attestation before attempt activation #2608
A plugin can configure agent tools for a future session, but cannot read a host-derived fact proving which plugin tools the exact resolved provider session can actually invoke before a permanent execution attempt is activated.
This leaves a provider-agnostic pre-arm gap: bb-collab can request build_terminal_report, yet production-shaped sessions have completed with that tool absent (one session exposed no bb-collab tools). Requested routing, plugin configuration, instructions, provider names, or caller-reported capability are not proof of effective exposure.
Concrete downstream evidence: pixexid/bb-collab#751, including the Artinspire reproduction and the post-#746 BenchBait reproduction in comment 5445272699. Both have singular native request/start/accepted/completion evidence; the exact owners could not invoke the terminal builder.
Requested primitive
Expose a read-only authoritative effective agent-tool catalog for the exact resolved session, available after session resolution and before the caller permanently activates an execution attempt, bound to at least:
projectId
threadId
provider session / providerThreadId
immutable session identity or generation
pluginId
effective tool names
tool-catalog generation or digest
observedAt
Required semantics:
host-derived, never caller-reported;
exact-session scoped and invalidated by relaunch/session replacement;
provider-name agnostic;
proves effective exposure, not merely that a plugin requested/configured a tool;
readable by the plugin before dispatch finalization.
Acceptance control
A plugin can hold dispatch in a prepared/unactivated state unless either the exact owner session attests its required completion tool or one exact sanctioned recovery-seat session attests its delegated completion tool. Replacing either session invalidates the proof. A configured-but-not-exposed tool must fail the check.
This request does not ask for caller capability claims, a provider allowlist, or a raw turn/completed callback; a completion callback still cannot supply the plugin's semantic DONE | BLOCKED verdict.
Consolidating the duplicate visibility proposals #3627 and #3628 into this existing effective-session-tool-catalog tracker. Preserve their additional lifecycle requirement: a root should be able to check effective BB tool availability at session start and after compaction/reconnect, distinguishing requested/attached tools from tools the provider can actually discover and invoke. Their motivating incident is #3626; validation of that recovery/compaction scenario depends on establishing its causal fork. This extends the verification cases here rather than creating a separate capability implementation. Original reports remain linked for their evidence and design alternatives; no implementation or fix is claimed.
Activity
SawyerHood commentedon Sep 14, 2026
Consolidating the duplicate visibility proposals #3627 and #3628 into this existing effective-session-tool-catalog tracker. Preserve their additional lifecycle requirement: a root should be able to check effective BB tool availability at session start and after compaction/reconnect, distinguishing requested/attached tools from tools the provider can actually discover and invoke. Their motivating incident is #3626; validation of that recovery/compaction scenario depends on establishing its causal fork. This extends the verification cases here rather than creating a separate capability implementation. Original reports remain linked for their evidence and design alternatives; no implementation or fix is claimed.