Skip to content

Remove the integrator scratch directory when the example exits early - #82

Merged
EauDoon merged 1 commit into
mainfrom
cursor/handoff-scratch-cleanup-5a98
Sep 28, 2026
Merged

EauDoon merged 1 commit into
mainfrom
cursor/handoff-scratch-cleanup-5a98

Conversation

@EauDoon

@EauDoon EauDoon commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • The review-handoff example no longer calls process.exit inside the scratch-directory try.
  • A failed decide or a policy refusal still exits 1, and the temporary directory is removed.

Test plan

  • npm test

process.exit skipped the finally block, so a failed decide left the temporary directory behind.
@EauDoon
EauDoon merged commit 7d3adcc into main Sep 28, 2026
@EauDoon
EauDoon deleted the cursor/handoff-scratch-cleanup-5a98 branch September 28, 2026 16:35
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.

2 participants