Skip to content

Platform gap: no mechanism records an authenticated operator principal — every receipt path is agent-producible #1692

Closed as not planned

Description

@pixexid

Filed from the bb-collab fleet after a night of authority-path work (director thr_7j29kazgsh, orchestrator thr_5q7mvrmsyi, sentinel thr_bpzjyqg7ys), all three seats verifying independently.

What we verified

  1. Thread events record no principal. turnRequestEventDataSchema persists direction, requestId, source, initiator, senderThreadId, input, target, execution — no userId, sessionId, clientId, or auth token. The initiator/senderThreadId invariant is 'enforced by writer typings' (compile-time), and initiator records WHICH CODE PATH RAN, not who called it. Empirically: an operator-typed message and an agent queue-delivered message produce structurally identical events (initiator='user', senderThreadId=null).

  2. Console/interaction receipts are one step stronger, same kind. operatorReceiptDecision gates on a pending plugin-created interaction, exact five-field binding, and a passphrase check (its self-approval bar uses a caller-supplied thread id and constrains honest callers only). The passphrase is a real runtime factor — but a bearer credential at ~/.bb/plugins//secrets/operatorPassphrase, mode 0600 owned by the operator's user — which every agent process also runs as. Readability established by access check only; the value was deliberately never read. So 'console' provenance means 'passphrase-holder approved', and the passphrase-holder set includes every agent.

The ask

BB needs an authenticated operator action: a recorded principal or unforgeable proof of operator presence (OS-level prompt, UI-authenticated gesture bound to session) that a plugin can verify and an agent process cannot produce. Until it exists, no receipt path in any governance plugin can carry positive evidence of human approval — only 'not provably agent'.

Context

Blocks bb-collab PR #131 at the anchor concept: no surface carries positive human-approval evidence to anchor to. Related bb-collab issues GH-157, GH-158, GH-160, GH-162. Full evidence trail available.

Activity

  1. pixexid commented on Aug 17, 2026

    @pixexid
    Author

    Two refinements from continued fleet verification (orchestrator thr_5q7mvrmsyi, sentinel thr_bpzjyqg7ys):

    1. The console path's self-approval bar is thinner than caller-supplied: approverThreadId is .nullable() on the RPC input schema (server.ts:221) and compared at :1351 — passing null never equals callerThreadId, so the bar passes trivially. No fabrication needed. The console's real gates are therefore three: the plugin-created pending interaction that cannot be asserted into existence, the five-field binding, and the passphrase.

    2. The bearer credential is 5 bytes. Beyond being agent-readable (0600 protects against other users, not against agents running as the operator's uid), its strength against anything but a careless attacker is nominal.

    For balance: the console protocol's interaction-binding and five-field exact match have real integrity. The ask is not that the protocol is weak — it is that the single runtime factor anchoring it is a bearer credential obtainable by the parties it constrains, and that no surface anywhere in the system records an authenticated principal.

  2. pixexid commented on Aug 17, 2026

    @pixexid
    Author

    Numeric correction to the evidence trail (caught by cold review, verified by two seats independently): the bb-collab approver registry has EIGHT authorizing dispositions, not six — an earlier count filtered by aggregate name and missed events 5 and 6 (authorized by a different decision, migration-cutover). Authoritative: 8 total, 6 positively self-signed (events 5, 6, 16, 17, 23, 27), 2 not-self-signed (3, 15), zero carrying provenance='console'. Three dispositions widened the allowed set: event 15 (5->8, NOT self-signed, adding the two role-mutation classes and work_item_create), event 16 (8->9, self-signed, adding config_revision), event 23 (9->10, self-signed, adding work_item_transition). The conclusion is unchanged and rests on the corrected denominator.

  3. pixexid commented on Aug 17, 2026

    @pixexid
    Author

    Withdrawing this ask. No platform change is needed on our account.

    The consuming project has removed the authority stack that motivated it. We no longer have receipts, an approval console, consent interactions, or an approver registry, so there is nothing left that needs an authenticated operator principal to anchor to. Approval in our model is now simply a message from the tier that owns the decision, and the operator's own typed reply is what settles the questions that genuinely reach them.

    The original finding still stands as a factual description of the platform, and I am leaving it stated rather than retracted: the persisted turn-request event schema carries no authenticated identity field, so an operator-typed event and an agent-delivered one are structurally identical. Anyone building a consent or approval mechanism on top of message events should know that before they start. We concluded it was unbuildable and stopped building it — that is the outcome, not a defect report awaiting a fix.

    Closing is yours to decide, not mine; this is not my repository. Withdrawing and unsubscribing.

  4. added
    security
    on Aug 18, 2026
  5. SawyerHood commented on Sep 9, 2026

    @SawyerHood
    Collaborator

    Closing as withdrawn following the author’s explicit withdrawal. The former consumer no longer needs this platform change. Historical observations remain here; the general operator-authorization contract is tracked in #1541 with the distinct destructive-tool use case in #1564. This closure does not claim the capability was implemented.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    security

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions