{
  "blocked_actions": [
    "modify_workflow",
    "workflow_dispatch_without_approval",
    "enable_runner",
    "change_runner_label",
    "install_runner",
    "restart_runner",
    "use_runner_admin_token",
    "enable_github_hosted_runner",
    "collect_secret_value",
    "collect_secret_hash",
    "collect_partial_token",
    "collect_masked_token",
    "collect_runner_token",
    "collect_webhook_secret",
    "collect_deploy_key_private_material",
    "collect_cookie_or_authorization_header",
    "store_raw_workflow_payload",
    "store_unredacted_action_log",
    "create_repo_secret",
    "update_repo_secret",
    "rotate_secret",
    "delete_secret",
    "read_secret_store",
    "change_secret_injection_path",
    "modify_webhook",
    "change_webhook_secret",
    "modify_deploy_key",
    "rotate_deploy_key",
    "change_branch_protection",
    "change_codeowners",
    "sync_refs",
    "force_push",
    "switch_github_primary",
    "disable_gitea",
    "run_cd_pipeline_as_action",
    "inject_k8s_secret",
    "argocd_sync",
    "production_deploy",
    "accept_cd_success_as_security_acceptance",
    "accept_deploy_marker_as_runtime_approval",
    "accept_workflow_success_as_all_green",
    "accept_runner_online_as_attestation",
    "accept_route_200_as_deploy_acceptance",
    "accept_ui_visible_as_runtime_approval",
    "skip_log_redaction_review",
    "skip_secret_name_parity",
    "skip_runner_attestation",
    "skip_cross_project_sync",
    "skip_rollback_validation",
    "skip_post_change_monitoring",
    "open_runtime_gate",
    "add_action_button"
  ],
  "execution_boundaries": {
    "action_buttons_allowed": false,
    "argocd_sync_authorized": false,
    "branch_protection_change_authorized": false,
    "cd_pipeline_run_authorized": false,
    "codeowners_change_authorized": false,
    "deploy_key_change_authorized": false,
    "deploy_key_private_material_collection_allowed": false,
    "deploy_marker_write_authorized": false,
    "disable_gitea_authorized": false,
    "force_push_authorized": false,
    "gitea_action_dispatch_authorized": false,
    "github_hosted_runner_enable_authorized": false,
    "github_primary_switch_authorized": false,
    "k8s_secret_injection_authorized": false,
    "not_authorization": true,
    "partial_token_collection_allowed": false,
    "production_deploy_authorized": false,
    "refs_sync_authorized": false,
    "repo_secret_change_authorized": false,
    "runner_change_authorized": false,
    "runner_token_collection_allowed": false,
    "runtime_execution_authorized": false,
    "secret_hash_collection_allowed": false,
    "secret_injection_change_authorized": false,
    "secret_rotation_authorized": false,
    "secret_store_read_authorized": false,
    "secret_value_collection_allowed": false,
    "webhook_modification_authorized": false,
    "webhook_secret_collection_allowed": false,
    "workflow_dispatch_authorized": false,
    "workflow_modification_authorized": false
  },
  "generated_at": "2026-06-16T00:30:00+08:00",
  "git_commit": "95be78bd",
  "mode": "metadata_only_no_secret_value_no_workflow_runner_secret_change",
  "operator_interpretation": [
    "此計畫只描述 CD / runner / secret injection 事故後如何回讀，不是 workflow、runner 或 secret 變更批准。",
    "secret 只能以名稱、scope、present-absent、owner 與 redacted evidence ref 呈現，不得保存 value、hash、partial token 或 runner token。",
    "CD success、deploy marker、workflow success、route 200、runner online、AwoooP approval 與 UI 可見狀態都不能被解讀成 runtime gate 已開。",
    "未來若要修改 workflow、runner、secret injection、webhook、deploy key、branch protection、CODEOWNERS、refs 或 production deploy，仍需獨立維護窗口、rollback owner、跨專案同步與 runtime approval package。"
  ],
  "outcome_lanes": [
    {
      "lane_id": "waiting_post_incident_readback",
      "meaning": "尚未收到 CD / runner / secret injection 事故回讀包；所有 accepted / runtime count 維持 0。"
    },
    {
      "lane_id": "request_actor_or_time_supplement",
      "meaning": "缺 actor、change time window、intent 或 break-glass reason 時要求補件。"
    },
    {
      "lane_id": "request_workflow_runner_supplement",
      "meaning": "缺 workflow diff、runner attestation、executor / host、workspace cleanup 或 permission scope 時要求補件。"
    },
    {
      "lane_id": "request_secret_injection_supplement",
      "meaning": "缺 secret name parity、injection route、step-env guard 或 log redaction readback 時要求補件。"
    },
    {
      "lane_id": "request_deploy_run_supplement",
      "meaning": "缺 deploy marker、Gitea run readback、before / after deploy state 或 post-check 時要求補件。"
    },
    {
      "lane_id": "request_webhook_notification_supplement",
      "meaning": "缺 webhook delivery、notification receipt、SRE route owner 或 cross-project sync 時要求補件。"
    },
    {
      "lane_id": "quarantine_sensitive_payload",
      "meaning": "收到 secret value、hash、runner token、webhook secret、private key、cookie、credential URL、未脫敏 log 或截圖時只能隔離。"
    },
    {
      "lane_id": "reject_false_green_claim",
      "meaning": "把 CD success、deploy marker、workflow success、route 200、runner online、UI 可見或 AwoooP approval 當驗收時拒收。"
    },
    {
      "lane_id": "ready_for_cd_runner_secret_post_incident_review",
      "meaning": "metadata 合格後，只能進 reviewer review。"
    },
    {
      "lane_id": "recurrence_guard_backfill_required",
      "meaning": "需補防再發 guard、owner review、change freeze、automation block 或 runner isolation plan。"
    },
    {
      "lane_id": "waiting_runtime_gate",
      "meaning": "即使 readback accepted，runtime gate 仍需獨立人工批准。"
    }
  ],
  "readback_candidates": [
    {
      "action_buttons_allowed": false,
      "actor_attribution_accepted": false,
      "actor_attribution_ref": null,
      "affected_route_or_service_state_accepted": false,
      "affected_route_or_service_state_ref": null,
      "affected_scope": "main push CD、Harbor build / push、K8s secret injection、ArgoCD deploy marker、post-deploy checks",
      "argocd_sync_authorized": false,
      "before_after_deploy_state_accepted": false,
      "before_after_deploy_state_ref": null,
      "blocked_actions": [
        "modify_workflow",
        "workflow_dispatch_without_approval",
        "enable_runner",
        "change_runner_label",
        "install_runner",
        "restart_runner",
        "use_runner_admin_token",
        "enable_github_hosted_runner",
        "collect_secret_value",
        "collect_secret_hash",
        "collect_partial_token",
        "collect_masked_token",
        "collect_runner_token",
        "collect_webhook_secret",
        "collect_deploy_key_private_material",
        "collect_cookie_or_authorization_header",
        "store_raw_workflow_payload",
        "store_unredacted_action_log",
        "create_repo_secret",
        "update_repo_secret",
        "rotate_secret",
        "delete_secret",
        "read_secret_store",
        "change_secret_injection_path",
        "modify_webhook",
        "change_webhook_secret",
        "modify_deploy_key",
        "rotate_deploy_key",
        "change_branch_protection",
        "change_codeowners",
        "sync_refs",
        "force_push",
        "switch_github_primary",
        "disable_gitea",
        "run_cd_pipeline_as_action",
        "inject_k8s_secret",
        "argocd_sync",
        "production_deploy",
        "accept_cd_success_as_security_acceptance",
        "accept_deploy_marker_as_runtime_approval",
        "accept_workflow_success_as_all_green",
        "accept_runner_online_as_attestation",
        "accept_route_200_as_deploy_acceptance",
        "accept_ui_visible_as_runtime_approval",
        "skip_log_redaction_review",
        "skip_secret_name_parity",
        "skip_runner_attestation",
        "skip_cross_project_sync",
        "skip_rollback_validation",
        "skip_post_change_monitoring",
        "open_runtime_gate",
        "add_action_button"
      ],
      "branch_protection_change_authorized": false,
      "cd_pipeline_run_authorized": false,
      "change_intent_or_break_glass_ref": null,
      "change_time_window_ref": null,
      "codeowners_change_authorized": false,
      "control_tier": "C0",
      "cross_project_sync_accepted": false,
      "cross_project_sync_ref": null,
      "deploy_key_branch_protection_codeowners_accepted": false,
      "deploy_key_branch_protection_codeowners_ref": null,
      "deploy_key_change_authorized": false,
      "deploy_key_private_material_collection_allowed": false,
      "deploy_marker_readback_accepted": false,
      "deploy_marker_readback_ref": null,
      "deploy_marker_write_authorized": false,
      "disable_gitea_authorized": false,
      "followup_owner": "pending_post_incident_readback",
      "force_push_authorized": false,
      "gitea_action_dispatch_authorized": false,
      "gitea_action_run_readback_accepted": false,
      "gitea_action_run_readback_ref": null,
      "github_hosted_runner_enable_authorized": false,
      "github_primary_switch_authorized": false,
      "incident_or_change_ref": null,
      "k8s_secret_injection_authorized": false,
      "log_redaction_readback_accepted": false,
      "log_redaction_readback_ref": null,
      "maintenance_window": "pending_post_incident_readback",
      "no_false_green_accepted": false,
      "no_false_green_attestation": false,
      "no_raw_workflow_payload_attestation": false,
      "no_secret_value_attestation": false,
      "no_unredacted_log_attestation": false,
      "not_approval": true,
      "notification_delivery_receipt_accepted": false,
      "notification_delivery_receipt_ref": null,
      "outcome_lanes": [
        "waiting_post_incident_readback",
        "request_actor_or_time_supplement",
        "request_workflow_runner_supplement",
        "request_secret_injection_supplement",
        "request_deploy_run_supplement",
        "request_webhook_notification_supplement",
        "quarantine_sensitive_payload",
        "reject_false_green_claim",
        "ready_for_cd_runner_secret_post_incident_review",
        "recurrence_guard_backfill_required",
        "waiting_runtime_gate"
      ],
      "partial_token_collection_allowed": false,
      "post_change_monitoring_accepted": false,
      "post_change_monitoring_ref": null,
      "post_incident_readback_accepted": false,
      "post_incident_readback_candidate_id": "cd_runner_secret_injection_post_incident_readback:cd_pipeline_deploy_marker_and_k8s_secret_injection",
      "post_incident_readback_received": false,
      "postcheck_evidence_accepted": false,
      "postcheck_evidence_ref": null,
      "production_deploy_authorized": false,
      "readback_fields": [
        "post_incident_readback_candidate_id",
        "source_change_evidence_candidate_id",
        "title",
        "control_tier",
        "risk",
        "source_refs",
        "affected_scope",
        "workflow_secret_name_refs",
        "write_capable",
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "reviewer_outcome",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation",
        "not_approval"
      ],
      "recurrence_guard_accepted": false,
      "recurrence_guard_ref": null,
      "redacted_evidence_refs": [],
      "refs_sync_authorized": false,
      "repo_secret_change_authorized": false,
      "required_readback_fields": [
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation"
      ],
      "requires_runtime_approval_package": true,
      "reviewer_checks": [
        "source_change_evidence_acceptance_current",
        "incident_or_change_ref_present",
        "actor_attribution_present",
        "change_time_window_present",
        "intent_or_break_glass_present",
        "workflow_diff_state_present",
        "runner_attestation_present",
        "runner_executor_host_readback_present",
        "runner_workspace_cleanup_present",
        "runner_permission_scope_present",
        "secret_name_parity_present",
        "secret_injection_route_present",
        "step_env_secret_guard_present",
        "log_redaction_readback_present",
        "deploy_marker_readback_present",
        "gitea_action_run_readback_present",
        "webhook_delivery_state_present",
        "deploy_key_branch_protection_codeowners_present",
        "notification_delivery_receipt_present",
        "before_after_deploy_state_present",
        "affected_route_or_service_state_present",
        "cross_project_sync_present",
        "rollback_validation_present",
        "postcheck_independent",
        "post_change_monitoring_present",
        "recurrence_guard_present",
        "redacted_refs_only",
        "secret_material_absent",
        "no_false_green",
        "runtime_stays_zero"
      ],
      "reviewer_outcome": "waiting_post_incident_readback",
      "risk": "HIGH",
      "rollback_owner": "pending_post_incident_readback",
      "rollback_validation_accepted": false,
      "rollback_validation_ref": null,
      "runner_attestation_accepted": false,
      "runner_attestation_state_ref": null,
      "runner_change_authorized": false,
      "runner_executor_host_readback_accepted": false,
      "runner_executor_host_readback_ref": null,
      "runner_permission_scope_accepted": false,
      "runner_permission_scope_ref": null,
      "runner_token_collection_allowed": false,
      "runner_workspace_cleanup_accepted": false,
      "runner_workspace_cleanup_readback_ref": null,
      "runtime_execution_authorized": false,
      "runtime_gate": false,
      "secret_hash_collection_allowed": false,
      "secret_injection_change_authorized": false,
      "secret_injection_route_accepted": false,
      "secret_injection_route_state_ref": null,
      "secret_name_parity_accepted": false,
      "secret_name_parity_state_ref": null,
      "secret_rotation_authorized": false,
      "secret_store_read_authorized": false,
      "secret_value_collection_allowed": false,
      "source_change_evidence_candidate_id": "cd_runner_secret_injection:cd_pipeline_deploy_marker_and_k8s_secret_injection",
      "source_refs": [
        ".gitea/workflows/cd.yaml",
        "scripts/ci/check-gitea-step-env-secrets.js"
      ],
      "status": "waiting_post_incident_readback",
      "step_env_secret_guard_accepted": false,
      "step_env_secret_guard_result_ref": null,
      "title": "CD pipeline / deploy marker / K8s secret 注入路徑",
      "webhook_delivery_state_accepted": false,
      "webhook_delivery_state_ref": null,
      "webhook_modification_authorized": false,
      "webhook_secret_collection_allowed": false,
      "workflow_diff_state_accepted": false,
      "workflow_diff_state_ref": null,
      "workflow_dispatch_authorized": false,
      "workflow_modification_authorized": false,
      "workflow_secret_name_refs": [
        "ARGOCD_API_TOKEN",
        "AWOOOI_GITEA_API_TOKEN",
        "AWOOOI_GITEA_WEBHOOK_SECRET",
        "AWOOOP_OPERATOR_API_KEY",
        "CD_PUSH_TOKEN",
        "CLAUDE_API_KEY",
        "DATABASE_URL",
        "DEPLOY_SSH_KEY",
        "GEMINI_API_KEY",
        "HARBOR_PASSWORD",
        "HARBOR_USERNAME",
        "JWT_ALGORITHM",
        "JWT_SECRET",
        "LANGFUSE_PUBLIC_KEY",
        "LANGFUSE_SECRET_KEY",
        "MIGRATION_DATABASE_URL",
        "NEMOTRON_BOT_TOKEN",
        "NVIDIA_API_KEY",
        "OPENCLAW_BOT_TOKEN",
        "OPENCLAW_TG_USER_WHITELIST",
        "REDIS_URL",
        "SENTRY_AUTH_TOKEN",
        "SENTRY_DSN",
        "SMTP_HOST",
        "SRE_GROUP_CHAT_ID",
        "TELEGRAM_BOT_TOKEN",
        "WEBHOOK_HMAC_SECRET"
      ],
      "write_capable": true
    },
    {
      "action_buttons_allowed": false,
      "actor_attribution_accepted": false,
      "actor_attribution_ref": null,
      "affected_route_or_service_state_accepted": false,
      "affected_route_or_service_state_ref": null,
      "affected_scope": "Code Review、Telegram / AWOOI API notification、deterministic review report、Gitea Actions status",
      "argocd_sync_authorized": false,
      "before_after_deploy_state_accepted": false,
      "before_after_deploy_state_ref": null,
      "blocked_actions": [
        "modify_workflow",
        "workflow_dispatch_without_approval",
        "enable_runner",
        "change_runner_label",
        "install_runner",
        "restart_runner",
        "use_runner_admin_token",
        "enable_github_hosted_runner",
        "collect_secret_value",
        "collect_secret_hash",
        "collect_partial_token",
        "collect_masked_token",
        "collect_runner_token",
        "collect_webhook_secret",
        "collect_deploy_key_private_material",
        "collect_cookie_or_authorization_header",
        "store_raw_workflow_payload",
        "store_unredacted_action_log",
        "create_repo_secret",
        "update_repo_secret",
        "rotate_secret",
        "delete_secret",
        "read_secret_store",
        "change_secret_injection_path",
        "modify_webhook",
        "change_webhook_secret",
        "modify_deploy_key",
        "rotate_deploy_key",
        "change_branch_protection",
        "change_codeowners",
        "sync_refs",
        "force_push",
        "switch_github_primary",
        "disable_gitea",
        "run_cd_pipeline_as_action",
        "inject_k8s_secret",
        "argocd_sync",
        "production_deploy",
        "accept_cd_success_as_security_acceptance",
        "accept_deploy_marker_as_runtime_approval",
        "accept_workflow_success_as_all_green",
        "accept_runner_online_as_attestation",
        "accept_route_200_as_deploy_acceptance",
        "accept_ui_visible_as_runtime_approval",
        "skip_log_redaction_review",
        "skip_secret_name_parity",
        "skip_runner_attestation",
        "skip_cross_project_sync",
        "skip_rollback_validation",
        "skip_post_change_monitoring",
        "open_runtime_gate",
        "add_action_button"
      ],
      "branch_protection_change_authorized": false,
      "cd_pipeline_run_authorized": false,
      "change_intent_or_break_glass_ref": null,
      "change_time_window_ref": null,
      "codeowners_change_authorized": false,
      "control_tier": "C0",
      "cross_project_sync_accepted": false,
      "cross_project_sync_ref": null,
      "deploy_key_branch_protection_codeowners_accepted": false,
      "deploy_key_branch_protection_codeowners_ref": null,
      "deploy_key_change_authorized": false,
      "deploy_key_private_material_collection_allowed": false,
      "deploy_marker_readback_accepted": false,
      "deploy_marker_readback_ref": null,
      "deploy_marker_write_authorized": false,
      "disable_gitea_authorized": false,
      "followup_owner": "pending_post_incident_readback",
      "force_push_authorized": false,
      "gitea_action_dispatch_authorized": false,
      "gitea_action_run_readback_accepted": false,
      "gitea_action_run_readback_ref": null,
      "github_hosted_runner_enable_authorized": false,
      "github_primary_switch_authorized": false,
      "incident_or_change_ref": null,
      "k8s_secret_injection_authorized": false,
      "log_redaction_readback_accepted": false,
      "log_redaction_readback_ref": null,
      "maintenance_window": "pending_post_incident_readback",
      "no_false_green_accepted": false,
      "no_false_green_attestation": false,
      "no_raw_workflow_payload_attestation": false,
      "no_secret_value_attestation": false,
      "no_unredacted_log_attestation": false,
      "not_approval": true,
      "notification_delivery_receipt_accepted": false,
      "notification_delivery_receipt_ref": null,
      "outcome_lanes": [
        "waiting_post_incident_readback",
        "request_actor_or_time_supplement",
        "request_workflow_runner_supplement",
        "request_secret_injection_supplement",
        "request_deploy_run_supplement",
        "request_webhook_notification_supplement",
        "quarantine_sensitive_payload",
        "reject_false_green_claim",
        "ready_for_cd_runner_secret_post_incident_review",
        "recurrence_guard_backfill_required",
        "waiting_runtime_gate"
      ],
      "partial_token_collection_allowed": false,
      "post_change_monitoring_accepted": false,
      "post_change_monitoring_ref": null,
      "post_incident_readback_accepted": false,
      "post_incident_readback_candidate_id": "cd_runner_secret_injection_post_incident_readback:code_review_pipeline_secret_and_notification_surface",
      "post_incident_readback_received": false,
      "postcheck_evidence_accepted": false,
      "postcheck_evidence_ref": null,
      "production_deploy_authorized": false,
      "readback_fields": [
        "post_incident_readback_candidate_id",
        "source_change_evidence_candidate_id",
        "title",
        "control_tier",
        "risk",
        "source_refs",
        "affected_scope",
        "workflow_secret_name_refs",
        "write_capable",
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "reviewer_outcome",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation",
        "not_approval"
      ],
      "recurrence_guard_accepted": false,
      "recurrence_guard_ref": null,
      "redacted_evidence_refs": [],
      "refs_sync_authorized": false,
      "repo_secret_change_authorized": false,
      "required_readback_fields": [
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation"
      ],
      "requires_runtime_approval_package": true,
      "reviewer_checks": [
        "source_change_evidence_acceptance_current",
        "incident_or_change_ref_present",
        "actor_attribution_present",
        "change_time_window_present",
        "intent_or_break_glass_present",
        "workflow_diff_state_present",
        "runner_attestation_present",
        "runner_executor_host_readback_present",
        "runner_workspace_cleanup_present",
        "runner_permission_scope_present",
        "secret_name_parity_present",
        "secret_injection_route_present",
        "step_env_secret_guard_present",
        "log_redaction_readback_present",
        "deploy_marker_readback_present",
        "gitea_action_run_readback_present",
        "webhook_delivery_state_present",
        "deploy_key_branch_protection_codeowners_present",
        "notification_delivery_receipt_present",
        "before_after_deploy_state_present",
        "affected_route_or_service_state_present",
        "cross_project_sync_present",
        "rollback_validation_present",
        "postcheck_independent",
        "post_change_monitoring_present",
        "recurrence_guard_present",
        "redacted_refs_only",
        "secret_material_absent",
        "no_false_green",
        "runtime_stays_zero"
      ],
      "reviewer_outcome": "waiting_post_incident_readback",
      "risk": "HIGH",
      "rollback_owner": "pending_post_incident_readback",
      "rollback_validation_accepted": false,
      "rollback_validation_ref": null,
      "runner_attestation_accepted": false,
      "runner_attestation_state_ref": null,
      "runner_change_authorized": false,
      "runner_executor_host_readback_accepted": false,
      "runner_executor_host_readback_ref": null,
      "runner_permission_scope_accepted": false,
      "runner_permission_scope_ref": null,
      "runner_token_collection_allowed": false,
      "runner_workspace_cleanup_accepted": false,
      "runner_workspace_cleanup_readback_ref": null,
      "runtime_execution_authorized": false,
      "runtime_gate": false,
      "secret_hash_collection_allowed": false,
      "secret_injection_change_authorized": false,
      "secret_injection_route_accepted": false,
      "secret_injection_route_state_ref": null,
      "secret_name_parity_accepted": false,
      "secret_name_parity_state_ref": null,
      "secret_rotation_authorized": false,
      "secret_store_read_authorized": false,
      "secret_value_collection_allowed": false,
      "source_change_evidence_candidate_id": "cd_runner_secret_injection:code_review_pipeline_secret_and_notification_surface",
      "source_refs": [
        ".gitea/workflows/code-review.yaml",
        "scripts/ci/check-gitea-step-env-secrets.js"
      ],
      "status": "waiting_post_incident_readback",
      "step_env_secret_guard_accepted": false,
      "step_env_secret_guard_result_ref": null,
      "title": "Code Review workflow / notification / secret 使用面",
      "webhook_delivery_state_accepted": false,
      "webhook_delivery_state_ref": null,
      "webhook_modification_authorized": false,
      "webhook_secret_collection_allowed": false,
      "workflow_diff_state_accepted": false,
      "workflow_diff_state_ref": null,
      "workflow_dispatch_authorized": false,
      "workflow_modification_authorized": false,
      "workflow_secret_name_refs": [
        "TELEGRAM_BOT_TOKEN"
      ],
      "write_capable": true
    },
    {
      "action_buttons_allowed": false,
      "actor_attribution_accepted": false,
      "actor_attribution_ref": null,
      "affected_route_or_service_state_accepted": false,
      "affected_route_or_service_state_ref": null,
      "affected_scope": "Prometheus / Alertmanager rule deploy、notification route、SRE receipt evidence",
      "argocd_sync_authorized": false,
      "before_after_deploy_state_accepted": false,
      "before_after_deploy_state_ref": null,
      "blocked_actions": [
        "modify_workflow",
        "workflow_dispatch_without_approval",
        "enable_runner",
        "change_runner_label",
        "install_runner",
        "restart_runner",
        "use_runner_admin_token",
        "enable_github_hosted_runner",
        "collect_secret_value",
        "collect_secret_hash",
        "collect_partial_token",
        "collect_masked_token",
        "collect_runner_token",
        "collect_webhook_secret",
        "collect_deploy_key_private_material",
        "collect_cookie_or_authorization_header",
        "store_raw_workflow_payload",
        "store_unredacted_action_log",
        "create_repo_secret",
        "update_repo_secret",
        "rotate_secret",
        "delete_secret",
        "read_secret_store",
        "change_secret_injection_path",
        "modify_webhook",
        "change_webhook_secret",
        "modify_deploy_key",
        "rotate_deploy_key",
        "change_branch_protection",
        "change_codeowners",
        "sync_refs",
        "force_push",
        "switch_github_primary",
        "disable_gitea",
        "run_cd_pipeline_as_action",
        "inject_k8s_secret",
        "argocd_sync",
        "production_deploy",
        "accept_cd_success_as_security_acceptance",
        "accept_deploy_marker_as_runtime_approval",
        "accept_workflow_success_as_all_green",
        "accept_runner_online_as_attestation",
        "accept_route_200_as_deploy_acceptance",
        "accept_ui_visible_as_runtime_approval",
        "skip_log_redaction_review",
        "skip_secret_name_parity",
        "skip_runner_attestation",
        "skip_cross_project_sync",
        "skip_rollback_validation",
        "skip_post_change_monitoring",
        "open_runtime_gate",
        "add_action_button"
      ],
      "branch_protection_change_authorized": false,
      "cd_pipeline_run_authorized": false,
      "change_intent_or_break_glass_ref": null,
      "change_time_window_ref": null,
      "codeowners_change_authorized": false,
      "control_tier": "C1",
      "cross_project_sync_accepted": false,
      "cross_project_sync_ref": null,
      "deploy_key_branch_protection_codeowners_accepted": false,
      "deploy_key_branch_protection_codeowners_ref": null,
      "deploy_key_change_authorized": false,
      "deploy_key_private_material_collection_allowed": false,
      "deploy_marker_readback_accepted": false,
      "deploy_marker_readback_ref": null,
      "deploy_marker_write_authorized": false,
      "disable_gitea_authorized": false,
      "followup_owner": "pending_post_incident_readback",
      "force_push_authorized": false,
      "gitea_action_dispatch_authorized": false,
      "gitea_action_run_readback_accepted": false,
      "gitea_action_run_readback_ref": null,
      "github_hosted_runner_enable_authorized": false,
      "github_primary_switch_authorized": false,
      "incident_or_change_ref": null,
      "k8s_secret_injection_authorized": false,
      "log_redaction_readback_accepted": false,
      "log_redaction_readback_ref": null,
      "maintenance_window": "pending_post_incident_readback",
      "no_false_green_accepted": false,
      "no_false_green_attestation": false,
      "no_raw_workflow_payload_attestation": false,
      "no_secret_value_attestation": false,
      "no_unredacted_log_attestation": false,
      "not_approval": true,
      "notification_delivery_receipt_accepted": false,
      "notification_delivery_receipt_ref": null,
      "outcome_lanes": [
        "waiting_post_incident_readback",
        "request_actor_or_time_supplement",
        "request_workflow_runner_supplement",
        "request_secret_injection_supplement",
        "request_deploy_run_supplement",
        "request_webhook_notification_supplement",
        "quarantine_sensitive_payload",
        "reject_false_green_claim",
        "ready_for_cd_runner_secret_post_incident_review",
        "recurrence_guard_backfill_required",
        "waiting_runtime_gate"
      ],
      "partial_token_collection_allowed": false,
      "post_change_monitoring_accepted": false,
      "post_change_monitoring_ref": null,
      "post_incident_readback_accepted": false,
      "post_incident_readback_candidate_id": "cd_runner_secret_injection_post_incident_readback:deploy_alerts_and_monitoring_route",
      "post_incident_readback_received": false,
      "postcheck_evidence_accepted": false,
      "postcheck_evidence_ref": null,
      "production_deploy_authorized": false,
      "readback_fields": [
        "post_incident_readback_candidate_id",
        "source_change_evidence_candidate_id",
        "title",
        "control_tier",
        "risk",
        "source_refs",
        "affected_scope",
        "workflow_secret_name_refs",
        "write_capable",
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "reviewer_outcome",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation",
        "not_approval"
      ],
      "recurrence_guard_accepted": false,
      "recurrence_guard_ref": null,
      "redacted_evidence_refs": [],
      "refs_sync_authorized": false,
      "repo_secret_change_authorized": false,
      "required_readback_fields": [
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation"
      ],
      "requires_runtime_approval_package": true,
      "reviewer_checks": [
        "source_change_evidence_acceptance_current",
        "incident_or_change_ref_present",
        "actor_attribution_present",
        "change_time_window_present",
        "intent_or_break_glass_present",
        "workflow_diff_state_present",
        "runner_attestation_present",
        "runner_executor_host_readback_present",
        "runner_workspace_cleanup_present",
        "runner_permission_scope_present",
        "secret_name_parity_present",
        "secret_injection_route_present",
        "step_env_secret_guard_present",
        "log_redaction_readback_present",
        "deploy_marker_readback_present",
        "gitea_action_run_readback_present",
        "webhook_delivery_state_present",
        "deploy_key_branch_protection_codeowners_present",
        "notification_delivery_receipt_present",
        "before_after_deploy_state_present",
        "affected_route_or_service_state_present",
        "cross_project_sync_present",
        "rollback_validation_present",
        "postcheck_independent",
        "post_change_monitoring_present",
        "recurrence_guard_present",
        "redacted_refs_only",
        "secret_material_absent",
        "no_false_green",
        "runtime_stays_zero"
      ],
      "reviewer_outcome": "waiting_post_incident_readback",
      "risk": "MEDIUM",
      "rollback_owner": "pending_post_incident_readback",
      "rollback_validation_accepted": false,
      "rollback_validation_ref": null,
      "runner_attestation_accepted": false,
      "runner_attestation_state_ref": null,
      "runner_change_authorized": false,
      "runner_executor_host_readback_accepted": false,
      "runner_executor_host_readback_ref": null,
      "runner_permission_scope_accepted": false,
      "runner_permission_scope_ref": null,
      "runner_token_collection_allowed": false,
      "runner_workspace_cleanup_accepted": false,
      "runner_workspace_cleanup_readback_ref": null,
      "runtime_execution_authorized": false,
      "runtime_gate": false,
      "secret_hash_collection_allowed": false,
      "secret_injection_change_authorized": false,
      "secret_injection_route_accepted": false,
      "secret_injection_route_state_ref": null,
      "secret_name_parity_accepted": false,
      "secret_name_parity_state_ref": null,
      "secret_rotation_authorized": false,
      "secret_store_read_authorized": false,
      "secret_value_collection_allowed": false,
      "source_change_evidence_candidate_id": "cd_runner_secret_injection:deploy_alerts_and_monitoring_route",
      "source_refs": [
        ".gitea/workflows/deploy-alerts.yaml",
        "scripts/ops/deploy-alerts.sh"
      ],
      "status": "waiting_post_incident_readback",
      "step_env_secret_guard_accepted": false,
      "step_env_secret_guard_result_ref": null,
      "title": "Deploy alerts workflow / monitoring notification route",
      "webhook_delivery_state_accepted": false,
      "webhook_delivery_state_ref": null,
      "webhook_modification_authorized": false,
      "webhook_secret_collection_allowed": false,
      "workflow_diff_state_accepted": false,
      "workflow_diff_state_ref": null,
      "workflow_dispatch_authorized": false,
      "workflow_modification_authorized": false,
      "workflow_secret_name_refs": [
        "DEPLOY_SSH_KEY",
        "TELEGRAM_BOT_TOKEN"
      ],
      "write_capable": true
    },
    {
      "action_buttons_allowed": false,
      "actor_attribution_accepted": false,
      "actor_attribution_ref": null,
      "affected_route_or_service_state_accepted": false,
      "affected_route_or_service_state_ref": null,
      "affected_scope": "awoooi-host、self-hosted、ubuntu-latest、harbor、k8s runner labels 與 executor owner",
      "argocd_sync_authorized": false,
      "before_after_deploy_state_accepted": false,
      "before_after_deploy_state_ref": null,
      "blocked_actions": [
        "modify_workflow",
        "workflow_dispatch_without_approval",
        "enable_runner",
        "change_runner_label",
        "install_runner",
        "restart_runner",
        "use_runner_admin_token",
        "enable_github_hosted_runner",
        "collect_secret_value",
        "collect_secret_hash",
        "collect_partial_token",
        "collect_masked_token",
        "collect_runner_token",
        "collect_webhook_secret",
        "collect_deploy_key_private_material",
        "collect_cookie_or_authorization_header",
        "store_raw_workflow_payload",
        "store_unredacted_action_log",
        "create_repo_secret",
        "update_repo_secret",
        "rotate_secret",
        "delete_secret",
        "read_secret_store",
        "change_secret_injection_path",
        "modify_webhook",
        "change_webhook_secret",
        "modify_deploy_key",
        "rotate_deploy_key",
        "change_branch_protection",
        "change_codeowners",
        "sync_refs",
        "force_push",
        "switch_github_primary",
        "disable_gitea",
        "run_cd_pipeline_as_action",
        "inject_k8s_secret",
        "argocd_sync",
        "production_deploy",
        "accept_cd_success_as_security_acceptance",
        "accept_deploy_marker_as_runtime_approval",
        "accept_workflow_success_as_all_green",
        "accept_runner_online_as_attestation",
        "accept_route_200_as_deploy_acceptance",
        "accept_ui_visible_as_runtime_approval",
        "skip_log_redaction_review",
        "skip_secret_name_parity",
        "skip_runner_attestation",
        "skip_cross_project_sync",
        "skip_rollback_validation",
        "skip_post_change_monitoring",
        "open_runtime_gate",
        "add_action_button"
      ],
      "branch_protection_change_authorized": false,
      "cd_pipeline_run_authorized": false,
      "change_intent_or_break_glass_ref": null,
      "change_time_window_ref": null,
      "codeowners_change_authorized": false,
      "control_tier": "C0",
      "cross_project_sync_accepted": false,
      "cross_project_sync_ref": null,
      "deploy_key_branch_protection_codeowners_accepted": false,
      "deploy_key_branch_protection_codeowners_ref": null,
      "deploy_key_change_authorized": false,
      "deploy_key_private_material_collection_allowed": false,
      "deploy_marker_readback_accepted": false,
      "deploy_marker_readback_ref": null,
      "deploy_marker_write_authorized": false,
      "disable_gitea_authorized": false,
      "followup_owner": "pending_post_incident_readback",
      "force_push_authorized": false,
      "gitea_action_dispatch_authorized": false,
      "gitea_action_run_readback_accepted": false,
      "gitea_action_run_readback_ref": null,
      "github_hosted_runner_enable_authorized": false,
      "github_primary_switch_authorized": false,
      "incident_or_change_ref": null,
      "k8s_secret_injection_authorized": false,
      "log_redaction_readback_accepted": false,
      "log_redaction_readback_ref": null,
      "maintenance_window": "pending_post_incident_readback",
      "no_false_green_accepted": false,
      "no_false_green_attestation": false,
      "no_raw_workflow_payload_attestation": false,
      "no_secret_value_attestation": false,
      "no_unredacted_log_attestation": false,
      "not_approval": true,
      "notification_delivery_receipt_accepted": false,
      "notification_delivery_receipt_ref": null,
      "outcome_lanes": [
        "waiting_post_incident_readback",
        "request_actor_or_time_supplement",
        "request_workflow_runner_supplement",
        "request_secret_injection_supplement",
        "request_deploy_run_supplement",
        "request_webhook_notification_supplement",
        "quarantine_sensitive_payload",
        "reject_false_green_claim",
        "ready_for_cd_runner_secret_post_incident_review",
        "recurrence_guard_backfill_required",
        "waiting_runtime_gate"
      ],
      "partial_token_collection_allowed": false,
      "post_change_monitoring_accepted": false,
      "post_change_monitoring_ref": null,
      "post_incident_readback_accepted": false,
      "post_incident_readback_candidate_id": "cd_runner_secret_injection_post_incident_readback:runner_label_and_executor_attestation",
      "post_incident_readback_received": false,
      "postcheck_evidence_accepted": false,
      "postcheck_evidence_ref": null,
      "production_deploy_authorized": false,
      "readback_fields": [
        "post_incident_readback_candidate_id",
        "source_change_evidence_candidate_id",
        "title",
        "control_tier",
        "risk",
        "source_refs",
        "affected_scope",
        "workflow_secret_name_refs",
        "write_capable",
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "reviewer_outcome",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation",
        "not_approval"
      ],
      "recurrence_guard_accepted": false,
      "recurrence_guard_ref": null,
      "redacted_evidence_refs": [],
      "refs_sync_authorized": false,
      "repo_secret_change_authorized": false,
      "required_readback_fields": [
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation"
      ],
      "requires_runtime_approval_package": true,
      "reviewer_checks": [
        "source_change_evidence_acceptance_current",
        "incident_or_change_ref_present",
        "actor_attribution_present",
        "change_time_window_present",
        "intent_or_break_glass_present",
        "workflow_diff_state_present",
        "runner_attestation_present",
        "runner_executor_host_readback_present",
        "runner_workspace_cleanup_present",
        "runner_permission_scope_present",
        "secret_name_parity_present",
        "secret_injection_route_present",
        "step_env_secret_guard_present",
        "log_redaction_readback_present",
        "deploy_marker_readback_present",
        "gitea_action_run_readback_present",
        "webhook_delivery_state_present",
        "deploy_key_branch_protection_codeowners_present",
        "notification_delivery_receipt_present",
        "before_after_deploy_state_present",
        "affected_route_or_service_state_present",
        "cross_project_sync_present",
        "rollback_validation_present",
        "postcheck_independent",
        "post_change_monitoring_present",
        "recurrence_guard_present",
        "redacted_refs_only",
        "secret_material_absent",
        "no_false_green",
        "runtime_stays_zero"
      ],
      "reviewer_outcome": "waiting_post_incident_readback",
      "risk": "HIGH",
      "rollback_owner": "pending_post_incident_readback",
      "rollback_validation_accepted": false,
      "rollback_validation_ref": null,
      "runner_attestation_accepted": false,
      "runner_attestation_state_ref": null,
      "runner_change_authorized": false,
      "runner_executor_host_readback_accepted": false,
      "runner_executor_host_readback_ref": null,
      "runner_permission_scope_accepted": false,
      "runner_permission_scope_ref": null,
      "runner_token_collection_allowed": false,
      "runner_workspace_cleanup_accepted": false,
      "runner_workspace_cleanup_readback_ref": null,
      "runtime_execution_authorized": false,
      "runtime_gate": false,
      "secret_hash_collection_allowed": false,
      "secret_injection_change_authorized": false,
      "secret_injection_route_accepted": false,
      "secret_injection_route_state_ref": null,
      "secret_name_parity_accepted": false,
      "secret_name_parity_state_ref": null,
      "secret_rotation_authorized": false,
      "secret_store_read_authorized": false,
      "secret_value_collection_allowed": false,
      "source_change_evidence_candidate_id": "cd_runner_secret_injection:runner_label_and_executor_attestation",
      "source_refs": [
        "docs/security/source-control-workflow-secret-name-local-evidence.snapshot.json"
      ],
      "status": "waiting_post_incident_readback",
      "step_env_secret_guard_accepted": false,
      "step_env_secret_guard_result_ref": null,
      "title": "Runner label / executor / hosted minutes owner attestation",
      "webhook_delivery_state_accepted": false,
      "webhook_delivery_state_ref": null,
      "webhook_modification_authorized": false,
      "webhook_secret_collection_allowed": false,
      "workflow_diff_state_accepted": false,
      "workflow_diff_state_ref": null,
      "workflow_dispatch_authorized": false,
      "workflow_modification_authorized": false,
      "workflow_secret_name_refs": [],
      "write_capable": true
    },
    {
      "action_buttons_allowed": false,
      "actor_attribution_accepted": false,
      "actor_attribution_ref": null,
      "affected_route_or_service_state_accepted": false,
      "affected_route_or_service_state_ref": null,
      "affected_scope": "9 個 in-scope repos 的 secret name parity、rotation owner、CD / K8s injection owner",
      "argocd_sync_authorized": false,
      "before_after_deploy_state_accepted": false,
      "before_after_deploy_state_ref": null,
      "blocked_actions": [
        "modify_workflow",
        "workflow_dispatch_without_approval",
        "enable_runner",
        "change_runner_label",
        "install_runner",
        "restart_runner",
        "use_runner_admin_token",
        "enable_github_hosted_runner",
        "collect_secret_value",
        "collect_secret_hash",
        "collect_partial_token",
        "collect_masked_token",
        "collect_runner_token",
        "collect_webhook_secret",
        "collect_deploy_key_private_material",
        "collect_cookie_or_authorization_header",
        "store_raw_workflow_payload",
        "store_unredacted_action_log",
        "create_repo_secret",
        "update_repo_secret",
        "rotate_secret",
        "delete_secret",
        "read_secret_store",
        "change_secret_injection_path",
        "modify_webhook",
        "change_webhook_secret",
        "modify_deploy_key",
        "rotate_deploy_key",
        "change_branch_protection",
        "change_codeowners",
        "sync_refs",
        "force_push",
        "switch_github_primary",
        "disable_gitea",
        "run_cd_pipeline_as_action",
        "inject_k8s_secret",
        "argocd_sync",
        "production_deploy",
        "accept_cd_success_as_security_acceptance",
        "accept_deploy_marker_as_runtime_approval",
        "accept_workflow_success_as_all_green",
        "accept_runner_online_as_attestation",
        "accept_route_200_as_deploy_acceptance",
        "accept_ui_visible_as_runtime_approval",
        "skip_log_redaction_review",
        "skip_secret_name_parity",
        "skip_runner_attestation",
        "skip_cross_project_sync",
        "skip_rollback_validation",
        "skip_post_change_monitoring",
        "open_runtime_gate",
        "add_action_button"
      ],
      "branch_protection_change_authorized": false,
      "cd_pipeline_run_authorized": false,
      "change_intent_or_break_glass_ref": null,
      "change_time_window_ref": null,
      "codeowners_change_authorized": false,
      "control_tier": "C0",
      "cross_project_sync_accepted": false,
      "cross_project_sync_ref": null,
      "deploy_key_branch_protection_codeowners_accepted": false,
      "deploy_key_branch_protection_codeowners_ref": null,
      "deploy_key_change_authorized": false,
      "deploy_key_private_material_collection_allowed": false,
      "deploy_marker_readback_accepted": false,
      "deploy_marker_readback_ref": null,
      "deploy_marker_write_authorized": false,
      "disable_gitea_authorized": false,
      "followup_owner": "pending_post_incident_readback",
      "force_push_authorized": false,
      "gitea_action_dispatch_authorized": false,
      "gitea_action_run_readback_accepted": false,
      "gitea_action_run_readback_ref": null,
      "github_hosted_runner_enable_authorized": false,
      "github_primary_switch_authorized": false,
      "incident_or_change_ref": null,
      "k8s_secret_injection_authorized": false,
      "log_redaction_readback_accepted": false,
      "log_redaction_readback_ref": null,
      "maintenance_window": "pending_post_incident_readback",
      "no_false_green_accepted": false,
      "no_false_green_attestation": false,
      "no_raw_workflow_payload_attestation": false,
      "no_secret_value_attestation": false,
      "no_unredacted_log_attestation": false,
      "not_approval": true,
      "notification_delivery_receipt_accepted": false,
      "notification_delivery_receipt_ref": null,
      "outcome_lanes": [
        "waiting_post_incident_readback",
        "request_actor_or_time_supplement",
        "request_workflow_runner_supplement",
        "request_secret_injection_supplement",
        "request_deploy_run_supplement",
        "request_webhook_notification_supplement",
        "quarantine_sensitive_payload",
        "reject_false_green_claim",
        "ready_for_cd_runner_secret_post_incident_review",
        "recurrence_guard_backfill_required",
        "waiting_runtime_gate"
      ],
      "partial_token_collection_allowed": false,
      "post_change_monitoring_accepted": false,
      "post_change_monitoring_ref": null,
      "post_incident_readback_accepted": false,
      "post_incident_readback_candidate_id": "cd_runner_secret_injection_post_incident_readback:repository_secret_name_parity_and_injection_owner",
      "post_incident_readback_received": false,
      "postcheck_evidence_accepted": false,
      "postcheck_evidence_ref": null,
      "production_deploy_authorized": false,
      "readback_fields": [
        "post_incident_readback_candidate_id",
        "source_change_evidence_candidate_id",
        "title",
        "control_tier",
        "risk",
        "source_refs",
        "affected_scope",
        "workflow_secret_name_refs",
        "write_capable",
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "reviewer_outcome",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation",
        "not_approval"
      ],
      "recurrence_guard_accepted": false,
      "recurrence_guard_ref": null,
      "redacted_evidence_refs": [],
      "refs_sync_authorized": false,
      "repo_secret_change_authorized": false,
      "required_readback_fields": [
        "incident_or_change_ref",
        "actor_attribution_ref",
        "change_time_window_ref",
        "change_intent_or_break_glass_ref",
        "workflow_diff_state_ref",
        "runner_attestation_state_ref",
        "runner_executor_host_readback_ref",
        "runner_workspace_cleanup_readback_ref",
        "runner_permission_scope_ref",
        "secret_name_parity_state_ref",
        "secret_injection_route_state_ref",
        "step_env_secret_guard_result_ref",
        "log_redaction_readback_ref",
        "deploy_marker_readback_ref",
        "gitea_action_run_readback_ref",
        "webhook_delivery_state_ref",
        "deploy_key_branch_protection_codeowners_ref",
        "notification_delivery_receipt_ref",
        "before_after_deploy_state_ref",
        "affected_route_or_service_state_ref",
        "cross_project_sync_ref",
        "rollback_validation_ref",
        "postcheck_evidence_ref",
        "post_change_monitoring_ref",
        "recurrence_guard_ref",
        "maintenance_window",
        "rollback_owner",
        "followup_owner",
        "redacted_evidence_refs",
        "no_secret_value_attestation",
        "no_raw_workflow_payload_attestation",
        "no_unredacted_log_attestation",
        "no_false_green_attestation"
      ],
      "requires_runtime_approval_package": true,
      "reviewer_checks": [
        "source_change_evidence_acceptance_current",
        "incident_or_change_ref_present",
        "actor_attribution_present",
        "change_time_window_present",
        "intent_or_break_glass_present",
        "workflow_diff_state_present",
        "runner_attestation_present",
        "runner_executor_host_readback_present",
        "runner_workspace_cleanup_present",
        "runner_permission_scope_present",
        "secret_name_parity_present",
        "secret_injection_route_present",
        "step_env_secret_guard_present",
        "log_redaction_readback_present",
        "deploy_marker_readback_present",
        "gitea_action_run_readback_present",
        "webhook_delivery_state_present",
        "deploy_key_branch_protection_codeowners_present",
        "notification_delivery_receipt_present",
        "before_after_deploy_state_present",
        "affected_route_or_service_state_present",
        "cross_project_sync_present",
        "rollback_validation_present",
        "postcheck_independent",
        "post_change_monitoring_present",
        "recurrence_guard_present",
        "redacted_refs_only",
        "secret_material_absent",
        "no_false_green",
        "runtime_stays_zero"
      ],
      "reviewer_outcome": "waiting_post_incident_readback",
      "risk": "HIGH",
      "rollback_owner": "pending_post_incident_readback",
      "rollback_validation_accepted": false,
      "rollback_validation_ref": null,
      "runner_attestation_accepted": false,
      "runner_attestation_state_ref": null,
      "runner_change_authorized": false,
      "runner_executor_host_readback_accepted": false,
      "runner_executor_host_readback_ref": null,
      "runner_permission_scope_accepted": false,
      "runner_permission_scope_ref": null,
      "runner_token_collection_allowed": false,
      "runner_workspace_cleanup_accepted": false,
      "runner_workspace_cleanup_readback_ref": null,
      "runtime_execution_authorized": false,
      "runtime_gate": false,
      "secret_hash_collection_allowed": false,
      "secret_injection_change_authorized": false,
      "secret_injection_route_accepted": false,
      "secret_injection_route_state_ref": null,
      "secret_name_parity_accepted": false,
      "secret_name_parity_state_ref": null,
      "secret_rotation_authorized": false,
      "secret_store_read_authorized": false,
      "secret_value_collection_allowed": false,
      "source_change_evidence_candidate_id": "cd_runner_secret_injection:repository_secret_name_parity_and_injection_owner",
      "source_refs": [
        "docs/security/source-control-workflow-secret-name-export-request.snapshot.json",
        "docs/security/source-control-workflow-secret-name-owner-response.snapshot.json"
      ],
      "status": "waiting_post_incident_readback",
      "step_env_secret_guard_accepted": false,
      "step_env_secret_guard_result_ref": null,
      "title": "Repository secret name parity / injection owner",
      "webhook_delivery_state_accepted": false,
      "webhook_delivery_state_ref": null,
      "webhook_modification_authorized": false,
      "webhook_secret_collection_allowed": false,
      "workflow_diff_state_accepted": false,
      "workflow_diff_state_ref": null,
      "workflow_dispatch_authorized": false,
      "workflow_modification_authorized": false,
      "workflow_secret_name_refs": [],
      "write_capable": true
    }
  ],
  "readback_fields": [
    "post_incident_readback_candidate_id",
    "source_change_evidence_candidate_id",
    "title",
    "control_tier",
    "risk",
    "source_refs",
    "affected_scope",
    "workflow_secret_name_refs",
    "write_capable",
    "incident_or_change_ref",
    "actor_attribution_ref",
    "change_time_window_ref",
    "change_intent_or_break_glass_ref",
    "workflow_diff_state_ref",
    "runner_attestation_state_ref",
    "runner_executor_host_readback_ref",
    "runner_workspace_cleanup_readback_ref",
    "runner_permission_scope_ref",
    "secret_name_parity_state_ref",
    "secret_injection_route_state_ref",
    "step_env_secret_guard_result_ref",
    "log_redaction_readback_ref",
    "deploy_marker_readback_ref",
    "gitea_action_run_readback_ref",
    "webhook_delivery_state_ref",
    "deploy_key_branch_protection_codeowners_ref",
    "notification_delivery_receipt_ref",
    "before_after_deploy_state_ref",
    "affected_route_or_service_state_ref",
    "cross_project_sync_ref",
    "rollback_validation_ref",
    "postcheck_evidence_ref",
    "post_change_monitoring_ref",
    "recurrence_guard_ref",
    "maintenance_window",
    "rollback_owner",
    "followup_owner",
    "redacted_evidence_refs",
    "reviewer_outcome",
    "no_secret_value_attestation",
    "no_raw_workflow_payload_attestation",
    "no_unredacted_log_attestation",
    "no_false_green_attestation",
    "not_approval"
  ],
  "required_readback_fields": [
    "incident_or_change_ref",
    "actor_attribution_ref",
    "change_time_window_ref",
    "change_intent_or_break_glass_ref",
    "workflow_diff_state_ref",
    "runner_attestation_state_ref",
    "runner_executor_host_readback_ref",
    "runner_workspace_cleanup_readback_ref",
    "runner_permission_scope_ref",
    "secret_name_parity_state_ref",
    "secret_injection_route_state_ref",
    "step_env_secret_guard_result_ref",
    "log_redaction_readback_ref",
    "deploy_marker_readback_ref",
    "gitea_action_run_readback_ref",
    "webhook_delivery_state_ref",
    "deploy_key_branch_protection_codeowners_ref",
    "notification_delivery_receipt_ref",
    "before_after_deploy_state_ref",
    "affected_route_or_service_state_ref",
    "cross_project_sync_ref",
    "rollback_validation_ref",
    "postcheck_evidence_ref",
    "post_change_monitoring_ref",
    "recurrence_guard_ref",
    "maintenance_window",
    "rollback_owner",
    "followup_owner",
    "redacted_evidence_refs",
    "no_secret_value_attestation",
    "no_raw_workflow_payload_attestation",
    "no_unredacted_log_attestation",
    "no_false_green_attestation"
  ],
  "reviewer_checks": [
    {
      "check_id": "source_change_evidence_acceptance_current",
      "instruction": "來源 change evidence acceptance snapshot 必須是目前版本。"
    },
    {
      "check_id": "incident_or_change_ref_present",
      "instruction": "必須有 incident、change、outage、ticket 或 maintenance ref，不能只寫 CD 成功。"
    },
    {
      "check_id": "actor_attribution_present",
      "instruction": "必須標示 actor role / team，不接受匿名 workflow dispatch、runner restart 或 secret injection change。"
    },
    {
      "check_id": "change_time_window_present",
      "instruction": "必須有變更 / 異常時間窗，供 Gitea run、deploy marker 與通知回執對齊。"
    },
    {
      "check_id": "intent_or_break_glass_present",
      "instruction": "正常變更需有 change intent；緊急變更需有 break-glass reason，但 break-glass 不等於事前批准。"
    },
    {
      "check_id": "workflow_diff_state_present",
      "instruction": "必須回讀 workflow diff state；不得保存 raw workflow payload 或未脫敏 patch。"
    },
    {
      "check_id": "runner_attestation_present",
      "instruction": "runner label、executor、host alias、owner 與維護窗口必須可追溯。"
    },
    {
      "check_id": "runner_executor_host_readback_present",
      "instruction": "必須回讀 runner executor / host / container boundary，不得只看 job success。"
    },
    {
      "check_id": "runner_workspace_cleanup_present",
      "instruction": "必須回讀 workspace cleanup、root-owned cache、artifact residue 或 shared Docker daemon 影響。"
    },
    {
      "check_id": "runner_permission_scope_present",
      "instruction": "必須回讀 runner permission、token scope、hosted runner minutes / supply-chain 風險。"
    },
    {
      "check_id": "secret_name_parity_present",
      "instruction": "secret parity 只能保存 secret name / scope / present-absent / owner metadata。"
    },
    {
      "check_id": "secret_injection_route_present",
      "instruction": "涉及 CD / K8s secret injection 時必須標出 injection path 與 owner，不得讀 value。"
    },
    {
      "check_id": "step_env_secret_guard_present",
      "instruction": "必須附 `check-gitea-step-env-secrets` 或等價 guard result ref。"
    },
    {
      "check_id": "log_redaction_readback_present",
      "instruction": "必須回讀 Actions log / notification log 未展開 secret value、hash 或 partial token。"
    },
    {
      "check_id": "deploy_marker_readback_present",
      "instruction": "deploy marker 只能當部署證據，不代表資安 runtime approval。"
    },
    {
      "check_id": "gitea_action_run_readback_present",
      "instruction": "Gitea Actions run readback 只能是 run id / job id / status ref，不保存 token 或 cookie。"
    },
    {
      "check_id": "webhook_delivery_state_present",
      "instruction": "涉及 webhook 時必須回讀 delivery state 與 owner，不保存 webhook secret。"
    },
    {
      "check_id": "deploy_key_branch_protection_codeowners_present",
      "instruction": "影響 deploy key、required checks、CODEOWNERS 或 branch protection 時必須標出影響。"
    },
    {
      "check_id": "notification_delivery_receipt_present",
      "instruction": "涉及通知時必須有 SRE route owner 與 delivery receipt metadata ref。"
    },
    {
      "check_id": "before_after_deploy_state_present",
      "instruction": "必須有 before / after deploy state ref，不得只看最新 route 200。"
    },
    {
      "check_id": "affected_route_or_service_state_present",
      "instruction": "需列 affected route、service、API、admin、webhook、AI provider 或監控影響。"
    },
    {
      "check_id": "cross_project_sync_present",
      "instruction": "若影響 AwoooP、IwoooS、agent-bounty、監控或公開服務，需有跨專案同步 ref。"
    },
    {
      "check_id": "rollback_validation_present",
      "instruction": "必須提供 rollback validation ref，包含 rollback owner 與回復方式。"
    },
    {
      "check_id": "postcheck_independent",
      "instruction": "post-check 必須獨立於原操作人、workflow success 與 UI 顯示。"
    },
    {
      "check_id": "post_change_monitoring_present",
      "instruction": "必須有 post-change monitoring window，觀察 route、error、alert、deploy marker 與 notification receipt。"
    },
    {
      "check_id": "recurrence_guard_present",
      "instruction": "必須提出防再發 guard、owner review、change freeze 或 automation block。"
    },
    {
      "check_id": "redacted_refs_only",
      "instruction": "evidence 只能是脫敏 ref、commit、run id、job id、ticket、hash 或 artifact pointer。"
    },
    {
      "check_id": "secret_material_absent",
      "instruction": "不得保存 secret value、hash、masked token、partial token、runner token、webhook secret、deploy key private material、cookie、authorization header 或完整 credential URL。"
    },
    {
      "check_id": "no_false_green",
      "instruction": "不得只用 CD success、deploy marker、workflow success、route 200、runner online、UI 可見或 AwoooP approval 當驗收。"
    },
    {
      "check_id": "runtime_stays_zero",
      "instruction": "readback plan 不得觸發 workflow dispatch、runner change、secret change、webhook change、deploy key change、branch protection change、refs sync、ArgoCD sync、K8s secret injection 或 production deploy。"
    }
  ],
  "schema_version": "cd_runner_secret_injection_post_incident_readback_plan_v1",
  "source_paths": [
    "docs/security/cd-runner-secret-injection-change-evidence-acceptance.snapshot.json",
    ".gitea/workflows/cd.yaml",
    ".gitea/workflows/code-review.yaml",
    ".gitea/workflows/deploy-alerts.yaml",
    "scripts/ci/check-gitea-step-env-secrets.js"
  ],
  "status": "post_incident_readback_plan_ready_no_runtime_action",
  "summary": {
    "action_button_count": 0,
    "actor_attribution_accepted_count": 0,
    "affected_route_or_service_state_accepted_count": 0,
    "argocd_sync_authorized_count": 0,
    "before_after_deploy_state_accepted_count": 0,
    "blocked_action_count": 52,
    "branch_protection_change_authorized_count": 0,
    "c0_readback_candidate_count": 4,
    "c1_readback_candidate_count": 1,
    "cd_pipeline_run_authorized_count": 0,
    "codeowners_change_authorized_count": 0,
    "cross_project_sync_accepted_count": 0,
    "cross_project_sync_required_candidate_count": 5,
    "deploy_key_branch_protection_codeowners_accepted_count": 0,
    "deploy_key_change_authorized_count": 0,
    "deploy_marker_readback_accepted_count": 0,
    "deploy_or_run_readback_required_candidate_count": 5,
    "gitea_action_dispatch_authorized_count": 0,
    "gitea_action_run_readback_accepted_count": 0,
    "gitea_workflow_runner_coverage_percent_after_readback_plan": 74,
    "github_hosted_runner_enable_authorized_count": 0,
    "k8s_secret_injection_authorized_count": 0,
    "log_redaction_readback_accepted_count": 0,
    "no_false_green_accepted_count": 0,
    "no_false_green_required_candidate_count": 5,
    "notification_delivery_receipt_accepted_count": 0,
    "outcome_lane_count": 11,
    "post_change_monitoring_accepted_count": 0,
    "post_incident_readback_accepted_count": 0,
    "post_incident_readback_received_count": 0,
    "postcheck_evidence_accepted_count": 0,
    "production_deploy_authorized_count": 0,
    "readback_candidate_count": 5,
    "readback_field_count": 44,
    "recurrence_guard_accepted_count": 0,
    "repo_secret_change_authorized_count": 0,
    "required_readback_field_count": 33,
    "reviewer_check_count": 30,
    "rollback_validation_accepted_count": 0,
    "runner_attestation_accepted_count": 0,
    "runner_change_authorized_count": 0,
    "runner_executor_host_readback_accepted_count": 0,
    "runner_or_workflow_readback_candidate_count": 5,
    "runner_permission_scope_accepted_count": 0,
    "runner_workspace_cleanup_accepted_count": 0,
    "runtime_gate_count": 0,
    "secret_injection_change_authorized_count": 0,
    "secret_injection_route_accepted_count": 0,
    "secret_metadata_coverage_percent_after_readback_plan": 70,
    "secret_name_parity_accepted_count": 0,
    "secret_sensitive_readback_candidate_count": 5,
    "secret_value_collection_allowed_count": 0,
    "source_blocked_action_count": 32,
    "source_c0_change_evidence_candidate_count": 4,
    "source_c1_change_evidence_candidate_count": 1,
    "source_change_evidence_accepted_count": 0,
    "source_change_evidence_candidate_count": 5,
    "source_required_evidence_field_count": 19,
    "source_reviewer_check_count": 19,
    "source_runtime_gate_count": 0,
    "step_env_secret_guard_accepted_count": 0,
    "webhook_delivery_state_accepted_count": 0,
    "webhook_modification_authorized_count": 0,
    "workflow_diff_state_accepted_count": 0,
    "workflow_dispatch_authorized_count": 0,
    "workflow_modification_authorized_count": 0,
    "write_capable_readback_candidate_count": 5
  }
}
