{
  "version": "p13_shot_context_deepseek_audit.v1",
  "created_at": "2026-06-01T02:02:03.302714Z",
  "phase": "P13_shot_context_deepseek_audit",
  "status": "pass",
  "gate_status": "deepseek_advisory_supports_p13_shot_context_fresh_execution",
  "input_fingerprint": "4badccda02d19e73519730b3c3b804c2ceee863d36b3287803af67a50b320e47",
  "source_artifacts": {
    "p13_contract": {
      "path": "docs/p13_shot_context_fresh_execution_contract_20260601.md",
      "sha256": "5fd9d8e4ddbb67b4993be0b7424d4a698b6a0f9138b9a0f9f9640eda84867144",
      "size_bytes": 8340,
      "exists": true
    },
    "p12_closeout_retrospective": {
      "path": "docs/p12_closeout_retrospective_20260601.md",
      "sha256": "eed47ffa729aea94bc51dce076857054cde6952a808fed40954e9e816ed2d6a8",
      "size_bytes": 10467,
      "exists": true
    },
    "p13_gate": {
      "artifact": "P13_shot_context_gate.json",
      "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_gate.json",
      "exists": true,
      "size_bytes": 10585,
      "sha256": "d2bf9c13686e95a56be4e679457b92f3d670a34ea314b57ff99607f07878497b"
    },
    "p13_validator": {
      "artifact": "P13_shot_context_validator_report.json",
      "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_validator_report.json",
      "exists": true,
      "size_bytes": 5956,
      "sha256": "39a4b792082696c833ad22ca9280958879fa65a42e6209237f9d516e8aafb7ea"
    },
    "p13_rows": {
      "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_rows.jsonl",
      "exists": true,
      "sha256": "01cbbfb9720375349853adca30d8be6e0e2bf3e8e601cb840d8977099baa783c",
      "size_bytes": 48472022
    },
    "p13_sequence": {
      "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_sequence_index.jsonl",
      "exists": true,
      "sha256": "08e3d70acee07158aced802bf9cbb30c4d83c71067a513fae985d264fd3dd431",
      "size_bytes": 4212260
    },
    "p13_queue": {
      "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_dependency_queue.jsonl",
      "exists": true,
      "sha256": "39732d325f7393e008bb0da215ca2bbddac09766aae2831e3bd37339b0d9539d",
      "size_bytes": 4674
    },
    "p13_report": {
      "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_report.md",
      "sha256": "ac50508dea3bcc41f55c252b3a80eb3cb53f2554870d1dfd741a76d1694d2155",
      "size_bytes": 850,
      "exists": true
    },
    "execution_state": {
      "artifact": "execution_state.json",
      "path": "execution_state.json",
      "exists": true,
      "size_bytes": 63006,
      "sha256": "56281cba12e0b6ac5d9a049f8425cb96aada9d02816e503c78f282cbfa04d2fa"
    }
  },
  "program_validation": {
    "version": "p13_shot_context_program_validation.v1",
    "created_at": "2026-06-01T02:02:01.628077Z",
    "stage": "P13_shot_context_fresh_execution_contract",
    "status": "pass",
    "failure_count": 0,
    "failures": [],
    "checks": {
      "p13_gate_pass": true,
      "p13_validator_pass": true,
      "p13_required_files_exist": true,
      "p13_manifest_lists_required_files": true,
      "shot_context_rows_complete": true,
      "shot_context_sequence_complete": true,
      "dependency_queue_complete": true,
      "single_future_executable": true,
      "shot_context_executed": true,
      "p12_program_validation_pass": true,
      "source_refs_complete": true,
      "drop_refs_preserved": true,
      "no_downstream_or_writeback_side_effects": true,
      "next_entrypoint_unchanged": true
    },
    "summary": {
      "p12_readiness_row_count": 5002,
      "p12_ready_row_count": 5002,
      "p12_dependency_queue_item_count": 7,
      "shot_context_row_count": 5002,
      "shot_context_sequence_row_count": 5002,
      "shot_id_trace_count": 5002,
      "shot_number_trace_count": 5002,
      "p12_readiness_row_ref_count": 5002,
      "p10_readiness_row_ref_count": 5002,
      "p9_screenplay_unit_ref_count": 5002,
      "adaptation_unit_refs_in_context_count": 6989,
      "source_scene_refs_in_context_count": 6989,
      "chronology_refs_in_context_count": 6989,
      "transition_refs_in_context_count": 5002,
      "continuity_refs_in_context_count": 5002,
      "merge_drop_refs_in_context_count": 5002,
      "drop_from_script_scene_refs_preserved": 1518,
      "p12_drop_from_script_scene_count": 1518,
      "context_payload_row_count": 5002,
      "context_slot_row_count": 5002,
      "dependency_queue_item_count": 7,
      "future_executable_after_p13_closeout_count": 1,
      "validator_failure_count": 0,
      "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
      "p12_deepseek_overall_verdict": "supports_p12_shot_context_reentry_planning",
      "old_b7_reference_only": true,
      "old_b7_active_source_ref_count": 0,
      "shot_context_execution_count": 1,
      "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": {
      "p13_gate": {
        "artifact": "P13_shot_context_gate.json",
        "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_gate.json",
        "exists": true,
        "size_bytes": 10585,
        "sha256": "d2bf9c13686e95a56be4e679457b92f3d670a34ea314b57ff99607f07878497b"
      },
      "p13_validator": {
        "artifact": "P13_shot_context_validator_report.json",
        "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_validator_report.json",
        "exists": true,
        "size_bytes": 5956,
        "sha256": "39a4b792082696c833ad22ca9280958879fa65a42e6209237f9d516e8aafb7ea"
      },
      "p13_manifest": {
        "artifact": "manifest.json",
        "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/manifest.json",
        "exists": true,
        "size_bytes": 4556,
        "sha256": "764de320e42b2e2d58666cd68c22fb5ea6f683359eeb0ede96dbdb83f37da41a"
      },
      "p13_rows": {
        "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_rows.jsonl",
        "exists": true,
        "sha256": "01cbbfb9720375349853adca30d8be6e0e2bf3e8e601cb840d8977099baa783c",
        "size_bytes": 48472022
      },
      "p13_sequence": {
        "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_sequence_index.jsonl",
        "exists": true,
        "sha256": "08e3d70acee07158aced802bf9cbb30c4d83c71067a513fae985d264fd3dd431",
        "size_bytes": 4212260
      },
      "p13_queue": {
        "path": "outputs/p13_shot_context_fresh_execution_20260601_100019/P13_shot_context_dependency_queue.jsonl",
        "exists": true,
        "sha256": "39732d325f7393e008bb0da215ca2bbddac09766aae2831e3bd37339b0d9539d",
        "size_bytes": 4674
      },
      "execution_state": {
        "artifact": "execution_state.json",
        "path": "execution_state.json",
        "exists": true,
        "size_bytes": 63006,
        "sha256": "56281cba12e0b6ac5d9a049f8425cb96aada9d02816e503c78f282cbfa04d2fa"
      }
    },
    "policy": {
      "stage": "P13_shot_context_fresh_execution_contract",
      "fresh_run_required": true,
      "shot_context_execution_allowed_in_p13": true,
      "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_p13_shot_context_fresh_execution",
    "recommended_next_candidate": "P13_closeout_retrospective_then_P14_prompt_packet_reentry_planning_contract",
    "pipeline_finding_count": 0,
    "pipeline_blocker_count": 0,
    "pipeline_high_count": 0,
    "false_required_confirmation_count": 0,
    "p12_readiness_row_count": 5002,
    "p12_ready_row_count": 5002,
    "p12_dependency_queue_item_count": 7,
    "shot_context_row_count": 5002,
    "shot_context_sequence_row_count": 5002,
    "shot_id_trace_count": 5002,
    "shot_number_trace_count": 5002,
    "p12_readiness_row_ref_count": 5002,
    "p10_readiness_row_ref_count": 5002,
    "p9_screenplay_unit_ref_count": 5002,
    "adaptation_unit_refs_in_context_count": 6989,
    "source_scene_refs_in_context_count": 6989,
    "chronology_refs_in_context_count": 6989,
    "transition_refs_in_context_count": 5002,
    "continuity_refs_in_context_count": 5002,
    "merge_drop_refs_in_context_count": 5002,
    "drop_from_script_scene_refs_preserved": 1518,
    "p12_drop_from_script_scene_count": 1518,
    "context_payload_row_count": 5002,
    "context_slot_row_count": 5002,
    "dependency_queue_item_count": 7,
    "future_executable_after_p13_closeout_count": 1,
    "validator_failure_count": 0,
    "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
    "p12_deepseek_overall_verdict": "supports_p12_shot_context_reentry_planning",
    "old_b7_reference_only": true,
    "old_b7_active_source_ref_count": 0,
    "shot_context_execution_count": 1,
    "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_p13_shot_context_fresh_execution",
    "shot_context_audit": {
      "kg_overlay_replay_blocked": true,
      "next_entrypoint_unchanged": true,
      "old_b7_reference_only": true,
      "outputs_index_unchanged": true,
      "p12_authority_passed": true,
      "p12_fresh_artifacts_used": true,
      "p13_contract_artifact_backed": true,
      "p14_requires_separate_contract": true,
      "program_validation_passed": true,
      "prompt_provider_media_not_performed": true,
      "runtime_branching_by_names_absent": true,
      "shot_context_rows_provider_neutral": true,
      "shot_context_rows_traceable": true,
      "source_provenance_preserved": true
    },
    "recommended_next_candidate": "P13_closeout_retrospective_then_P14_prompt_packet_reentry_planning_contract",
    "pipeline_findings": [],
    "recommended_next_action": "P13_closeout_retrospective_then_P14_prompt_packet_reentry_planning_contract",
    "raw_parsed": {
      "overall_verdict": "supports_p13_shot_context_fresh_execution",
      "pipeline_findings": [],
      "recommended_next_action": "P13_closeout_retrospective_then_P14_prompt_packet_reentry_planning_contract",
      "recommended_next_candidate": "P13_closeout_retrospective_then_P14_prompt_packet_reentry_planning_contract",
      "shot_context_audit": {
        "kg_overlay_replay_blocked": true,
        "next_entrypoint_unchanged": true,
        "old_b7_reference_only": true,
        "outputs_index_unchanged": true,
        "p12_authority_passed": true,
        "p12_fresh_artifacts_used": true,
        "p13_contract_artifact_backed": true,
        "p14_requires_separate_contract": true,
        "program_validation_passed": true,
        "prompt_provider_media_not_performed": true,
        "runtime_branching_by_names_absent": true,
        "shot_context_rows_provider_neutral": true,
        "shot_context_rows_traceable": true,
        "source_provenance_preserved": true
      }
    }
  },
  "deepseek_validation": {
    "deepseek_available": true,
    "deepseek_parsed": true,
    "raw_response_meta": {
      "id": "5e58cc9d-859e-47e1-baf2-d49d118ef420",
      "object": "chat.completion",
      "model": "deepseek-v4-pro",
      "usage": {
        "prompt_tokens": 81233,
        "completion_tokens": 2521,
        "total_tokens": 83754,
        "prompt_tokens_details": {
          "cached_tokens": 0
        },
        "completion_tokens_details": {
          "reasoning_tokens": 2241
        },
        "prompt_cache_hit_tokens": 0,
        "prompt_cache_miss_tokens": 81233
      },
      "finish_reason": "stop",
      "content_chars": 917,
      "reasoning_content_present": true,
      "reasoning_content_chars": 9578
    },
    "message_fingerprint": "11ac6ae8adc0454eed86aa6e9412ea5399d2f3cb46769307774db2b51cd6dcd5"
  },
  "policy": {
    "stage": "P13_shot_context_fresh_execution_contract",
    "fresh_run_required": true,
    "shot_context_execution_allowed_in_p13": true,
    "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": "P13_closeout_retrospective_then_P14_prompt_packet_reentry_planning_contract"
}