Skip to content

Bind find actions to the admitted session lifetime #5064

Backlog

Description

@thymikee

Remove raw session authority from the find action path as the first independently landable dispatcher slice under #4971.

Contract

Have the dispatcher supply the active, lifetime-bound operations needed by mutating find. A minimal interface might expose readTargetContext() and expireRefFrame(), with the naming and shape owned by the coordinator. Resolve any nested dispatch through its existing admitted path.

  • Remove the direct address lookup and raw SessionStore access from the converted action branches in execution/interaction/internal/find.ts.
  • Reject a stale or revoked capability before a session effect. Keep frame expiry at the current pre-dispatch seam.
  • Preserve observe-only find behavior, optional active session, single runtime bind, and existing errors. Keep any unconverted selector-runtime adapter explicit.

Done when

Existing find coverage passes and a router-path regression proves a stale capability cannot observe or mutate a replacement session after close/reopen. Report removed raw accesses and any adapter retained. Apply the normal 0.22 gates.

Part of #4971. The final store-private cutover remains downstream of #4970. This slice has no output dependency.

Activity

  1. added
    needs-triage
    on Nov 24, 2026
  2. apex-sentinel-staging commented on Nov 24, 2026

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: feature

    The issue proposes an internal refactor/hardening of the find action path with concrete interfaces, constraints, and acceptance tests rather than reporting a concrete existing defect or asking for help. The scope is tied to #​4971 and includes clear completion criteria, making it actionable.

  3. added and removed
    needs-triage
    on Nov 25, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions