Implement REQ-001~004 (dcy-001): scaffold the trex-core package (pyproject, trex_core/, tests/), port the slot pure domain into trex_core.domain.slot with import rewrites, add the EXPECTED_SLOT_FIELDS contract guard (test_contract), and port the state/service unit tests. Verification: 56 passed, ruff clean, import sweep shows zero external deps, public __all__ exposes no infra symbols, contract negative case reproduced. Align project-structure/runtime-flows baselines to the real tree. Sync SDLC tracking: REQ-001~004 → Implemented, BAT-001 → release-candidate. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4.4 KiB
4.4 KiB
req-004: baseline 문서 planned→실제 정합
- Status: Implemented
- Type: Documentation
- Priority: Medium
- Owner: project maintainers
Intent
- slot 순수 도메인 이식 이후, baseline 문서의 planned 표기를 실제 코드 구조와 일치시켜 Discovery/REQ/Batch 가 참조하는 cross-cutting baseline 의 정확성을 유지한다.
Requirement
- 이식 완료 후
docs/project-structure.md와docs/runtime-flows.md의 planned 표기(디렉터리 트리, 모듈 책임,(planned)/미구현 표기)를 실제trex_core/구조와 일치하도록 갱신한다.
Acceptance Criteria
- Given 이식 완료, When
docs/project-structure.md를 확인, Then(planned)표시가 실제 생성 구조로 갱신되고 트리에trex_core/domain/slot이 실재 구조로 반영된다. - Given 이식 완료, When
docs/runtime-flows.md를 확인, Then in-memory 기반 도메인 흐름 설명이 실제 코드와 일치하고 "미구현" 성격 표기가 정정된다. - Given baseline 문서 전체, When 네임스페이스 표기를 확인, Then
trex_core로 일관되며app/잔존이 없다(정정 이력을 남기는 Change Log 항목은 예외).
Impacted Area
- Docs: docs/project-structure.md, docs/runtime-flows.md
- Modules: 없음(문서 전용)
- Tests: 없음
Notes
- dcy-001 FR-4. REQ-002 이식 완료 후 수행해야 의미가 있다(순서 의존).
docs/data-model.md·docs/interface-contract.md는 이미 도메인 계약 기준으로 작성돼 큰 변경이 없을 수 있으나, 불일치 발견 시 함께 정정한다.- 출처: dcy-001 FR-4.
Change Log
CHG-20260603-01
- Date: 2026-06-03
- Author: Justin Ko
Change Summary
- dcy-001 FR-4 로부터 최초 생성(Proposed).
Intent
- 이식 후 baseline 문서 정합 요구사항을 backlog 로 정규화.
Acceptance Criteria Delta
- Added:
- project-structure 트리/Status 갱신, runtime-flows 흐름 정합, 네임스페이스 일관성 3개 기준
- Updated:
- 없음
- Removed:
- 없음
Impacted Area Delta
- Docs:
- docs/project-structure.md, docs/runtime-flows.md
- Modules:
- 없음
- Tests:
- 없음
Delivery Trace Delta
- Batches:
- none
- Releases:
- none
Revalidation Impact
- Reverification Needed: no
- Existing Implementation Invalidated: no
- Status Recommendation: keep-current
- Follow-up Action: REQ-002 이식 완료 후 batch verification 단계에서 수행
Validation Plan
- baseline 문서와 실제
trex_core/트리 비교 +app/잔존 grep 0(정정 이력 제외)으로 검증.
CHG-20260603-02
- Date: 2026-06-03
- Author: Justin Ko
Change Summary
- Status Proposed → Approved (confirm-req).
Intent
- 승인 게이트(필수 필드·구체 AC·blocker 없음) 충족, source dcy-001(confirmed, handoff 승인)과 모순 없음 확인.
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: REQ-002 이식 완료 후 batch verification 단계에서 수행
Validation Plan
- 승인 후 batch planning 에서 본 REQ 의 Acceptance Criteria 를 검증 기준으로 사용.
CHG-20260603-03
- Date: 2026-06-03
- Author: Justin Ko
Change Summary
- Status Approved → Implemented (confirm-req-implemented, 근거 batch BAT-001 release-candidate).
Intent
- BAT-001 verification.md 의 evidence(project-structure/runtime-flows 정합,
app/잔존 0)로 AC1~AC3 충족 → 구현 완료 동기화.
Acceptance Criteria Delta
- Added:
- 없음
- Updated:
- 없음
- Removed:
- 없음
Impacted Area Delta
- Docs:
- docs/srs/index.md (Register Implemented), docs/project-structure.md, docs/runtime-flows.md
- Modules:
- 없음
- Tests:
- 없음
Delivery Trace Delta
- Batches:
- BAT-001 (release-candidate)
- Releases:
- none
Revalidation Impact
- Reverification Needed: no
- Existing Implementation Invalidated: no
- Status Recommendation: keep-current
- Follow-up Action: draft-release 로 release 편성
Validation Plan
- BAT-001 verification evidence 재참조로 충분.