Record why every worktree of the checkout is trusted before an interrupt #75

Merged
lilleman merged 1 commits from worktree-trust into main 2026-09-27 17:04:18 +02:00
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -6,6 +6,7 @@ Decisions live in `docs/decisions.md`:
- loop-claude: a judge decides interrupts, not the worker's self-report
- loop-claude: one session per project, at a fixed id
- loop-claude: the trust file is rewritten before an interrupt
- loop-claude: every worktree of the checkout is trusted before an interrupt
- loop-claude: a wrong-shape trust file gets one message, naming the shape
- bin/: the Python floor is README's Install prerequisite
- bin/: host python, no container
+4
View File
@@ -16,6 +16,10 @@
2026-09-21, lilleman; the lost-write risk accepted 2026-09-24 by larv-review. Serves goal 4. A write by another claude inside `trust`'s read-modify-write window is lost. Valid while no flag skips the dialog.
## loop-claude: every worktree of the checkout is trusted before an interrupt
2026-09-24, lilleman. Serves goal 4. `claude --resume` re-enters the worktree the worker last entered, recorded in the transcript's `worktree-state` entry, and Claude Code asks trust per path, so trusting the checkout alone still lands the human in the dialog; trusting every worktree `git worktree list` names spares reading which one from the transcript. Valid while resume re-enters a recorded worktree and trust is kept per path.
## loop-claude: a wrong-shape trust file gets one message, naming the shape
2026-09-26, larv-review, declining a product-owner nit. Serves goal 4. `trust` says `not an object whose "projects" maps paths to objects` for every wrong shape; naming the failing path would add a branch to `trust`, and the interrupt still lands in Claude Code's own dialog, which shows the path. The 2026-09-25 panel's `trust` as the unit least wanted to modify was the first reason; the 2026-09-26 panel named `typed`, so the entry rests on the dialog. Valid while the interrupt lands in that dialog.
-1
View File
@@ -6,7 +6,6 @@ Ships when a four-seat scoring run puts every dimension and the overall at 7.0 o
Self-sufficiency, 6.75:
- Record in `docs/decisions.md` why every worktree of the checkout is trusted before an interrupt.
- Say at `judge` what `--tools ""` and `--no-session-persistence` buy, and at `archive` why the stamp is the transcript's mtime.
- Give `worker` and `judge` Vocabulary entries, and the interrupt one spelling across `ask`, `needs input` and `interrupt`.
- Reword `CHANGELOG.md` → `## Unreleased` so no line restates `loop-claude --help`.