Repository navigation
Conversation
Rollback admitted any retained same-scope epoch whose coverage was equal or greater than the active one, including a registered custom epoch that was never activated and has no review receipt. Binding owner decision D8 (2026-10-11) for CI-018 allows rollback only to an epoch previously activated in the same scope. The config-epoch repository now evaluates, under the scope lock and after the active-pointer row lock and the revision/active-epoch compare-and-set, whether the immutable config_epoch_activations journal holds a transition to the target in the same scope whose pair-owned audit event is config-epoch-activation/v1. A rollback transition is not activation evidence, so a rollback admitted before this rule cannot qualify its own target; another scope's history cannot qualify it either. Any other target returns the new ConfigEpochRollbackTargetNeverActivated result without consuming an audit event or writing the pointer or journal. The application maps it to target_never_activated, the HTTP route to 409 target_never_activated, and runtime metrics count it as its own result. No table, column, index or migration is added; the journal is append-only, so a positive answer cannot later become false, and RevisionConflict keeps precedence. REQ-CI-CORE-016, the lifecycle and operator-control specifications, the policy how-to, the operator workspace note, the OpenAPI projection, generated TypeScript and the operator UI rollback rejection handling are updated, and derived proof hashes are refreshed. PostgreSQL witnesses cover a never-activated target, foreign-scope history, a rollback-only target and lock-serialized races with a concurrent activation; unit witnesses cover the service and route mapping. Native PostgreSQL, unit and frontend witnesses are unexecuted locally and run only in GitHub CI.
This was referenced Oct 12, 2026
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.
Context
Binding owner decision D8 (2026-10-11), ROADMAP CI-018: rollback may only target an epoch previously activated in the same scope. Before this change, rollback admitted any retained same-scope epoch with equal or greater coverage, including a registered custom epoch that was never activated and has no review receipt.
What changed
config_epoch_activationsrow for the target whose audit event isconfig-epoch-activation/v1.ConfigEpochRollbackTargetNeverActivated, reported astarget_never_activated(HTTP 409, its own metric label). Nothing is written.generated.tsand the operator UI rejection handling.pg_blocking_pidsthat the contender is blocked before the holder releases.Expected result
target_never_activatedand changes nothing.Non-claims:
Provisional decisions: none. D8 is binding. Treating only activation events as evidence is the implementation's reading of "previously activated", stated for review.
Independent review: gpt-6-astra (xhigh); findings addressed or rejected with reasons in the single commit. Provisional owner decisions (2026-10-11) are labelled in the changed documents.