Skip to content

AIT-563: LandingToolPanel busy-leave — non-destructive keep-generating exit - #539

Merged
CharlesHarry7 merged 1 commit into
mainfrom
agent/grok-coder/ait-563-landing-busy-leave
Aug 6, 2026
Merged

AIT-563: LandingToolPanel busy-leave — non-destructive keep-generating exit#539
CharlesHarry7 merged 1 commit into
mainfrom
agent/grok-coder/ait-563-landing-busy-leave

Conversation

@CharlesHarry7

@CharlesHarry7 CharlesHarry7 commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

Post-AIT-554 residual: LandingToolPanel mid-generate only exposed abort (Cancel request · {elapsed}s). Create/Batch already offer non-destructive leave while recovery/long-wait is open; Image busy-leave is #532 / Create form is #544.

AIT-613: Rebased onto current main (post-#532 Image busy-leave + #550 deep-link). Resolved generate-wait-honesty-regression conflict — kept Create form §9 + Image §10, added Landing as §11 / header item 10. Pure Landing detach only; no Image/Create regression.

Changes

  1. Landing detach leaveleaveWaitingKeepBackground uses planGenerateWaitLeave("detach") (no abort, no ledger cancel, no refund invent).
  2. UIOpen Library · keep generating when shouldShowGenerateWaitDetach allows (recovery checking/awaiting_primary or ≥90s long-wait; demo Free never detaches).
  3. Unmount — no longer auto-aborts the generate POST (explicit Cancel remains the only abort path).
  4. Recovery state — wires onRecoveryStaterecoveringSavedResult / awaitingPrimaryAfterRecovery into GenerateWaitStage.
  5. Detached settle — on success still pushHistory; never invents fail/refund UI after leave.
  6. AIT-545 Retry gate retained — AUTH / paywall / fatal / DURABLE_CREDITS_UNAVAILABLE still block process-memory Retry invent.
  7. Regressiongenerate-wait-honesty-regression source-locks Landing busy-leave after Create form §9 and Image §10.

Out of scope

No Vercel deploy. No Stripe live. No fake UGC.

Test plan

  • npm run generate-wait-honesty-regression
  • npm run typecheck
  • node scripts/engine-smoke.mjs
  • node scripts/studio-open-lab-preview-regression.mjs
  • node scripts/live-capability-copy-smoke.mjs
  • Manual: mid-generate after recovery open or 90s shows Open Library · keep generating; Cancel still aborts + refund unconfirmed

Closes AIT-563
Closes AIT-586
Closes AIT-613

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deployment failed for project pikbo-readiness with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/pi-kbo?upgradeToPro=build-rate-limit

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deployment failed for project pikbo with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/pi-kbo?upgradeToPro=build-rate-limit

@CharlesHarry7
CharlesHarry7 force-pushed the agent/grok-coder/ait-563-landing-busy-leave branch 2 times, most recently from f69fce4 to 5405a8c Compare August 6, 2026 13:21
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deployment failed for project pikbo with the following error:

Resource is limited - try again in 1 day (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/pi-kbo?upgradeToPro=build-rate-limit

@CharlesHarry7
CharlesHarry7 force-pushed the agent/grok-coder/ait-563-landing-busy-leave branch from 5405a8c to 9671ef4 Compare August 6, 2026 13:27
@CharlesHarry7
CharlesHarry7 enabled auto-merge (squash) August 6, 2026 13:27
…g exit

Post-AIT-554 residual: Landing mid-generate only exposed abort. Wire
planGenerateWaitLeave("detach") + shouldShowGenerateWaitDetach parity with
Create/Batch/Image. Unmount no longer auto-aborts; detach settle still
pushHistory without inventing fail/refund UI. AIT-545 Retry gate retained.
Source-lock in generate-wait-honesty-regression.

Co-authored-by: multica-agent <github@multica.ai>
@CharlesHarry7
CharlesHarry7 force-pushed the agent/grok-coder/ait-563-landing-busy-leave branch from 9671ef4 to 4d06c93 Compare August 6, 2026 13:36
@CharlesHarry7
CharlesHarry7 merged commit 45279b5 into main Aug 6, 2026
1 of 3 checks passed
@CharlesHarry7
CharlesHarry7 deleted the agent/grok-coder/ait-563-landing-busy-leave branch August 6, 2026 13:38
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