feat(ql3): rehearse reviewed automation rollback

This commit is contained in:
whyour
2026-09-01 23:20:13 +08:00
parent 7ed7a08211
commit 8580b25ecc
24 changed files with 1794 additions and 57 deletions
@@ -210,6 +210,23 @@ function auditWorkflow(contents, findings) {
'"status":"reconciliation_captured"',
'"rollback":"not_authorized"',
'reconciliation-capture-verify.result.json',
'scripts/ql3-local-alpha-reconciliation-decision-fixture.cjs',
'sh "${BUNDLE_ROOT}/reconciliation-rehearsal.sh"',
'RECONCILIATION_REVIEW_DECISION_ROOT=',
'RECONCILIATION_AUTOMATION_DECISION_ROOT=',
'"status":"operator_decision_required"',
'"automaticDecision":"not_authorized"',
'--mode=review',
'"status":"automation_decision_required"',
'"decisionAuthority":"authenticated_user"',
'"automaticRowDecision":"not_authorized"',
'--mode=automation',
'apply-rollback edge',
'"${LEGACY_READINESS_ROOT}"',
'"status":"reconciliation_automation_rolled_back"',
'automation-apply-verify.result.json',
'automation-rollback-verify.result.json',
'"completion":"not_attempted"',
'docker rm "${TARGET_CONTAINER}" "${LEGACY_CONTAINER}"',
'--application-sbom="${APPLICATION_SBOM}"',
'--operator-sbom="${RUNNER_TEMP}/ql3-local-operator.cdx.json"',
@@ -239,6 +256,10 @@ function auditWorkflow(contents, findings) {
'/quickstart.sh"',
'/upgrade-cutover-rehearsal.sh"',
'--capture-after-write',
'/reconciliation-rehearsal.sh"',
'--mode=review',
'--mode=automation',
'apply-rollback edge',
'name: Upload the tested native Local Alpha trial kit',
]) {
const index = contents.indexOf(value, cursor + 1);