a3f50fe851
#2011: migrate app state to ~/.codewhale - Add CodeWhalePaths: codewhale_home(), legacy_deepseek_home(), resolve_state_dir(), ensure_state_dir() in codewhale-config - Config: resolve_config_path supports CODEWHALE_CONFIG_PATH env, default_config_path prefers ~/.codewhale/config.toml - Project overlay: checks .codewhale/config.toml before .deepseek/ - Sessions: default_sessions_dir uses resolve_state_dir with fallback - Workspace trust: writes to CodeWhale home via ensure_state_dir - Init: ensure_deepseek_gitignored adds both .codewhale/ and .deepseek/ - .gitignore: adds .codewhale/ #2010: session artifact hygiene - /save without path now writes to managed sessions dir instead of cwd - Boot-time session prune via cleanup_old_sessions (MAX_SESSIONS=50) - sessions_dir() public accessor for checkpoint path resolution Fix: load_recent_checkpoint now uses manager.sessions_dir() instead of hardcoding ~/.deepseek/sessions/checkpoints/
113 lines
1.9 KiB
Plaintext
113 lines
1.9 KiB
Plaintext
# Build artifacts
|
|
/target
|
|
*.pdb
|
|
*.exe
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
*.rlib
|
|
*.o
|
|
|
|
# Development
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
node_modules/
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
.pytest_cache/
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv/
|
|
*.egg-info/
|
|
dist/
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# Generated
|
|
outputs/
|
|
tmp/
|
|
|
|
# Reference papers / large research blobs (keep locally if needed, don't ship)
|
|
docs/DeepSeek_V4.pdf
|
|
docs/*.pdf
|
|
|
|
# Note: Cargo.lock is intentionally NOT ignored for reproducible builds
|
|
|
|
# Local dev scripts and temp files
|
|
*.sh
|
|
!scripts/**
|
|
!.github/scripts/**
|
|
test.txt
|
|
TODO*.md
|
|
todo*.md
|
|
CLAUDE.md
|
|
NEXT_SESSION.md
|
|
AI_HANDOFF.md
|
|
result.json
|
|
count_deps.py
|
|
project_overhaul_prompt.md
|
|
.codex/
|
|
.context/
|
|
.wrangler/
|
|
|
|
# Local runtime state
|
|
.codewhale/
|
|
.deepseek/
|
|
**/session_*.json
|
|
*.db
|
|
npm/*/bin/downloads/
|
|
|
|
# Companion app (tracked separately)
|
|
apps/
|
|
|
|
# Claude Code runtime artifacts
|
|
.claude/scheduled_tasks.lock
|
|
.claude/worktrees/
|
|
.worktrees/
|
|
.ace-tool/
|
|
|
|
# Local-only Claude / ralph notes
|
|
.claude/*.local.md
|
|
.claude/*.local.json
|
|
|
|
# Maintainer handoff + codemap notes are working-state, not user-facing
|
|
# artifacts. They've leaked into the public repo via .claude/ in the past
|
|
# (HANDOFF_v0.8.28, CODEMAP_v0.8.25) — those files now live under
|
|
# .private/handoffs/ instead. Block the patterns here so a future accidental
|
|
# add doesn't silently land on main.
|
|
.claude/HANDOFF_*
|
|
.claude/CODEMAP_*
|
|
.claude/handoff_*
|
|
.claude/codemap_*
|
|
|
|
# Maintainer-internal design notes (trade-secret material, never published)
|
|
.private/
|
|
|
|
# Maintainer-local SWE-bench scratch (instance workspaces, venvs, predictions,
|
|
# Docker harness logs). Never published.
|
|
.swebench/
|
|
|
|
# Agent handoffs and version-specific setup plans are working-state notes, not
|
|
# public docs. Keep durable setup guidance in docs/runbooks instead.
|
|
docs/*HANDOFF*.md
|
|
docs/*handoff*.md
|
|
docs/*_PLAN.md
|
|
!docs/archive/**
|
|
|
|
# direnv
|
|
.envrc
|
|
.direnv
|