---
phase: 72-research-judgment-signals-in-decision-surfaces
plan: 01
type: execute
wave: 1
depends_on:
  - 71-analytical-review-artifacts-and-runtime-surfaces
files_modified:
  - research/knowledge-hub/knowledge_hub/research_judgment_support.py
  - research/knowledge-hub/knowledge_hub/research_judgment_runtime_support.py
  - research/knowledge-hub/knowledge_hub/topic_status_explainability_support.py
  - research/knowledge-hub/knowledge_hub/topic_shell_support.py
  - research/knowledge-hub/knowledge_hub/runtime_truth_service.py
  - research/knowledge-hub/knowledge_hub/runtime_bundle_support.py
  - research/knowledge-hub/knowledge_hub/aitp_service.py
  - schemas/topic-synopsis.schema.json
  - research/knowledge-hub/schemas/topic-synopsis.schema.json
  - research/knowledge-hub/runtime/schemas/progressive-disclosure-runtime-bundle.schema.json
  - research/knowledge-hub/tests/test_aitp_service.py
  - research/knowledge-hub/tests/test_aitp_cli_e2e.py
  - research/knowledge-hub/tests/test_runtime_profiles_and_projections.py
  - research/knowledge-hub/tests/test_schema_contracts.py
autonomous: true
requirements:
  - REQ-RJ-01
  - REQ-RJ-02
must_haves:
  truths:
    - decision surfaces must expose momentum / stuckness / surprise through production runtime outputs
    - judgment signals must stay reviewable as durable artifacts
    - maintainability budgets remain binding while adding those signals
---

<objective>
Expose bounded research-judgment signals through durable runtime and
decision-surface outputs.
</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/72-research-judgment-signals-in-decision-surfaces/72-CONTEXT.md
@.planning/REQUIREMENTS.md
@research/knowledge-hub/knowledge_hub/runtime_truth_service.py
@research/knowledge-hub/knowledge_hub/runtime_bundle_support.py
</context>

<tasks>

<task type="auto">
  <name>Task 1: Add failing tests for durable judgment signals</name>
  <files>research/knowledge-hub/tests/test_aitp_service.py, research/knowledge-hub/tests/test_aitp_cli_e2e.py, research/knowledge-hub/tests/test_schema_contracts.py</files>
  <read_first>research/knowledge-hub/tests/test_aitp_service.py, research/knowledge-hub/knowledge_hub/runtime_truth_service.py</read_first>
  <action>Add red tests that require durable research-judgment artifacts and visible momentum / stuckness / surprise fields through status and runtime surfaces.</action>
  <verify>python -m pytest research/knowledge-hub/tests/test_aitp_service.py research/knowledge-hub/tests/test_aitp_cli_e2e.py research/knowledge-hub/tests/test_schema_contracts.py -q</verify>
  <acceptance_criteria>
    - tests fail before implementation
    - failures prove judgment signals are still missing from production decision surfaces
  </acceptance_criteria>
  <done>A red contract exists for Phase `72`.</done>
</task>

<task type="auto">
  <name>Task 2: Implement durable research-judgment surfaces</name>
  <files>research/knowledge-hub/knowledge_hub/research_judgment_support.py, research/knowledge-hub/knowledge_hub/research_judgment_runtime_support.py, research/knowledge-hub/knowledge_hub/topic_status_explainability_support.py, research/knowledge-hub/knowledge_hub/topic_shell_support.py, research/knowledge-hub/knowledge_hub/runtime_truth_service.py, research/knowledge-hub/knowledge_hub/runtime_bundle_support.py, research/knowledge-hub/knowledge_hub/aitp_service.py</files>
  <read_first>research/knowledge-hub/knowledge_hub/topic_shell_support.py, research/knowledge-hub/knowledge_hub/runtime_bundle_support.py</read_first>
  <action>Materialize runtime judgment artifacts and project them into topic status, synopsis, dashboard, and runtime-bundle decision surfaces.</action>
  <verify>python -m pytest research/knowledge-hub/tests/test_aitp_service.py research/knowledge-hub/tests/test_aitp_cli_e2e.py research/knowledge-hub/tests/test_runtime_profiles_and_projections.py research/knowledge-hub/tests/test_schema_contracts.py -q</verify>
  <acceptance_criteria>
    - `status --json` exposes durable judgment signals
    - runtime bundles include research-judgment and decision-surface signal fields
    - judgment signals are persisted to disk in a reviewable runtime artifact
  </acceptance_criteria>
  <done>Research judgment becomes a durable runtime surface instead of a hidden heuristic.</done>
</task>

<task type="auto">
  <name>Task 3: Re-run regressions and maintainability watch checks</name>
  <files>research/knowledge-hub/tests/test_maintainability_budgets.py, research/knowledge-hub/tests/test_aitp_service.py, research/knowledge-hub/tests/test_aitp_cli_e2e.py, research/knowledge-hub/tests/test_runtime_profiles_and_projections.py, research/knowledge-hub/tests/test_schema_contracts.py</files>
  <read_first>.planning/REQUIREMENTS.md</read_first>
  <action>Re-run the judgment-signal slice, watch budgets, and the full knowledge-hub suite before moving to milestone-close docs and acceptance.</action>
  <verify>python -m pytest research/knowledge-hub/tests -q</verify>
  <acceptance_criteria>
    - judgment-signal slice exits 0
    - maintainability budgets stay green
    - no full-suite regression is introduced
  </acceptance_criteria>
  <done>Phase `72` lands on a stable verified baseline.</done>
</task>

</tasks>
