Files
portfolio-hub/.proofline/criteria/ac-0022.md
T
genichin 6e02d92282 Add ProofLine criteria documentation and Strategy Catalog v1 implementation
- Add acceptance criteria documentation (AC-0013 through AC-0023)
- Add Line-0003 discovery documentation
- Implement Strategy Catalog v1 with new database migration
- Update portfolio API endpoints and schemas
- Refactor strategy and portfolio services
- Add strategy management CLI commands
- Update domain models with strategy catalog support
- Add comprehensive tests for v1 strategies
- Update design documentation (data model, interfaces, runtime flows)
2026-08-15 11:18:31 +09:00

18 lines
1.3 KiB
Markdown

---
id: "ac-0022"
status: active
---
# downstream 슬롯 적용 시점 경계
## Criterion
portfolio-hub에 commit된 전략 변경은 이후 portfolio-hub API 조회에 즉시 보이되 실행 중 trex-core 슬롯·기존 주문·완료 거래에 소급 적용되지 않아야 하며, trex-core는 다음 슬롯 재생성 또는 정기 갱신에서 최신 revision을 가져와 이후 동작에 적용해야 한다.
## Verification
- 성공 조건: portfolio-hub 조회는 최신 revision을 제공하고 portfolio-hub가 daemon reload/restart 또는 config push를 발생시키지 않으며, trex-core의 다음 refresh가 최신 revision을 선택한다.
- 실패·경계 조건: PATCH가 실행 중 슬롯을 강제 변경하거나 기존 주문·완료 거래를 재해석하지 않고, 정확한 일일 scheduler 시각은 이 Line이 정하지 않는다.
- 검사 방법: portfolio-hub API/runtime-flow 문서와 outbound side-effect 부재를 검사하고, 별도 trex-core integration에서 refresh 전/후 revision 적용을 검증한다.
- 현재 구현 평가: portfolio-hub 측 최신 revision 노출과 강제 push/reload 부재는 working tree에 반영되어 있다. trex-core refresh end-to-end 검증은 이 저장소에 executable seam이 없어 현재 `UNVERIFIED`이며, `active` 상태를 satisfaction으로 해석하지 않는다.