mirror of
https://github.com/OthmanAdi/planning-with-files.git
synced 2026-04-25 16:06:02 +03:00
[PR #79] [MERGED] fix: prevent false-positive catchup in distributed session-catchup scripts #82
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/planning-with-files#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OthmanAdi/planning-with-files/pull/79
Author: @gydx6
Created: 2/15/2026
Status: ✅ Merged
Merged: 2/20/2026
Merged by: @OthmanAdi
Base:
master← Head:codex/fix-session-catchup-copy-drift📝 Commits (2)
f275429fix: prevent false-positive session catchup in skill copies91d7221fix: restore codebuddy-specific session-catchup behavior📊 Changes
9 files changed (+87 additions, -81 deletions)
View changed files
📝
.adal/skills/planning-with-files/scripts/session-catchup.py(+10 -9)📝
.codebuddy/skills/planning-with-files/scripts/session-catchup.py(+10 -9)📝
.codex/skills/planning-with-files/scripts/session-catchup.py(+10 -9)📝
.continue/skills/planning-with-files/scripts/session-catchup.py(+10 -9)📝
.gemini/skills/planning-with-files/scripts/session-catchup.py(+10 -9)📝
.openclaw/skills/planning-with-files/scripts/session-catchup.py(+10 -9)📝
.opencode/skills/planning-with-files/scripts/session-catchup.py(+7 -9)📝
.pi/skills/planning-with-files/scripts/session-catchup.py(+10 -9)📝
skills/planning-with-files/scripts/session-catchup.py(+10 -9)📄 Description
Summary
Fix false-positive catchup reports in skill-distributed
session-catchup.pycopies.Scope
Applied to all affected skill-copy scripts (9 files):
skills/planning-with-files/scripts/session-catchup.py.adal/skills/planning-with-files/scripts/session-catchup.py.codebuddy/skills/planning-with-files/scripts/session-catchup.py.codex/skills/planning-with-files/scripts/session-catchup.py.continue/skills/planning-with-files/scripts/session-catchup.py.gemini/skills/planning-with-files/scripts/session-catchup.py.openclaw/skills/planning-with-files/scripts/session-catchup.py.opencode/skills/planning-with-files/scripts/session-catchup.py.pi/skills/planning-with-files/scripts/session-catchup.pyRoot
scripts/session-catchup.pyis intentionally unchanged.What changed
has_planning_files == False).last_update_line < 0).UNSYNCED CONTEXTfrom non-planning history.Why
.opencodediff is different.opencodealready had the planning-files guard, so only the no-planning-update fallback removal was needed there.Before / After (key logic)
Before:
After:
And now catchup is gated by active planning context:
Validation
python3 -m py_compileon all modifiedsession-catchup.pyfiles.~/.codebuddy/projectsand emitCODEBUDDY:label.Fixes #78
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.