Commit a chunk's changes to the config's folder in its own repo
CI / tests (pull_request) Failing after 2m33s

This commit is contained in:
2026-11-13 01:58:50 +01:00
parent 1272894aea
commit cfb5e50904
9 changed files with 65 additions and 12 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ To get loop-claude's questions and stops as Mattermost DMs from a bot, write the
### Set up a project
Each project the loop runs in has a folder, `~/.claude-projects/<key>/`, where `<key>` is the project's name, and a config in it, `config.toml`. The folder is a git repo of its own, so the config has a history and a client's files never enter this repo. A project is a whole git checkout, never a subfolder of one.
Each project the loop runs in has a folder, `~/.claude-projects/<key>/`, where `<key>` is the project's name, and a config in it, `config.toml`. The folder is a git repo of its own, so the config has a history and a client's files never enter this repo. Each change a chunk makes to a file there, such as the plan, is committed in that repo under the title of the chunk's commit in the checkout. A project is a whole git checkout, never a subfolder of one.
The config names the project's main checkout and the path of every file the loop keeps for it. No setting has a default: `project-config` fails and names each setting a config leaves out. A path is `checkout:<path>` inside the checkout, `folder:<path>` inside the config's folder, or one that starts with `/` or `~/`. Every tool reads and writes each file at the path its setting gives, and `chunk-preflight` and `todo-item` print those paths for the agents. Keep each file's name, such as `todo.md`: the rules for a file load by its name. A project of your own keeps every file but the principles in its checkout: