[PR #4082] Fix undo restoring todo list (#4081) #10861

Closed
opened 2026-02-16 18:15:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4082

State: closed
Merged: No


Summary

  • capture todowrite output during undo and restore it on cleanup so undo affects the plan (#4081)
  • add a regression test that simulates todowrite messages to ensure the todo list rolls back

Testing

  • bun turbo typecheck
  • bun test packages/opencode/test/session/revert-todo.test.ts
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4082 **State:** closed **Merged:** No --- ## Summary - capture todowrite output during undo and restore it on cleanup so undo affects the plan (#4081) - add a regression test that simulates todowrite messages to ensure the todo list rolls back ## Testing - bun turbo typecheck - bun test packages/opencode/test/session/revert-todo.test.ts
yindo added the pull-request label 2026-02-16 18:15:36 -05:00
yindo closed this issue 2026-02-16 18:15:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10861