Skip to content

fix: merge concurrent sweep status updates - #456

Merged
steipete merged 1 commit into
mainfrom
fix/sweep-status-three-way
Jul 9, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/sweep-status-three-way

Conversation

@steipete

@steipete steipete commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • merge concurrent results/sweep-status/*.json updates with an atomic top-level run snapshot and independently timestamped apply-health snapshots
  • apply the semantic merge across normal, theirs, apply-record, and rebuilt publish commits; fail closed on malformed, deleted, identity-conflicting, or timestamp-ambiguous state
  • preserve merged state in the source checkout so a following checkpoint cannot regress it

Validation

  • pnpm run build:all
  • pnpm run lint
  • node --test test/repair/sweep-status-merge.test.ts test/repair/git-publish.test.ts (24/24)
  • pnpm run format:check
  • final autoreview clean with no accepted/actionable findings

The broad local check reached 725/729 tests; four unrelated load-sensitive runtime/process tests missed their timing windows or hit a transient child-process EPIPE. The focused publish and merge suites pass in full.

@steipete
steipete merged commit 04febbb into main Jul 9, 2026
6 checks passed
@steipete
steipete deleted the fix/sweep-status-three-way branch July 9, 2026 23:03
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