GeezerVison is showing github.com — Resume interrupted runs from the transcript error card by reachjalil · Pull Request #4124 · different-ai/openwork
Conversation
Summary
- Add an explicit Resume button to the interrupted-task error card in the transcript. Clicking it sends the session's persisted
recoveryPrompt through the surface's real send path (sendDraft), which keeps composer history, activity status, and the cloud-MCP submission gate intact.
- The button only appears for error kinds that produce a recovery prompt (
aborted, provider-timeout) — auth and generic errors never show it. Never auto-resumes; explicit click only.
- New string
session.resume_interrupted in the en locale; three focused tests in the existing error-resilience harness (rendered for aborted, rendered for provider-timeout, absent for auth errors).
Why
When an engine restart or abort interrupts a run, the transcript showed a dead-end error with no way forward: the classified recoveryPrompt (which instructs the agent to inspect completed work and finish only what remains) was presentation-only, and retryLastPrompt had no callers and loses its in-memory state across exactly the restart scenario it would be needed for. The recovery prompt is persisted in the synthetic error message metadata, so it survives reloads and restarts.
Verification
pnpm --filter @openwork/app typecheck — exit 0
bun test --isolate tests/ (apps/app) — 994 pass / 5 fail; the 5 failures are byte-for-byte the pre-existing set on dev, no new names
- E2E tapes deliberately not run for this pass at the requester's direction.
Follow-ups
- A disabled-while-sending state to guard rapid double clicks (consistent with nearby retry buttons today).
actions-store.ts / actions-provider.tsx remain uncalled dead code; separate cleanup decision.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
vercel
Bot
commented
Aug 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (3eee23ae9fdd0ca5b2e7208e67a3bd29fac9d6ff). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This branch was successfully deployed
5 active
deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|