claude/.gitignore
Bastien Chanot cb1e8cd814 feat(profile,statusline): show active profile in statusline via .active-profile cache
`bash lib/profile.sh current` is 12s+ — far too slow to call from the
statusline hook (runs on every keystroke). Add a one-line cache file at
`<repo>/.active-profile`, written by `cmd_apply` and `cmd_reset`. The
statusline reads the file directly with a single `head -n1`, no
sub-shell into `profile.sh`.

Behavior:
- `bash lib/profile.sh set <name>` (which ends in `cmd_apply`) and
  `bash lib/profile.sh apply <name>` both write `<name>` to
  `<repo>/.active-profile`.
- `bash lib/profile.sh reset` writes the literal `none`.
- Statusline inserts the cached profile name between the plan segment
  and the context-bar segment, e.g.
  `Opus 4.7 | claude (master) | Max | full | ████░░░░░░ 42% | 3m`.
- Missing or empty cache → statusline shows `?`.

Cache file is gitignored — it tracks runtime state, not source.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-21 05:14:12 +02:00

118 lines
2.4 KiB
Plaintext

# ── claude-config repo ignores ──
# GStack skill symlinks — auto-created by gstack setup
# Only the gstack/ dir itself + all symlinked skills inside skills/
skills/gstack
skills/autoplan
skills/benchmark
skills/browse
skills/canary
skills/careful
skills/checkpoint
skills/codex
skills/connect-chrome
skills/cso
skills/design-consultation
skills/design-html
skills/design-review
skills/design-shotgun
skills/devex-review
skills/document-release
skills/freeze
skills/gstack-upgrade
skills/guard
skills/health
skills/investigate
skills/land-and-deploy
skills/learn
skills/office-hours
skills/open-gstack-browser
skills/pair-agent
skills/plan-ceo-review
skills/plan-design-review
skills/plan-devex-review
skills/plan-eng-review
skills/qa
skills/qa-only
skills/retro
skills/review
skills/setup-browser-cookies
skills/setup-deploy
skills/ship
skills/unfreeze
skills/benchmark-models
skills/context-restore
skills/context-save
skills/make-pdf
skills/plan-tune
# Emil Design Engineering skill symlink — auto-created by link.sh
skills/emil-design-eng
# External skills installed via `npx skills add` — auto-created by link.sh
skills/darwin-skill
skills/find-skills
# Staging area used by lib/toggle-external.sh when disabling a tool
skills-disabled/
# Caveman runtime hook files — deployed by caveman hooks/install.sh into
# ~/.claude/hooks/ (which is a symlink to this repo's hooks/), so they
# materialize here. They are user-scope state, not repo source.
hooks/caveman-activate.js
hooks/caveman-config.js
hooks/caveman-mode-tracker.js
hooks/caveman-stats.js
hooks/caveman-statusline.sh
hooks/package.json
hooks/package-lock.json
hooks/node_modules/
# Local project config (per-machine, not shared)
.claude/*
!.claude/tasks/
!.claude/memory/
!.claude/audits/
!.claude/settings.json
# But keep local stuff ignored within .claude/
.claude/settings.local.json
.claude/agent-memory/
.claude/gstack/
# Caveman compress backups — generated by /caveman:compress, recoverable via git
*.original.md
# Generated outputs
graphify-out/
.ctx7-cache/
# /client-handover test artifacts (project-local renders)
LIVRAISON.md
LIVRAISON.html
LIVRAISON.pdf
HANDOVER.md
HANDOVER.html
HANDOVER.pdf
# Install logs
install-*.log
# Local secrets (MCP API keys etc.) — use .env.example as template
.env
.env.local
# OS
.DS_Store
Thumbs.db
desktop.ini
# Editors
*.swp
*.swo
*~
.idea/
.vscode/
# Profile cache — written by lib/profile.sh, read by hooks/statusline.sh
.active-profile