diff --git a/docs/releases/rel-012_20260717_cost-basis-safe-sync-seed-hotfix.md b/docs/releases/rel-012_20260717_cost-basis-safe-sync-seed-hotfix.md index a8418fa..adab02f 100644 --- a/docs/releases/rel-012_20260717_cost-basis-safe-sync-seed-hotfix.md +++ b/docs/releases/rel-012_20260717_cost-basis-safe-sync-seed-hotfix.md @@ -18,8 +18,8 @@ portfolio-hub의 기존 cost-basis 응답에서 canonical `cost_basis_per_unit` | Item | Current evidence | Release constraint | | --- | --- | --- | | Remote `origin/main` | `18bd8d9f0b7bb76b08303bbf8743e6ddf916de89` (2026-07-17 fetch) | BAT-058 source is **not included** in this remote revision. | -| BAT-058 candidate | delivery worktree `sp/trex-bat-058-lead-kickoff-delivery`, currently uncommitted | A local worktree is not a deployable source pin. | -| Immutable deploy target | **PENDING_COMMIT_AND_PUSH** | Git-ops must publish an exact reviewed commit SHA and verify that the remote tree contains this REL/runbook before ops execution. | +| BAT-058 candidate | [`81a853a`](https://github.com/fourblocks2020/trex-core/commit/81a853a314391da7a8bc9df5517013c7fd296d61) on `origin/feat/dcy-038-cost-basis-safe-sync-seed` | Reviewed code + BAT/REL/runbook source is published; target remains subject to production approval. | +| Immutable deploy target | [`81a853a`](https://github.com/fourblocks2020/trex-core/commit/81a853a314391da7a8bc9df5517013c7fd296d61) | Published and remote-ref verified 2026-07-17; operations independently re-verifies before execution. | This document is a release draft and a preflight request only. It does **not** authorize deployment, daemon restart, broker/portfolio access, `sync --live`, database writes, configuration activation, or credential access. @@ -54,7 +54,7 @@ A single-target `sync --live --yes` remains a separately approved post-release a All items must be satisfied before operations executes the runbook: -- [ ] Git-ops publishes the reviewed source and these release documents; lead records the exact remote immutable target SHA. +- [x] Git-ops published the reviewed source and initial REL/runbook draft; target `81a853a` is remote-ref verified on `origin/feat/dcy-038-cost-basis-safe-sync-seed`. - [ ] Operations verifies that exact target SHA contains REL-012 and its runbook, and captures the actual deployed revision as `ROLLBACK_REVISION`. - [ ] User/approver explicitly authorizes production execution and the approved off-market window is recorded. - [ ] Operations confirms the source checkout is clean; existing runtime configuration and credential/break-glass modes will not change. diff --git a/docs/runbooks/rel-012-cost-basis-safe-sync-seed-deployment.md b/docs/runbooks/rel-012-cost-basis-safe-sync-seed-deployment.md index 29f47e4..fd8b30e 100644 --- a/docs/runbooks/rel-012-cost-basis-safe-sync-seed-deployment.md +++ b/docs/runbooks/rel-012-cost-basis-safe-sync-seed-deployment.md @@ -1,7 +1,7 @@ # REL-012 cost-basis safe sync seed hotfix — deployment runbook - Release: `REL-012` -- Target source: **PENDING_COMMIT_AND_PUSH** (replace only with the approved immutable remote SHA) +- Target source: [`81a853a314391da7a8bc9df5517013c7fd296d61`](https://github.com/fourblocks2020/trex-core/commit/81a853a314391da7a8bc9df5517013c7fd296d61) (must be verified on origin before execution) - Execution owner: 운영팀 - Approval required: team lead review + user production execution approval - Safety classification: daemon restart; no DB migration; read/dry-run smoke only @@ -24,7 +24,7 @@ If a prohibited action appears necessary, stop and return to the approver. ## 2. Preflight -1. Confirm the exact approved target SHA, approval, and off-market execution window. If the target remains `PENDING_COMMIT_AND_PUSH`, **stop**. +1. Confirm the exact approved target SHA (`81a853a314391da7a8bc9df5517013c7fd296d61`), origin publication, approval, and off-market execution window. If the SHA cannot be verified on origin, **stop**. 2. Capture only redacted operating-checkout metadata: ```bash diff --git a/docs/runbooks/rel-012-cost-basis-safe-sync-seed-ops-handoff.md b/docs/runbooks/rel-012-cost-basis-safe-sync-seed-ops-handoff.md index a5c703f..fd8afa3 100644 --- a/docs/runbooks/rel-012-cost-basis-safe-sync-seed-ops-handoff.md +++ b/docs/runbooks/rel-012-cost-basis-safe-sync-seed-ops-handoff.md @@ -2,19 +2,19 @@ - 대상: 운영팀 (`trex-op`) - 작성일: 2026-07-17 -- 상태: **긴급 배포 사전 근거 및 실행 요청 준비 — source publication / production approval 대기** +- 상태: **긴급 배포 사전 근거 완료 — explicit production execution approval / window / host preflight 대기** > 이 문서는 운영팀용 요약이다. 실제 실행은 immutable remote source에 존재하는 REL-012 및 deployment runbook만 따른다. 이 문서는 deployment approval 또는 execution completion이 아니다. ## 1. 결론 -BAT-058은 independent QC-7 `PASS-WITH-NOTES`를 수용해 batch verification을 완료했고, REL-012 긴급 릴리즈 초안을 준비했다. 코드가 현재 delivery worktree에만 존재하여 **배포 가능한 immutable target SHA는 아직 없다**. 따라서 운영팀은 지금 배포를 시작하지 말고, 아래 source-publication gate가 해소된 뒤에만 preflight를 시작한다. +BAT-058은 independent QC-7 `PASS-WITH-NOTES`를 수용해 batch verification을 완료했고, REL-012 긴급 릴리즈 초안을 준비했다. 배포 후보 [`81a853a`](https://github.com/fourblocks2020/trex-core/commit/81a853a314391da7a8bc9df5517013c7fd296d61)는 `origin/feat/dcy-038-cost-basis-safe-sync-seed`에 게시·원격 ref 검증됐다. 운영팀은 explicit production execution approval이 확인되기 전에는 배포를 시작하지 말고, 승인된 window에서 host preflight를 완료한 뒤에만 실행한다. ## 2. 배포 전 근거와 원본 | 순서 | Release | 배포 대상 source/artifact | 비운영 근거 | 실행 전 남은 gate | immutable 원본 링크 | | --- | --- | --- | --- | --- | --- | -| 1 | REL-012 / BAT-058 | `PENDING_COMMIT_AND_PUSH` | QC-7: focused `113 passed`, full `833 passed, 47 skipped`; release-prep full regression `833 passed, 47 skipped`; focused Ruff/compileall PASS | immutable SHA publish·remote tree 확인·release execution approval·window·host preflight | **PENDING** — git-ops 검증 후 commit-URL만 삽입 | +| 1 | REL-012 / BAT-058 | [`81a853a`](https://github.com/fourblocks2020/trex-core/commit/81a853a314391da7a8bc9df5517013c7fd296d61) | QC-7: focused `113 passed`, full `833 passed, 47 skipped`; release-prep full regression `833 passed, 47 skipped`; focused Ruff/compileall PASS | production execution approval·window·host preflight (운영팀은 target SHA를 독립 재확인) | [commit 81a853a](https://github.com/fourblocks2020/trex-core/commit/81a853a314391da7a8bc9df5517013c7fd296d61) | 원본 문서(현재 release candidate worktree):