Files
claudetools/.gitignore
Mike Swanson eed3ece2c7 feat: session recovery toolset (orphan detector + /recover)
Reconstructs session logs from Claude Code transcripts when a session
crashes or is closed before /save. Two entry points:

- /recover <uuid|latest> : manual, Claude-reviewed reconstruction
- detect_orphaned_sessions.py : scheduled scan that auto-builds logs for
  substantive, unsaved, not-yet-recovered transcripts (banner-marked
  RECOVERED-UNVERIFIED), commits them, and posts a #bot-alerts FYI.

recover_session.py is the shared engine: Python extracts the verbatim
command/config/reference timeline; Ollama drafts prose-only narrative.
Machine-local ledger (.claude/state/) prevents reprocessing. Reviewed:
git add scoped to own files, ledger written only after successful push,
per-uuid idempotency, --max cap for unattended runs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 18:33:07 -07:00

106 lines
1.9 KiB
Plaintext

# Backups (local only - don't commit to repo)
backups/
# Remediation-tool cache (live Graph API responses — may contain user data)
.cache-remediation/
tmp-remediation/
# Bitdefender skill cache (identity/structure only — no secrets/PII)
.claude/skills/bitdefender/.cache/
# B2 skill cache (holds the live B2 authorization token — a SECRET)
.claude/skills/b2/.cache/
# Local settings (machine-specific)
.claude/settings.local.json
.claude/identity.json
.claude/current-mode
.claude/coord-broadcasts-seen
.claude/scheduled_tasks.lock
# Session-recovery ledger (machine-local — transcripts are per-machine)
.claude/state/
# /autotask command — kept local/undistributed (Syncro is the default PSA; Autotask is opt-in).
# Remove this line to distribute /autotask to the fleet. See .claude/memory/feedback_psa_default_syncro.md
.claude/commands/autotask.md
# Temporary files
*.tmp
*.log
*.bak
.claude/tmp/
# Live secrets / tokens — never commit
.token
.token_*
*.jwt
token.txt
.token.txt
# OS files
.DS_Store
Thumbs.db
desktop.ini
# IDE/Editor
.vscode/
.idea/
*.swp
*.swo
*~
# Python
__pycache__/
*.pyc
*.pyo
venv/
.env
# Node
node_modules/
.npm/
# Rust
target/
Cargo.lock
# Build outputs
dist/
build/
*.exe
*.dll
*.so
*.dylib
# ClaudeTools specific
.encryption-key
*.key
.pytest_cache/
.venv/
*.db
*.sqlite
logs/
.claude/tokens.json
**/.tokens.json
.claude/context-recall-config.env
.claude/context-recall-config.env.backup
.claude/context-cache/
.claude/context-queue/
api/.env
# MCP Configuration (may contain secrets)
.mcp.json
Pictures/
.grepai/
# Radio processor
projects/radio-show/audio-processor/test-data/*.mp3
projects/radio-show/audio-processor/*.egg-info/
# Large binary diagnostic artifacts (memory dumps, extracted case archives) —
# keep raw dumps out of git; record findings in markdown instead.
clients/internal-infrastructure/datto-bsod-case-2026-05-16.zip
clients/internal-infrastructure/datto-bsod-case-2026-05-16/
temp/