{
  "version": "p18_prompt_readiness_adapter_qa_manual_handoff_alignment_deepseek_audit.v1",
  "created_at": "2026-06-02T03:30:16.371635Z",
  "phase": "P18_handoff_alignment_deepseek_audit",
  "status": "pass",
  "gate_status": "deepseek_advisory_supports_p18_handoff_alignment_contract",
  "input_fingerprint": "02292a49154e4e31e72adec16f92aee07b4b8ce7b42136dd69b452dc3ed5f3e3",
  "source_artifacts": {
    "p18_contract": {
      "path": "/wwwb/aitools/writer/docs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_contract_20260602.md",
      "sha256": "eb15879d5bcfc71ab2c33b9c34bae6a42f12f981b6f005ff6ac17da403a4cb67",
      "size_bytes": 8571,
      "exists": true
    },
    "p17_closeout_retrospective": {
      "path": "/wwwb/aitools/writer/docs/p17_closeout_retrospective_20260602.md",
      "sha256": "49c46ed7c5671349193ce0fd03841da89f1f2b9dd9180800194286519b275bc6",
      "size_bytes": 7538,
      "exists": true
    },
    "p18_gate": {
      "artifact": "P18_handoff_alignment_gate.json",
      "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_handoff_alignment_gate.json",
      "exists": true,
      "size_bytes": 8859,
      "sha256": "a6b81c9dc0b2c28511dabb8e3fa431c9723d7036cad54aeb4a09e3e39348e4a3"
    },
    "p18_validator": {
      "artifact": "P18_handoff_alignment_validator_report.json",
      "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_handoff_alignment_validator_report.json",
      "exists": true,
      "size_bytes": 5187,
      "sha256": "b21dfc65f43539fbd4688427f93ea27b30460db035917a2372f43f2bcd79cfcc"
    },
    "p18_schema_alignment": {
      "artifact": "P18_manual_log_schema_alignment.json",
      "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_manual_log_schema_alignment.json",
      "exists": true,
      "size_bytes": 744140,
      "sha256": "e6badc65b4fbcf783c34c05952881b6dbd71cf7e647c345b1727d31b89b58e51"
    },
    "p18_qa_rows": {
      "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_adapter_readiness_qa_rows.jsonl",
      "exists": true,
      "sha256": "04bc1b12e708c3a19f930914f4d80fb74d4c89e5835756421e574acff414bbe3",
      "size_bytes": 11474527
    },
    "p18_handoff_templates": {
      "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_manual_handoff_packet_templates.jsonl",
      "exists": true,
      "sha256": "f00ed48b53c1d15b1e0ee5037cf4bfb3bf14534d1c54f2a146416ec275696745",
      "size_bytes": 18586306
    },
    "p18_queue": {
      "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_handoff_alignment_dependency_queue.jsonl",
      "exists": true,
      "sha256": "db507b9dc256c454960d51ef8725361e43932f8e69c28d4b6a91c469ab163d26",
      "size_bytes": 2042
    },
    "p18_report": {
      "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_handoff_alignment_report.md",
      "sha256": "aeba899b1cadedffbacc871735969d1ff08e7ccd1382c43b6393b8aaf62bc0bb",
      "size_bytes": 556,
      "exists": true
    },
    "execution_state": {
      "artifact": "execution_state.json",
      "path": "/wwwb/aitools/writer/execution_state.json",
      "exists": true,
      "size_bytes": 66963,
      "sha256": "114291116f6b1bb4e2c98bb7e3baf19f47898c55c045baa9d523bc63b7738235"
    },
    "phase_acceptance": {
      "artifact": "phase_acceptance.json",
      "path": "/wwwb/aitools/writer/phase_acceptance.json",
      "exists": true,
      "size_bytes": 81564,
      "sha256": "630a71d5c5bb173592e8b40f21b20d51d3886f8fb1fb5b7b24d42e934298c4e2"
    }
  },
  "program_validation": {
    "version": "p18_handoff_alignment_program_validation.v1",
    "created_at": "2026-06-02T03:30:15.540625Z",
    "stage": "P18_prompt_readiness_adapter_qa_manual_handoff_alignment_contract",
    "status": "pass",
    "failure_count": 0,
    "failures": [],
    "checks": {
      "p18_gate_pass": true,
      "p18_validator_pass": true,
      "p18_required_files_exist": true,
      "p18_manifest_lists_required_files": true,
      "qa_rows_complete": true,
      "handoff_templates_complete": true,
      "route_lookup_complete": true,
      "schema_alignment_pass": true,
      "single_future_executable": true,
      "pending_evidence_only": true,
      "no_provider_media_manual_or_writeback_side_effects": true,
      "next_entrypoint_unchanged": true
    },
    "summary": {
      "p17_adapter_render_row_count": 5002,
      "adapter_readiness_qa_row_count": 5002,
      "manual_handoff_template_count": 5002,
      "manual_handoff_pending_evidence_count": 5002,
      "route_lookup_row_count": 5002,
      "adapter_render_ref_count": 5002,
      "prompt_packet_ref_count": 5002,
      "p16_boundary_ref_count": 5002,
      "shot_id_trace_count": 5002,
      "shot_number_trace_count": 5002,
      "unsupported_field_refs_propagated_count": 10004,
      "downgrade_note_refs_propagated_count": 5002,
      "provider_specific_syntax_in_handoff_count": 5002,
      "provider_specific_syntax_in_provider_neutral_or_canonical_count": 0,
      "dependency_queue_item_count": 3,
      "future_executable_after_p18_closeout_count": 1,
      "validator_failure_count": 0,
      "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
      "p17_deepseek_overall_verdict": "supports_p17_adapter_render_contract",
      "old_b7_reference_only": true,
      "old_b7_active_source_ref_count": 0,
      "provider_job_execution_count": 0,
      "media_generation_count": 0,
      "manual_provider_evidence_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,
      "fake_provider_result_count": 0,
      "fake_operator_decision_count": 0
    },
    "source_artifacts": {
      "p18_gate": {
        "artifact": "P18_handoff_alignment_gate.json",
        "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_handoff_alignment_gate.json",
        "exists": true,
        "size_bytes": 8859,
        "sha256": "a6b81c9dc0b2c28511dabb8e3fa431c9723d7036cad54aeb4a09e3e39348e4a3"
      },
      "p18_validator": {
        "artifact": "P18_handoff_alignment_validator_report.json",
        "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_handoff_alignment_validator_report.json",
        "exists": true,
        "size_bytes": 5187,
        "sha256": "b21dfc65f43539fbd4688427f93ea27b30460db035917a2372f43f2bcd79cfcc"
      },
      "p18_manifest": {
        "artifact": "manifest.json",
        "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/manifest.json",
        "exists": true,
        "size_bytes": 6359,
        "sha256": "d0af24db490517cd038ad5f903607e3135403ae9ce87279863c3689baeb45c2d"
      },
      "p18_schema_alignment": {
        "artifact": "P18_manual_log_schema_alignment.json",
        "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_manual_log_schema_alignment.json",
        "exists": true,
        "size_bytes": 744140,
        "sha256": "e6badc65b4fbcf783c34c05952881b6dbd71cf7e647c345b1727d31b89b58e51"
      },
      "p18_qa_rows": {
        "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_adapter_readiness_qa_rows.jsonl",
        "exists": true,
        "sha256": "04bc1b12e708c3a19f930914f4d80fb74d4c89e5835756421e574acff414bbe3",
        "size_bytes": 11474527
      },
      "p18_handoff_templates": {
        "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_manual_handoff_packet_templates.jsonl",
        "exists": true,
        "sha256": "f00ed48b53c1d15b1e0ee5037cf4bfb3bf14534d1c54f2a146416ec275696745",
        "size_bytes": 18586306
      },
      "p18_route_lookup": {
        "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_pending_evidence_route_lookup.jsonl",
        "exists": true,
        "sha256": "9759b8268da7bf91a991a6693f53a3aa4b165e870b71cdf091dc07392e04877f",
        "size_bytes": 2250900
      },
      "p18_queue": {
        "path": "outputs/p18_prompt_readiness_adapter_qa_manual_handoff_alignment_20260602_112942/P18_handoff_alignment_dependency_queue.jsonl",
        "exists": true,
        "sha256": "db507b9dc256c454960d51ef8725361e43932f8e69c28d4b6a91c469ab163d26",
        "size_bytes": 2042
      },
      "execution_state": {
        "artifact": "execution_state.json",
        "path": "/wwwb/aitools/writer/execution_state.json",
        "exists": true,
        "size_bytes": 66963,
        "sha256": "114291116f6b1bb4e2c98bb7e3baf19f47898c55c045baa9d523bc63b7738235"
      }
    },
    "policy": {
      "stage": "P18_prompt_readiness_adapter_qa_manual_handoff_alignment_contract",
      "fresh_run_required": true,
      "handoff_alignment_allowed_in_p18": true,
      "manual_handoff_templates_are_evidence": false,
      "manual_handoff_templates_are_pending_evidence": true,
      "provider_specific_syntax_allowed_inside_adapter_or_handoff_fields": true,
      "provider_specific_syntax_allowed_in_provider_neutral_or_canonical_layers": false,
      "provider_job_execution_allowed": false,
      "media_generation_allowed": false,
      "filled_manual_provider_evidence_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,
      "old_b7_reference_only": true,
      "execution_state_next_entrypoint_unchanged": true,
      "advisory_only": true
    }
  },
  "summary": {
    "program_validation_status": "pass",
    "program_validation_failure_count": 0,
    "deepseek_call_status": "success",
    "deepseek_parse_status": "pass",
    "deepseek_overall_verdict": "supports_p18_prompt_readiness_adapter_qa_manual_handoff_alignment_contract",
    "recommended_next_candidate": "P18_closeout_retrospective_then_P19_feedback_repair_replay_boundary_contract",
    "pipeline_finding_count": 0,
    "pipeline_blocker_count": 0,
    "pipeline_high_count": 0,
    "false_required_confirmation_count": 0,
    "p17_adapter_render_row_count": 5002,
    "adapter_readiness_qa_row_count": 5002,
    "manual_handoff_template_count": 5002,
    "manual_handoff_pending_evidence_count": 5002,
    "route_lookup_row_count": 5002,
    "adapter_render_ref_count": 5002,
    "prompt_packet_ref_count": 5002,
    "p16_boundary_ref_count": 5002,
    "shot_id_trace_count": 5002,
    "shot_number_trace_count": 5002,
    "unsupported_field_refs_propagated_count": 10004,
    "downgrade_note_refs_propagated_count": 5002,
    "provider_specific_syntax_in_handoff_count": 5002,
    "provider_specific_syntax_in_provider_neutral_or_canonical_count": 0,
    "dependency_queue_item_count": 3,
    "future_executable_after_p18_closeout_count": 1,
    "validator_failure_count": 0,
    "active_route_next_entrypoint_id": "platform_neutral_prompt_readiness_manual_execution_log_contract",
    "p17_deepseek_overall_verdict": "supports_p17_adapter_render_contract",
    "old_b7_reference_only": true,
    "old_b7_active_source_ref_count": 0,
    "provider_job_execution_count": 0,
    "media_generation_count": 0,
    "manual_provider_evidence_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,
    "fake_provider_result_count": 0,
    "fake_operator_decision_count": 0
  },
  "false_required_confirmations": [],
  "deepseek_advisory": {
    "parse_status": "pass",
    "overall_verdict": "supports_p18_prompt_readiness_adapter_qa_manual_handoff_alignment_contract",
    "handoff_alignment_audit": {
      "adapter_traceability_preserved": true,
      "handoff_packets_pending_evidence_only": true,
      "kg_overlay_replay_blocked": true,
      "next_entrypoint_unchanged": true,
      "now32_boundary_preserved": true,
      "old_b7_reference_only": true,
      "outputs_index_unchanged": true,
      "p17_authority_passed": true,
      "p18_contract_artifact_backed": true,
      "p19_requires_separate_contract": true,
      "program_validation_passed": true,
      "provider_media_manual_evidence_not_performed": true,
      "provider_syntax_boundary_preserved": true,
      "unsupported_downgrade_propagated": true
    },
    "recommended_next_candidate": "P18_closeout_retrospective_then_P19_feedback_repair_replay_boundary_contract",
    "pipeline_findings": [],
    "recommended_next_action": "P18_closeout_retrospective_then_P19_feedback_repair_replay_boundary_contract",
    "raw_parsed": {
      "handoff_alignment_audit": {
        "adapter_traceability_preserved": true,
        "handoff_packets_pending_evidence_only": true,
        "kg_overlay_replay_blocked": true,
        "next_entrypoint_unchanged": true,
        "now32_boundary_preserved": true,
        "old_b7_reference_only": true,
        "outputs_index_unchanged": true,
        "p17_authority_passed": true,
        "p18_contract_artifact_backed": true,
        "p19_requires_separate_contract": true,
        "program_validation_passed": true,
        "provider_media_manual_evidence_not_performed": true,
        "provider_syntax_boundary_preserved": true,
        "unsupported_downgrade_propagated": true
      },
      "overall_verdict": "supports_p18_prompt_readiness_adapter_qa_manual_handoff_alignment_contract",
      "pipeline_findings": [],
      "recommended_next_action": "P18_closeout_retrospective_then_P19_feedback_repair_replay_boundary_contract",
      "recommended_next_candidate": "P18_closeout_retrospective_then_P19_feedback_repair_replay_boundary_contract"
    }
  },
  "deepseek_validation": {
    "deepseek_available": true,
    "deepseek_parsed": true,
    "raw_response_meta": {
      "id": "a878c5cd-1427-4e3b-b7f6-1c03d4a31aec",
      "object": "chat.completion",
      "model": "deepseek-v4-pro",
      "usage": {
        "prompt_tokens": 27149,
        "completion_tokens": 876,
        "total_tokens": 28025,
        "prompt_tokens_details": {
          "cached_tokens": 0
        },
        "completion_tokens_details": {
          "reasoning_tokens": 579
        },
        "prompt_cache_hit_tokens": 0,
        "prompt_cache_miss_tokens": 27149
      },
      "finish_reason": "stop",
      "content_chars": 978,
      "reasoning_content_present": true,
      "reasoning_content_chars": 1447
    },
    "message_fingerprint": "0136b5f014267562bcb164ff605f4d0fdb74ebfb01bf2e7023369c1b3ae5002c"
  },
  "policy": {
    "stage": "P18_prompt_readiness_adapter_qa_manual_handoff_alignment_contract",
    "fresh_run_required": true,
    "handoff_alignment_allowed_in_p18": true,
    "manual_handoff_templates_are_evidence": false,
    "manual_handoff_templates_are_pending_evidence": true,
    "provider_specific_syntax_allowed_inside_adapter_or_handoff_fields": true,
    "provider_specific_syntax_allowed_in_provider_neutral_or_canonical_layers": false,
    "provider_job_execution_allowed": false,
    "media_generation_allowed": false,
    "filled_manual_provider_evidence_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,
    "old_b7_reference_only": true,
    "execution_state_next_entrypoint_unchanged": true,
    "advisory_only": true
  },
  "next_required_action": "P18_closeout_retrospective_then_P19_feedback_repair_replay_boundary_contract"
}