Skip to content

agent: Valid handoff note still rejected when the work commit beneath it also deletes a handoff note - #217

Merged
lbacik merged 1 commit into
mainfrom
agent/issue-216
Oct 13, 2026
Merged

lbacik merged 1 commit into
mainfrom
agent/issue-216

Conversation

@lbacik

@lbacik lbacik commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Closes #216

Summary

Claude SDK completed the implementation workflow.

Evidence

  • Check: exit code 0
  • Reviews performed: 1
  • Review repair cycles: 0/2

Generated by simple-coding-agent

A work commit that drops an earlier round's handoff note as a 'process
artifact' alongside a real change touches the note path, so the #214 fix
skips past it when deriving the expected last_work_commit and a valid
note is rejected (downgrading handoff to incomplete).

Skip a note-touching commit of this attempt only while it is still a
note commit: a commit that deletes the note while carrying other files
is work, so it ends the note run and validation expects it. Commits
that leave the note in place (even with other files swept in, #34) or
that only touch the note (including deleting just the note) stay in
the run, and handoff_note_commit locating the newest note is unchanged.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@lbacik
lbacik merged commit dabd38d into main Oct 13, 2026
4 checks passed
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.

Valid handoff note still rejected when the work commit beneath it also deletes a handoff note

2 participants