Repository navigation
Integrate inactive stamped promotion with exact integrity and reconciliation - #186
Merged
Merged
Conversation
LeiterConsulting
changed the base branch from
review/inactive-database-writer-fence
to
main
November 16, 2026 00:47
LeiterConsulting
marked this pull request as ready for review
November 16, 2026 01:05
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.
Stacked on #185. Reference-only integration with actual guarded SQL event primitive; no runtime imports, route/schema activation, credentials, workflow or production changes.
Validates full canonical stored target, exact records and provenance before single event promotion. Binds operation/owner/epoch, preserves expected head/generation/history checks, handles response loss by same-operation readback without repeat insertion. Bootstrap intentionally unsupported. Retained admission is required; replacing current admission fails closed, highlighting production need for immutable historical admission archive.
Independent review: 51 focused tests pass including corruption, legal/illegal rollback, stop/epoch race and lost response. maintenance:sync and maintenance:verify passed (1455 inputs); build passed. Exact-head CI/export pending.
Admission architecture document identifies actual server-owned OIDC/evidence boundary and missing proof/authority. Stamps do not protect against arbitrary SQL/DDL by the D1 binding holder. No authenticated admission issuer implemented; deliveryVerified and productionActionAllowed remain false. Existing deployment and permission boundaries unchanged.