{
  "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
  }
}