Skip to content

fix: plan todos re-check after async backend write, release 0.11.2 - #68

Merged
william0wang merged 4 commits into
mainfrom
chore/audit-fix-tests
Aug 20, 2026
Merged

fix: plan todos re-check after async backend write, release 0.11.2#68
william0wang merged 4 commits into
mainfrom
chore/audit-fix-tests

Conversation

@william0wang

Copy link
Copy Markdown
Owner

Companion fix that landed in the working tree alongside the review batch (#66): the backend writes the projection's todos asynchronously AFTER the tool-result event, so dispatchPlanIfChanged's single read at result-time raced that write and intermittently kept the editor's todo panel stale until the next tool completed. Now one delayed (600 ms) re-check runs when the todos signature is unchanged — single-shot, unref'd, best-effort.

Also includes tests/audit-fixes.test.ts covering the whole audit-fix batch (settle-once, turn-idle grace, plan re-check — 5 tests) and the 0.11.2 release bump + changelog.

Verification: typecheck / lint / 45 files, 670 tests pass.

@william0wang
william0wang merged commit 449e59d into main Aug 20, 2026
1 check passed
@william0wang
william0wang deleted the chore/audit-fix-tests branch August 20, 2026 14:02
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