Implement Commons transition fixture with synthetic provider and crash recovery - #50
Merged
ClaudiuSchuster merged 1 commit intoSep 13, 2026
Conversation
…h recovery - commons_transition.py: Pure decision engine for Prepare/Stage/Activate/ Verify/Rollback lifecycle. No I/O, network, clock, SQL or Worker code. OperationKey and FixtureDecision frozen dataclasses. Classify pending effects as applied/not_applied_final/unknown/conflict. - commons_fixture.py: Private POSIX fixture with synthetic Cloudflare provider backend. Separate atomically replaced control journal and provider state for deliberate crash-recovery testing. Cooperative flock with anchored identity checks. - test-commons-transition.py: 54 tests (normal and -O) covering decision engine purity, full normal flow, phase-gated operations, generation increments, crash recovery at every phase boundary, concurrent lock rejection, secret preservation, and bounded input validation. - docs/release-commons-transition.md: Architecture, state machine, test coverage, and usage documentation. - CI and doc references updated in repository-checks.yml, CONTRIBUTING.md and docs/README.md. All tests pass; repository baseline and site checks green. No production mutation, no provider access, deployment_authorized always false.
ClaudiuSchuster
deleted the
oss-oo/commons-transition-fixture-60f8-20260913
branch
September 13, 2026 22:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commons Transition Offline Fixture
Reiner Decision-Engine + private POSIX-Fixture mit synthetischem Cloudflare-Provider-Backend. Setzt den Commons Code Transition Plan um.
Dateien
scripts/commons_transition.pyOperationKeyundFixtureDecision.scripts/commons_fixture.pyflock.scripts/test-commons-transition.py-O): Decision-Purity, Full-Normal-Flow, Phase-Gating, Crash-Recovery an jeder Phasengrenze, Concurrent-Lock.docs/release-commons-transition.mdChecks
-O✅check-repository.sh) grün ✅Was es nicht tut
Keine Provider-Mutation, kein
deployment_authorized, keine Worker-/D1-/DNS-Schreibzugriffe.fixture_only: trueimmer.