Skip to content

Handle inactive native windows and recover paired iPhone menus - #221

Merged
BunsDev merged 22 commits into
release-reviewed-batchfrom
review-fallback
Oct 15, 2026
Merged

BunsDev merged 22 commits into
release-reviewed-batchfrom
review-fallback

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Integration target: release-reviewed-batch. This reviewed update will land through the combined batch and its protected squash to main; Images/Plugins #236 is excluded.

Inactive macOS windows can paint without emitting a native show event. Record show and first paint separately before Playwright attaches, then require visibility and matching native/renderer geometry unchanged for 200 ms. Failed launch cleanup preserves the original error. Closed windows cannot retain readiness observations.

The paired-iPhone flow retries an ignored Workspace options tap once within its existing deadline and still requires the real Forget paired Mac action. The credit fallback feature itself already landed in #210.

Verification:

  • Full repository build and unit suite passed.
  • Focused lifecycle suite: 8 passed.
  • Full desktop E2E: 297 passed, 3 opt-in skips, 1 timeout during Electron close after all assertions passed. The unchanged timed-out case passed on a targeted rerun (16.9 seconds); the original trace is preserved.
  • All 3 opt-in real Knowledge cases passed; website suite: 7 passed.
  • Subsequent full integration with the paste changes (Reconcile title paste handling with NotesStore and native acceptance #240): all 302 desktop E2E cases and 7 website cases passed with this native implementation unchanged.
  • Independent review completed. Current-head hosted checks remain required before merge.
  • The final ancestry reconciliation has exactly the tested tree, 14e302584b262b96bddfbc3e9ed9b88b5a4994f1.

Coven-Harness: Codex / GPT-6

Claude Code refuses Fable with "You're out of usage credits. Switch to
another model..." before running anything. Modex showed that as an
assistant bubble plus an "unknown" failure card and stopped.

Now, when the refusal arrives before any reply, tool or reasoning, the
runner reruns the turn on Opus in the same session, posts a warning
naming both models, and notes it on Auto's route receipt. Later Fable
turns start on Opus for an hour. A refusal after work started keeps its
failure card, so nothing runs twice. If Opus also fails, the card lists
the fallback under recovery.

The Claude backend drops the CLI's synthetic API-error reply, which the
failed result repeats. The classifier reads "out of usage credits" as
rate limited with its own summary. Settings > General can turn the
fallback off; it is on by default.

Coven-Harness: Claude Code / claude-opus-5-5
Exclude fallback notices from empty-reply detection and revise the open Auto route to the model that actually ran, without learning a user override. Verify cancellation and cooldown expiry. Include current main with the iPhone timing-budget fix.

Coven-Harness: Codex / GPT-6
Keep empty fallback replies retryable and record the actual Opus route without a false user override.

Coven-Harness: Codex / GPT-6
Build and full unit suites pass. Focused UI verification still encounters
intermittent native-show launch timeouts; preserved diagnostics show delayed
actual event delivery under high host load. Keep existing assertions intact
and require fresh CI before landing. Independent integration review cleared.

Coven-Harness: Codex / GPT-6
Preserve the reviewed fallback fixes while integrating thread deletion and archive behavior. Cover pending credit refusal during owner-removal admission.

Coven-Harness: Codex / GPT-6
Tree-identical to the verified review head 2d05bc9; preserve original branch history for delivery.

Coven-Harness: Codex / GPT-6
Preserve the reviewed fallback, archive, and owner-removal behavior with the
landed Knowledge and Space changes. Independent integration review cleared.

Coven-Harness: Codex / GPT-6
@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 15, 2026 5:26pm UTC

Request Review

Retain both reviewed status entries. Combined build and full unit suite pass. Local UI verification remains incomplete after native-show and test timeouts under extreme host load; preserve traces and require fresh CI.

Coven-Harness: Codex / GPT-6
@BunsDev BunsDev changed the title Fall back from Fable to Opus when usage credits run out Fix Fable credit fallback and native-window E2E observation Oct 15, 2026
Retry the menu opener once within its existing deadline, retaining the actual menu-item assertion and guarding delayed presentation. Cover ignored taps, delayed opening and deadline overruns.

Coven-Harness: Codex / GPT-6
Preserve main Analytics and fallback behavior while retaining early native-window observation and paired iPhone menu recovery. Full build and unit tests pass; independent integration review is clear. Local desktop acceptance was interrupted after repeated native-show setup failures; fresh hosted acceptance remains required.

Coven-Harness: Codex / GPT-6
@BunsDev BunsDev changed the title Fix Fable credit fallback and native-window E2E observation Fix native-window observation and paired iPhone menu recovery Oct 15, 2026
Preserve distinct native show and first-paint observations, require stable visible geometry, and close failed launches without masking errors. Integrate current worktree documentation.

Coven-Harness: Codex / GPT-6
The merge tree is identical to the verified native readiness tree.

Coven-Harness: Codex / GPT-6
@BunsDev BunsDev changed the title Fix native-window observation and paired iPhone menu recovery Handle inactive native windows and recover paired iPhone menus Oct 15, 2026
@BunsDev
BunsDev changed the base branch from main to release-reviewed-batch October 15, 2026 18:26
@BunsDev
BunsDev merged commit a59a1a3 into release-reviewed-batch Oct 15, 2026
12 checks passed
@BunsDev
BunsDev deleted the review-fallback branch October 15, 2026 18:40

This branch was successfully deployed

1 active deployment
Preview — bdff684a Deployed Oct 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant