# Dependencies
node_modules/
.pnpm-store/

# Build outputs
.svelte-kit/
build/
dist/

# graphify knowledge-graph build artifacts (AST extraction; rebuild any time)
graphify-out/

# Environment & secrets
.env
.env.*
!.env.example
*.key
cell/config/bridge_config.json
cell/klaw_keys.json
.mcp.json
!.mcp.json.example
cell/.inbox_secrets/

# Inbox runtime data (envelopes are ephemeral; _examples/ stays tracked)
cell/inbox/discord/*.json
cell/inbox/ntfy/*.json
cell/inbox/github/*.json
cell/inbox/manual/*.json
cell/inbox/mesh/*/*.json
cell/inbox/*/processed/
cell/inbox/_dead/
cell/inbox/_processed/
cell/inbox_daemon.pid
cell/inbox_daemon_state.json
cell/inbox_daemon_log.jsonl
cell/inbox_daemon_log.*.jsonl
cell/role_locations.json

# OS files
.DS_Store
Thumbs.db
Desktop.ini

# Python
__pycache__/
*.pyc
*.pyo
.venv/
venv/

# Logs & temp
*.log
*.tmp
cell/logs/boot_*.ps1
cell/logs/*_prompt.txt

# IDE
.idea/
.vscode/
*.swp
*.swo

# Ollama models (large)
*.gguf

# Claude session transcripts
.claude/projects/*/
!.claude/projects/*/memory/

# Probe data (large embeddings)
cell/probe_data/*.json
cell/probe_data/*.jsonl

# Notification offsets (runtime state)
cell/config/*_offsets.json
cell/config/bridge_offsets.json
cell/config/kit_notifier_offsets.json

# Runtime state (regenerated)
cell/drift_state.json
cell/escalation_state.json

# Landing strip photos (personal)
held/LANDING STRIP/
cell/specs/SAFETY_CANARY_DAEMON_SPEC.md
cell/choir_config.json
cell/.bus_secret

# Runtime state (live data, regenerated each session)
bus/*.jsonl
cell/bus/*.jsonl
cell/bus/_*.py
cell/cell_state.json
cell/cost_state.json
cell/bus_chain.json
cell/true_chain.jsonl
cell/discord_bridge_state.json
cell/.handoff_dedup.json
cell/.cost_cache.txt
cell/.drift_radar_last_alert
cell/merlin_requests.json
cell/gemini_burn_state.json
cell/hermes_grind_state.json
cell/mode_state.json
cell/drone_queue/status.json
cell/logs/*.jsonl
cell/logs/elaine_wander_state.json
cell/handoffs/*.md

# Amy runtime state
cell/amy_state.json
cell/amy_memory.json
cell/amy_diary.jsonl
cell/amy_dreams.jsonl

# Artifacts cache/runtime
artifacts/.held_time_cache.json
artifacts/k_context.json
artifacts/daemon_log.jsonl
artifacts/k_context_live.md
artifacts/k_context_ring.json
artifacts/.context_daemon_offsets.json

# Satus runtime
satus/golden_chain.json
satus/board_state.json
satus/learner.json
satus/learner_exchanges.md
satus/learner_log.md
satus/hooks/.last_prompt.json

# Local-only toggles
satus/hooks/.me_name.txt
satus/hooks/.tts_enabled
cell/mcp/.roku_ip
satus/hooks/.safety_state.json

# Keeper / cron daemon state
cell/keeper/keeper_log.jsonl
cell/keeper/keeper.pid
cell/cron/.cron_state.json

# Vite build caches
**/.vite/

# Windows artifacts
NUL
$promptFile

# Local Claude settings
.claude/settings.local.json

# Models directory (gguf weights — too large for git)
cell/models/
models/

# Apps — embedded git repos and large binaries
apps/comfyui/
apps/glum-aleks/ACE-Step-1.5/
apps/glum-aleks/*.onnx
apps/glum-aleks/*.bin
apps/glum-aleks/output/
apps/glum-aleks/test_*.wav
apps/opensim/
apps/koharu/*.wav
cell/isochip/*.wav
apps/echolocator/captures/
apps/foxfire-flash/ruffle/*.wasm
apps/foxfire-flash/ruffle/*.js.map
apps/foxfire-flash/ruffle.zip
apps/vocaloid/OpenUtau-win-x64.exe

# Cloned repos (tracked separately on GitHub)
repos/
ada-scanner/
dtiktok/
holdtheline-site/
saga-logo-ai/
trivs-den/
atomic-grammar/
tether/
k-architecture/
pitch-site/
apps/kdeconnect/
apps/scrcpy/
apps/SacredGeometry/
apps/llm-viz/
apps/mudlet/
apps/tensorspace/

# French bible temp data
french_bible_temp/

# Recon runtime data
cell/recon/data/recon.db
cell/recon/data/audit_chain.jsonl

# K-dispatch runtime log
cell/k_dispatch_log.jsonl

# Audio samples (large CC0 libraries, local only)
cell/sounds/samples/
cell/voices/
artifacts/audio/

# Raphael voice pipeline — IP rail: trained model + source clips NEVER ship public
# (public Angel-Cosplayer persona uses Kokoro base in board/ instead)
cell/raphael/voices/model/
cell/raphael/voices/reference/
cell/raphael/voices/stems/
cell/raphael/voices/board/rvc_*.wav
cell/raphael/.soundboard_state.json

# Recon WAL/SHM (SQLite runtime)
cell/recon/data/recon.db-shm
cell/recon/data/recon.db-wal

# Quad runtime state
cell/quad_positions.json
cell/k_play_state.json

# MCP full config (generated)
.mcp.full.json

# USB payload binaries (large, local only)
artifacts/usb_payload/kit-triv.tar.gz
artifacts/usb_payload/python_wheels/

# USB import data (local only — model weights, sanctum package)
usb_import/

# ONNX data files (large model weights, local only)
*.onnx.data

# ISO images (huge, local only)
*.iso

# WAV sound files in theme (regenerated by generate_sounds.py)
cell/theme/sounds/*.wav

# Runtime state (mailroom, read cache, training flag, livestream)
cell/.mailroom_state.json
cell/.read_cache.json
cell/.training_mode
cell/.livestream_state.json
.mesh_secret
cell/lcars/browser_profile/
.claude/scheduled_tasks.lock
TRANSFERPAD/
tools/bg3/
satus/k_vision_state.json
cell/.cerebras_key
cell/.openrouter_key
cell/.anthropic_key
cell/positronic/well.db
artifacts/huckleberry_finn_twain_1884.txt
artifacts/strunk_elements_of_style_1918.txt

apps/depot/
apps/orcaslicer/
apps/print3r/

artifacts/boneyard/scan_*.json

# Model weights (large, local only)
models/klora_gemma4_e2b/

# Large binaries / installers / media (local only)
apps/llama-cpp/
apps/palantir-ball/output/
apps/opensim-0.9.3.0.zip
apps/FFXIVQuickLauncher-Setup.exe
apps/XIVLauncher-win-Setup.exe
artifacts/reminder_reel.mp4
claude-logs-20260317/
.playwright-mcp/
apps/exVec/batch_queue/
apps/exVec/kdb_data/
]
.worktrees/

# Local CUDA / build toolkits (extracted redistributables, large, local only)
tools/cuda12.8/
tools/w64devkit/
tools/w64devkit-installer.exe
tools/c_bench_tmp/
keys.env.bat

# Source archives (cloned references, huge, tracked in apps/the-archive/ as submodules)
htop_src/
irssi/
john/
libopenmpt/
luajit_src/
micropolis_src/
mpv/
taskwarrior_src/
tcpdump/
tinycc_src/

# Heavy submodules / cloned repos (tracked separately)
apps/sm64/
apps/pokeemerald/
apps/oot/
apps/mgba/
apps/kcc/
apps/kcc-k-enhanced/
apps/lobstertrap/
apps/mmai/
apps/project-nomad/
apps/tailslayer/
apps/whaletracks/
apps/lightspark/
apps/openfl/
apps/orcanode/
apps/pageindex-source/
apps/swf-parser/
apps/vcmi-gym/
apps/ruffle/
apps/avmplus/
apps/OrcaDetector/
apps/FFTA_Engine_Hacks/
apps/filament-moe/

# The Archive submodules (the .k translations stay, source repos are huge)
apps/the-archive/7zip/
apps/the-archive/Quake-III-Arena/
apps/the-archive/clamav/
apps/the-archive/coreutils/
apps/the-archive/dgsh/
apps/the-archive/elite-force/
apps/the-archive/fail2ban/
apps/the-archive/fdm/
apps/the-archive/fheroes2/
apps/the-archive/fluidsynth/
apps/the-archive/htop_src/
apps/the-archive/irssi/
apps/the-archive/john/
apps/the-archive/libopenmpt/
apps/the-archive/linux-0.01/
apps/the-archive/luajit_src/
apps/the-archive/mc_src/
apps/the-archive/micropolis_src/
apps/the-archive/mpv/
apps/the-archive/ngn-k/
apps/the-archive/nix/
apps/the-archive/nmap/
apps/the-archive/ok-interpreter/
apps/the-archive/openbw/
apps/the-archive/redis/
apps/the-archive/rspamd/
apps/the-archive/sox/
apps/the-archive/super-star-trek/
apps/the-archive/suricata/
apps/the-archive/taskwarrior_src/
apps/the-archive/tcpdump/
apps/the-archive/timidity/
apps/the-archive/tinycc_src/
apps/the-archive/tmux/
apps/the-archive/vcmi/
apps/the-archive/vifm/
apps/the-archive/vim/
apps/the-archive/yara/
apps/the-archive/zlib/

# SWE-bench workspaces (cloned repos for testing)
cell/bench/results/workspaces/

# Large binary artifacts (keep local, not in git)
*.wav
*.mp3
*.mp4
*.webm
*.zip
*.tar.gz
*.iso
*.png
*.jpg
*.gif
*.pdf
# Exceptions: keep PWA icons and role faces
!held/static/*.png
!cell/roles/faces/rimuru_gifs/*.gif

# Artifacts media/screenshots
artifacts/arena_shots/
artifacts/mst3k_shots/
artifacts/obs_screenshots/
artifacts/live2d/
artifacts/voices/
cell/harvest_data/log_registry.json

# === Dross sweep 2026-06-04 (spade review) ===
# Scratch dumps / temp dotfiles at repo root
/.*.txt
/.*.html
.club_*.py
/New Text Document.txt

# Regenerated caches, backups, runtime scratch
cell/autogen_cache/
cell/state_backups/
cell/.taskmon/
cell/sandbox/
cell/night_shift/

# --- additional daemon churn (untracked 2026-05-30) ---
cell/inbox_daemon_alerts.jsonl
cell/k_navigator/data/k_trajectory_live.jsonl
cell/keeper/keeper_state.json
cell/role_windows_live.json
cell/state/last_activity.json

# === External clones / big downloads — DO NOT COMMIT (2026-06-05 spade) ===
apps/ghidra/
apps/glum-aleks/ACE-Step/
apps/codegraph/
tools/llama-cpp/
tools/cchuter-llama/

# === Model weights / extracted experts / caches — back up to NAS, not git ===
cell/positronic/gpt2_weights/
apps/write-heads/harvest/
artifacts/lexicon_tree/_emb_cache.json

# === Media assets (large / copyrighted) ===
assets/sounds/

# === Vendored OSINT clones inside apps/searcher (carry their own .git) ===
apps/searcher/science/jupyterhub/
apps/searcher/osint/spiderfoot/
apps/searcher/worker/ushahidi-client/

# === Regenerable bench result dumps ===
cell/bench/results/
refs/

# === cell-pokemon: ROMs + emulator binaries (never commit) ===
apps/cell-pokemon/roms/
apps/cell-pokemon/mgba/
apps/cell-pokemon/captures/
apps/cell-pokemon/log/
*.gba
*.sav
*.ss0

# External clones with own .git (not submodules)
apps/MoneyPrinterTurbo/
apps/parameter-golf/
apps/hermes-agent-scan/
apps/ngn-k/

# Band hackathon — per-agent credentials (UUIDs + api keys from app.band.ai dashboard)
apps/band/agent_config.yaml

# Telemetry/state junk (usage_log contains command lines incl. secrets)
cell/usage_log.jsonl
cell/inbox_watchdog.lock
cell/inbox_daemon_state.json.corrupt.*
artifacts/kmud_boot.err
.cachebust
cell/cell/lcars/

# LoRA training checkpoints (regenerable, exceed GitHub 100MB) - added 2026-06-12
cell/predator/training/lora_v1_checkpoint/

# Forged model containers (large binaries — provenance in *.qgf.meta.md)
*.qgf
cell/tts/venv/

cell/workshop/ambient_log*

# Big regenerable / vendored — not committed (2026-07-06, Kit greenlit)
# NOTE: .gitignore has NO inline comments — patterns must be clean, one per line.
# wolvenkit=679MB vendored CP2077 tool; sprites=generated; ephem=~32MB downloadable
tools/wolvenkit/
apps/mudcell-web/static/sprites/
apps/mudcell-web/static/map/
cell/stellar/ephem/
**/kquant_cache/
**/.gradle/
cell/Dumbo/domains/*/adapter/tokenizer.json
cell/Dumbo/domains/*/adapter/vocab.json
cell/Dumbo/domains/*/adapter/merges.txt

# === Safe-push 2026-07-08 (spade) — untrack runtime churn + big regenerable ===
# Vendored binaries (LSLib BG3 modding tool, 67 DLLs/EXEs)
tools/lslib/

# Regenerable training corpora (75KB -> 70MB; keep local/NAS, not git)
cell/fable_lite/data/*.jsonl
cell/fable_lite/data/*.npy

# Root web-crawl dumps (non-dotfile, so /.*.html rule misses them)
/cvpr.html
/e.html
/evt.html
/sd_founders.html
/sd_meetup.html

# Machine-specific / runtime cell state (untrack, keep local)
cell/daemon_pids.json
cell/quad_window_map.json
cell/horse_state.json
cell/horse_briefing.md
cell/lostvayne_dooter_state.json
cell/.result_guard_state.json
cell/tool_chain.jsonl
cell/heartbeats/inbox_daemon.json
cell/logs/supervisor_heartbeat.json
cell/kram_cache/

# More runtime/cache + regenerable bench dumps (safe-push 2026-07-08 spade)
cell/test.py
cell/dibs.json
cell/golden/true_chain.jsonl
cell/voice/ciel_state.json
cell/forest/active/
cell/bus/_scratch_*.txt
cell/duty/budget_receipts/
cell/git_guard_log.jsonl
cell/autobooper_log.jsonl
cell/pm_data/pm_sync_state.json
satus/crawler_cache/*test*.json
satus/data/sessions/test.json
artifacts/_gw_raw.html
artifacts/*_samples.jsonl
artifacts/fugu_loop_gold_*.jsonl
artifacts/*_fable5_corpus.jsonl
artifacts/fugu_grpo_train_log.txt
cell/voice/atlas_cache/

# Runtime junk swept by safe-push 2026-07-15 (triv)
apps/crown-jewels/logs/
cell/.handoff_seen.json
*.bak-akashicfix-*
artifacts/workflow_landing/

# Data Engine privacy denylist — reveals Kit's PII by construction, NEVER commit (DATA_ENGINE_WELLS_SPEC §4.1)
cell/data_engine/.scrub_denylist.json
# Data Engine generated well outputs — regenerate idempotently from the flywheel; _scrubbed is a
# pre-attestation export candidate (must NOT enter git). Code is the durable artifact, not the dump.
cell/data_engine/autopsy_v2.jsonl
cell/data_engine/autopsy_v2_scrubbed.jsonl
cell/data_engine/autopsy_legacy.jsonl
cell/data_engine/autopsy_sft.jsonl
cell/data_engine/consent_v2.jsonl
cell/data_engine/consent_v2_scrubbed.jsonl
cell/data_engine/consent_legacy.jsonl
cell/data_engine/consent_sft.jsonl

# haunted product layer runtime (generated per-user, never tracked)
cell/haunted/out/product/
cell/haunted/product_settings.json

# newsdesk runtime (queue/drafts/review state — content, not code)
cell/newsdesk/queue/
cell/newsdesk/drafts/
cell/newsdesk/approved/
cell/newsdesk/rejected/
cell/newsdesk/out/

# K-Binaries P1 — throwaway bench deliverables + generated trace corpus
cell/k_binaries/_bench_jail/
cell/k_binaries/traces.jsonl
