feat(tour): multi-project parallel fan-out — one runner per repo

Two or more project paths dispatch one general-purpose runner per repo,
all in a single message, instead of processing repos one by one. The
runner inherits the session model — no pin, it carries tour's reflection
(fix decisions, convergence) — and every agent inside keeps its defined
tier (security-auditor sonnet, Phase B opus, doc-syncer sonnet). A dead
or mute runner becomes an explicit RUNNER FAILED summary row; the gated
capitalize offer stays in the main loop, never in a runner.

Bounded LRN-083 derogation recorded in BDR-084: the per-project fix loop
moves into its runner, but nothing a runner decides touches shared state
— independent repos, per-repo chore branches, branches left unmerged for
human review exactly as inline. Mechanics proven before building: nested
probe, 3 sub-agent windows all overlapping, 9.1s vs ~18s sequential.

Census §12: 6 locks, flip-tested. Single-project path unchanged.
This commit is contained in:
Bastien Chanot
2026-08-24 14:18:59 +02:00
parent 4ededc75ab
commit 543b0c811a
6 changed files with 90 additions and 7 deletions
+10
View File
@@ -7,6 +7,16 @@ Format follows [Keep a Changelog](https://keepachangelog.com/).
## [Unreleased]
### Added
- **/tour multi-project parallel fan-out (BDR-084)** — two or more
project paths now dispatch one runner per repo in a single message
(independent working trees, nothing collides) instead of processing
them one by one. The runner inherits the session model (no pin — it
carries tour's reflection); every agent inside keeps its defined tier.
A dead runner surfaces as an explicit `RUNNER FAILED` summary row; the
gated capitalize offer stays in the main loop. Bounded LRN-083
derogation recorded in BDR-084. Census §12: 6 locks, flip-tested.
Mechanics proven first: nested probe, 3 overlapping agent windows,
9.1s vs ~18s sequential.
- **Contract gates — deterministic floor under the fresh verifier (BDR-083)** —
an acceptance criterion can now carry an oracle (`CHECK:` command +
`EXPECT:` success-only marker + `EVIDENCE:` slot). `lib/gates.sh run