Skip to content

Core seam for external-session verdicts (no veto registry) #188

Closed

Description

@omridevk

Question

With the external-terminal domain evicted from core into the terminal extension, what is the ONE minimal seam core exposes so an adopted session's send verdict (S3: allow | block | confirm) still has a single server-side authority — without a beforeSend veto registry (banned pattern)? Candidates: single typed session-owner concept (a session claimed by at most one owner that answers verdicts), extension-owned send route for adopted sessions, or something better from the platform ladder. Also: where do the confirm/force wire fields live — core contract or extension contract? And what does the widget composer consult (must render server truth, no client re-derivation).

Activity

  1. omridevk commented on Aug 2, 2026

    @omridevk
    ContributorAuthor

    Resolved (user, 2026-08-03): the feature is KILLED — no seam needed. Send blocking/confirm/force is removed from the product entirely. Design: (1) session mid-turn (any driver — widget run or terminal turn, from server presence) → composer shows the SAME busy/steer affordance as for the widget's own runs; (2) session idle but terminal-owned → send just works (CLIs natively resume sessions; presence pill already shows ownership). Dies with it: the verdict wire (allow/block/confirm), force on chat.send, the confirm dialog, take-over-from-dialog (S7), the send-rule proposal. Core needs no extension seam for sends — the extension only feeds presence. Supersedes the confirm/force part of #185 (runId stamping stands). Residual risk tracked separately: concurrent same-session CLI runs when presence is stale.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions