Skip to content

Interruption recovery, part 2: re-auth and resume, late-load re-resolve, focus-steal check, learn prompt, real-app and chaos proof #1903

Open

Description

@abrichr

Part 1 is #1902: provably read-only dismissal of known interruptions. Remaining, in this order:

  1. The focus-steal race (safety). Add a post-action continuity check: the window or element that received the input must be the one verified (focus/foreground right after dispatch, plus a frame diff of the target region). On a mismatch, halt and reconcile; never retry. Test it with a timed injected popup.
  2. Pixel and desktop classification (safety). Classify the whole dialog text, title and owning window against an allowlist of system interruption classes. Anything that mentions record content, a patient, or save/apply/change is never benign. If the class can't be proven, halt.
  3. Session expiry. Re-authenticate (secrets via Sign-in mid-batch: session expiry, MFA and SSO through the OS keychain or a vault, never in logs #1893 when it lands), resume at the last verified checkpoint, and reconcile, never replay, the write that was in flight.
  4. Late page loads. A bounded re-resolve with an identity re-check; never a blind click retry.
  5. The learn prompt in the halt UI.
  6. The real-app proof on the zen lab's OpenEMR and Dolibarr, then the same proof behind the shared chaos proxy (--chaos vpn-bad).
    Pre-register the cases.

Code pointers and briefs from part 1 are in the coordinator's notes (interruption-recovery.md). Ask for it in the inbox if you need it, or read #1902's description. Queue position: after the #1901/#1899 gates, per the queue freeze; items 1 and 2 may go earlier, since they're safety fixes to #1902.

Activity

  1. abrichr commented on Nov 4, 2026

    @abrichr
    MemberAuthor

    Update: #1902 at 4e99647 now covers trap A (whole-dialog classification with business-word refusal; pixel and native backends fail closed until they read the whole dialog) and trap B on the web (an input-delivery witness raising InputLandedElsewhere). Still open here: the native post-dispatch continuity check (foreground window, focused element, frame diff), native interruption_text, session re-auth and resume, the browser late-load re-resolve, the learn prompt, and the real-app plus chaos-proxy proof.

  2. abrichr commented on Nov 5, 2026

    @abrichr
    MemberAuthor

    Claimed by Codex

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

    agent-readyReady for an automated agent to pick upclaimedAn agent is working on this

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions