fix(dispatch): background starter passes --repo to both order verbs
A background child runs in a worktree, and without --repo the order verbs derive identity from the git toplevel's basename - the worktree's name, not the repo's. Measured in the session that built the form: the claim ran before the worktree and won; coord-order-done ran inside it and exited 1 "no claimed order ... for dispatch-bg-form", leaving the order in flight until --repo repo-mailbox was passed. The order's own starter template carried the same defect. §19b gains two checks (red against24adf59, same predicate), the template passes --repo <repo> to claim and done, and the skill says why. Suites under bash 3.2: coord 257, board 495, route 73, orders 116, guard 54 = 995. npm test 12/12. Order 20260923T070445Z-9974217048-from-.claude (follow-up to24adf59). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
24adf594bf
commit
741ada82b7
5 changed files with 32 additions and 12 deletions
|
|
@ -233,9 +233,15 @@ full, because a child executes the starter literally and the order verbs are
|
|||
not on PATH (ORDRE 65).
|
||||
|
||||
```text
|
||||
ORDRE <id> ligger i dette repoets ordrekoe. Gjor dette i rekkefolge: (1) claim den - bash <PLUGIN_ROOT>/scripts/coord-order-claim.sh <id> - claim skriver ut hele ordreteksten. FULL STI ER MED VILJE. Claim KUN denne ordren. (2) Sammenlign mot STATE.md NESTE og uttal avviket i ditt FORSTE svar. (3) Du er en bakgrunnsoekt isolert i en NY worktree: sett grenen din til <hash> (git checkout -B <gren> <hash>) og verifiser. Commit paa den grenen, ingen fletting, INGEN push/tag/release - operatoren pusher. Du kan ikke stille spoersmaal; ved et teknisk valg, ta det anbefalte og skriv valgt X fordi Y. Lange kjoringer i forgrunnen, aldri arm venter. (4) Lukk med bash <PLUGIN_ROOT>/scripts/coord-order-done.sh <id> --commit HASH - eller --return --reason. Rapport som coord til <sender> via coord-send.
|
||||
ORDRE <id> ligger i dette repoets ordrekoe. Gjor dette i rekkefolge: (1) claim den - bash <PLUGIN_ROOT>/scripts/coord-order-claim.sh --repo <repo> <id> - claim skriver ut hele ordreteksten. FULL STI ER MED VILJE. Claim KUN denne ordren. (2) Sammenlign mot STATE.md NESTE og uttal avviket i ditt FORSTE svar. (3) Du er en bakgrunnsoekt isolert i en NY worktree: sett grenen din til <hash> (git checkout -B <gren> <hash>) og verifiser. Commit paa den grenen, ingen fletting, INGEN push/tag/release - operatoren pusher. Du kan ikke stille spoersmaal; ved et teknisk valg, ta det anbefalte og skriv valgt X fordi Y. Lange kjoringer i forgrunnen, aldri arm venter. (4) Lukk med bash <PLUGIN_ROOT>/scripts/coord-order-done.sh --repo <repo> <id> --commit HASH - eller --return --reason. Rapport som coord til <sender> via coord-send.
|
||||
```
|
||||
|
||||
- **`--repo <repo>` on both verbs, always.** A background child runs in a
|
||||
worktree, and without `--repo` the verbs derive their identity from the git
|
||||
toplevel's basename. That basename is the worktree's name, not the repo's.
|
||||
Measured 2026-09-23: a claim made before the worktree won. The close made
|
||||
inside the worktree exited 1 with `no claimed order … for <worktree-name>`,
|
||||
and the order stayed in flight.
|
||||
- **`Claim KUN denne ordren`** stays in even when the queue holds only this
|
||||
one. Another order can land between the dispatch and the child's first turn.
|
||||
- **`<hash>` is the commit the child must build on, not automatically `main`.**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue