You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fixer skill: 2g can shift queue.json after a failed state.json write, silently losing the issue #2229
In .claude/skills/fixer/SKILL.md, step 2g's state-recording bash block writes state.json and then unconditionally shifts queue.json, even if the state.json write failed:
If the first jq ... && mv fails (e.g. malformed/unreadable state.json), state.json is left unchanged, but the script continues past it unconditionally. The queue-shift line then still runs, removing the issue from queue.json — so the issue silently disappears from both files: never recorded as resolved, and no longer queued to be retried. For a parked outcome specifically, parked.txt can also end up with a PR number that has no matching state.json entry.
Where this was noticed
Found via Greptile review on PR #2228 (a different fixer-skill change — subagent dispatch + housekeep integration), which added an analogous reconciliation write later in Phase 2 and correctly guarded it. This issue's 2g bug is pre-existing and unrelated to that PR's diff, so it's filed separately per the repo's scope-discipline rule rather than folded into that PR.
Suggested fix
Guard both writes explicitly (if ! jq ... ; then echo ERROR...; exit 1; fi before each mv), so a failed state.json write stops the run before queue.json is ever touched — matching the pattern used for the equivalent write in .codegraph/fixer/state.json.bak-based reconciliation added in PR #2228.
Activity
fix(skills): stop the queue shift if the reconciled state.json write …
chore(skills): housekeep after each batch, subagent-per-issue in /fix…