schema_version: module_io_contract_registry.v1
modules:
  core_engine:
    id: core_engine
    owner: architect
    inputs: ["GatherTradingData.json"]
    outputs: ["Temp/final_decision_packet_active.json"]
    schema: "schemas/final_decision_packet_v3.schema.json"
    artifact_path: "src/quant_engine/compute_formula_outputs.py"
  
  risk_manager:
    id: risk_manager
    owner: risk_officer
    inputs: ["GatherTradingData.json"]
    outputs: ["Temp/strategy_decision_result_v3.json"]
    schema: "schemas/strategy_decision_result.schema.json"
    artifact_path: "src/quant_engine/exit_decisions.py"

  reporting_renderer:
    id: reporting_renderer
    owner: pm
    inputs: ["Temp/final_decision_packet_active.json"]
    outputs: ["Temp/operational_report.json", "Temp/operational_report.md"]
    schema: "schemas/operational_report.schema.json"
    artifact_path: "tools/render_operational_report.py"

  context_builder:
    id: context_builder
    owner: pm
    inputs: ["Temp/final_decision_packet_v4.json", "runtime/active_artifact_manifest.yaml"]
    outputs: ["Temp/final_context_for_llm_v5.yaml"]
    schema: "spec/46_low_capability_execution_pack.yaml"
    artifact_path: "tools/build_low_capability_context_pack_v5.py"
