---
phase: 73-docs-acceptance-and-regression-closure
plan: 01
type: execute
wave: 1
depends_on:
  - 72-research-judgment-signals-in-decision-surfaces
files_modified:
  - research/knowledge-hub/runtime/scripts/run_analytical_judgment_surface_acceptance.py
  - research/knowledge-hub/runtime/README.md
  - research/knowledge-hub/runtime/AITP_TEST_RUNBOOK.md
  - research/knowledge-hub/README.md
  - research/knowledge-hub/tests/test_research_judgment_contracts.py
autonomous: true
requirements:
  - REQ-VERIFY-01
must_haves:
  truths:
    - milestone-close verification must include one non-mocked analytical-review plus judgment path
    - runtime docs and runbook must expose the new judgment surfaces and acceptance path
    - final regression and maintainability gates stay green
---

<objective>
Close `v1.47` with docs parity, one bounded non-mocked acceptance path, and a
green final regression baseline.
</objective>

<execution_context>
@D:/BaiduSyncdisk/Theoretical-Physics/.codex-home/get-shit-done/workflows/execute-plan.md
@D:/BaiduSyncdisk/Theoretical-Physics/.codex-home/get-shit-done/templates/summary.md
</execution_context>

<context>
@.planning/phases/73-docs-acceptance-and-regression-closure/73-CONTEXT.md
@.planning/REQUIREMENTS.md
@research/knowledge-hub/runtime/README.md
@research/knowledge-hub/runtime/AITP_TEST_RUNBOOK.md
</context>

<tasks>

<task type="auto">
  <name>Task 1: Add failing docs/acceptance contract tests</name>
  <files>research/knowledge-hub/tests/test_research_judgment_contracts.py</files>
  <read_first>research/knowledge-hub/runtime/README.md, research/knowledge-hub/runtime/AITP_TEST_RUNBOOK.md</read_first>
  <action>Add red tests that require a discoverable judgment acceptance script plus runtime docs that mention the new judgment surfaces.</action>
  <verify>python -m pytest research/knowledge-hub/tests/test_research_judgment_contracts.py -q</verify>
  <acceptance_criteria>
    - tests fail before implementation
    - failures prove the final acceptance surface is still undiscoverable
  </acceptance_criteria>
  <done>A red closure contract exists for Phase `73`.</done>
</task>

<task type="auto">
  <name>Task 2: Add the final non-mocked acceptance path and docs parity</name>
  <files>research/knowledge-hub/runtime/scripts/run_analytical_judgment_surface_acceptance.py, research/knowledge-hub/runtime/README.md, research/knowledge-hub/runtime/AITP_TEST_RUNBOOK.md, research/knowledge-hub/README.md</files>
  <read_first>research/knowledge-hub/runtime/scripts/run_source_catalog_acceptance.py, research/knowledge-hub/runtime/README.md</read_first>
  <action>Create an isolated production-CLI acceptance script for analytical review plus research judgment, and document it in the kernel/runtime docs.</action>
  <verify>python research/knowledge-hub/runtime/scripts/run_analytical_judgment_surface_acceptance.py --json</verify>
  <acceptance_criteria>
    - the acceptance script exits 0
    - it proves `analytical-review`, `verify --mode analytical`, and `status --json` together
    - docs and runbook mention the script and `research_judgment.active.json|md`
  </acceptance_criteria>
  <done>Phase `73` has a bounded non-mocked acceptance path and discoverable docs.</done>
</task>

<task type="auto">
  <name>Task 3: Re-run final docs/contract slice, watch budgets, and the full suite</name>
  <files>research/knowledge-hub/tests/test_research_judgment_contracts.py, research/knowledge-hub/tests/test_l2_backend_contracts.py, research/knowledge-hub/tests/test_source_catalog_contracts.py, research/knowledge-hub/tests/test_maintainability_budgets.py</files>
  <read_first>.planning/REQUIREMENTS.md</read_first>
  <action>Re-run the docs/contract slice, the isolated acceptance, the watch budgets, and the full knowledge-hub suite to close the milestone on a green baseline.</action>
  <verify>python -m pytest research/knowledge-hub/tests -q</verify>
  <acceptance_criteria>
    - docs/contract slice exits 0
    - acceptance exits 0
    - maintainability budgets stay green
    - full suite exits 0
  </acceptance_criteria>
  <done>`v1.47` is ready for milestone audit and closure.</done>
</task>

</tasks>
