Skip to content

fix: guard low-signal close comments at write boundary - #484

Merged
steipete merged 1 commit into
mainfrom
fix/low-signal-presync-guard
Jul 10, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/low-signal-presync-guard

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

  • validate low-signal PR liveness before any durable close-verdict comment can be synchronized
  • repeat the live check at the comment mutation boundary and retain the final close-time recheck
  • make pre-publication safety independent of apply-kind and close-reason filters
  • cover contributor activity arriving between the initial read and the comment write

Validation

  • pnpm run build:all
  • node --test test/apply-pr-promotion.test.ts (20 passed)
  • pnpm run lint:src
  • pnpm run lint:scripts
  • pnpm run format:check
  • GPT-5.6 Sol high autoreview: clean, patch correct (0.93)

Follow-up to #482 and its review finding about comment-sync ordering.

@steipete
steipete merged commit a55bf55 into main Jul 10, 2026
6 checks passed
@steipete
steipete deleted the fix/low-signal-presync-guard branch July 10, 2026 14:39
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
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