8561afbcd2
키움 기간조회 API 부재로 복구 불가한 EOD 누적 데이터를 버전관리에 포함. 시크릿·sqlite·logs는 계속 .gitignore 제외 (별도 백업 대상). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
78 lines
1.7 KiB
Plaintext
78 lines
1.7 KiB
Plaintext
# =====================================================================
|
|
# OpenClaw workspace .gitignore
|
|
# 원칙: 시크릿 · 런타임 상태 · 바이너리 · 백업은 절대 추적하지 않는다.
|
|
# 직접 손대는 자산(설정·스크립트·스킬·문서·큐레이션 메모리)만 추적.
|
|
# =====================================================================
|
|
|
|
# ----- OS / editor -----
|
|
.DS_Store
|
|
*.swp
|
|
__pycache__/
|
|
*.pyc
|
|
node_modules/
|
|
|
|
# ----- 시크릿 / 자격증명 / 신원 (NEVER) -----
|
|
/credentials/*
|
|
!/credentials/*.example
|
|
/identity/
|
|
/service-env/
|
|
/devices/
|
|
/telegram/
|
|
exec-approvals.json
|
|
update-check.json
|
|
.claude/
|
|
|
|
# 에이전트별 auth / 런타임 (auth-profiles, codex-home, 세션, inbox 메시지)
|
|
/agents/*/agent/
|
|
/agents/*/sessions/
|
|
/agents/*/inbox/
|
|
|
|
# ----- 런타임 상태 / 캐시 / 로그 (모든 depth) -----
|
|
# state 내용물은 제외하되, 작은 누적 데이터(jsonl)는 추적 (복구 불가 — 키움 기간조회 API 없음)
|
|
**/state/*
|
|
!**/state/trade_journal.jsonl
|
|
!**/state/market_indicators_history.jsonl
|
|
/cache/
|
|
/locks/
|
|
/logs/
|
|
/tmp/
|
|
/media/
|
|
/canvas/
|
|
/acpx/
|
|
/backups/
|
|
/npm/
|
|
/tui/
|
|
/extensions/
|
|
/delivery-queue/
|
|
/session-delivery-queue/
|
|
/subagents/
|
|
/.playwright-mcp/
|
|
|
|
# 플러그인 · 플로우 · 태스크 런타임
|
|
/flows/
|
|
/tasks/
|
|
/plugins/
|
|
/plugin-skills/
|
|
/openclaw/
|
|
|
|
# 메모리 sqlite DB (root) — 바이너리 런타임
|
|
/memory/
|
|
|
|
# 자동 생성 dream/recall 캐시 (큐레이션 .md 만 추적)
|
|
.dreams/
|
|
|
|
# ----- 백업 / clobbered / rollback -----
|
|
*.bak
|
|
*.bak.*
|
|
*.bak-*
|
|
openclaw.json.clobbered.*
|
|
openclaw.json.last-good
|
|
openclaw.json.pre-*
|
|
|
|
# cron 런타임 (jobs.json 만 추적)
|
|
/cron/jobs-state.json
|
|
/cron/runs/
|
|
|
|
# ----- 문서: 대용량 벤더 PDF (저작권) 제외, 마크다운 카탈로그만 -----
|
|
/docs/*.pdf
|