---
phase: 65-retrieval-docs-acceptance-and-regression-closure
plan: 01
type: execute
wave: 1
depends_on:
  - 64-human-facing-graph-reports-and-derived-navigation
files_modified:
  - README.md
  - research/knowledge-hub/README.md
  - research/knowledge-hub/runtime/README.md
  - research/knowledge-hub/runtime/AITP_TEST_RUNBOOK.md
  - research/knowledge-hub/runtime/scripts/run_l2_mvp_direction_acceptance.py
  - research/knowledge-hub/tests/test_l2_backend_contracts.py
autonomous: true
requirements:
  - REQ-VERIFY-01
must_haves:
  truths:
    - docs parity must reflect the real graph-report surface
    - acceptance must run through production CLI on an isolated kernel root
    - milestone closure is invalid without full regression green
---

<objective>
Close `v1.45` with docs parity, non-mocked acceptance, and final regression
evidence.
</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/65-retrieval-docs-acceptance-and-regression-closure/65-CONTEXT.md
@.planning/REQUIREMENTS.md
@research/knowledge-hub/runtime/scripts/run_l2_mvp_direction_acceptance.py
@research/knowledge-hub/tests/test_l2_backend_contracts.py
</context>

<tasks>

<task type="auto">
  <name>Task 1: Add failing docs and acceptance contract tests</name>
  <files>research/knowledge-hub/tests/test_l2_backend_contracts.py</files>
  <read_first>research/knowledge-hub/tests/test_l2_backend_contracts.py</read_first>
  <action>Add red contract checks for graph-report docs parity and acceptance-script coverage.</action>
  <verify>python -m pytest research/knowledge-hub/tests/test_l2_backend_contracts.py -q</verify>
  <acceptance_criteria>
    - tests fail before implementation
    - failures prove docs or acceptance are still incomplete
  </acceptance_criteria>
  <done>A red contract exists for Phase `65`.</done>
</task>

<task type="auto">
  <name>Task 2: Update docs and bounded acceptance coverage</name>
  <files>README.md, research/knowledge-hub/README.md, research/knowledge-hub/runtime/README.md, research/knowledge-hub/runtime/AITP_TEST_RUNBOOK.md, research/knowledge-hub/runtime/scripts/run_l2_mvp_direction_acceptance.py</files>
  <read_first>research/knowledge-hub/README.md, research/knowledge-hub/runtime/scripts/run_l2_mvp_direction_acceptance.py</read_first>
  <action>Make the graph-report command discoverable in docs and extend the isolated acceptance script to verify graph-report artifacts.</action>
  <verify>python -m pytest research/knowledge-hub/tests/test_l2_backend_contracts.py -q</verify>
  <acceptance_criteria>
    - docs mention `compile-l2-graph-report`
    - acceptance verifies graph-report and navigation outputs
    - the non-mocked acceptance still uses an isolated temp kernel root
  </acceptance_criteria>
  <done>Docs parity and acceptance close over the matured retrieval surface.</done>
</task>

<task type="auto">
  <name>Task 3: Run acceptance and final regression</name>
  <files>research/knowledge-hub/runtime/scripts/run_l2_mvp_direction_acceptance.py, research/knowledge-hub/tests/</files>
  <read_first>.planning/REQUIREMENTS.md</read_first>
  <action>Run the upgraded acceptance script and the full knowledge-hub suite, then archive the milestone with final traceability docs.</action>
  <verify>python -m pytest research/knowledge-hub/tests -q</verify>
  <acceptance_criteria>
    - acceptance exits 0
    - docs contracts exit 0
    - full suite exits 0
  </acceptance_criteria>
  <done>Milestone `v1.45` is ready to archive.</done>
</task>

</tasks>
