Files
awoooi/docs/security/public-gateway-post-incident-readback-plan.snapshot.json
Your Name 5254a0c88b
All checks were successful
Code Review / ai-code-review (push) Successful in 11s
CD Pipeline / tests (push) Successful in 1m36s
CD Pipeline / build-and-deploy (push) Successful in 4m49s
CD Pipeline / post-deploy-checks (push) Successful in 1m48s
feat(iwooos): 新增 Nginx 事故回讀 gate
2026-06-16 10:31:13 +08:00

1050 lines
39 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"blocked_actions": [
"ssh_read_live_nginx_conf",
"store_raw_live_conf",
"store_full_rendered_diff_payload",
"collect_secret_value",
"collect_private_key",
"collect_certificate_body",
"collect_cookie_or_token",
"run_nginx_test",
"reload_nginx",
"restart_nginx",
"change_nginx_site_enabled",
"change_public_route",
"change_admin_route",
"change_api_route",
"change_websocket_route",
"change_acme_challenge_route",
"change_upstream",
"change_dns_record",
"tls_probe",
"dns_probe",
"certbot_renew",
"certbot_reconfigure",
"route_smoke",
"websocket_smoke",
"host_write",
"firewall_change",
"docker_restart",
"systemd_restart",
"argocd_sync",
"kubectl_apply",
"accept_route_200_as_all_green",
"accept_nginx_active_as_all_green",
"accept_dashboard_up_as_security_acceptance",
"accept_cd_success_as_security_acceptance",
"skip_cross_project_sync",
"skip_operator_notification",
"skip_rollback_validation",
"skip_post_change_monitoring",
"mark_readback_accepted_without_reviewer_record",
"open_runtime_gate",
"add_action_button"
],
"execution_boundaries": {
"acme_challenge_change_authorized": false,
"action_buttons_allowed": false,
"admin_route_change_authorized": false,
"certbot_renew_authorized": false,
"dns_tls_probe_authorized": false,
"host_live_conf_read_authorized": false,
"nginx_reload_authorized": false,
"nginx_reload_executed": false,
"nginx_test_authorized": false,
"nginx_test_executed": false,
"not_authorization": true,
"production_write_authorized": false,
"public_gateway_reload_authorized": false,
"public_route_change_authorized": false,
"route_smoke_authorized": false,
"route_smoke_executed": false,
"runtime_gate": false,
"websocket_route_change_authorized": false
},
"generated_at": "2026-06-15T22:10:00+08:00",
"git_commit": "a0f79315",
"mode": "metadata_only_no_live_conf_no_nginx_reload",
"operator_interpretation": [
"此計畫只定義 Public Gateway / Nginx 事故後回讀欄位,不代表 live conf 已讀取或可讀取。",
"route 200、Nginx active、dashboard up、CD success、UI 可見都不能單獨當成 gateway 事故驗收。",
"未來若要 nginx -t、reload、route smoke、DNS / TLS probe、certbot renew 或 host write必須另有維護窗口、rollback owner 與人工批准。"
],
"outcome_lanes": [
{
"lane_id": "waiting_post_incident_readback",
"meaning": "尚未收到 Public Gateway / Nginx 事故回讀包;所有 accepted / runtime count 維持 0。"
},
{
"lane_id": "request_actor_or_time_supplement",
"meaning": "缺 actor、change time window、intent 或 break-glass reason 時要求補件。"
},
{
"lane_id": "request_route_state_supplement",
"meaning": "缺 before / after route、upstream、WebSocket、TLS / ACME 或 route smoke readback 時要求補件。"
},
{
"lane_id": "request_diff_test_supplement",
"meaning": "缺 source-live diff、nginx test readback、reload / no-reload 判定或 rollback validation 時要求補件。"
},
{
"lane_id": "request_dependency_supplement",
"meaning": "缺 AI provider、monitoring、public/admin/API route 或跨專案影響時要求補件。"
},
{
"lane_id": "quarantine_raw_payload",
"meaning": "收到 raw conf、完整 diff、secret、憑證、cookie、token 或未脫敏截圖時只能隔離。"
},
{
"lane_id": "reject_false_green_claim",
"meaning": "把 route 200、Nginx active、dashboard up、CD success 或 UI 可見當驗收時拒收。"
},
{
"lane_id": "ready_for_gateway_post_incident_review",
"meaning": "metadata 合格後,只能進 reviewer review。"
},
{
"lane_id": "recurrence_guard_backfill_required",
"meaning": "需補防再發 guard、owner review、change freeze 或 automation block。"
},
{
"lane_id": "waiting_runtime_gate",
"meaning": "即使 readback acceptedruntime gate 仍需獨立人工批准。"
}
],
"readback_candidates": [
{
"acme_challenge_change_authorized": false,
"action_buttons_allowed": false,
"actor_attribution_accepted": false,
"actor_attribution_ref": null,
"admin_route_change_authorized": false,
"after_route_state_ref": null,
"ai_provider_impact_accepted": false,
"ai_provider_impact_ref": null,
"before_after_route_state_accepted": false,
"before_route_state_ref": null,
"blocked_actions": [
"ssh_read_live_nginx_conf",
"store_raw_live_conf",
"store_full_rendered_diff_payload",
"collect_secret_value",
"collect_private_key",
"collect_certificate_body",
"collect_cookie_or_token",
"run_nginx_test",
"reload_nginx",
"restart_nginx",
"change_nginx_site_enabled",
"change_public_route",
"change_admin_route",
"change_api_route",
"change_websocket_route",
"change_acme_challenge_route",
"change_upstream",
"change_dns_record",
"tls_probe",
"dns_probe",
"certbot_renew",
"certbot_reconfigure",
"route_smoke",
"websocket_smoke",
"host_write",
"firewall_change",
"docker_restart",
"systemd_restart",
"argocd_sync",
"kubectl_apply",
"accept_route_200_as_all_green",
"accept_nginx_active_as_all_green",
"accept_dashboard_up_as_security_acceptance",
"accept_cd_success_as_security_acceptance",
"skip_cross_project_sync",
"skip_operator_notification",
"skip_rollback_validation",
"skip_post_change_monitoring",
"mark_readback_accepted_without_reviewer_record",
"open_runtime_gate",
"add_action_button"
],
"certbot_renew_authorized": false,
"change_intent_or_break_glass_ref": null,
"change_time_window_accepted": false,
"change_time_window_ref": null,
"config_id": "host188_all_sites",
"control_tier": "C0",
"cross_project_sync_accepted": false,
"cross_project_sync_ref": null,
"diff_gate_id": "public_gateway_rendered_diff_gate:host188_all_sites",
"dns_tls_probe_authorized": false,
"followup_owner": "pending_post_incident_readback",
"gateway_incident_or_change_ref": null,
"host": "192.168.0.188",
"host_live_conf_read_authorized": false,
"intent_or_break_glass_accepted": false,
"live_path": "/etc/nginx/sites-enabled/all-sites.conf",
"maintenance_window": "pending_post_incident_readback",
"monitoring_alert_accepted": false,
"monitoring_alert_ref": null,
"nginx_reload_authorized": false,
"nginx_reload_executed": false,
"nginx_reload_or_no_reload_accepted": false,
"nginx_reload_or_no_reload_ref": null,
"nginx_test_authorized": false,
"nginx_test_executed": false,
"nginx_test_readback_accepted": false,
"nginx_test_readback_ref": null,
"no_false_green_accepted": false,
"not_approval": true,
"operator_notification_accepted": false,
"operator_notification_ref": null,
"outcome_lanes": [
"waiting_post_incident_readback",
"request_actor_or_time_supplement",
"request_route_state_supplement",
"request_diff_test_supplement",
"request_dependency_supplement",
"quarantine_raw_payload",
"reject_false_green_claim",
"ready_for_gateway_post_incident_review",
"recurrence_guard_backfill_required",
"waiting_runtime_gate"
],
"owner_response_acceptance_id": "public_gateway_owner_response_acceptance:host188_all_sites",
"post_change_monitoring_accepted": false,
"post_change_monitoring_ref": null,
"post_incident_readback_accepted": false,
"post_incident_readback_candidate_id": "public_gateway_post_incident_readback:host188_all_sites",
"post_incident_readback_received": false,
"postcheck_readback_accepted": false,
"postcheck_readback_ref": null,
"production_write_authorized": false,
"public_admin_api_route_impact_accepted": false,
"public_admin_api_route_impact_ref": null,
"public_gateway_reload_authorized": false,
"public_route_change_authorized": false,
"readback_fields": [
"post_incident_readback_candidate_id",
"source_diff_acceptance_id",
"owner_response_acceptance_id",
"diff_gate_id",
"config_id",
"control_tier",
"host",
"live_path",
"gateway_incident_or_change_ref",
"actor_attribution_ref",
"change_time_window_ref",
"change_intent_or_break_glass_ref",
"before_route_state_ref",
"after_route_state_ref",
"source_live_diff_state_ref",
"nginx_test_readback_ref",
"nginx_reload_or_no_reload_ref",
"route_smoke_readback_ref",
"tls_acme_readback_ref",
"websocket_readback_ref",
"upstream_health_ref",
"public_admin_api_route_impact_ref",
"ai_provider_impact_ref",
"monitoring_alert_ref",
"operator_notification_ref",
"cross_project_sync_ref",
"rollback_validation_ref",
"post_change_monitoring_ref",
"recovery_or_still_degraded_ref",
"postcheck_readback_ref",
"recurrence_guard_ref",
"maintenance_window",
"rollback_owner",
"reviewer_outcome",
"followup_owner",
"not_approval"
],
"recovery_or_still_degraded_accepted": false,
"recovery_or_still_degraded_ref": null,
"recurrence_guard_accepted": false,
"recurrence_guard_ref": null,
"required_readback_fields": [
"gateway_incident_or_change_ref",
"actor_attribution_ref",
"change_time_window_ref",
"change_intent_or_break_glass_ref",
"before_route_state_ref",
"after_route_state_ref",
"source_live_diff_state_ref",
"nginx_test_readback_ref",
"nginx_reload_or_no_reload_ref",
"route_smoke_readback_ref",
"tls_acme_readback_ref",
"websocket_readback_ref",
"upstream_health_ref",
"public_admin_api_route_impact_ref",
"ai_provider_impact_ref",
"monitoring_alert_ref",
"operator_notification_ref",
"cross_project_sync_ref",
"rollback_validation_ref",
"post_change_monitoring_ref",
"recovery_or_still_degraded_ref",
"postcheck_readback_ref",
"recurrence_guard_ref",
"maintenance_window",
"rollback_owner",
"followup_owner",
"redacted_evidence_refs",
"no_secret_value_attestation",
"no_raw_live_conf_or_diff_attestation",
"no_false_green_attestation"
],
"reviewer_checks": [
"source_diff_acceptance_current",
"incident_or_change_ref_present",
"actor_attribution_present",
"change_time_window_present",
"intent_or_break_glass_present",
"before_after_route_state_present",
"source_live_diff_state_present",
"nginx_test_readback_is_owner_provided",
"reload_or_no_reload_called_out",
"route_smoke_readback_present",
"tls_acme_readback_present",
"websocket_readback_present",
"upstream_health_present",
"public_admin_api_route_impact_present",
"ai_provider_impact_present",
"monitoring_alert_present",
"operator_notification_present",
"cross_project_sync_present",
"rollback_validation_present",
"post_change_monitoring_present",
"recovery_or_still_degraded_present",
"postcheck_independent",
"recurrence_guard_present",
"maintenance_window_present",
"no_false_green",
"raw_payload_absent",
"runtime_stays_zero",
"counts_transition_safe"
],
"reviewer_outcome": "waiting_post_incident_readback",
"rollback_owner": "pending_post_incident_readback",
"rollback_validation_accepted": false,
"rollback_validation_ref": null,
"route_smoke_authorized": false,
"route_smoke_executed": false,
"route_smoke_readback_accepted": false,
"route_smoke_readback_ref": null,
"runtime_gate": false,
"source_diff_acceptance_id": "public_gateway_rendered_diff_acceptance:host188_all_sites",
"source_live_diff_state_accepted": false,
"source_live_diff_state_ref": null,
"status": "waiting_post_incident_readback",
"tls_acme_readback_accepted": false,
"tls_acme_readback_ref": null,
"upstream_health_accepted": false,
"upstream_health_ref": null,
"websocket_readback_accepted": false,
"websocket_readback_ref": null,
"websocket_route_change_authorized": false,
"write_capable": true
},
{
"acme_challenge_change_authorized": false,
"action_buttons_allowed": false,
"actor_attribution_accepted": false,
"actor_attribution_ref": null,
"admin_route_change_authorized": false,
"after_route_state_ref": null,
"ai_provider_impact_accepted": false,
"ai_provider_impact_ref": null,
"before_after_route_state_accepted": false,
"before_route_state_ref": null,
"blocked_actions": [
"ssh_read_live_nginx_conf",
"store_raw_live_conf",
"store_full_rendered_diff_payload",
"collect_secret_value",
"collect_private_key",
"collect_certificate_body",
"collect_cookie_or_token",
"run_nginx_test",
"reload_nginx",
"restart_nginx",
"change_nginx_site_enabled",
"change_public_route",
"change_admin_route",
"change_api_route",
"change_websocket_route",
"change_acme_challenge_route",
"change_upstream",
"change_dns_record",
"tls_probe",
"dns_probe",
"certbot_renew",
"certbot_reconfigure",
"route_smoke",
"websocket_smoke",
"host_write",
"firewall_change",
"docker_restart",
"systemd_restart",
"argocd_sync",
"kubectl_apply",
"accept_route_200_as_all_green",
"accept_nginx_active_as_all_green",
"accept_dashboard_up_as_security_acceptance",
"accept_cd_success_as_security_acceptance",
"skip_cross_project_sync",
"skip_operator_notification",
"skip_rollback_validation",
"skip_post_change_monitoring",
"mark_readback_accepted_without_reviewer_record",
"open_runtime_gate",
"add_action_button"
],
"certbot_renew_authorized": false,
"change_intent_or_break_glass_ref": null,
"change_time_window_accepted": false,
"change_time_window_ref": null,
"config_id": "host188_internal_tools_https",
"control_tier": "C0",
"cross_project_sync_accepted": false,
"cross_project_sync_ref": null,
"diff_gate_id": "public_gateway_rendered_diff_gate:host188_internal_tools_https",
"dns_tls_probe_authorized": false,
"followup_owner": "pending_post_incident_readback",
"gateway_incident_or_change_ref": null,
"host": "192.168.0.188",
"host_live_conf_read_authorized": false,
"intent_or_break_glass_accepted": false,
"live_path": "owner_confirmation_required",
"maintenance_window": "pending_post_incident_readback",
"monitoring_alert_accepted": false,
"monitoring_alert_ref": null,
"nginx_reload_authorized": false,
"nginx_reload_executed": false,
"nginx_reload_or_no_reload_accepted": false,
"nginx_reload_or_no_reload_ref": null,
"nginx_test_authorized": false,
"nginx_test_executed": false,
"nginx_test_readback_accepted": false,
"nginx_test_readback_ref": null,
"no_false_green_accepted": false,
"not_approval": true,
"operator_notification_accepted": false,
"operator_notification_ref": null,
"outcome_lanes": [
"waiting_post_incident_readback",
"request_actor_or_time_supplement",
"request_route_state_supplement",
"request_diff_test_supplement",
"request_dependency_supplement",
"quarantine_raw_payload",
"reject_false_green_claim",
"ready_for_gateway_post_incident_review",
"recurrence_guard_backfill_required",
"waiting_runtime_gate"
],
"owner_response_acceptance_id": "public_gateway_owner_response_acceptance:host188_internal_tools_https",
"post_change_monitoring_accepted": false,
"post_change_monitoring_ref": null,
"post_incident_readback_accepted": false,
"post_incident_readback_candidate_id": "public_gateway_post_incident_readback:host188_internal_tools_https",
"post_incident_readback_received": false,
"postcheck_readback_accepted": false,
"postcheck_readback_ref": null,
"production_write_authorized": false,
"public_admin_api_route_impact_accepted": false,
"public_admin_api_route_impact_ref": null,
"public_gateway_reload_authorized": false,
"public_route_change_authorized": false,
"readback_fields": [
"post_incident_readback_candidate_id",
"source_diff_acceptance_id",
"owner_response_acceptance_id",
"diff_gate_id",
"config_id",
"control_tier",
"host",
"live_path",
"gateway_incident_or_change_ref",
"actor_attribution_ref",
"change_time_window_ref",
"change_intent_or_break_glass_ref",
"before_route_state_ref",
"after_route_state_ref",
"source_live_diff_state_ref",
"nginx_test_readback_ref",
"nginx_reload_or_no_reload_ref",
"route_smoke_readback_ref",
"tls_acme_readback_ref",
"websocket_readback_ref",
"upstream_health_ref",
"public_admin_api_route_impact_ref",
"ai_provider_impact_ref",
"monitoring_alert_ref",
"operator_notification_ref",
"cross_project_sync_ref",
"rollback_validation_ref",
"post_change_monitoring_ref",
"recovery_or_still_degraded_ref",
"postcheck_readback_ref",
"recurrence_guard_ref",
"maintenance_window",
"rollback_owner",
"reviewer_outcome",
"followup_owner",
"not_approval"
],
"recovery_or_still_degraded_accepted": false,
"recovery_or_still_degraded_ref": null,
"recurrence_guard_accepted": false,
"recurrence_guard_ref": null,
"required_readback_fields": [
"gateway_incident_or_change_ref",
"actor_attribution_ref",
"change_time_window_ref",
"change_intent_or_break_glass_ref",
"before_route_state_ref",
"after_route_state_ref",
"source_live_diff_state_ref",
"nginx_test_readback_ref",
"nginx_reload_or_no_reload_ref",
"route_smoke_readback_ref",
"tls_acme_readback_ref",
"websocket_readback_ref",
"upstream_health_ref",
"public_admin_api_route_impact_ref",
"ai_provider_impact_ref",
"monitoring_alert_ref",
"operator_notification_ref",
"cross_project_sync_ref",
"rollback_validation_ref",
"post_change_monitoring_ref",
"recovery_or_still_degraded_ref",
"postcheck_readback_ref",
"recurrence_guard_ref",
"maintenance_window",
"rollback_owner",
"followup_owner",
"redacted_evidence_refs",
"no_secret_value_attestation",
"no_raw_live_conf_or_diff_attestation",
"no_false_green_attestation"
],
"reviewer_checks": [
"source_diff_acceptance_current",
"incident_or_change_ref_present",
"actor_attribution_present",
"change_time_window_present",
"intent_or_break_glass_present",
"before_after_route_state_present",
"source_live_diff_state_present",
"nginx_test_readback_is_owner_provided",
"reload_or_no_reload_called_out",
"route_smoke_readback_present",
"tls_acme_readback_present",
"websocket_readback_present",
"upstream_health_present",
"public_admin_api_route_impact_present",
"ai_provider_impact_present",
"monitoring_alert_present",
"operator_notification_present",
"cross_project_sync_present",
"rollback_validation_present",
"post_change_monitoring_present",
"recovery_or_still_degraded_present",
"postcheck_independent",
"recurrence_guard_present",
"maintenance_window_present",
"no_false_green",
"raw_payload_absent",
"runtime_stays_zero",
"counts_transition_safe"
],
"reviewer_outcome": "waiting_post_incident_readback",
"rollback_owner": "pending_post_incident_readback",
"rollback_validation_accepted": false,
"rollback_validation_ref": null,
"route_smoke_authorized": false,
"route_smoke_executed": false,
"route_smoke_readback_accepted": false,
"route_smoke_readback_ref": null,
"runtime_gate": false,
"source_diff_acceptance_id": "public_gateway_rendered_diff_acceptance:host188_internal_tools_https",
"source_live_diff_state_accepted": false,
"source_live_diff_state_ref": null,
"status": "waiting_post_incident_readback",
"tls_acme_readback_accepted": false,
"tls_acme_readback_ref": null,
"upstream_health_accepted": false,
"upstream_health_ref": null,
"websocket_readback_accepted": false,
"websocket_readback_ref": null,
"websocket_route_change_authorized": false,
"write_capable": true
},
{
"acme_challenge_change_authorized": false,
"action_buttons_allowed": false,
"actor_attribution_accepted": false,
"actor_attribution_ref": null,
"admin_route_change_authorized": false,
"after_route_state_ref": null,
"ai_provider_impact_accepted": false,
"ai_provider_impact_ref": null,
"before_after_route_state_accepted": false,
"before_route_state_ref": null,
"blocked_actions": [
"ssh_read_live_nginx_conf",
"store_raw_live_conf",
"store_full_rendered_diff_payload",
"collect_secret_value",
"collect_private_key",
"collect_certificate_body",
"collect_cookie_or_token",
"run_nginx_test",
"reload_nginx",
"restart_nginx",
"change_nginx_site_enabled",
"change_public_route",
"change_admin_route",
"change_api_route",
"change_websocket_route",
"change_acme_challenge_route",
"change_upstream",
"change_dns_record",
"tls_probe",
"dns_probe",
"certbot_renew",
"certbot_reconfigure",
"route_smoke",
"websocket_smoke",
"host_write",
"firewall_change",
"docker_restart",
"systemd_restart",
"argocd_sync",
"kubectl_apply",
"accept_route_200_as_all_green",
"accept_nginx_active_as_all_green",
"accept_dashboard_up_as_security_acceptance",
"accept_cd_success_as_security_acceptance",
"skip_cross_project_sync",
"skip_operator_notification",
"skip_rollback_validation",
"skip_post_change_monitoring",
"mark_readback_accepted_without_reviewer_record",
"open_runtime_gate",
"add_action_button"
],
"certbot_renew_authorized": false,
"change_intent_or_break_glass_ref": null,
"change_time_window_accepted": false,
"change_time_window_ref": null,
"config_id": "host110_ollama_proxy",
"control_tier": "C1",
"cross_project_sync_accepted": false,
"cross_project_sync_ref": null,
"diff_gate_id": "public_gateway_rendered_diff_gate:host110_ollama_proxy",
"dns_tls_probe_authorized": false,
"followup_owner": "pending_post_incident_readback",
"gateway_incident_or_change_ref": null,
"host": "192.168.0.110",
"host_live_conf_read_authorized": false,
"intent_or_break_glass_accepted": false,
"live_path": "/etc/nginx/sites-enabled/110-ollama-proxy.conf",
"maintenance_window": "pending_post_incident_readback",
"monitoring_alert_accepted": false,
"monitoring_alert_ref": null,
"nginx_reload_authorized": false,
"nginx_reload_executed": false,
"nginx_reload_or_no_reload_accepted": false,
"nginx_reload_or_no_reload_ref": null,
"nginx_test_authorized": false,
"nginx_test_executed": false,
"nginx_test_readback_accepted": false,
"nginx_test_readback_ref": null,
"no_false_green_accepted": false,
"not_approval": true,
"operator_notification_accepted": false,
"operator_notification_ref": null,
"outcome_lanes": [
"waiting_post_incident_readback",
"request_actor_or_time_supplement",
"request_route_state_supplement",
"request_diff_test_supplement",
"request_dependency_supplement",
"quarantine_raw_payload",
"reject_false_green_claim",
"ready_for_gateway_post_incident_review",
"recurrence_guard_backfill_required",
"waiting_runtime_gate"
],
"owner_response_acceptance_id": "public_gateway_owner_response_acceptance:host110_ollama_proxy",
"post_change_monitoring_accepted": false,
"post_change_monitoring_ref": null,
"post_incident_readback_accepted": false,
"post_incident_readback_candidate_id": "public_gateway_post_incident_readback:host110_ollama_proxy",
"post_incident_readback_received": false,
"postcheck_readback_accepted": false,
"postcheck_readback_ref": null,
"production_write_authorized": false,
"public_admin_api_route_impact_accepted": false,
"public_admin_api_route_impact_ref": null,
"public_gateway_reload_authorized": false,
"public_route_change_authorized": false,
"readback_fields": [
"post_incident_readback_candidate_id",
"source_diff_acceptance_id",
"owner_response_acceptance_id",
"diff_gate_id",
"config_id",
"control_tier",
"host",
"live_path",
"gateway_incident_or_change_ref",
"actor_attribution_ref",
"change_time_window_ref",
"change_intent_or_break_glass_ref",
"before_route_state_ref",
"after_route_state_ref",
"source_live_diff_state_ref",
"nginx_test_readback_ref",
"nginx_reload_or_no_reload_ref",
"route_smoke_readback_ref",
"tls_acme_readback_ref",
"websocket_readback_ref",
"upstream_health_ref",
"public_admin_api_route_impact_ref",
"ai_provider_impact_ref",
"monitoring_alert_ref",
"operator_notification_ref",
"cross_project_sync_ref",
"rollback_validation_ref",
"post_change_monitoring_ref",
"recovery_or_still_degraded_ref",
"postcheck_readback_ref",
"recurrence_guard_ref",
"maintenance_window",
"rollback_owner",
"reviewer_outcome",
"followup_owner",
"not_approval"
],
"recovery_or_still_degraded_accepted": false,
"recovery_or_still_degraded_ref": null,
"recurrence_guard_accepted": false,
"recurrence_guard_ref": null,
"required_readback_fields": [
"gateway_incident_or_change_ref",
"actor_attribution_ref",
"change_time_window_ref",
"change_intent_or_break_glass_ref",
"before_route_state_ref",
"after_route_state_ref",
"source_live_diff_state_ref",
"nginx_test_readback_ref",
"nginx_reload_or_no_reload_ref",
"route_smoke_readback_ref",
"tls_acme_readback_ref",
"websocket_readback_ref",
"upstream_health_ref",
"public_admin_api_route_impact_ref",
"ai_provider_impact_ref",
"monitoring_alert_ref",
"operator_notification_ref",
"cross_project_sync_ref",
"rollback_validation_ref",
"post_change_monitoring_ref",
"recovery_or_still_degraded_ref",
"postcheck_readback_ref",
"recurrence_guard_ref",
"maintenance_window",
"rollback_owner",
"followup_owner",
"redacted_evidence_refs",
"no_secret_value_attestation",
"no_raw_live_conf_or_diff_attestation",
"no_false_green_attestation"
],
"reviewer_checks": [
"source_diff_acceptance_current",
"incident_or_change_ref_present",
"actor_attribution_present",
"change_time_window_present",
"intent_or_break_glass_present",
"before_after_route_state_present",
"source_live_diff_state_present",
"nginx_test_readback_is_owner_provided",
"reload_or_no_reload_called_out",
"route_smoke_readback_present",
"tls_acme_readback_present",
"websocket_readback_present",
"upstream_health_present",
"public_admin_api_route_impact_present",
"ai_provider_impact_present",
"monitoring_alert_present",
"operator_notification_present",
"cross_project_sync_present",
"rollback_validation_present",
"post_change_monitoring_present",
"recovery_or_still_degraded_present",
"postcheck_independent",
"recurrence_guard_present",
"maintenance_window_present",
"no_false_green",
"raw_payload_absent",
"runtime_stays_zero",
"counts_transition_safe"
],
"reviewer_outcome": "waiting_post_incident_readback",
"rollback_owner": "pending_post_incident_readback",
"rollback_validation_accepted": false,
"rollback_validation_ref": null,
"route_smoke_authorized": false,
"route_smoke_executed": false,
"route_smoke_readback_accepted": false,
"route_smoke_readback_ref": null,
"runtime_gate": false,
"source_diff_acceptance_id": "public_gateway_rendered_diff_acceptance:host110_ollama_proxy",
"source_live_diff_state_accepted": false,
"source_live_diff_state_ref": null,
"status": "waiting_post_incident_readback",
"tls_acme_readback_accepted": false,
"tls_acme_readback_ref": null,
"upstream_health_accepted": false,
"upstream_health_ref": null,
"websocket_readback_accepted": false,
"websocket_readback_ref": null,
"websocket_route_change_authorized": false,
"write_capable": true
}
],
"required_readback_fields": [
"gateway_incident_or_change_ref",
"actor_attribution_ref",
"change_time_window_ref",
"change_intent_or_break_glass_ref",
"before_route_state_ref",
"after_route_state_ref",
"source_live_diff_state_ref",
"nginx_test_readback_ref",
"nginx_reload_or_no_reload_ref",
"route_smoke_readback_ref",
"tls_acme_readback_ref",
"websocket_readback_ref",
"upstream_health_ref",
"public_admin_api_route_impact_ref",
"ai_provider_impact_ref",
"monitoring_alert_ref",
"operator_notification_ref",
"cross_project_sync_ref",
"rollback_validation_ref",
"post_change_monitoring_ref",
"recovery_or_still_degraded_ref",
"postcheck_readback_ref",
"recurrence_guard_ref",
"maintenance_window",
"rollback_owner",
"followup_owner",
"redacted_evidence_refs",
"no_secret_value_attestation",
"no_raw_live_conf_or_diff_attestation",
"no_false_green_attestation"
],
"reviewer_checks": [
{
"check_id": "source_diff_acceptance_current",
"instruction": "來源 rendered diff acceptance snapshot 必須是目前版本。"
},
{
"check_id": "incident_or_change_ref_present",
"instruction": "必須有 incident、change、ticket 或 maintenance ref不能只寫路由恢復。"
},
{
"check_id": "actor_attribution_present",
"instruction": "必須標示 actor role / team不接受匿名 Nginx reload、shell 操作或未追蹤自動化。"
},
{
"check_id": "change_time_window_present",
"instruction": "必須有變更 / 事故時間窗,供 route、alert 與跨專案回讀對齊。"
},
{
"check_id": "intent_or_break_glass_present",
"instruction": "正常變更需有 change intent緊急變更需有 break-glass reason但 break-glass 不等於事前批准。"
},
{
"check_id": "before_after_route_state_present",
"instruction": "必須有 before / after route state ref不得只看現在 200。"
},
{
"check_id": "source_live_diff_state_present",
"instruction": "必須說明 source-to-live diff 狀態;不得保存 raw live conf 或完整 diff payload。"
},
{
"check_id": "nginx_test_readback_is_owner_provided",
"instruction": "`nginx -t` 只能是 owner-provided readback ref本工具不得執行。"
},
{
"check_id": "reload_or_no_reload_called_out",
"instruction": "需明確標示是否曾 reload若未 reload 也需列原因與風險。"
},
{
"check_id": "route_smoke_readback_present",
"instruction": "route smoke readback 必須列 affected routes、status、TLS、WebSocket、ACME 或不適用原因。"
},
{
"check_id": "tls_acme_readback_present",
"instruction": "TLS / ACME impact 不可被 route 200 取代。"
},
{
"check_id": "websocket_readback_present",
"instruction": "WebSocket / streaming route 需獨立回讀,不得只用首頁 200。"
},
{
"check_id": "upstream_health_present",
"instruction": "upstream health / port / dependency 影響必須列 ref。"
},
{
"check_id": "public_admin_api_route_impact_present",
"instruction": "public、admin、API、callback 或 webhook route 受影響時需列 impact ref。"
},
{
"check_id": "ai_provider_impact_present",
"instruction": "Ollama、AI provider、model route 或 proxy 受影響時需列 impact ref。"
},
{
"check_id": "monitoring_alert_present",
"instruction": "需有 monitoring / alert / incident ref不能只靠人工看頁面。"
},
{
"check_id": "operator_notification_present",
"instruction": "需提供已通知受影響產品、owner 或 Session 的脫敏 ref。"
},
{
"check_id": "cross_project_sync_present",
"instruction": "若影響 AwoooP、IwoooS、agent-bounty、StockPlatform、公開網站或監控需有跨專案同步 ref。"
},
{
"check_id": "rollback_validation_present",
"instruction": "必須提供 rollback validation ref包含 rollback owner 與回滾後驗證方式。"
},
{
"check_id": "post_change_monitoring_present",
"instruction": "必須有 post-change monitoring window觀察 route、error、alert 與 upstream。"
},
{
"check_id": "recovery_or_still_degraded_present",
"instruction": "已恢復需提供恢復時間與證據;未恢復需提供 still-degraded ref。"
},
{
"check_id": "postcheck_independent",
"instruction": "post-check 必須獨立於原操作人與 UI 卡片。"
},
{
"check_id": "recurrence_guard_present",
"instruction": "必須提出防再發 guard、change freeze、owner review 或 automation block。"
},
{
"check_id": "maintenance_window_present",
"instruction": "後續任何 nginx -t、reload、route smoke 或 DNS / TLS 動作都需維護窗口。"
},
{
"check_id": "no_false_green",
"instruction": "不得只用 route 200、Nginx active、dashboard up、CD success 或 UI 可見當成事故已驗收。"
},
{
"check_id": "raw_payload_absent",
"instruction": "不得保存 raw live conf、完整 diff payload、private key、憑證內容、cookie、token 或未脫敏 screenshot。"
},
{
"check_id": "runtime_stays_zero",
"instruction": "readback plan 不得觸發 nginx -t、reload、route smoke、DNS / TLS probe、certbot renew 或 host write。"
},
{
"check_id": "counts_transition_safe",
"instruction": "只有 reviewer record 能更新 accepted count且不得同時開 runtime gate。"
}
],
"schema_version": "public_gateway_post_incident_readback_plan_v1",
"source_paths": [
"docs/security/PUBLIC-GATEWAY-RENDERED-DIFF-ACCEPTANCE.md",
"docs/security/public-gateway-rendered-diff-acceptance.snapshot.json",
"docs/security/PUBLIC-GATEWAY-OWNER-RESPONSE-ACCEPTANCE.md",
"docs/security/public-gateway-owner-response-acceptance.snapshot.json",
"docs/security/PUBLIC-GATEWAY-PREFLIGHT-INVENTORY.md",
"docs/security/public-gateway-preflight-inventory.snapshot.json"
],
"source_schema_version": "public_gateway_rendered_diff_acceptance_v1",
"source_status": "rendered_diff_acceptance_ledger_ready_no_runtime_action",
"status": "post_incident_readback_plan_ready_no_runtime_action",
"summary": {
"acme_challenge_change_authorized_count": 0,
"action_button_count": 0,
"actor_attribution_accepted_count": 0,
"admin_route_change_authorized_count": 0,
"ai_monitoring_cross_project_review_required_candidate_count": 3,
"ai_provider_impact_accepted_count": 0,
"before_after_route_state_accepted_count": 0,
"blocked_action_count": 41,
"c0_readback_candidate_count": 2,
"c1_readback_candidate_count": 1,
"certbot_renew_authorized_count": 0,
"change_time_window_accepted_count": 0,
"coverage_percent_after_readback_plan": 92,
"cross_project_sync_accepted_count": 0,
"dns_tls_probe_authorized_count": 0,
"host_live_conf_read_authorized_count": 0,
"intent_or_break_glass_accepted_count": 0,
"monitoring_alert_accepted_count": 0,
"nginx_reload_authorized_count": 0,
"nginx_reload_executed_count": 0,
"nginx_reload_or_no_reload_accepted_count": 0,
"nginx_test_authorized_count": 0,
"nginx_test_executed_count": 0,
"nginx_test_readback_accepted_count": 0,
"no_false_green_accepted_count": 0,
"no_false_green_required_candidate_count": 3,
"operator_notification_accepted_count": 0,
"outcome_lane_count": 10,
"post_change_monitoring_accepted_count": 0,
"post_incident_readback_accepted_count": 0,
"post_incident_readback_received_count": 0,
"postcheck_readback_accepted_count": 0,
"public_admin_api_route_impact_accepted_count": 0,
"public_gateway_reload_authorized_count": 0,
"public_route_change_authorized_count": 0,
"readback_candidate_count": 3,
"readback_field_count": 36,
"recovery_or_still_degraded_accepted_count": 0,
"recurrence_guard_accepted_count": 0,
"required_readback_field_count": 30,
"reviewer_check_count": 28,
"rollback_validation_accepted_count": 0,
"route_health_review_required_candidate_count": 3,
"route_smoke_authorized_count": 0,
"route_smoke_executed_count": 0,
"route_smoke_readback_accepted_count": 0,
"runtime_gate_count": 0,
"source_blocked_action_count": 22,
"source_c0_diff_acceptance_candidate_count": 2,
"source_c1_diff_acceptance_candidate_count": 1,
"source_diff_acceptance_candidate_count": 3,
"source_live_diff_state_accepted_count": 0,
"source_nginx_test_evidence_accepted_count": 0,
"source_rendered_diff_accepted_count": 0,
"source_required_evidence_field_count": 14,
"source_reviewer_check_count": 15,
"source_route_smoke_result_accepted_count": 0,
"source_runtime_gate_count": 0,
"tls_acme_readback_accepted_count": 0,
"upstream_health_accepted_count": 0,
"upstream_websocket_tls_review_required_candidate_count": 3,
"websocket_readback_accepted_count": 0,
"websocket_route_change_authorized_count": 0,
"write_capable_readback_candidate_count": 3
}
}