Skip to content

fix(live-proof): publish against an attempt-scoped hydrated baseline - #1198

Merged
steipete merged 1 commit into
mainfrom
steipete/live-proof-fresh-hydration
Aug 17, 2026
Merged

fix(live-proof): publish against an attempt-scoped hydrated baseline#1198
steipete merged 1 commit into
mainfrom
steipete/live-proof-fresh-hydration

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

The attach conflict was systematic, not churn: #1182 (a record with no concurrent writers) conflicted on all three retry attempts (run 32031655761). Investigation refuted the snapshot-lag hypothesis — focused hydration reads CURRENT straight from the Durable Object canonical store — and found the real cause: repair:publish-main fell back to the intentionally unhydrated CLAWSWEEPER_STATE_DIR for its three-way baseline, so the absent/stale expected digest made every publication look like a same-section concurrent edit.

Each retry attempt now captures the freshly hydrated record into an attempt-scoped baseline and supplies it explicitly to the unchanged strict publisher fence, matching exact review's capture-before-mutate idiom.

Validation

  • pnpm build clean; focused suites 38/38; publish-main suite 15/15; full unit 2,311 passed, 0 failed.
  • Autoreview (Codex, gpt-5.6-sol, high): clean, "patch is correct (0.97)".

The attach job hydrates the CURRENT record straight from the canonical
store, but repair:publish-main fell back to the intentionally unhydrated
CLAWSWEEPER_STATE_DIR for its three-way baseline, so every publication
looked like a same-section concurrent edit and conflicted
deterministically (#1182 run 32031655761). Each
retry attempt now captures the freshly hydrated record as an explicit
baseline for the unchanged strict fence, matching exact review's
capture-before-mutate idiom.
@clawsweeper

clawsweeper Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper

clawsweeper Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(live-proof): publish against an attempt-scoped hydrated baseline This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete
steipete merged commit ecf222f into main Aug 17, 2026
10 checks passed
@steipete
steipete deleted the steipete/live-proof-fresh-hydration branch August 17, 2026 13:06
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