Derive the round's state from the session file, name the steps, and test the pure core

This commit is contained in:
2026-09-24 20:21:06 +02:00
parent 8f647f8596
commit 839804f47e
8 changed files with 390 additions and 177 deletions
+12 -4
View File
@@ -1,12 +1,13 @@
# Claude Code configuration
My personal `~/.claude`, version controlled. Instructions, agents, skills, principles and settings.
My personal `~/.claude`, version controlled. Instructions, agents, skills, principles, settings and the tools in `bin/`.
## Goals
1. Share this configuration between my computers.
2. Keep it backed up.
3. Leak nothing — no credentials, no session transcripts, no memory.
4. Run work chunks unattended, interrupting me only when a decision is mine.
## Audience
@@ -14,13 +15,20 @@ Me, on my own machines. Private repo, nobody else depends on it.
## Install
Link `bin/` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/loop-claude`.
Link the tools onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/loop-claude`, and the same for `claude-instances`.
## Tools
- `loop-claude <task>` runs a project's next chunk round after round; `loop-claude --help` states its contract.
- `claude-instances` redraws a table of the running claude sessions by project.
Test: `python3 -m unittest bin/test_loop_claude.py`
## Tracking a new file
`.gitignore` is an allowlist: everything is ignored, and a file is tracked only by being named. Add it as a negation, with its parent directories un-ignored too, then confirm with `git check-ignore -v <path>`:
```
!commands/
!commands/*.md
!docs/
!docs/*.md
```