{
  "schema_version": "1.0",
  "evidence_kind": "security_governance_runtime_closure_packet",
  "generated_at": "2026-07-11T12:33:08Z",
  "work_item_id": "SEC-P0-001",
  "status": "completed",
  "trace_id": "sec-p0-001-20260711T122758Z",
  "run_id": "sec-p0-001-20260711T122758Z",
  "deployed_version": "V10.787",
  "terminal_source_commit": "b9b9ec3b50d1858f00094518512377be593eef5c",
  "gitea": {
    "main_head_after_closure": "eba7c2b5b57d1bd16a0656aa5616f087f47209a5",
    "dev_head_after_closure": "8af5cf3d54967072013be32b1936a0b68b59ce5d",
    "cd_run_id": 1118,
    "cd_status": "waiting",
    "manual_fallback_used": true,
    "github_used": false
  },
  "source_and_test": {
    "full_suite": {"passed": 2030, "skipped": 9, "failed": 0},
    "final_focused_suite": {"passed": 25, "failed": 0},
    "nginx_binary_validation": "pass",
    "prometheus_3_10_promtool_validation": "pass"
  },
  "access_control": {
    "anonymous_matrix_passed": 8,
    "anonymous_matrix_total": 8,
    "api_401_count": 5,
    "page_302_count": 3,
    "security_headers_passed": true,
    "secure_cookie": true
  },
  "metrics": {
    "public_http_status": 404,
    "public_exposed": false,
    "internal_scrape_url": "http://172.20.0.1:19191/metrics",
    "internal_http_status": 200,
    "target_health": "up",
    "target_last_error": "",
    "listener_owner": "nginx",
    "listener_scope": "172.20.0.1:19191",
    "lan_listener_reachable": false,
    "payload_bytes": 8808,
    "payload_version": "V10.787",
    "product_markers": [
      "momo_app_info",
      "momo_app_health",
      "momo_database_up"
    ],
    "product_markers_present": true,
    "stale_9191_target_present": false,
    "host_container_config_sha_match": true,
    "config_sha256": "462cb5c2397d1a6ec0542f2fde83e06e0baa05d82df299ac9ae9464d08d9947d"
  },
  "controlled_apply": {
    "policy": "ewoooc_metrics_edge_controlled_apply_v1",
    "terminal_status": "pass",
    "receipt_sha256": "969ffc5d3bb98cd538dac436c07637ee1f01ef0e463f5a8ebae45656ff0efc16",
    "rollback_performed": false,
    "prometheus_identity_preserved": true,
    "prometheus_data_volume": "monitoring_prometheus_data",
    "superseded_false_positive_run": "sec-p0-001-20260711T121838Z",
    "false_positive_reason": "port 9191 served fail2ban metrics without EwoooC product markers"
  },
  "runtime": {
    "health_status": "healthy",
    "health_version": "V10.787",
    "application_containers_healthy": 3,
    "critical_markers_last_10m": 0,
    "database_container_id": "cd092451cb5fd555d0ffff70642e109f3b742882c418beeab631793d1e9dc55d",
    "database_started_at": "2026-07-11T08:39:42.344100685Z",
    "database_unchanged": true,
    "migration_executed": false,
    "route_map_probe_imported_app": true,
    "idempotent_initializer_may_have_run": true,
    "schema_change_detected": false
  },
  "runtime_drift": {
    "production_ingress_actual_host": "188",
    "documented_gateway_host": "110",
    "followup_work_item_id": "GOV-P0-001"
  },
  "rollback": {
    "application_artifact_sha256": "e276613b64a18cf408f846f500ef53299d179774e5cbd8060ebf64ffe2fed8b6e962",
    "nginx_backup_sha256": "aca79a2e6315e06f0b7993e59a7bbffdbbe7d1d8a760e230654590c72466073a",
    "prometheus_backup_sha256": "894f4e7206b16161e7e640e977f72adbea8647a6eba562a3472b979d4430baad"
  },
  "learning_writeback": {
    "recorded": true,
    "source_of_truth_updated": true,
    "false_positive_regression_test_added": true,
    "bind_mount_reconciliation_test_added": true
  },
  "program_state_after_closure": {
    "program_percent": 56.2,
    "runtime_closure_passed": 1,
    "runtime_closure_total": 5,
    "overall_status": "partial",
    "next_work_item_id": "SEC-P0-002",
    "next_machine_action": "inventory_active_users_then_shadow_database_auth_before_cutover"
  }
}
