38 lines
1.7 KiB
Markdown
38 lines
1.7 KiB
Markdown
# Claude Code configuration
|
|
|
|
My personal `~/.claude`, version controlled: `CLAUDE.md` and `AGENTS.md` for instructions, the words under `CLAUDE.md` → "Vocabulary"; `agents/` and `skills/`; `principles/` for what the reviewer agents hold every project to; `docs/` for decisions; `settings.json` for the harness and `.claude/settings.json` for the harness inside this repo; `statusline.sh`; `CHANGELOG.md` and `todo.md`; and the tools in `bin/`.
|
|
|
|
## Goals
|
|
|
|
1. Share this configuration between my computers.
|
|
2. Keep it, and the transcripts of unattended runs, backed up.
|
|
3. Leak nothing to the remote — no credentials, no transcripts, no memory files.
|
|
4. Run work chunks unattended, interrupting me only when a decision is mine.
|
|
|
|
## Audience
|
|
|
|
Me, on my own machines, which take tagged releases. Nobody else depends on it.
|
|
|
|
## Install
|
|
|
|
Check out the latest tag in `~/.claude`, with Python 3.11 or newer as `python3` on `PATH`. Link the tool onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/loop-claude`.
|
|
|
|
## Release
|
|
|
|
Rename `## Unreleased` in `CHANGELOG.md` to the version, commit, and tag that commit `v<version>`.
|
|
|
|
## Tools
|
|
|
|
- `loop-claude <task>` runs a project's next chunk cycle after cycle; `loop-claude --help` states its contract.
|
|
|
|
Test on the host, with `uv` on `PATH` to fetch mypy and the Python version Install names (`docs/decisions.md` → "bin/: host python, no container", "bin/: the Python floor is README's Install prerequisite"): `python3 -m unittest discover -s bin -p 'test_*.py'`
|
|
|
|
## Tracking a new file
|
|
|
|
`.gitignore` is an allowlist. Track a file by negating it and its parent directories, then confirm with `git check-ignore -v <path>`:
|
|
|
|
```
|
|
!docs/
|
|
!docs/*.md
|
|
```
|