{
  "gate": {
    "created_at": "2026-06-02T03:57:53.750015Z",
    "failure_count": 0,
    "failures": [],
    "feedback_repair_replay_allowed": false,
    "gate_status": "p20_deterministic_index_archive_workspace_hygiene_pass",
    "hand_index_edit_allowed": false,
    "kg_overlay_replay_writeback_allowed": false,
    "media_generation_allowed": false,
    "next_required_action": "P20_deepseek_advisory_then_P20_closeout_retrospective_then_P21_final_closeout",
    "old_b7_reference_only": true,
    "p20_deepseek_advisory_required": true,
    "p21_final_closeout_candidate_after_p20_closeout": "P21_p_plan_final_closeout",
    "policy": {
      "accepted_overlay_writeback_allowed": false,
      "advisory_only": true,
      "canonical_kg_writeback_allowed": false,
      "deterministic_index_refresh_allowed_with_snapshot": true,
      "execution_state_next_entrypoint_unchanged": true,
      "feedback_intake_allowed": false,
      "filled_manual_provider_evidence_allowed": false,
      "hand_index_edit_allowed": false,
      "hygiene_only": true,
      "media_generation_allowed": false,
      "old_b7_reference_only": true,
      "operator_overlay_writeback_allowed": false,
      "provider_job_execution_allowed": false,
      "raw_kg_writeback_allowed": false,
      "repair_execution_allowed": false,
      "replay_execution_allowed": false,
      "stage": "P20_deterministic_index_archive_workspace_final_hygiene"
    },
    "provider_job_execution_allowed": false,
    "status": "pass",
    "summary": {
      "accepted_overlay_write_count": 0,
      "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
      "canonical_kg_writeback_count": 0,
      "dependency_queue_item_count": 1,
      "feedback_intake_count": 0,
      "future_executable_after_p20_closeout_count": 1,
      "index_refresh_executed": true,
      "index_refresh_required": true,
      "manual_provider_evidence_count": 0,
      "media_generation_count": 0,
      "missing_from_index_count": 5,
      "missing_from_index_lite_count": 5,
      "old_b7_active_source_ref_count": 0,
      "operator_overlay_write_count": 0,
      "p19_deepseek_overall_verdict": "supports_p19_feedback_repair_replay_boundary_contract",
      "planned_cold_archive_count": 0,
      "planned_delete_count": 0,
      "protected_missing_count": 0,
      "provider_job_execution_count": 0,
      "raw_kg_writeback_count": 0,
      "refresh_gate_status": "p2e_deterministic_output_index_repair_execution_pass",
      "repair_execution_count": 0,
      "replay_action_count": 0,
      "validator_failure_count": 0
    },
    "validator_report": {
      "checks": {
        "archive_manifest_guard": true,
        "feedback_repair_replay_guard": true,
        "index_freshness_audit": true,
        "kg_overlay_guard": true,
        "no_hand_index_edit_guard": true,
        "now32_active_route_guard": true,
        "old_b7_exclusion": true,
        "p19_authority": true,
        "protected_asset_guard": true,
        "provider_media_guard": true
      },
      "created_at": "2026-06-02T03:57:53.750000Z",
      "failure_count": 0,
      "failures": [],
      "policy": {
        "accepted_overlay_writeback_allowed": false,
        "advisory_only": true,
        "canonical_kg_writeback_allowed": false,
        "deterministic_index_refresh_allowed_with_snapshot": true,
        "execution_state_next_entrypoint_unchanged": true,
        "feedback_intake_allowed": false,
        "filled_manual_provider_evidence_allowed": false,
        "hand_index_edit_allowed": false,
        "hygiene_only": true,
        "media_generation_allowed": false,
        "old_b7_reference_only": true,
        "operator_overlay_writeback_allowed": false,
        "provider_job_execution_allowed": false,
        "raw_kg_writeback_allowed": false,
        "repair_execution_allowed": false,
        "replay_execution_allowed": false,
        "stage": "P20_deterministic_index_archive_workspace_final_hygiene"
      },
      "stage": "P20_deterministic_index_archive_workspace_final_hygiene",
      "status": "pass",
      "summary": {
        "accepted_overlay_write_count": 0,
        "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
        "canonical_kg_writeback_count": 0,
        "dependency_queue_item_count": 1,
        "feedback_intake_count": 0,
        "future_executable_after_p20_closeout_count": 1,
        "index_refresh_executed": true,
        "index_refresh_required": true,
        "manual_provider_evidence_count": 0,
        "media_generation_count": 0,
        "missing_from_index_count": 5,
        "missing_from_index_lite_count": 5,
        "old_b7_active_source_ref_count": 0,
        "operator_overlay_write_count": 0,
        "p19_deepseek_overall_verdict": "supports_p19_feedback_repair_replay_boundary_contract",
        "planned_cold_archive_count": 0,
        "planned_delete_count": 0,
        "protected_missing_count": 0,
        "provider_job_execution_count": 0,
        "raw_kg_writeback_count": 0,
        "refresh_gate_status": "p2e_deterministic_output_index_repair_execution_pass",
        "repair_execution_count": 0,
        "replay_action_count": 0,
        "validator_failure_count": 0
      },
      "version": "p20_hygiene_validator_report.v1"
    },
    "version": "p20_deterministic_index_archive_workspace_final_hygiene_gate.v1"
  },
  "index_audit": {
    "after_refresh": {
      "created_at": "2026-06-02T03:57:53.749458Z",
      "index_exists": true,
      "index_lite_exists": true,
      "index_lite_row_count": 206,
      "index_row_count": 206,
      "missing_from_index": [],
      "missing_from_index_lite": [],
      "policy": {
        "accepted_overlay_writeback_allowed": false,
        "advisory_only": true,
        "canonical_kg_writeback_allowed": false,
        "deterministic_index_refresh_allowed_with_snapshot": true,
        "execution_state_next_entrypoint_unchanged": true,
        "feedback_intake_allowed": false,
        "filled_manual_provider_evidence_allowed": false,
        "hand_index_edit_allowed": false,
        "hygiene_only": true,
        "media_generation_allowed": false,
        "old_b7_reference_only": true,
        "operator_overlay_writeback_allowed": false,
        "provider_job_execution_allowed": false,
        "raw_kg_writeback_allowed": false,
        "repair_execution_allowed": false,
        "replay_execution_allowed": false,
        "stage": "P20_deterministic_index_archive_workspace_final_hygiene"
      },
      "refresh_required": false,
      "required_current_run_dirs": [
        "p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942",
        "p18_handoff_alignment_deepseek_audit_20260602_112954",
        "p19_feedback_repair_replay_boundary_contract_20260602_034618",
        "p19_feedback_repair_replay_deepseek_audit_20260602_034626",
        "p20_deterministic_index_archive_workspace_final_hygiene_20260602_035751"
      ],
      "version": "p20_outputs_index_freshness_audit.v1"
    },
    "created_at": "2026-06-02T03:57:52.230163Z",
    "index_exists": true,
    "index_lite_exists": true,
    "index_lite_row_count": 169,
    "index_row_count": 169,
    "missing_from_index": [
      "p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942",
      "p18_handoff_alignment_deepseek_audit_20260602_112954",
      "p19_feedback_repair_replay_boundary_contract_20260602_034618",
      "p19_feedback_repair_replay_deepseek_audit_20260602_034626",
      "p20_deterministic_index_archive_workspace_final_hygiene_20260602_035751"
    ],
    "missing_from_index_lite": [
      "p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942",
      "p18_handoff_alignment_deepseek_audit_20260602_112954",
      "p19_feedback_repair_replay_boundary_contract_20260602_034618",
      "p19_feedback_repair_replay_deepseek_audit_20260602_034626",
      "p20_deterministic_index_archive_workspace_final_hygiene_20260602_035751"
    ],
    "policy": {
      "accepted_overlay_writeback_allowed": false,
      "advisory_only": true,
      "canonical_kg_writeback_allowed": false,
      "deterministic_index_refresh_allowed_with_snapshot": true,
      "execution_state_next_entrypoint_unchanged": true,
      "feedback_intake_allowed": false,
      "filled_manual_provider_evidence_allowed": false,
      "hand_index_edit_allowed": false,
      "hygiene_only": true,
      "media_generation_allowed": false,
      "old_b7_reference_only": true,
      "operator_overlay_writeback_allowed": false,
      "provider_job_execution_allowed": false,
      "raw_kg_writeback_allowed": false,
      "repair_execution_allowed": false,
      "replay_execution_allowed": false,
      "stage": "P20_deterministic_index_archive_workspace_final_hygiene"
    },
    "refresh_required": true,
    "required_current_run_dirs": [
      "p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942",
      "p18_handoff_alignment_deepseek_audit_20260602_112954",
      "p19_feedback_repair_replay_boundary_contract_20260602_034618",
      "p19_feedback_repair_replay_deepseek_audit_20260602_034626",
      "p20_deterministic_index_archive_workspace_final_hygiene_20260602_035751"
    ],
    "version": "p20_outputs_index_freshness_audit.v1"
  },
  "refresh_plan": {
    "created_at": "2026-06-02T03:57:52.230444Z",
    "hand_edit_performed": false,
    "old_index_lite_snapshot_ref": "outputs/p20_deterministic_index_archive_workspace_final_hygiene_20260602_035751/P20_index_refresh_execution/old_outputs_index_lite_snapshot.json",
    "old_index_snapshot_ref": "outputs/p20_deterministic_index_archive_workspace_final_hygiene_20260602_035751/P20_index_refresh_execution/old_outputs_index_snapshot.json",
    "policy": {
      "accepted_overlay_writeback_allowed": false,
      "advisory_only": true,
      "canonical_kg_writeback_allowed": false,
      "deterministic_index_refresh_allowed_with_snapshot": true,
      "execution_state_next_entrypoint_unchanged": true,
      "feedback_intake_allowed": false,
      "filled_manual_provider_evidence_allowed": false,
      "hand_index_edit_allowed": false,
      "hygiene_only": true,
      "media_generation_allowed": false,
      "old_b7_reference_only": true,
      "operator_overlay_writeback_allowed": false,
      "provider_job_execution_allowed": false,
      "raw_kg_writeback_allowed": false,
      "repair_execution_allowed": false,
      "replay_execution_allowed": false,
      "stage": "P20_deterministic_index_archive_workspace_final_hygiene"
    },
    "refresh_executed": true,
    "refresh_gate_status": "p2e_deterministic_output_index_repair_execution_pass",
    "refresh_required": true,
    "refresh_run_dir": "outputs/p20_deterministic_index_archive_workspace_final_hygiene_20260602_035751/P20_index_refresh_execution",
    "refresh_summary": {
      "accepted_overlay_writeback_count": 0,
      "canonical_kg_writeback_count": 0,
      "classification_counts": {
        "legacy_pipeline_run": 2,
        "manifest_only_stage_run": 204,
        "non_run_structural_dir": 6,
        "unknown_non_structural_dir": 2
      },
      "downstream_execution_count": 0,
      "execution_state_next_entrypoint_unchanged": true,
      "media_generation_count": 0,
      "old_index_missing_row_count": 0,
      "operator_overlay_writeback_count": 0,
      "outputs_index_lite_written": true,
      "outputs_index_written": true,
      "outputs_run_cold_archive_count": 0,
      "outputs_run_deletion_count": 0,
      "protected_missing_run_dir_count": 0,
      "provider_job_execution_count": 0,
      "raw_kg_writeback_count": 0,
      "replacement_index_row_count": 206,
      "replacement_lite_row_count": 206,
      "replay_execution_count": 0
    },
    "version": "p20_index_refresh_plan.v1",
    "write_indexes_requested": true
  }
}