{
  "version": "held_debt_repair_readiness_clearance_contract_deepseek.v1",
  "created_at": "2026-06-07T11:28:32.058816Z",
  "stage": "held_debt_repair_readiness_clearance_contract",
  "round_id": "round2",
  "project_root": "/wwwb/aitools/writer",
  "output_run_dir": "outputs/held_debt_repair_readiness_clearance_contract_deepseek_round2_20260607_1935",
  "contract_doc_ref": {
    "path": "/wwwb/aitools/writer/docs/held_debt_repair_readiness_clearance_contract_20260607.md",
    "exists": true,
    "sha256": "bb1f6078bdb6cec75225067fde57613fdb275f03959b198a0f6b299190741ffb",
    "size_bytes": 10176
  },
  "contract_doc_excerpt": "# Held/Debt Repair Readiness Clearance Contract\n\n更新时间：`2026-06-07T19:28:00+08:00`\n\n## Status\n\n- contract id: `held_debt_repair_readiness_clearance_contract`\n- status: `held_debt_repair_readiness_clearance_contract_landed_pending_implementation`\n- active route remains: `platform_neutral_prompt_readiness_manual_execution_log_contract`\n- active route authority: `execution_state.json.next_entrypoint`\n- basis retrospective: `docs/post_now33_code_level_retrospective_control_plane_recalibration_20260607.md`\n- detail rules: `outputs/post_now33_code_level_recalibration_final_20260607_1917/POST_NOW33_next_stage_detail_rules.json`\n\n## Purpose\n\nCreate the next explicit mainline after NOW-33/34/35 terminal boundary reconciliation: a read-only held/debt repair readiness clearance lane.\n\nThe lane classifies held/debt blockers, verifies register integrity, derives dependency groups, and prepares review/repair readiness packets. It does not promote held rows, mutate readiness rows, execute repair, write overlays/KG, bind assets, create evidence, run providers, replay, transition route, mutate outputs indexes, or claim production acceptance.\n\n## Authoritative Inputs\n\nRequired inputs for implementation:\n\n- P2V-24 final closeout gate: `outputs/p_plan_v2_24_p_plan_final_closeout_20260605_0742/P2V_24_final_closeout_gate.json`\n- P2V-24 readiness debt register: `outputs/p_plan_v2_24_p_plan_final_closeout_20260605_0742/P2V_24_readiness_debt_register.jsonl`\n- P2V-24 NOW-32 handoff calibration: `outputs/p_plan_v2_24_p_plan_final_closeout_20260605_0742/P2V_24_now32_handoff_calibration.json`\n- P2V-23 held row package rows: `outputs/p_plan_v2_23_prompt_readiness_packaging_boundary_20260605_0730/P2V_23_held_row_package_rows.jsonl`\n- P2V-23 prompt readiness package: `outputs/p_plan_v2_23_prompt_readiness_packaging_boundary_20260605_0730/P2V_23_prompt_readiness_package.json`\n- NOW-33 dry-run gate: `outputs/now33_canonical_uid_binding_acceptance_advisory_dry_run_final_20260607_1830/NOW_33_canonical_uid_binding_gate.json`\n- post-NOW-33 recalibration gate: `outputs/post_now33_code_level_recalibration_final_20260607_1917/POST_NOW33_recalibration_gate.json`\n\nBaseline counts from current evidence:\n\n- draft rows: `1638`\n- held rows: `240`\n- readiness debt rows: `247`\n- chapter readiness debt rows: `7`\n- held row debt rows: `240`\n- held `qa_review_required`: `239`\n- held `repair_deferred`: `1`\n- asset slots missing real reference: `3276`\n\nThese are baseline evidence counts only. The implementation must re-derive them from authoritative input artifacts at runtime and block on unexplained drift.\n\n`P2V_24_now32_handoff_calibration.json` is required for active-route/context validation, not for row mutation. The implementation must verify that it keeps `next_entrypoint_id=platform_neutral_prompt_readiness_manual_execution_log_contract`, `provider_execution_authorized=false`, `manual_execution_authorized=false`, `manual_provider_evidence_created=false`, and `production_lane_accepted=false`; it may also use the referenced readiness package paths for dependency-map context. It must not use the handoff artifact as execution authorization.\n\n## Allowed Work\n\nImplementation may:\n\n- read and fingerprint required input artifacts;\n- parse P2V-24 debt register JSONL and P2V-23 held package JSONL;\n- verify row counts, unique IDs, debt type counts, hold label counts, and cross-file referential integrity;\n- group debt by chapter, held row, source/shot refs, readiness impact, hold label, and required future contract;\n- classify blocker categories using deterministic rules and optional DeepSeek advisory semantics;\n- emit read-only queues and review surfaces:\n  - `HELD_DEBT_clearance_input.json`\n  - `HELD_DEBT_register_integrity_report.json`\n  - `HELD_DEBT_chapter_debt_queue.jsonl`\n  - `HELD_DEBT_held_row_debt_queue.jsonl`\n  - `HELD_DEBT_dependency_map.json`\n  - `HELD_DEBT_clearance_readiness_summary.json`\n  - `HELD_DEBT_clearance_validation_report.json`\n  - `HELD_DEBT_clearance_gate.json`\n- `HELD_DEBT_clearance_review.html`\n- `manifest.json`\n- record two DeepSeek v4 pro thinking/max advisory rounds for implementation closeout.\n\nMinimum output constraints:\n\n- `HELD_DEBT_clearance_input.json`: input artifact refs, SHA-256 hashes, source timestamps where available, baseline counts, runtime re-derived counts, and policy flags.\n- `HELD_DEBT_register_integrity_report.json`: row count checks, duplicate/missing ID checks, JSONL parse status, P2V-24 gate status checks, post-NOW-33 gate status checks, P2V-24 handoff checks, and cross-file held row resolution checks.\n- `HELD_DEBT_chapter_debt_queue.jsonl`: one row per `chapter_readiness_debt`, with `debt_id`, `chapter_index`, `readiness_label`, held counts, source refs, required future contract, blocker class, and `read_only=true`.\n- `HELD_DEBT_held_row_debt_queue.jsonl`: one row per `held_row_debt`, with `debt_id`, `held_row_id`, `held_package_row_id`, shot/readiness/planning refs, hold label/reasons, required future contract, blocker class, source hashes, and `read_only=true`.\n- `HELD_DEBT_dependency_map.json`: chapter-to-held-row dependencies, held-row-to-shot/readiness/planning refs, unresolved references, and dependency group counts.\n- `HELD_DEBT_clearance_readiness_summary.json`: aggregate counts, blocker category counts, unresolved reference counts, drift checks, and explicit statement that no repair or promotion is executed.\n- `HELD_DEBT_clearance_validation_report.json`: validator status, failures, warnings, deterministic check list, DeepSeek advisory status, and forbidden side-effect counters.\n- `HELD_DEBT_clearance_gate.json`: `validator_status`, `gate_status`, `pass`, `failures`, summary counts, `next_entrypoint_unchanged=true`, and all forbidden side-effect counters equal to `0`.\n- `HELD_DEBT_clearance_review.html`: human-readable review of queues, counts, blockers, allowed decisions, forbidden actions, DeepSeek advisory status, and current canonical state.\n- `manifest.json`: artifact list with path, size, SHA-256, created time, advisory-only/read-only flags, and no-writeback policy.\n\n## Forbidden Work\n\nImplementation must not:\n\n- promote held rows;\n- mutate draft, held, readiness, package, or debt rows;\n- create accepted/operator overlays;\n- write canonical UID, canonical KG, raw KG, entity store, or replay actions;\n- generate/acquire/bind assets;\n- generate provider-specific prompts or adapter payloads;\n- execute provider jobs or generate media;\n- create manual/provider/operator evidence;\n- ingest feedback, execute repair, or replay;\n- mutate `outputs/index.json` / `outputs/index-lite.json`;\n- change `execution_state.json.next_entrypoint`;\n- claim production readiness or operator acceptance.\n\n## Deterministic Validation Rules\n\nImplementation gate must fail if any of the following occurs:\n\n- required input artifact is missing or hash cannot be computed;\n- P2V-24 gate is missing or validator status is not pass;\n- post-NOW-33 recalibration gate is missing, `pass` is not `true`, `validator_status` is not `pass`, or `gate_status` is not `post_now33_code_level_recalibration_pass`;\n- NOW-33 dry-run gate is missing, is not pass, or does not preserve `dry_run_acceptance_readiness_boundary_only_no_writeback`;\n- P2V-24 NOW-32 handoff calibration is missing or claims provider/manual execution, evidence creation, production acceptance, or a next entrypoint other than `platform_neutral_prompt_readiness_manual_execution_log_contract`;\n- P2V-24 debt register row count does not match re-derived debt totals;\n- debt IDs are missing or duplicated;\n- held row debts do not resolve to exactly one held package row by `held_row_id` and `held_package_row_id`;\n- chapter readiness debts do not reconcile with chapter-level held counts;\n- any row has `production_lane_accepted=true`;\n- any output claims writeback, evidence, provider/media execution, route transition, replay, asset binding, output-index mutation, or production acceptance;\n- DeepSeek Round 1 or Round 2 is skipped, timeout, unavailable, parse-failed, or has unresolved high/blocker findings;\n- `execution_state.json.next_entrypoint` changes.\n\n## Classification Rules\n\nInitial deterministic classes:\n\n- `chapter_readiness_blocker`: `debt_type=chapter_readiness_debt`\n- `held_row_qa_review`: `debt_type=held_row_debt` and `hold_label=qa_review_required`\n- `held_row_repair_deferred`: `debt_type=held_row_debt` and `hold_label=repair_deferred`\n- `source_or_shot_dependency`: held row carries `p2v18_shot_id`, `p2v19_shot_packet_id`, `p2v20_readiness_row_id`, or `p2v21_planning_row_id`\n- `evidence_not_execution_blocker`: `required_future_contract=explicit_QA_repair_or_evidence_contract_after_P计划_closeout`\n\nLLM may advise semantic subtype or review priority, but program owns final queue IDs, schemas, validators, counts, and gate status.\n\n## DeepSeek Consultation Requirements\n\nBefore implementation closeout:\n\n- Round 1 must review contract implementation, queues, validators, review surface, and evidence boundaries.\n- Round 2 must critique Round 1 for overreach, missed drift, hidden mutation, authority confusion, missing assumptions, and operator constraints.\n- model: `deepseek-v4-pro`\n- thinking: enabled\n- reasoning effort: `max`\n- timeout: `600`\n- missing/skipped/timeout/unavailable/parse_failed blocks pass/readiness unless explicitly recorded as `blocked_unavailable`.\n\nDeepSeek is advisory-only. It may satisfy expert consultation under operator delegation, but it is not operator acceptance, provider/manual evidence, route authority, writeback authority, replay authority, or outputs-index authority.\n\n## Acceptance Criteria\n\nThe contract is landed when:\n\n- this document exists and is referenced by control-plane short files;\n- two DeepSeek v4 pro thinking/max consultation rounds for the contract parse pass with no high/blocker findings;\n- `execution_state.json.next_entrypoint` remains unchanged;\n- JSON parse, workflow_guard, and git diff check pass.\n\nThe implementation is not landed by this contract. A future implementation batch must create the deterministic runner, artifacts, tests, DeepSeek implementation rounds, retrospective, and control-plane updates.\n",
  "post_now33_recalibration_gate": {
    "version": "post_now33_code_level_recalibration_gate.v1",
    "created_at": "2026-06-07T11:14:10.168048Z",
    "stage": "post_now33_code_level_retrospective_control_plane_recalibration",
    "status": "now33_34_35_terminal_boundary_reconciled_landed_validated",
    "gate_status": "post_now33_code_level_recalibration_pass",
    "pass": true,
    "validator_status": "pass",
    "validator_failure_count": 0,
    "failures": [],
    "summary": {
      "draft_row_count": 1638,
      "held_row_count": 240,
      "readiness_debt_row_count": 247,
      "asset_slots_missing_real_reference": 3276,
      "now32_advisory_status": "advisory_held_debt_audit_closed_no_promotion",
      "now33_initial_advisory_status": "advisory_entity_asset_gap_assessment_closed_no_writeback",
      "now34_advisory_status": "pass",
      "now35_advisory_status": "advisory_reviewer_harness_closed_no_acceptance",
      "target_registry_entity_count": 713,
      "target_registry_authority_satisfying_count": 28,
      "target_registry_blocked_for_review_count": 685,
      "target_source_fingerprint": "c5d6ab4f5d8bc0aa4a018ebe6daec3315b0d646cb189b1a4fb28fe9a6e23ba34",
      "now33_guard_candidate_ref_count": 1476,
      "now33_guard_registry_review_queue_rows": 28,
      "now33_guard_candidate_ref_review_queue_rows": 1476,
      "now33_dry_decision_candidate_count": 1504,
      "now33_dry_overlay_binding_candidate_count": 98,
      "now33_dry_deferred_candidate_ref_count": 1378,
      "now33_dry_registry_change_request_count": 28,
      "now33_dry_validator_failure_count": 0,
      "now33_dry_validator_warning_count": 0,
      "deepseek_round1_parse_status": "pass",
      "deepseek_round1_verdict": "supports_post_now33_code_level_recalibration",
      "deepseek_round2_parse_status": "pass",
      "deepseek_round2_verdict": "round1_supported_with_corrections",
      "validator_failure_count": 0,
      "provider_prompt_count": 0,
      "adapter_payload_count": 0,
      "provider_job_execution_count": 0,
      "media_generation_count": 0,
      "manual_provider_evidence_count": 0,
      "operator_evidence_creation_count": 0,
      "feedback_intake_count": 0,
      "repair_execution_count": 0,
      "replay_action_count": 0,
      "accepted_overlay_write_count": 0,
      "operator_overlay_write_count": 0,
      "canonical_uid_writeback_count": 0,
      "canonical_kg_writeback_count": 0,
      "raw_kg_writeback_count": 0,
      "entity_store_writeback_count": 0,
      "outputs_index_mutation_count": 0
    },
    "now33_34_35_terminal_boundary_reconciled": true,
    "now33_closed_as": "dry_run_acceptance_readiness_boundary_only_no_writeback",
    "now34_closed_as": "advisory_schema_validator_closed_no_provider_payload",
    "now35_closed_as": "advisory_reviewer_harness_closed_no_acceptance",
    "next_primary_lane": "held_debt_repair_readiness_clearance_contract",
    "next_primary_lane_requires_explicit_contract": true,
    "active_route_unchanged": true,
    "next_entrypoint_unchanged": true,
    "canonical_uid_writeback_allowed": false,
    "provider_manual_execution_allowed": false,
    "operator_production_acceptance_claimed": false,
    "deepseek_advisory_is_operator_production_acceptance": false,
    "policy": {
      "stage": "post_now33_code_level_retrospective_control_plane_recalibration",
      "retrospective_control_plane_and_planning_only": true,
      "active_route_authority": "execution_state.json.next_entrypoint",
      "execution_state_next_entrypoint_unchanged": true,
      "route_transition_allowed": false,
      "provider_specific_prompt_allowed": false,
      "adapter_payload_allowed": false,
      "provider_job_execution_allowed": false,
      "media_generation_allowed": false,
      "manual_provider_evidence_creation_allowed": false,
      "operator_evidence_creation_allowed": false,
      "feedback_intake_allowed": false,
      "repair_execution_allowed": false,
      "replay_execution_allowed": false,
      "accepted_overlay_writeback_allowed": false,
      "operator_overlay_writeback_allowed": false,
      "canonical_uid_writeback_allowed": false,
      "canonical_kg_writeback_allowed": false,
      "raw_kg_writeback_allowed": false,
      "entity_store_writeback_allowed": false,
      "row_mutation_allowed": false,
      "asset_generation_or_acquisition_allowed": false,
      "asset_binding_allowed": false,
      "outputs_index_mutation_allowed": false,
      "operator_production_acceptance_claimed": false,
      "deepseek_advisory_may_substitute_for_expert_advice": true,
      "deepseek_advisory_is_operator_production_acceptance": false,
      "deepseek_findings_are_program_validator_inputs": true,
      "deepseek_findings_have_direct_state_authority": false,
      "runtime_branch_by_work_title_entity_name_or_sample_text_allowed": false
    }
  },
  "post_now33_detail_rules": {
    "version": "post_now33_code_level_recalibration.v1",
    "stage": "post_now33_code_level_retrospective_control_plane_recalibration",
    "primary_lane": "held_debt_repair_readiness_clearance_contract",
    "contract_scope": {
      "type": "read_only_contract_first",
      "allowed": [
        "load P2V-24 readiness debt register and held rows",
        "load NOW-32..35 advisory sidecar summaries",
        "load NOW-33 guard and dry-run summaries as context",
        "classify blocker categories deterministically",
        "emit held/debt repair readiness queues, dependency map, validator report, gate, and review HTML",
        "use DeepSeek v4 pro thinking/max for semantic blocker taxonomy and critique"
      ],
      "not_allowed": [
        "held-row promotion",
        "readiness row mutation",
        "accepted/operator overlay writeback",
        "canonical UID/KG/raw KG/entity-store writeback",
        "asset generation, acquisition, or binding",
        "provider/media/manual execution",
        "evidence creation",
        "feedback intake, repair, replay, route transition, outputs-index mutation, or production acceptance"
      ]
    },
    "input_invariants": {
      "observed_baseline_held_rows": 240,
      "observed_baseline_readiness_debt_rows": 247,
      "observed_baseline_draft_rows": 1638,
      "runtime_rederive_required": true,
      "runtime_authorities": [
        "P2V-24 final closeout readiness/debt artifacts",
        "NOW-32 advisory held/debt sidecars",
        "current manifest-driven readiness registers named by the contract input"
      ],
      "baseline_count_rule": "observed baseline counts are audit context only; the next contract must re-derive counts from authoritative registers at execution time and block on unexplained drift",
      "now33_dry_run_boundary": "dry_run_acceptance_readiness_boundary_only_no_writeback",
      "now34_boundary": "advisory_schema_validator_closed_no_provider_payload",
      "now35_boundary": "advisory_reviewer_harness_closed_no_acceptance",
      "manifest_driven_only": true,
      "runtime_branch_by_chapter_entity_title_or_sample_text_allowed": false
    },
    "gate_pass_requires": [
      "program-owned input hashes for readiness/debt and NOW-33 context artifacts",
      "held/debt row counts reconcile with current evidence or discrepancy is blocked",
      "every queue row carries source refs and blocker taxonomy",
      "no row mutation/writeback/evidence/provider/asset/route side-effect counters are nonzero",
      "DeepSeek Round 1 and Round 2 parse pass with no unresolved high/blocker findings",
      "review surface clearly separates current canonical state, advisory recommendations, blocked actions, and next allowed decisions",
      "execution_state.json.next_entrypoint unchanged"
    ],
    "deepseek_rules": {
      "required_rounds": 2,
      "model": "deepseek-v4-pro",
      "thinking_type": "enabled",
      "reasoning_effort": "max",
      "timeout_seconds": 600,
      "missing_skipped_timeout_or_parse_failed_blocks_pass": true,
      "availability_boundary_note": "DeepSeek unavailable/skipped/timeout/parse_failed blocks pass/readiness for high-impact gates under current project policy; it is not optional and never becomes operator acceptance or canonical authority.",
      "advisory_only": true
    },
    "deepseek_round2_finding_disposition": {
      "absorbed": [
        "post-slimming workflow_guard structural integrity verification",
        "runtime re-derivation of held/debt/draft counts from authoritative registers"
      ],
      "rejected_invalid": [
        {
          "finding": "gate passage does not require successful DeepSeek call",
          "reason": "Contradicts AGENTS.md and workflow policy: missing/skipped/unparseable DeepSeek advisory blocks pass/readiness unless explicitly recorded as blocked_unavailable. DeepSeek remains advisory-only but its required availability is still a gate precondition for this high-impact decision."
        }
      ]
    },
    "terminal_now33_34_35_acceptance": {
      "status": "now33_34_35_terminal_boundary_reconciled_landed_validated",
      "interpretation": "NOW-33/34/35 are closed at the current authorized non-execution boundaries; production/evidence/writeback extensions are blocked, not silently pending inside these NOW labels.",
      "now33": {
        "closed": true,
        "closed_as": "canonical_uid_binding_acceptance_dry_run_closed_no_writeback",
        "boundary": "dry_run_acceptance_readiness_boundary_only_no_writeback",
        "dry_run_overlay_binding_candidates": 98,
        "deferred_candidate_refs": 1378,
        "registry_change_requests": 28,
        "real_writeback_blocked": true
      },
      "now34": {
        "closed": true,
        "closed_as": "advisory_schema_validator_closed_no_provider_payload",
        "boundary": "structural_schema_validator_advisory_only",
        "provider_payload_generation_blocked": true,
        "production_readiness_not_claimed": true
      },
      "now35": {
        "closed": true,
        "closed_as": "advisory_reviewer_harness_closed_no_acceptance",
        "boundary": "reviewer_harness_schema_advisory_only",
        "live_review_cycle_blocked": true,
        "operator_acceptance_not_claimed": true
      }
    }
  },
  "artifact_refs": {
    "execution_state": {
      "path": "/wwwb/aitools/writer/execution_state.json",
      "exists": true,
      "sha256": "53b340be603dd37c47c9990476ce255ae5061748d3ed7f5b5c7bc66a0baaae09",
      "size_bytes": 19420
    },
    "phase_acceptance": {
      "path": "/wwwb/aitools/writer/phase_acceptance.json",
      "exists": true,
      "sha256": "4779498479163420bc6df8f6252dd6266492e80e101079835ad4c92c6e3e5da6",
      "size_bytes": 14152
    },
    "workflow": {
      "path": "/wwwb/aitools/writer/workflow.json",
      "exists": true,
      "sha256": "a131b82521896a86788dd51ff7868893fe58ddd43573015aea37c718a233f845",
      "size_bytes": 79235
    },
    "todo": {
      "path": "/wwwb/aitools/writer/todo.md",
      "exists": true,
      "sha256": "0d9f3c7f328f8d39eead3e42d104fbe0a86c53daaa1c8d6a3408c21b7f669970",
      "size_bytes": 7008
    },
    "projectreport": {
      "path": "/wwwb/aitools/writer/projectreport.md",
      "exists": true,
      "sha256": "6516eccc8058045dfa66bccb36e47827b9defcd7066b43396a6292ba1bbf9df5",
      "size_bytes": 7496
    },
    "p2v24_gate": {
      "path": "/wwwb/aitools/writer/outputs/p_plan_v2_24_p_plan_final_closeout_20260605_0742/P2V_24_final_closeout_gate.json",
      "exists": true,
      "sha256": "5ea5e39cefc8378d4923585369bbeee4cf518622e8fd1ea806dd7157b12ce6ed",
      "size_bytes": 2622
    },
    "p2v24_debt_register": {
      "path": "/wwwb/aitools/writer/outputs/p_plan_v2_24_p_plan_final_closeout_20260605_0742/P2V_24_readiness_debt_register.jsonl",
      "exists": true,
      "sha256": "f11848721acf1688d4b4081e3e2491944721da098d5a386fcd7b561ea135c6d5",
      "size_bytes": 201325
    },
    "p2v24_handoff": {
      "path": "/wwwb/aitools/writer/outputs/p_plan_v2_24_p_plan_final_closeout_20260605_0742/P2V_24_now32_handoff_calibration.json",
      "exists": true,
      "sha256": "bd34848c561c09778a5a86206a3855908aa52eb7a34d7dfebd429ffc5ed745ff",
      "size_bytes": 3335
    },
    "p2v23_held_packages": {
      "path": "/wwwb/aitools/writer/outputs/p_plan_v2_23_prompt_readiness_packaging_boundary_20260605_0730/P2V_23_held_row_package_rows.jsonl",
      "exists": true,
      "sha256": "4635c55a78bbb0fe95a0580a8437402dff9374ca653ff7343a305675ce3ddb36",
      "size_bytes": 278536
    },
    "p2v23_package": {
      "path": "/wwwb/aitools/writer/outputs/p_plan_v2_23_prompt_readiness_packaging_boundary_20260605_0730/P2V_23_prompt_readiness_package.json",
      "exists": true,
      "sha256": "a57ebbac6bef7390e5f5ff4abf46c479f3cd2f612fb66f356541dab5eee748d5",
      "size_bytes": 11758
    }
  },
  "input_stats": {
    "p2v24_gate": {
      "chapter_package_count": 20,
      "draft_row_count": 1638,
      "held_row_count": 240,
      "fully_ready_chapter_count": 13,
      "partial_or_held_chapter_count": 7,
      "debt_row_count": 247,
      "chapter_readiness_debt_count": 7,
      "held_row_debt_count": 240,
      "provider_prompt_syntax_count": 0,
      "production_lane_accepted_count": 0,
      "validator_failure_count": 0,
      "provider_prompt_count": 0,
      "adapter_payload_count": 0,
      "provider_job_execution_count": 0,
      "media_generation_count": 0,
      "manual_provider_evidence_count": 0,
      "operator_evidence_creation_count": 0,
      "feedback_intake_count": 0,
      "repair_execution_count": 0,
      "replay_action_count": 0,
      "accepted_overlay_write_count": 0,
      "operator_overlay_write_count": 0,
      "canonical_kg_writeback_count": 0,
      "raw_kg_writeback_count": 0,
      "outputs_index_mutation_count": 0
    },
    "p2v24_debt_register": {
      "row_count": 247,
      "parse_failure_count": 0,
      "first_row": {
        "chapter_heading": "第一回　甄士隱夢幻識通靈　賈雨村風塵怀閨秀",
        "chapter_index": 1,
        "debt_id": "P2V24DEBT000001",
        "debt_type": "chapter_readiness_debt",
        "draft_row_count": 127,
        "held_qa_review_count": 9,
        "held_repair_deferred_count": 1,
        "held_row_count": 10,
        "production_lane_accepted": false,
        "readiness_impact": "blocks_complete_chapter_readiness",
        "readiness_label": "partial_ready_with_holds",
        "required_future_contract": "explicit_QA_repair_or_evidence_contract_after_P计划_closeout",
        "schema_id": "p_plan_final_closeout.v1",
        "stage": "P计划_V2_24_p_plan_final_closeout",
        "version": "p_plan_v2_24_p_plan_final_closeout.v1"
      },
      "counts": {
        "debt_type": {
          "chapter_readiness_debt": 7,
          "held_row_debt": 240
        },
        "hold_label": {
          "": 7,
          "qa_review_required": 239,
          "repair_deferred": 1
        }
      }
    },
    "p2v23_held_packages": {
      "row_count": 240,
      "parse_failure_count": 0,
      "first_row": {
        "carried_defer_row_ids": [
          "P2V21CARRY000001"
        ],
        "chapter_heading": "第一回　甄士隱夢幻識通靈　賈雨村風塵怀閨秀",
        "chapter_index": 1,
        "duration_repair_row_id": "",
        "held_package_row_id": "P2V23HELD000001",
        "held_row_id": "P2V22HELD000001",
        "hold_label": "qa_review_required",
        "hold_reasons": [
          "p2v20_qa_review_required"
        ],
        "p2v18_shot_id": "P2V18CH01SC012SH007",
        "p2v19_shot_packet_id": "P2V19CH01SC012SH007",
        "p2v20_readiness_row_id": "P2V20CH01SC012SH007",
        "p2v21_planning_row_id": "P2V21CH01SC012SH007",
        "package_row_id": "P2V23PKGCH01",
        "production_lane_accepted": false,
        "provider_manual_execution_allowed": false,
        "qa_boundary_ids": [
          "P2V20CARRY000001"
        ],
        "readiness_impact": "blocks_chapter_full_readiness",
        "schema_id": "prompt_readiness_package_boundary.v0_draft",
        "script_file": "P2V_17_chapter_01_pipeline.txt",
        "script_sha256": "cb20d19ed938c21ef5d0198d6222244a1acf39accb4231536e1c28453738dd05",
        "source_file": "P2V_17_chapter_01_source.txt",
        "source_sha256": "1c85a7ece733676be2d091577f93b2f6b0d8541e1974298717cf22eceacc370c",
        "stage": "P计划_V2_23_prompt_readiness_packaging_boundary",
        "version": "p_plan_v2_23_prompt_readiness_packaging_boundary.v1"
      },
      "counts": {
        "debt_type": {
          "": 240
        },
        "hold_label": {
          "qa_review_required": 239,
          "repair_deferred": 1
        }
      }
    }
  },
  "previous_round": {
    "dir": "outputs/held_debt_repair_readiness_clearance_contract_deepseek_round1_20260607_1930",
    "parsed": {
      "version": "held_debt_repair_readiness_clearance_contract_deepseek.v1",
      "created_at": "2026-06-07T11:27:54.440878Z",
      "round_id": "round1",
      "call_status": "success",
      "parse_status": "pass",
      "parse_error": "",
      "overall_verdict": "supports_with_required_corrections",
      "round2_verdict": "",
      "confidence": "high",
      "finding_counts": {
        "medium": 1,
        "low": 2
      },
      "findings": [
        {
          "category": "validator",
          "description": "The deterministic validation rules for the implementation gate do not require the post-NOW-33 recalibration gate (or NOW-33 dry-run gate) to have a pass status, only that the artifact is present and hashable. Since the entire contract rests on the reconciliation of NOW-33/34/35 terminal boundaries confirmed by that gate, the contract should explicitly validate that the recalibration gate verdict is pass.",
          "required_fix": "Add a rule: 'post-NOW-33 recalibration gate is missing, its validator_status is not \"pass\", or its gate_status does not indicate successful recalibration (e.g., \"post_now33_code_level_recalibration_pass\")' to the list of failure conditions.",
          "severity": "medium"
        },
        {
          "category": "evidence",
          "description": "The P2V-24 NOW-32 handoff calibration artifact is listed as a required input but its role is not described; it is unclear what validation or usage is expected, risking inconsistent implementation.",
          "required_fix": "Clarify whether the handoff calibration is used for dependency mapping, context, or validation, or remove it from the mandatory inputs if it is not needed for deterministic checks.",
          "severity": "low"
        },
        {
          "category": "clarity",
          "description": "Output file schemas are not defined beyond filenames. While deferring exact formats to implementation is acceptable, the contract should at minimum describe the purpose and any mandatory fields for each output to ensure the read-only boundary is maintained and downstream consumers can rely on them.",
          "required_fix": "Add a brief description of each output's intended content and constraints (e.g., 'HELD_DEBT_clearance_gate.json must contain a validator_status, an array of passed/failed checks, and a summary of counts with zero for all forbidden side effects').",
          "severity": "low"
        }
      ],
      "required_corrections": [
        "Add explicit validation rule requiring post-NOW-33 recalibration gate pass status.",
        "Clarify the role of P2V-24 NOW-32 handoff calibration or remove from required inputs.",
        "Define minimum output file content constraints for the clearance artifacts."
      ],
      "raw_payload": {
        "confidence": "high",
        "contract_scope_supported": true,
        "findings": [
          {
            "category": "validator",
            "description": "The deterministic validation rules for the implementation gate do not require the post-NOW-33 recalibration gate (or NOW-33 dry-run gate) to have a pass status, only that the artifact is present and hashable. Since the entire contract rests on the reconciliation of NOW-33/34/35 terminal boundaries confirmed by that gate, the contract should explicitly validate that the recalibration gate verdict is pass.",
            "required_fix": "Add a rule: 'post-NOW-33 recalibration gate is missing, its validator_status is not \"pass\", or its gate_status does not indicate successful recalibration (e.g., \"post_now33_code_level_recalibration_pass\")' to the list of failure conditions.",
            "severity": "medium"
          },
          {
            "category": "evidence",
            "description": "The P2V-24 NOW-32 handoff calibration artifact is listed as a required input but its role is not described; it is unclear what validation or usage is expected, risking inconsistent implementation.",
            "required_fix": "Clarify whether the handoff calibration is used for dependency mapping, context, or validation, or remove it from the mandatory inputs if it is not needed for deterministic checks.",
            "severity": "low"
          },
          {
            "category": "clarity",
            "description": "Output file schemas are not defined beyond filenames. While deferring exact formats to implementation is acceptable, the contract should at minimum describe the purpose and any mandatory fields for each output to ensure the read-only boundary is maintained and downstream consumers can rely on them.",
            "required_fix": "Add a brief description of each output's intended content and constraints (e.g., 'HELD_DEBT_clearance_gate.json must contain a validator_status, an array of passed/failed checks, and a summary of counts with zero for all forbidden side effects').",
            "severity": "low"
          }
        ],
        "overall_verdict": "supports_with_required_corrections",
        "parse_status": "pass",
        "read_only_boundary_supported": true,
        "recommended_disposition": "land_after_corrections",
        "required_corrections": [
          "Add explicit validation rule requiring post-NOW-33 recalibration gate pass status.",
          "Clarify the role of P2V-24 NOW-32 handoff calibration or remove from required inputs.",
          "Define minimum output file content constraints for the clearance artifacts."
        ]
      },
      "advisory_only": true,
      "not_evidence_or_acceptance_or_route_authority": true
    }
  },
  "hard_boundaries": [
    "Contract landing only; no held-row promotion or readiness row mutation.",
    "No accepted/operator overlay, canonical UID/KG/raw KG/entity-store writeback, replay, asset binding, provider/media/manual execution, evidence, feedback, outputs-index mutation, route transition, or production acceptance.",
    "DeepSeek is advisory-only and cannot become operator acceptance or canonical authority.",
    "DeepSeek missing/skipped/timeout/unavailable/parse_failed blocks pass/readiness for this high-impact contract."
  ],
  "input_fingerprint": "072ac74dfcaef6b42daf831772926d64c02480b80088839079548ec463d4fd5e"
}