{
  "version": "p12_shot_context_deepseek_audit.v1",
  "created_at": "2026-05-31T22:17:13.736155Z",
  "phase": "P12_shot_context_deepseek_audit",
  "status": "pass",
  "gate_status": "deepseek_advisory_supports_p12_shot_context_reentry_planning",
  "input_fingerprint": "7945be878be75bdee4788bb9908183cf159222facee5a73247b8f035f3dd3ca5",
  "source_artifacts": {
    "p12_contract": {
      "path": "docs/p12_shot_context_reentry_planning_contract_20260531.md",
      "sha256": "94da44a4fb5f11c92ed0bd91684ec12fb676481b57effd7cd54f6eeb7904c68b",
      "size_bytes": 7831,
      "exists": true
    },
    "p11_closeout_retrospective": {
      "path": "docs/p11_closeout_retrospective_20260531.md",
      "sha256": "d5107b84885e4d0407295e85ed00adf34d963876abf76152b7725c9ac593a5df",
      "size_bytes": 12391,
      "exists": true
    },
    "p12_gate": {
      "artifact": "P12_shot_context_reentry_gate.json",
      "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_reentry_gate.json",
      "exists": true,
      "size_bytes": 10586,
      "sha256": "5d9e2f50385c1db74f5bec848372c4405435cbf5b4387e81ca232d2b944a49f6"
    },
    "p12_validator": {
      "artifact": "P12_shot_context_reentry_validator_report.json",
      "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_reentry_validator_report.json",
      "exists": true,
      "size_bytes": 5939,
      "sha256": "d6e7297a88412666507514faf143dc3d33ee63cd717866cb3b25d114ce16cc74"
    },
    "p12_readiness_matrix": {
      "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_readiness_matrix.jsonl",
      "exists": true,
      "sha256": "0ec3bd342aee3c787b5ebc6b90c9fda7fca0201cbf535635d4c3c44da33a9841",
      "size_bytes": 39922022
    },
    "p12_queue": {
      "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_dependency_queue.jsonl",
      "exists": true,
      "sha256": "769d7e0b0895a8e2867ae5546d3b820e1bb9c9c3e850b3a7fa226cf1e31c9ecd",
      "size_bytes": 4805
    },
    "p12_report": {
      "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_reentry_report.md",
      "sha256": "d8bcb3d3747986371f74fba7264b814c306047d194659829d0c8b274f12893f7",
      "size_bytes": 858,
      "exists": true
    },
    "execution_state": {
      "artifact": "execution_state.json",
      "path": "execution_state.json",
      "exists": true,
      "size_bytes": 61946,
      "sha256": "04947b6658ab54d9f451263403e41695acf66bd8d506978f3e16be78b39e240d"
    }
  },
  "program_validation": {
    "version": "p12_shot_context_program_validation.v1",
    "created_at": "2026-05-31T22:17:12.405936Z",
    "stage": "P12_shot_context_reentry_planning_contract",
    "status": "pass",
    "failure_count": 0,
    "failures": [],
    "checks": {
      "p12_gate_pass": true,
      "p12_validator_pass": true,
      "p12_required_files_exist": true,
      "p12_manifest_lists_required_files": true,
      "shot_context_readiness_rows_complete": true,
      "dependency_queue_complete": true,
      "single_future_executable": true,
      "planning_only": true,
      "p11_program_validation_pass": true,
      "source_refs_complete": true,
      "drop_refs_preserved": true,
      "no_downstream_or_writeback_side_effects": true,
      "next_entrypoint_unchanged": true
    },
    "summary": {
      "p11_shooting_script_row_count": 5002,
      "p11_sequence_row_count": 5002,
      "p11_dependency_queue_item_count": 7,
      "shot_context_readiness_row_count": 5002,
      "shot_id_trace_count": 5002,
      "shot_number_trace_count": 5002,
      "p10_readiness_row_ref_count": 5002,
      "p9_screenplay_unit_ref_count": 5002,
      "adaptation_unit_refs_in_readiness_count": 6989,
      "source_scene_refs_in_readiness_count": 6989,
      "chronology_refs_in_readiness_count": 6989,
      "transition_refs_in_readiness_count": 5002,
      "continuity_refs_in_readiness_count": 5002,
      "merge_drop_refs_in_readiness_count": 5002,
      "drop_from_script_scene_refs_preserved": 1518,
      "p11_drop_from_script_scene_count": 1518,
      "dependency_queue_item_count": 7,
      "future_executable_after_p12_closeout_count": 1,
      "validator_failure_count": 0,
      "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
      "p11_deepseek_overall_verdict": "supports_p11_shooting_script_fresh_execution",
      "old_b7_reference_only": true,
      "old_b7_active_source_ref_count": 0,
      "shot_context_reentry_planning_count": 1,
      "shot_context_execution_count": 0,
      "prompt_packet_generation_count": 0,
      "adapter_render_count": 0,
      "provider_job_execution_count": 0,
      "media_generation_count": 0,
      "feedback_intake_count": 0,
      "accepted_overlay_write_count": 0,
      "operator_overlay_write_count": 0,
      "canonical_kg_writeback_count": 0,
      "raw_kg_writeback_count": 0,
      "replay_action_count": 0,
      "outputs_index_mutation_count": 0,
      "outputs_run_deletion_count": 0,
      "outputs_run_cold_archive_count": 0,
      "runtime_branching_by_entity_name_rule_count": 0,
      "runtime_branching_by_work_title_rule_count": 0,
      "runtime_branching_by_block_title_rule_count": 0,
      "runtime_branching_by_sample_text_rule_count": 0
    },
    "source_artifacts": {
      "p12_gate": {
        "artifact": "P12_shot_context_reentry_gate.json",
        "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_reentry_gate.json",
        "exists": true,
        "size_bytes": 10586,
        "sha256": "5d9e2f50385c1db74f5bec848372c4405435cbf5b4387e81ca232d2b944a49f6"
      },
      "p12_validator": {
        "artifact": "P12_shot_context_reentry_validator_report.json",
        "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_reentry_validator_report.json",
        "exists": true,
        "size_bytes": 5939,
        "sha256": "d6e7297a88412666507514faf143dc3d33ee63cd717866cb3b25d114ce16cc74"
      },
      "p12_manifest": {
        "artifact": "manifest.json",
        "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/manifest.json",
        "exists": true,
        "size_bytes": 5208,
        "sha256": "b797348ad877f6d820b1e21bcee58e2a49205e14ca80c867d24af6e504939e7f"
      },
      "p12_readiness_matrix": {
        "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_readiness_matrix.jsonl",
        "exists": true,
        "sha256": "0ec3bd342aee3c787b5ebc6b90c9fda7fca0201cbf535635d4c3c44da33a9841",
        "size_bytes": 39922022
      },
      "p12_queue": {
        "path": "outputs/p12_shot_context_reentry_planning_20260601_061609/P12_shot_context_dependency_queue.jsonl",
        "exists": true,
        "sha256": "769d7e0b0895a8e2867ae5546d3b820e1bb9c9c3e850b3a7fa226cf1e31c9ecd",
        "size_bytes": 4805
      },
      "execution_state": {
        "artifact": "execution_state.json",
        "path": "execution_state.json",
        "exists": true,
        "size_bytes": 61946,
        "sha256": "04947b6658ab54d9f451263403e41695acf66bd8d506978f3e16be78b39e240d"
      }
    },
    "policy": {
      "stage": "P12_shot_context_reentry_planning_contract",
      "fresh_run_required": true,
      "shot_context_reentry_planning_allowed_in_p12": true,
      "shot_context_execution_allowed_in_p12": false,
      "provider_neutral_only": true,
      "deepseek_v4_pro_thinking_audit_required": true,
      "advisory_only": true,
      "prompt_packet_generation_allowed": false,
      "adapter_render_allowed": false,
      "provider_job_execution_allowed": false,
      "media_generation_allowed": false,
      "feedback_intake_allowed": false,
      "accepted_overlay_writeback_allowed": false,
      "operator_overlay_writeback_allowed": false,
      "canonical_kg_writeback_allowed": false,
      "raw_kg_writeback_allowed": false,
      "replay_execution_allowed": false,
      "outputs_index_mutation_allowed": false,
      "outputs_run_deletion_allowed": false,
      "outputs_run_cold_archive_allowed": false,
      "old_b7_reference_only": true,
      "execution_state_next_entrypoint_unchanged": true,
      "runtime_branching_by_entity_name_allowed": false,
      "runtime_branching_by_work_title_allowed": false,
      "runtime_branching_by_block_title_allowed": false,
      "runtime_branching_by_sample_text_allowed": false
    }
  },
  "summary": {
    "program_validation_status": "pass",
    "program_validation_failure_count": 0,
    "deepseek_call_status": "success",
    "deepseek_parse_status": "pass",
    "deepseek_overall_verdict": "supports_p12_shot_context_reentry_planning",
    "recommended_next_candidate": "P12_closeout_retrospective_then_P13_shot_context_fresh_execution_contract",
    "pipeline_finding_count": 0,
    "pipeline_blocker_count": 0,
    "pipeline_high_count": 0,
    "false_required_confirmation_count": 0,
    "p11_shooting_script_row_count": 5002,
    "p11_sequence_row_count": 5002,
    "p11_dependency_queue_item_count": 7,
    "shot_context_readiness_row_count": 5002,
    "shot_id_trace_count": 5002,
    "shot_number_trace_count": 5002,
    "p10_readiness_row_ref_count": 5002,
    "p9_screenplay_unit_ref_count": 5002,
    "adaptation_unit_refs_in_readiness_count": 6989,
    "source_scene_refs_in_readiness_count": 6989,
    "chronology_refs_in_readiness_count": 6989,
    "transition_refs_in_readiness_count": 5002,
    "continuity_refs_in_readiness_count": 5002,
    "merge_drop_refs_in_readiness_count": 5002,
    "drop_from_script_scene_refs_preserved": 1518,
    "p11_drop_from_script_scene_count": 1518,
    "dependency_queue_item_count": 7,
    "future_executable_after_p12_closeout_count": 1,
    "validator_failure_count": 0,
    "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
    "p11_deepseek_overall_verdict": "supports_p11_shooting_script_fresh_execution",
    "old_b7_reference_only": true,
    "old_b7_active_source_ref_count": 0,
    "shot_context_reentry_planning_count": 1,
    "shot_context_execution_count": 0,
    "prompt_packet_generation_count": 0,
    "adapter_render_count": 0,
    "provider_job_execution_count": 0,
    "media_generation_count": 0,
    "feedback_intake_count": 0,
    "accepted_overlay_write_count": 0,
    "operator_overlay_write_count": 0,
    "canonical_kg_writeback_count": 0,
    "raw_kg_writeback_count": 0,
    "replay_action_count": 0,
    "outputs_index_mutation_count": 0,
    "outputs_run_deletion_count": 0,
    "outputs_run_cold_archive_count": 0,
    "runtime_branching_by_entity_name_rule_count": 0,
    "runtime_branching_by_work_title_rule_count": 0,
    "runtime_branching_by_block_title_rule_count": 0,
    "runtime_branching_by_sample_text_rule_count": 0
  },
  "false_required_confirmations": [],
  "deepseek_advisory": {
    "parse_status": "pass",
    "overall_verdict": "supports_p12_shot_context_reentry_planning",
    "shot_context_reentry_audit": {
      "kg_overlay_replay_blocked": true,
      "next_entrypoint_unchanged": true,
      "old_b7_reference_only": true,
      "outputs_index_unchanged": true,
      "p11_authority_passed": true,
      "p11_fresh_artifacts_used": true,
      "p12_contract_artifact_backed": true,
      "p13_requires_separate_contract": true,
      "program_validation_passed": true,
      "prompt_provider_media_not_performed": true,
      "readiness_rows_provider_neutral": true,
      "readiness_rows_traceable": true,
      "runtime_branching_by_names_absent": true,
      "shot_context_execution_not_performed": true,
      "source_provenance_preserved": true
    },
    "recommended_next_candidate": "P12_closeout_retrospective_then_P13_shot_context_fresh_execution_contract",
    "pipeline_findings": [],
    "recommended_next_action": "P12_closeout_retrospective_then_P13_shot_context_fresh_execution_contract",
    "raw_parsed": {
      "overall_verdict": "supports_p12_shot_context_reentry_planning",
      "pipeline_findings": [],
      "recommended_next_action": "P12_closeout_retrospective_then_P13_shot_context_fresh_execution_contract",
      "recommended_next_candidate": "P12_closeout_retrospective_then_P13_shot_context_fresh_execution_contract",
      "shot_context_reentry_audit": {
        "kg_overlay_replay_blocked": true,
        "next_entrypoint_unchanged": true,
        "old_b7_reference_only": true,
        "outputs_index_unchanged": true,
        "p11_authority_passed": true,
        "p11_fresh_artifacts_used": true,
        "p12_contract_artifact_backed": true,
        "p13_requires_separate_contract": true,
        "program_validation_passed": true,
        "prompt_provider_media_not_performed": true,
        "readiness_rows_provider_neutral": true,
        "readiness_rows_traceable": true,
        "runtime_branching_by_names_absent": true,
        "shot_context_execution_not_performed": true,
        "source_provenance_preserved": true
      }
    }
  },
  "deepseek_validation": {
    "deepseek_available": true,
    "deepseek_parsed": true,
    "raw_response_meta": {
      "id": "5c70bc7c-1bfd-45a4-b59a-1524ac64bd9f",
      "object": "chat.completion",
      "model": "deepseek-v4-pro",
      "usage": {
        "prompt_tokens": 63394,
        "completion_tokens": 1800,
        "total_tokens": 65194,
        "prompt_tokens_details": {
          "cached_tokens": 0
        },
        "completion_tokens_details": {
          "reasoning_tokens": 1509
        },
        "prompt_cache_hit_tokens": 0,
        "prompt_cache_miss_tokens": 63394
      },
      "finish_reason": "stop",
      "content_chars": 966,
      "reasoning_content_present": true,
      "reasoning_content_chars": 6147
    },
    "message_fingerprint": "d08118ba4c0b4a1d24d1b16f722e680856734978c1c627328538f5d3a4545f78"
  },
  "policy": {
    "stage": "P12_shot_context_reentry_planning_contract",
    "fresh_run_required": true,
    "shot_context_reentry_planning_allowed_in_p12": true,
    "shot_context_execution_allowed_in_p12": false,
    "provider_neutral_only": true,
    "deepseek_v4_pro_thinking_audit_required": true,
    "advisory_only": true,
    "prompt_packet_generation_allowed": false,
    "adapter_render_allowed": false,
    "provider_job_execution_allowed": false,
    "media_generation_allowed": false,
    "feedback_intake_allowed": false,
    "accepted_overlay_writeback_allowed": false,
    "operator_overlay_writeback_allowed": false,
    "canonical_kg_writeback_allowed": false,
    "raw_kg_writeback_allowed": false,
    "replay_execution_allowed": false,
    "outputs_index_mutation_allowed": false,
    "outputs_run_deletion_allowed": false,
    "outputs_run_cold_archive_allowed": false,
    "old_b7_reference_only": true,
    "execution_state_next_entrypoint_unchanged": true,
    "runtime_branching_by_entity_name_allowed": false,
    "runtime_branching_by_work_title_allowed": false,
    "runtime_branching_by_block_title_allowed": false,
    "runtime_branching_by_sample_text_allowed": false
  },
  "next_required_action": "P12_closeout_retrospective_then_P13_shot_context_fresh_execution_contract"
}