Skip to content

fix: keep guided auto-advance working across reloads - #26

Merged
ymansurozer merged 1 commit into
mainfrom
fix/guided-advance-reload
Jul 6, 2026
Merged

fix: keep guided auto-advance working across reloads#26
ymansurozer merged 1 commit into
mainfrom
fix/guided-advance-reload

Conversation

@ymansurozer

Copy link
Copy Markdown
Owner

What

Guided review tracked the current file by numeric index. After a reload swapped the state or guide (the agent re-diffed, or regenerated the guide), that index pointed at a different path — so guided auto-advance jumped to the wrong file or stalled.

Fix

poll.ts now re-finds the current file by path across reloads, so the reviewer stays on the same file and auto-advance keeps working.

Fixes review item #14.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Lj241sZMvCV2wAuH1A65Fm

Guided review tracked the current file by numeric index. After a reload
swapped the state or guide (the agent re-diffed or regenerated the guide),
that index pointed at a different path, so auto-advance jumped to the wrong
file or stalled. Re-find the current file by path across reloads instead.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lj241sZMvCV2wAuH1A65Fm
@ymansurozer
ymansurozer merged commit 58eb63e into main Jul 6, 2026
1 check passed
@ymansurozer
ymansurozer deleted the fix/guided-advance-reload branch July 6, 2026 18: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