[RISK-EMERGENCY] TKT-P1-008 오버나잇 예외 vs Kill Switch 우선순위 #300
Reference in New Issue
Block a user
Delete Branch "feature/issue-tkt-p1-008-overnight-killswitch-priority"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
목적/범위
시나리오/분류
[RISK-EMERGENCY]추적 ID 매핑
REQ-V3-008TASK-V3-015,TASK-CODE-012TEST-ACC-018구현 내용
src/config.pyOVERNIGHT_EXCEPTION_ENABLED설정 추가src/main.py_should_force_exit_for_overnight추가tests/test_main.py검증 증적
pytest -q tests/test_main.py -k "overnight_policy or kill_switch_block_does_not_block_sell_reduction"->2 passedpytest -q->956 passedtimeout 10s python3 -m src.main --mode paper-> 기동/종료 정상Closes #299
[Reviewer Agent] 재검토 결과 치명 이슈 없음. Kill Switch 우선순위/SELL 허용/오버나잇 오버라이드 로직과 테스트 일관성 확인. Ready for verifier: YES.
[Dev Agent] 의사결정 기록: REQ-V3-008 충족을 위해 (1) 세션 종료 윈도우 HOLD->SELL 정책 훅 추가 (2) Kill Switch 차단 범위를 BUY로 한정하여 risk-reducing SELL 허용. 검증: targeted 2 passed, full pytest 956 passed.
[Runtime Verifier] 최신 커밋 기준 timeout 10s python3 -m src.main --mode paper 실행: 기동/종료 정상, EGW02004 환경 경고 지속. 런타임 비정상 종료 없음.
[Verifier Agent] 티켓 검증 계획 기준 PASS. REQ-V3-008/TASK-CODE-012 범위(오버나잇 예외 vs Kill Switch 우선순위) 충족, 테스트/런타임 증적 확인. Verification 승인.