docs(vault): add quarantine readiness gate #615

Merged
pdurlej merged 1 commit from codex/m04-vault-quarantine-readiness into main 2026-05-29 22:15:28 +02:00
Collaborator

Summary

Adds the M04 Vault quarantine readiness gate: a read-only verifier plus runbook for future HashiCorp Vault quarantine after safe-session has moved to the local OpenSSH CA signer.

Canary Context Pack

Product story

M04 is reducing the platform secret backend surface so Infisical is the canonical secrets backend. Before any Vault quarantine, we need a small, repeatable, no-secret readiness check and a rollback-aware runbook.

What changed

  • Added scripts/cutover/vault-sunset-readiness.sh.
  • Added runbooks/vault-quarantine-and-sunset.md.
  • Linked the readiness gate from scripts/cutover/README.md.

Why it changed

Vault is still present on RS2000. This PR creates the nondestructive gate needed before any later runtime quarantine or destructive cleanup.

Files touched

  • scripts/cutover/vault-sunset-readiness.sh
  • scripts/cutover/README.md
  • runbooks/vault-quarantine-and-sunset.md

Runtime evidence

No runtime mutation was performed. Local validation:

  • bash -n scripts/cutover/vault-sunset-readiness.sh passed.
  • UV_CACHE_DIR=/private/tmp/codex-uv-cache PYTHONPATH=control-plane uv run --project control-plane python -m platformctl.cli validate all --json passed with exitCode=0.
  • DeepSeek V4 Pro redteam verdict: safe to merge as nondestructive after normal CI; no blockers.

Known constraints

This PR does not stop Vault, delete Vault data, change Infisical, alter runtime configuration, or issue certificates.

Explicit out-of-scope

  • No Vault shutdown.
  • No Vault deletion.
  • No Infisical writes.
  • No safe-session runtime cutover.
  • No issue/comment/dependency writer.

Requested decision

Merge after normal checks are green.

Merge blockers

  • Any evidence that the script mutates runtime state.
  • Any secret value leakage.
  • Any missing class/security-sensitive routing.

Gates Preserved

Runtime cutover still requires:

m04-vault-runtime-cutover-approved

Destructive cleanup still requires:

m04-vault-destructive-cleanup-approved

Refs #64
Refs #609

