When starting the stage store the last commit's sha as "from" in stage context record.
When finishing the stage store all commits between from and to (not including "from", including "to") as a list of commits belonging to stage.
Show this list for the user in the stage user representation description.
Problem: the rewrite_authors_on_worktree disrupts this logic by replacing commit's sha.
Solution: apply rewrite_authors_on_worktree explicitly to explicit list of commits after stage, not to the whole range from start to end. Replace list in the stage to the new one, returned by rewrite_authors_on_worktree
---PARAMETERS---
stage_count: 3
state: pending:plan
pr_url: milyin/zbobr#377
work_branch: zbobr_fix-76-show-comments-belonging-to-stage
signal: go_planning
max_stage_count: 20
---DEAD_CONTEXT---
---CONTEXT---
- zbobr:plan:configuring
copilot gpt-5-mini 2026-04-21 15:47:45 +0200 prompt output
- ✅ no destination branch override needed ctx_rec_1
- zbobr:plan:planning
claude_planner claude-sonnet-4-6 2026-04-21 15:50:41 +0200 prompt output
- zbobr:plan:planning
copilot_planner claude-sonnet-4.6 2026-04-21 15:57:14 +0200 prompt output
- ✅ Implementation plan for tracking stage commits with SHA tracking and scoped auth ctx_rec_2
- zbobr:plan:plan_review_adversarial
copilot gpt-5.4 2026-04-21 16:15:22 +0200 prompt output
- ❌ The plan is not ready: it keeps a range-based author rewrite and would record th ctx_rec_3
When starting the stage store the last commit's sha as "from" in stage context record.
When finishing the stage store all commits between from and to (not including "from", including "to") as a list of commits belonging to stage.
Show this list for the user in the stage user representation description.
Problem: the
rewrite_authors_on_worktreedisrupts this logic by replacing commit's sha.Solution: apply
rewrite_authors_on_worktreeexplicitly to explicit list of commits after stage, not to the whole range from start to end. Replace list in the stage to the new one, returned byrewrite_authors_on_worktree---PARAMETERS---
stage_count: 3
state: pending:plan
pr_url: milyin/zbobr#377
work_branch: zbobr_fix-76-show-comments-belonging-to-stage
signal: go_planning
max_stage_count: 20
---DEAD_CONTEXT---
---CONTEXT---
copilotgpt-5-mini2026-04-21 15:47:45 +0200prompt outputclaude_plannerclaude-sonnet-4-62026-04-21 15:50:41 +0200prompt outputcopilot_plannerclaude-sonnet-4.62026-04-21 15:57:14 +0200prompt outputcopilotgpt-5.42026-04-21 16:15:22 +0200prompt output