docs(req): dcy-020 confirm-req(REQ-056~065 Approved) + 기존 REQ supersession change-req

- confirm-req: REQ-056~065 Proposed→Approved (CHG-20260610-02 각). srs/index Register Approved.
- change-req(forward-looking): REQ-002/003/005/006/007 에 dcy-020 재정의/폐기 예정 기록
  (CHG-20260610-01). 현재 코드 불변이라 status Implemented 유지(keep-current);
  실제 폐기/재정의·status 전환은 dcy-020 delivery 배치에서 확정.
  - REQ-002 상태머신/도메인 → REQ-056/057/062
  - REQ-003 테스트 계약 → REQ-056/057
  - REQ-005 일일 preallocation 폐기 → REQ-058(reconcile)/REQ-060(M)
  - REQ-006 persistence 스키마 → REQ-056/062/064
  - REQ-007 admission/intent → REQ-059/061

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 10:32:52 +09:00
co-authored by Claude Opus 4.8
parent e2a71e50e2
commit f7d309be71
16 changed files with 465 additions and 20 deletions
@@ -232,3 +232,42 @@
#### Validation Plan
- BAT-025: unit (in-memory selector 정렬·reallocation) green; 마이그레이션 008 round-trip + 드리프트 가드는 test DSN 환경에서 자동 검증(라이브 runtime DSN 미사용 — 파괴적 truncate 회피).
### CHG-20260610-01
- Date: 2026-06-10
- Author: Justin Ko
#### Change Summary
- (change-req, dcy-020) `daily_slot` persistence 가 영구 슬롯 스키마로 **재정의 예정** — REQ-056(portfolio_id 영구키·instance_key·`UNIQUE(instance_key, portfolio_id)`·trading_date/entry_count 제거·retired_at)·REQ-062(qty 미러)가 대체. find_allocatable_slot 등 풀 모델 쿼리 폐기. 현재 코드 불변이라 Implemented 유지(keep-current), dcy-020 스키마 배치 + cutover(REQ-064)에서 확정.
#### Intent
- 영구 슬롯 persistence 전환 추적성 forward-link.
#### Acceptance Criteria Delta
- Updated: 없음(dcy-020 delivery 배치에서 스키마 AC 재정의)
#### Impacted Area Delta
- Docs: dcy-020, REQ-056/062/064
- Modules: (예정) adapters/persistence/postgresql.py·sql/ 재설계
- Tests: (예정) test_migration_and_drift 재작성
#### Delivery Trace Delta
- Batches: (예정) dcy-020 스키마/cutover 배치
- Releases: none
#### Revalidation Impact
- Reverification Needed: no (현 시점)
- Existing Implementation Invalidated: no (코드 불변)
- Status Recommendation: keep-current
- Follow-up Action: dcy-020 스키마/cutover 배치에서 재정의 + status 전환.
#### Validation Plan
- dcy-020 스키마/cutover 배치 verification 으로 대체.
@@ -1,6 +1,6 @@
# req-056: 자산 영구 슬롯 스키마 재설계 + 마이그레이션
- Status: Proposed
- Status: Approved
- Type: Data
- Priority: High
- Owner: project maintainers
@@ -62,3 +62,28 @@
#### Validation Plan
- 마이그레이션 적용 후 스키마/UNIQUE/계약 가드 + drift 테스트 green.
### CHG-20260610-02
- Date: 2026-06-10
- Author: Justin Ko
#### Change Summary
- Status Proposed → Approved (confirm-req). 필수 필드·구체 AC 충족, source dcy-020(confirmed, handoff 승인)과 모순 없음.
#### Intent
- delivery input 으로 승격.
#### Acceptance Criteria Delta
- Added: 없음 / Updated: 없음 / Removed: 없음
#### Impacted Area Delta
- Docs: docs/srs/index.md (Register Approved) / Modules: 없음 / Tests: 없음
#### Delivery Trace Delta
- Batches: none (batch 편성 전) / Releases: none
#### Revalidation Impact
- Reverification Needed: no / Existing Implementation Invalidated: no / Status Recommendation: keep-current / Follow-up Action: suggest-batch-reqs / draft-batch.
#### Validation Plan
- 승인 후 batch planning 에서 본 REQ AC 를 검증 기준으로 사용.