## Summary Adds the M04 Vault quarantine readiness gate: a read-only verifier plus runbook for future HashiCorp Vault quarantine after safe-session has moved to the local OpenSSH CA signer. ## Canary Context Pack ### Product story M04 is reducing the platform secret backend surface so Infisical is the canonical secrets backend. Before any Vault quarantine, we need a small, repeatable, no-secret readiness check and a rollback-aware runbook. ### What changed - Added `scripts/cutover/vault-sunset-readiness.sh`. - Added `runbooks/vault-quarantine-and-sunset.md`. - Linked the readiness gate from `scripts/cutover/README.md`. ### Why it changed Vault is still present on RS2000. This PR creates the nondestructive gate needed before any later runtime quarantine or destructive cleanup. ### Files touched - `scripts/cutover/vault-sunset-readiness.sh` - `scripts/cutover/README.md` - `runbooks/vault-quarantine-and-sunset.md` ### Runtime evidence No runtime mutation was performed. Local validation: - `bash -n scripts/cutover/vault-sunset-readiness.sh` passed. - `UV_CACHE_DIR=/private/tmp/codex-uv-cache PYTHONPATH=control-plane uv run --project control-plane python -m platformctl.cli validate all --json` passed with `exitCode=0`. - DeepSeek V4 Pro redteam verdict: safe to merge as nondestructive after normal CI; no blockers. ### Known constraints This PR does not stop Vault, delete Vault data, change Infisical, alter runtime configuration, or issue certificates. ### Explicit out-of-scope - No Vault shutdown. - No Vault deletion. - No Infisical writes. - No safe-session runtime cutover. - No issue/comment/dependency writer. ### Requested decision Merge after normal checks are green. ### Merge blockers - Any evidence that the script mutates runtime state. - Any secret value leakage. - Any missing `class/security-sensitive` routing. ## Gates Preserved Runtime cutover still requires: ```text m04-vault-runtime-cutover-approved ``` Destructive cleanup still requires: ```text m04-vault-destructive-cleanup-approved ``` Refs #64 Refs #609
docs(vault): add quarantine readiness gate
Some checks failed
canary-required / collect-diff (pull_request) Successful in 5s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 5s
canary-required / canary (pull_request) Has been skipped
base-is-main / guard (pull_request) Successful in 2s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 5s
patchwarden-client-dry-run / dry-run (pull_request) Successful in 23s
patchwarden-pr-sanity / sanity (pull_request) Failing after 3m13s
07d13ded9a
codex force-pushed codex/m04-vault-quarantine-readiness from 07d13ded9a
Some checks failed
canary-required / collect-diff (pull_request) Successful in 5s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 5s
canary-required / canary (pull_request) Has been skipped
base-is-main / guard (pull_request) Successful in 2s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 5s
patchwarden-client-dry-run / dry-run (pull_request) Successful in 23s
patchwarden-pr-sanity / sanity (pull_request) Failing after 3m13s
to b238ac5474
Some checks failed
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 5s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 5s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 5s
canary-required / canary (pull_request) Has been skipped
patchwarden-client-dry-run / dry-run (pull_request) Successful in 22s
patchwarden-pr-sanity / sanity (pull_request) Failing after 2m58s
2026-05-29 21:19:19 +02:00
Compare
codex force-pushed codex/m04-vault-quarantine-readiness from b238ac5474
Some checks failed
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 5s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 5s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 5s
canary-required / canary (pull_request) Has been skipped
patchwarden-client-dry-run / dry-run (pull_request) Successful in 22s
patchwarden-pr-sanity / sanity (pull_request) Failing after 2m58s
to 55990a5263
Some checks failed
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 4s
canary-required / canary (pull_request) Has been skipped
patchwarden-client-dry-run / dry-run (pull_request) Successful in 23s
patchwarden-pr-sanity / sanity (pull_request) Has been cancelled
2026-05-29 21:44:53 +02:00
Compare
codex force-pushed codex/m04-vault-quarantine-readiness from 55990a5263
Some checks failed
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 4s
canary-required / canary (pull_request) Has been skipped
patchwarden-client-dry-run / dry-run (pull_request) Successful in 23s
patchwarden-pr-sanity / sanity (pull_request) Has been cancelled
to 611fcc3b28
Some checks are pending
base-is-main / guard (pull_request) Successful in 2s
canary-required / collect-diff (pull_request) Successful in 5s
canary-required / canary (pull_request) Waiting to run
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 4s
patchwarden-client-dry-run / dry-run (pull_request) Waiting to run
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 5s
patchwarden-pr-sanity / sanity (pull_request) Waiting to run
2026-05-29 21:55:48 +02:00
Compare
codex force-pushed codex/m04-vault-quarantine-readiness from 611fcc3b28
Some checks are pending
base-is-main / guard (pull_request) Successful in 2s
canary-required / collect-diff (pull_request) Successful in 5s
canary-required / canary (pull_request) Waiting to run
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 4s
patchwarden-client-dry-run / dry-run (pull_request) Waiting to run
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 5s
patchwarden-pr-sanity / sanity (pull_request) Waiting to run
to 7b6b144dab
Some checks failed
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 5s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 5s
canary-required / canary (pull_request) Has been skipped
patchwarden-client-dry-run / dry-run (pull_request) Successful in 24s
patchwarden-pr-sanity / sanity (pull_request) Has been cancelled
2026-05-29 22:03:04 +02:00
Compare
codex force-pushed codex/m04-vault-quarantine-readiness from 7b6b144dab
Some checks failed
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 5s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 5s
canary-required / canary (pull_request) Has been skipped
patchwarden-client-dry-run / dry-run (pull_request) Successful in 24s
patchwarden-pr-sanity / sanity (pull_request) Has been cancelled
to 5cad504ee6
All checks were successful
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 5s
patchwarden-client-dry-run / collect-diff (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 4s
canary-required / canary (pull_request) Has been skipped
patchwarden-client-dry-run / dry-run (pull_request) Successful in 23s
patchwarden-pr-sanity / sanity (pull_request) Successful in 2m49s
2026-05-29 22:09:05 +02:00
Compare
Author
Collaborator

Patchwarden PR sanity

  • Status: eligible_sanity_clean
  • PR: 615
  • Commit: 5cad504ee6571634a3bfbc1992d898d4b96151fc
  • Security-sensitive label: present
  • Authority: advisory model review plus deterministic blockers only
  • 3+3 canary: still alive; this does not replace it

Deterministic findings

No deterministic findings.

Model reviewers

global-glm / glm-5.1:cloud

  • Status: ok
  • Verdict: OK
  • Findings: none

global-deepseek / deepseek-v4-pro:cloud

  • Status: ok
  • Verdict: OK
  • Findings: none

redteam / kimi-k2.6:cloud

  • Status: error
  • Verdict: -
  • Note: Ollama response had no message.content.
  • Findings: none

Policy notes

  • GLM 5.1 + DeepSeek V4 Pro are the operator-required model mix for this bot.
  • Optional red-team model is enabled only when PLATFORMCTL_PR_SANITY_REDTEAM_MODEL is configured.
  • Auto-merge is not enabled here.
<!-- patchwarden-pr-sanity:pdurlej/platform:PR-615 --> # Patchwarden PR sanity - Status: `eligible_sanity_clean` - PR: `615` - Commit: `5cad504ee6571634a3bfbc1992d898d4b96151fc` - Security-sensitive label: `present` - Authority: advisory model review plus deterministic blockers only - 3+3 canary: still alive; this does not replace it ## Deterministic findings No deterministic findings. ## Model reviewers ### `global-glm` / `glm-5.1:cloud` - Status: `ok` - Verdict: `OK` - Findings: none ### `global-deepseek` / `deepseek-v4-pro:cloud` - Status: `ok` - Verdict: `OK` - Findings: none ### `redteam` / `kimi-k2.6:cloud` - Status: `error` - Verdict: `-` - Note: Ollama response had no message.content. - Findings: none ## Policy notes - GLM 5.1 + DeepSeek V4 Pro are the operator-required model mix for this bot. - Optional red-team model is enabled only when `PLATFORMCTL_PR_SANITY_REDTEAM_MODEL` is configured. - Auto-merge is not enabled here.
Sign in to join this conversation.
No reviewers
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/platform!615
No description provided.