Run a preflight before each fresh worker and put its facts in the worker's prompt #302

Merged
lilleman merged 22 commits from item-161 into main 2026-10-17 20:16:22 +02:00
Owner

Adds bin/chunk-preflight, which finds a chunk's mechanical facts and makes its worktree. loop-claude runs it before routing each fresh chunk and quotes its output in the worker's first prompt. Routing and the preflight pick the next item with one function, todo_table.chunk_item, from todo.md on the fetched default branch. Where the next release, the earliest named since the last tag, holds no item, neither names one. The prompt also asks the worker to count the item's size again after reading the code. Ships item 161; files items 175, 176 and 177.

Open: architecture, principles and stability each reached three rounds, and their round-3 findings are fixed in this branch unreviewed. Merging waits on a yes to one more round for each.

Rule overrides: none.

Adds `bin/chunk-preflight`, which finds a chunk's mechanical facts and makes its worktree. loop-claude runs it before routing each fresh chunk and quotes its output in the worker's first prompt. Routing and the preflight pick the next item with one function, `todo_table.chunk_item`, from todo.md on the fetched default branch. Where the next release, the earliest named since the last tag, holds no item, neither names one. The prompt also asks the worker to count the item's size again after reading the code. Ships item 161; files items 175, 176 and 177. Open: architecture, principles and stability each reached three rounds, and their round-3 findings are fixed in this branch unreviewed. Merging waits on a yes to one more round for each. Rule overrides: none.
lilleman added 2 commits 2026-10-17 00:29:25 +02:00
lilleman marked the pull request as work in progress 2026-10-17 00:29:29 +02:00
lilleman added 3 commits 2026-10-17 01:04:46 +02:00
lilleman added 4 commits 2026-10-17 02:07:42 +02:00
lilleman added 1 commit 2026-10-17 02:19:14 +02:00
lilleman added 3 commits 2026-10-17 02:34:17 +02:00
lilleman added 2 commits 2026-10-17 02:50:30 +02:00
lilleman marked the pull request as ready for review 2026-10-17 02:59:20 +02:00
lilleman added 1 commit 2026-10-17 02:59:22 +02:00
lilleman added 1 commit 2026-10-17 03:10:41 +02:00
lilleman added 1 commit 2026-10-17 03:11:00 +02:00
lilleman added 4 commits 2026-10-17 20:16:19 +02:00
lilleman merged commit 712dabd664 into main 2026-10-17 20:16:22 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#302