Skip to content

fix(hatch): preserve exact records during reconcile#140

Merged
Takhoffman merged 1 commit into
mainfrom
codex/preserve-hatch-records
May 19, 2026
Merged

fix(hatch): preserve exact records during reconcile#140
Takhoffman merged 1 commit into
mainfrom
codex/preserve-hatch-records

Conversation

@Takhoffman
Copy link
Copy Markdown
Contributor

Summary

  • pass exact hatch item numbers into the pre-apply reconcile step
  • make reconcile verify and preserve those exact open records even when the broad open scan misses them
  • add a regression test for PR 84347-style hatch runs

Root Cause

The hatch workflow reconciled state before applying the hatch decision, but reconcile only trusted the broad open-item scan. For PR 84347, that scan missed the newly opened PR, so reconcile moved the durable review record out of items before apply-decisions ran. The hatch path then saw no durable record and posted the missing-record comment.

Validation

  • pnpm run check

@Takhoffman Takhoffman merged commit 12e9843 into main May 19, 2026
7 checks passed
@Takhoffman Takhoffman deleted the codex/preserve-hatch-records branch May 19, 2026 23: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