feat: require production infrastructure evidence

This commit is contained in:
Codex Local
2026-08-26 22:56:19 +08:00
parent 3786db0de8
commit feb99de192
19 changed files with 237 additions and 61 deletions
+15 -1
View File
@@ -2709,6 +2709,19 @@ export interface components {
/** @description 仅当快照未超过15分钟且综合状态及全部检查均为healthy时为true。 */
gate_satisfied: boolean;
};
OpsAcceptanceProductionInfrastructureState: {
/** @description 目标环境为PRODUCTION时为true。 */
applicable: boolean;
/** @enum {string} */
deployment_profile: "MISSING" | "demo" | "production";
/** @description 最近主机报告证明异地备份已启用、已回读验证且未过期。 */
offsite_backup_ready: boolean;
/** @description 最近主机报告证明真实外部告警接收器已配置且密钥可读。 */
external_alert_receiver_ready: boolean;
/** @description 最近主机报告证明模拟语音与模拟告警服务均未运行。 */
mock_services_disabled: boolean;
gate_satisfied: boolean;
};
OpsAcceptanceDependencyState: {
/** @enum {string} */
service_name: "api" | "worker";
@@ -2773,7 +2786,7 @@ export interface components {
};
OpsAcceptanceGate: {
/** @enum {string} */
code: "candidate_build_identified" | "database_migration_clean" | "required_dependencies_available" | "integration_issues_clear" | "outbox_clear" | "critical_alerts_clear" | "platform_health_current";
code: "candidate_build_identified" | "database_migration_clean" | "required_dependencies_available" | "integration_issues_clear" | "outbox_clear" | "critical_alerts_clear" | "platform_health_current" | "production_infrastructure_ready";
satisfied: boolean;
summary: string;
};
@@ -2800,6 +2813,7 @@ export interface components {
outbox: components["schemas"]["OpsAcceptanceOutboxState"];
alerts: components["schemas"]["OpsAcceptanceAlertState"];
platform_health: components["schemas"]["OpsAcceptancePlatformHealthState"];
production_infrastructure: components["schemas"]["OpsAcceptanceProductionInfrastructureState"];
gates: components["schemas"]["OpsAcceptanceGate"][];
overall_gate_satisfied: boolean;
disclaimer: string;