Repository navigation
docs(OK-170): gate-enforced producer Service ownership handover in the maintenance procedure - #182
Merged
Merged
Conversation
… withdrawal admission
…d prove stale and exclusive-field rejection
…itive H and undo sequence
…ne against a fake kubectl
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.
Why
OK-170 comment 15439 approved Option A (a non-forced, identity-only release of the producer Service fields co-owned by
ok-173-breakglass) as the approach for the ok-shared rollout, not for live use. The merged maintenance procedure could not carry it out: its field-manager rule forbade any ownership release, and G0 requiredWITHDRAWto admit before any handover, which always conflicts whilespec.selectoris co-owned. G0 would therefore always STOP.What changes
docs/evidence/ok-170/maintenance-procedure.md)ok170-gates.mjs ownership-releaseandownership-adopt. The gates check an exact field release, pin the snapshot resourceVersion, leave other owners unchanged, and fail closed.ok-172-liveas sole owner (--forbid-manager ok-173-breakglass). It runs theWITHDRAW,WITHDRAW_RESTOREand Recovery E admission.ok-173-breakglasswriter owner.KUBECTL_KUBERC=falseand binds the gate script by SHA-256.deploy/kubernetes/verify-gates-kind.shok-173-breakglass.deploy/kubernetes/ok170-procedure-commands.test.ts(new): runs every documentedgatecommand offline against a fake kubectl, so a procedure that cannot run fails CI. It checks the kuberc export, the modes, flags, required inputs and input shapes, the wrapper context and namespace, the gate digest, the absence of--force-conflicts, and the command count. Each check has a negative case in the same file.Scope of this evidence
KIND-PROOF PASS v1.34.1.ok170-gates.mjsmakes its step fail.WITHDRAWandWITHDRAW_RESTOREthen admit on the same UID.restricted.Refs OK-170.