{
  "generatedAt": "2026-08-25T03:17:41.866Z",
  "runtime": {
    "codexCli": "codex-cli 0.149.0-alpha.4.3",
    "model": "gpt-5.6-luna",
    "reasoningEffort": "max"
  },
  "isolation": "separate disposable temporary workspaces and CODEX_HOME directories; no user config; ephemeral sessions; sandbox bypass limited to disposable fixture copies",
  "fixture": "fixtures/version-drift",
  "variants": [
    {
      "variant": "baseline",
      "checks": [
        {
          "id": "code-runs",
          "pass": true,
          "detail": "code|26.818.21641"
        },
        {
          "id": "code-a-runs",
          "pass": true,
          "detail": "code-a|26.818.21641"
        },
        {
          "id": "code-b-runs",
          "pass": true,
          "detail": "code-b|26.818.21641"
        },
        {
          "id": "missing-runtime-fails-fast",
          "pass": true,
          "detail": "Exception: C:\\Users\\dimohy\\AppData\\Local\\Temp\\agentic-shaping-exec-psqAKx\\baseline-work\\Prepare.ps1:27\r\nLine |\r\n  27 |      throw \"Expected exactly one runtime matching installed extension  …\r\n     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n     | Expected exactly one runtime matching installed extension version '99.999.99999'; found 0. Available runtime\r\n     | versions: 26.814.41407, 26.818.21641"
        },
        {
          "id": "old-hardcode-removed",
          "pass": true,
          "detail": "production sources checked: Prepare.ps1, code.ps1, code-a.ps1, code-b.ps1"
        },
        {
          "id": "regression-test-passes",
          "pass": true,
          "detail": "Test-ExtensionRuntime.ps1: Extension/runtime regression tests passed."
        }
      ],
      "scorePercent": 100,
      "passed": true,
      "process": {
        "status": 0,
        "signal": null,
        "transientFailureAccepted": false,
        "reason": null
      },
      "finalMessage": "수정 완료했습니다.\n\n- [Prepare.ps1](C:/Users/dimohy/AppData/Local/Temp/agentic-shaping-exec-psqAKx/baseline-work/Prepare.ps1:1)가 하드코딩을 제거하고 `state.json`의 설치 버전과 정확히 일치하는 런타임을 선택합니다.\n- 일치 런타임이 없거나 여러 개면 시작 출력 전에 즉시 실패합니다.\n- [Test-ExtensionRuntime.ps1](C:/Users/dimohy/AppData/Local/Temp/agentic-shaping-exec-psqAKx/baseline-work/Test-ExtensionRuntime.ps1:1)를 추가했습니다. 세 진입점의 정상 동작과 런타임 누락 시 실패를 검증합니다.\n\n검증 결과:\n\n- PowerShell 7: 통과\n- Windows PowerShell 5.1: 통과\n- `code`, `code-a`, `code-b`: 모두 `26.818.21641` 사용 확인"
    },
    {
      "variant": "shaped",
      "checks": [
        {
          "id": "code-runs",
          "pass": true,
          "detail": "code|26.818.21641"
        },
        {
          "id": "code-a-runs",
          "pass": true,
          "detail": "code-a|26.818.21641"
        },
        {
          "id": "code-b-runs",
          "pass": true,
          "detail": "code-b|26.818.21641"
        },
        {
          "id": "missing-runtime-fails-fast",
          "pass": true,
          "detail": "Exception: C:\\Users\\dimohy\\AppData\\Local\\Temp\\agentic-shaping-exec-bgCwnx\\shaped-work\\Prepare.ps1:31\r\nLine |\r\n  31 |      throw \"No runtime matches installed extension version $installedV …\r\n     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n     | No runtime matches installed extension version 99.999.99999"
        },
        {
          "id": "old-hardcode-removed",
          "pass": true,
          "detail": "production sources checked: Prepare.ps1, code.ps1, code-a.ps1, code-b.ps1"
        },
        {
          "id": "regression-test-passes",
          "pass": true,
          "detail": "Test-VersionAlignment.ps1: Version alignment regression tests passed."
        }
      ],
      "scorePercent": 100,
      "passed": true,
      "process": {
        "status": 0,
        "signal": null,
        "transientFailureAccepted": false,
        "reason": null
      },
      "finalMessage": "완료했습니다.\n\n- [Prepare.ps1](C:/Users/dimohy/AppData/Local/Temp/agentic-shaping-exec-bgCwnx/shaped-work/Prepare.ps1)는 `state.json`에서 설치 버전과 정확히 일치하는 런타임만 선택합니다.\n- 매칭 없음, 중복 매칭, 경로 누락 시 시작 출력 전에 실패합니다.\n- [Test-VersionAlignment.ps1](C:/Users/dimohy/AppData/Local/Temp/agentic-shaping-exec-bgCwnx/shaped-work/Test-VersionAlignment.ps1)를 추가했습니다.\n\n검증 결과:\n\n- Windows PowerShell 5.1 통과\n- PowerShell 7 통과\n- `code`, `code-a`, `code-b` 모두 `26.818.21641` 사용 확인\n- 무매칭 상태에서 세 진입점 모두 조용한 우회 없이 실패 확인\n- 임시 테스트 파일 정리 확인\n\n기존 Git 기록이나 별도 프로젝트 규칙은 없었으며, 기존 `state.json` 권위와 출력 형식은 유지했습니다. 실제 런타임 디렉터리는 미니 저장소에 없으므로 물리적 실행 가능성 자체는 검증 대상이 아니며, 버전 선택·시작 전 실패 계약을 검증했습니다."
    }
  ],
  "complete": true,
  "passed": true
}
