Note
Written by gpt-6.1-sol on behalf of Maria
updated the original branch at 4247310e70028e2dcad15e3e951af580eb8dcb33, preserving @saphid's commits and prompt ui.
- merged current main and resolved the dialog conflict without rebasing.
- confirm/cancel callbacks now wait for native modal dismissal, so validation alerts and subsequent prompts can present. repeated taps and dismissal events still run the callback once.
- restricted the git sheet's extra host to sheet presentation. a retained hidden inspector can no longer take ownership of later rename prompts.
verification: three callback-timing regression cases failed before the fix. all five dialog tests pass afterward, including the existing android host test. blacksmith vp run check:changed passed formatting, lint, both knip passes, affected typechecks, and focused tests. final-head ci has no failing or pending checks. two independent code reviews found no remaining code defects after the inspector fix. the draft review bot skipped review.
unverified: current-main native overflow reproduction, rename, both link-pr sheet prompts, dynamic type, rotation, and matching before/after screenshots/video. device discovery returned "Agent device access is turned off for this environment." the linux browser cannot reproduce UIKit's alert or native sheet lifecycle. no new native evidence was captured; the existing body evidence is from the contributor's older revisions. main still uses the affected Alert.prompt path, but that source check is not a fresh reproduction.
keeping this draft pending on-device verification and human approval. web/desktop and provider paths are unchanged; android retains its existing presenter. task-owned dev server and check workers have been stopped.