Skip to content

fix(repair): disable immutable ledger server merges - #705

Merged
hxy91819 merged 1 commit into
mainfrom
feature/disable-ledger-server-merge
Jul 19, 2026
Merged

hxy91819 merged 1 commit into
mainfrom
feature/disable-ledger-server-merge

Conversation

@hxy91819

Copy link
Copy Markdown
Member

Summary

  • stop exporting CLAWSWEEPER_STATE_REPOSITORY from setup-state
  • leave the server-merge implementation and immutable-path conflict checks intact but dormant
  • assert the production setup contract keeps server merges disabled

Why

#700 introduced server-side immutable ledger merges and #701 made their checkout-v7 credentials available in production. The resulting two-parent commits make shallow state publishers hydrate merge ancestry on their next ordinary fetch. Production publisher runs have remained inside that fetch until their one-hour workflow cancellation.

This is a narrow rollback of the production activation point. It stops new merge-DAG growth without reverting the safety checks or checkout-v7 credential parsing. The client-side immutable ledger fallback remains active while a merge-DAG-safe publisher design is developed separately.

Evidence

  • production run 29687240385 entered git fetch at 12:36:28 UTC and was cancelled at 13:34:38 UTC
  • production run 29687930347 entered the same fetch at 12:58:22 UTC and was cancelled at 13:56:56 UTC
  • state commits created by the server fallback have two parents

Validation

  • node --test test/sweep-workflow.test.ts: 67/67 passed
  • pnpm run check: passed
  • autoreview local: 0 findings
  • gitleaks diff scan: 0 leaks

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@hxy91819
hxy91819 merged commit c48d3e0 into main Jul 19, 2026
8 checks passed
@hxy91819
hxy91819 deleted the feature/disable-ledger-server-merge branch July 19, 2026 14:21
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