Files
trex-core/docs/batches/bat-003_20260604_daemon-dotenv-config/index.md
T
genichinandClaude Opus 4.8 c8174e8bb6 docs(release): REL-001 released → feedback-captured (BAT-001~008 released)
운영자(Hermes Agent) 실 환경 배포 evidence(revision 71faa23, host 86ba33f2997a,
broker=kis LIVE, 2026-06-06T11:18:16Z) 반영:
- Release Execution Evidence 기재(배포 facts + app-service profile checks +
  동일 revision 71faa23 pre-deploy 게이트 재현 보강).
- Rollback Outcome 의미 정정: 운영자 보고 "rollback yes"는 배포 롤백이 아니라
  휴장일(현충일) KIS 거절에 따른 slot pending_buy→idle 정상 복구(매수 거부 경로 smoke 성공).
- capture-release-feedback: release feedback-captured 전환,
  포함 batch BAT-001~008 released 전환.
- 잔여(차기 거래일 실증): ledger flush(fill→ledger), 마이그레이션 명시 로그,
  포지션 정합/warning 마스킹 결과 로그 — Feedback Handoff 기록.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 00:26:08 +09:00

1.2 KiB

BAT-003: 데몬 설정 .env 로딩 (minor-change)

  • Status: released
  • Profile: batch-lite
  • Source Discovery: dcy-002 (REQ-010 은 데몬 설정 편의 개선)
  • Included REQ: REQ-010
  • Excluded REQ: 없음

Summary

  • REQ-010 단일 저위험 Configuration 요구사항을 minor-change fast path 로 처리한다. 데몬 기동 시 .env 를 로드(실 OS env 우선)하고, .env 는 gitignore, .env.example 제공.

Scope

  • In Scope:
    • python-dotenv 의존성 추가, DaemonConfig.from_env() 에 .env best-effort 로드.
    • .gitignore 에 .env 추가, .env.example 신규.
    • 설정 로드/우선순위/부재 회귀 단위테스트.
  • Out of Scope:
    • 다른 설정 방식(TOML/CLI/시크릿 매니저) — 본 변경과 무관.

Documents

Notes

  • minor-change: 구조/인터페이스/런타임 흐름 변경 없음(기동 시 env 소스 추가뿐). design 불요.
  • dotenv 미설치/.env 부재 시 graceful no-op → 회귀 없음.