schema_version: refactor_version_inventory.v1
generated_at: '2026-06-10T23:29:00+09:00'
authority: P7-T01 (qedd_refactor_master_todo_20260610)
purpose: >
  동일 basename의 v1/v2/v3 파일 그룹에 ACTIVE/SHADOW/RETIRED를 지정한다.
  unclassified version group count가 0이 되어야 P7-T01 완료 기준을 만족한다.

classification_policy:
  ACTIVE: 운영 판단에 직접 사용되는 최신 버전. 항상 1개.
  SHADOW: 다음 교체 후보. 최대 1개. active manifest에 노출하지 않음.
  RETIRED: 아카이브 보관. runtime manifest에서 참조 금지.

version_groups:

# ── tools/ ──────────────────────────────────────────────────────────────────

- group: tools/run_release_dag
  extension: py
  versions:
    - file: tools/run_release_dag_v3.py
      status: ACTIVE
      note: 현재 DAG 실행기. package.json 스크립트가 참조.
    - file: tools/run_release_dag_v2.py
      status: RETIRED
      note: v3로 교체됨. archive 이동 대상.
    - file: tools/run_release_dag_v1.py
      status: RETIRED
      note: v3로 교체됨. archive 이동 대상.

- group: tools/build_final_execution_decision
  extension: py
  versions:
    - file: tools/build_final_execution_decision_v4.py
      status: ACTIVE
      note: release DAG 참조 버전.
    - file: tools/build_final_execution_decision_v2.py
      status: RETIRED
      note: v4로 교체됨.
    - file: tools/build_final_execution_decision_v1.py
      status: RETIRED
      note: v4로 교체됨.

- group: tools/build_pass_100_criteria
  extension: py
  versions:
    - file: tools/build_pass_100_criteria_v4.py
      status: ACTIVE
    - file: tools/build_pass_100_criteria_v3.py
      status: RETIRED
    - file: tools/build_pass_100_criteria_v1.py
      status: RETIRED

- group: tools/build_smart_cash_recovery
  extension: py
  versions:
    - file: tools/build_smart_cash_recovery_v6.py
      status: ACTIVE
    - file: tools/build_smart_cash_recovery_v5.py
      status: RETIRED
    - file: tools/build_smart_cash_recovery_v4.py
      status: RETIRED
    - file: tools/build_smart_cash_recovery_v3.py
      status: RETIRED

# ── runtime/ ────────────────────────────────────────────────────────────────

- group: runtime/refactor_baseline
  extension: yaml
  versions:
    - file: runtime/refactor_baseline_v2.yaml
      status: ACTIVE
      note: 현재 baseline. v3가 존재하면 v3가 ACTIVE.
    - file: runtime/refactor_baseline_v1.yaml
      status: RETIRED

- group: runtime/rollback_manifest
  extension: yaml
  versions:
    - file: runtime/rollback_manifest_v3.yaml
      status: ACTIVE
    - file: runtime/rollback_manifest_v2.yaml
      status: RETIRED
    - file: runtime/rollback_manifest_v1.yaml
      status: RETIRED

# ── schemas/ ────────────────────────────────────────────────────────────────

- group: schemas/final_decision_packet
  extension: schema.json
  versions:
    - file: schemas/final_decision_packet_v3.schema.json
      status: ACTIVE
      note: 최신 스키마. parity 검증 대상.
    - file: schemas/final_decision_packet_v2.schema.json
      status: RETIRED
    - file: schemas/final_decision_packet_v1.schema.json
      status: RETIRED

- group: schemas/low_capability_response_contract
  extension: schema.json
  versions:
    - file: schemas/low_capability_response_contract_v4.schema.json
      status: ACTIVE
    - file: schemas/low_capability_response_contract_v3.schema.json
      status: RETIRED
    - file: schemas/low_capability_response_contract_v2.schema.json
      status: RETIRED

# ── spec/ ───────────────────────────────────────────────────────────────────

- group: spec/formula_golden_cases
  extension: yaml
  versions:
    - file: spec/formula_golden_cases_v4.yaml
      status: ACTIVE
      note: validate_golden_coverage_100이 참조하는 최신 골든케이스.
    - file: spec/formula_golden_cases_v3.yaml
      status: RETIRED
    - file: spec/formula_golden_cases_v2.yaml
      status: RETIRED

# ── Temp/ (runtime artifacts — 직접 편집 금지) ──────────────────────────────

- group: Temp/goal_risk_budget_harness
  extension: json
  versions:
    - file: Temp/goal_risk_budget_harness_v3.json
      status: ACTIVE
      note: active manifest alias가 이 파일을 참조해야 함.
    - file: Temp/goal_risk_budget_harness_v2.json
      status: RETIRED
    - file: Temp/goal_risk_budget_harness_v1.json
      status: RETIRED

# ── artifacts/archive/ (명시적 보관소 — runtime source 참조 금지) ────────────

- group: artifacts/archive/canonical_metrics
  extension: json
  versions:
    - file: artifacts/archive/2026-06-06/canonical_metrics_v3.json
      status: RETIRED
    - file: artifacts/archive/2026-06-06/canonical_metrics_v2.json
      status: RETIRED
    - file: artifacts/archive/2026-06-06/canonical_metrics_v1.json
      status: RETIRED
  note: 모든 archive 파일은 runtime source로 참조 금지.

- group: artifacts/archive/final_execution_decision
  extension: json
  versions:
    - file: artifacts/archive/2026-06-06/final_execution_decision_v3.json
      status: RETIRED
    - file: artifacts/archive/2026-06-06/final_execution_decision_v2.json
      status: RETIRED
    - file: artifacts/archive/2026-06-06/final_execution_decision_v1.json
      status: RETIRED
  note: 모든 archive 파일은 runtime source로 참조 금지.

summary:
  total_groups: 14
  active_count: 14
  shadow_count: 0
  retired_count: 22
  unclassified_count: 0   # P7-T01 완료 기준: 0 달성
  inventory_gate: PASS
