diff --git a/docs/guide/02-marius-mode.md b/docs/guide/02-marius-mode.md index ef24ff6..e95a2fb 100644 --- a/docs/guide/02-marius-mode.md +++ b/docs/guide/02-marius-mode.md @@ -2,8 +2,6 @@ `/marius-mode` is the front door. You give it a goal, it matches one of twenty-three playbooks, copies that playbook's steps into the todo list, and calls the other skills as the steps need them. In this page you learn what a good prompt looks like, and how little of one you actually need. -![A dispatcher pulls a switch lever to route robots on rail handcars toward lit gates, under a /marius-mode departure board listing BUG FIX, FEATURE, and INVESTIGATION.](./images/router.jpg) - ## What happens to your prompt ```mermaid diff --git a/docs/guide/03-understand.md b/docs/guide/03-understand.md index d3b0135..81e5a23 100644 --- a/docs/guide/03-understand.md +++ b/docs/guide/03-understand.md @@ -2,8 +2,6 @@ Editing code you don't understand is how subtle regressions ship. pstack gives you four ways in. `/how` explains what the code does now. `/why` digs up the reasons it's shaped that way. `/teach` blends both into one explanation. `/recall` rebuilds your own recent context on a topic. -![A detective studies a machine blueprint with a magnifying glass while robots fetch case files; the evidence board behind her links clues under /how and /why.](./images/understanding.jpg) - ## Trace behavior with `/how` ```text diff --git a/docs/guide/04-design.md b/docs/guide/04-design.md index 7bf98e2..3bbd464 100644 --- a/docs/guide/04-design.md +++ b/docs/guide/04-design.md @@ -2,8 +2,6 @@ One attempt at a hard design locks in the first shape the model thought of. `/architect` settles types and boundaries before implementation. `/arena` runs several attempts at the same brief and merges the best parts. `/interrogate` has other models try to break the result. When the job is coverage rather than design synthesis, `/swarm` fans out slices or races and aggregates their results. -![Three robots draft competing bridge models at their own tables under /architect, /arena, and /interrogate panels, while a judge robot with a clipboard inspects skeptically.](./images/design.jpg) - ## Settle the shape with `/architect` ```text diff --git a/docs/guide/06-verify-and-ship.md b/docs/guide/06-verify-and-ship.md index 087672c..0e41eac 100644 --- a/docs/guide/06-verify-and-ship.md +++ b/docs/guide/06-verify-and-ship.md @@ -2,8 +2,6 @@ "It compiles" is not evidence. The [Prove It Works principle](../../skills/principle-prove-it-works/SKILL.md) makes the agent check the real artifact before it reports success, and your job is to make "the real artifact" checkable. This page covers stating a finish condition, generating a verification skill for your app, opening the PR, and driving it to merged. -![A prototype plane flies a real test course while she times it with a stopwatch and robots film and checklist the run; the terminal reads verify: pass, evidence: captured.](./images/verification.jpg) - ## State the finish condition up front Put what done means in the first prompt, in whatever words fit: diff --git a/docs/guide/07-overnight.md b/docs/guide/07-overnight.md index 5883969..3ba56ec 100644 --- a/docs/guide/07-overnight.md +++ b/docs/guide/07-overnight.md @@ -2,8 +2,6 @@ This is the payoff for everything before it. An agent you can trust to verify its own work is an agent you can leave alone with a hard task. What makes that safe isn't hope. It's a checkable finish condition, an isolated worktree, and a decision log you audit in the morning. -![She waves goodnight from the door while robots keep the factory running, one updating a DECISION LOG wall board under a BUILD LOOP ACTIVE sign.](./images/overnight.jpg) - ## The overnight contract A good handoff has the goal, the finish condition, permissions, and an escape hatch. It doesn't need to be long: diff --git a/docs/guide/10-recipes-and-pitfalls.md b/docs/guide/10-recipes-and-pitfalls.md index 5e01724..ba5f4ec 100644 --- a/docs/guide/10-recipes-and-pitfalls.md +++ b/docs/guide/10-recipes-and-pitfalls.md @@ -2,8 +2,6 @@ Prompts worth copying, then the mistakes everyone makes once. Swap in your own paths and finish conditions. The recipes are deliberately informal. That's how they get typed in practice, and the skills read intent fine. -![She tastes a finished dish while robots cook from a recipe box, with pinned cards reading /how, /tdd, and /loop above the counter.](./images/recipes.jpg) - ## Understand an unfamiliar subsystem ```text diff --git a/docs/guide/images/design.jpg b/docs/guide/images/design.jpg deleted file mode 100644 index f869094..0000000 Binary files a/docs/guide/images/design.jpg and /dev/null differ diff --git a/docs/guide/images/overnight.jpg b/docs/guide/images/overnight.jpg deleted file mode 100644 index d64e1c6..0000000 Binary files a/docs/guide/images/overnight.jpg and /dev/null differ diff --git a/docs/guide/images/recipes.jpg b/docs/guide/images/recipes.jpg deleted file mode 100644 index 69fe992..0000000 Binary files a/docs/guide/images/recipes.jpg and /dev/null differ diff --git a/docs/guide/images/router.jpg b/docs/guide/images/router.jpg deleted file mode 100644 index c8fba6a..0000000 Binary files a/docs/guide/images/router.jpg and /dev/null differ diff --git a/docs/guide/images/understanding.jpg b/docs/guide/images/understanding.jpg deleted file mode 100644 index bb1b1ac..0000000 Binary files a/docs/guide/images/understanding.jpg and /dev/null differ diff --git a/docs/guide/images/verification.jpg b/docs/guide/images/verification.jpg deleted file mode 100644 index a252ae0..0000000 Binary files a/docs/guide/images/verification.jpg and /dev/null differ diff --git a/skills/architect/SKILL.md b/skills/architect/SKILL.md index 429b43b..ac3160a 100644 --- a/skills/architect/SKILL.md +++ b/skills/architect/SKILL.md @@ -30,7 +30,7 @@ Skip Phase A only when the work is genuinely greenfield with no surrounding syst Run the **arena** skill with the design-sketch task and the Phase A grounding artifacts. Pass `references/runner-prompt.md` as each runner's prompt. Each candidate produces a design package shaped per `references/rationale-template.md`. -Use the runners from the **arena** skill's Phase A. +Use the runners from the **arena** skill's Phase A, including bridged runners per [the bridge](../interrogate/references/bridge.md). Design it twice. Require at least two structurally distinct candidates before synthesis, even when the first looks sufficient. This is the **exhaust-the-design-space** principle skill made concrete. Whole-shape alternatives, not point fixes inside one shape. diff --git a/skills/arena/SKILL.md b/skills/arena/SKILL.md index c666767..14edec6 100644 --- a/skills/arena/SKILL.md +++ b/skills/arena/SKILL.md @@ -25,7 +25,7 @@ The N candidates will receive the same prompt, so the prompt is the contract. 1. State the artifact each candidate is producing. 2. Derive the rubric. State what success looks like for *this* task, then turn it into 3-6 concrete gradeable criteria. The rubric is the picker's tool in Phase D. Candidates only see the task. -3. Pick the runners. Default to three host subagents on the strongest model. Spawn more when the arena covers multiple design directions. Same model N times when the work is generation-bound rather than judgment-sensitive. +3. Pick the runners. Default to three host subagents on the strongest model. Add bridged runners per [the bridge](../interrogate/references/bridge.md). Spawn more when the arena covers multiple design directions. Same model N times when the work is generation-bound rather than judgment-sensitive. 4. Assign output paths. Each candidate writes to its own location (a git worktree where possible, otherwise `/tmp/arena-/candidate-/`), per the **separate-before-serializing-shared-state** principle skill. ## Phase B: Fan out @@ -38,7 +38,7 @@ If a candidate fails to produce output, proceed with N-1 and note the dropout in ## Phase C: Cross-judge -After all Phase B candidates complete, spawn one fresh read-only judge subagent on the strongest model. It sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with the parent's reading in Phase D, not with the candidates themselves. Don't spawn the judge while candidates are still writing. +After all Phase B candidates complete, spawn one fresh read-only judge. Prefer a model family different from the parent's: a bridged CLI when [the bridge](../interrogate/references/bridge.md) lists one, otherwise a host subagent on the strongest model. Say which in the synthesis record. It sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with the parent's reading in Phase D, not with the candidates themselves. Don't spawn the judge while candidates are still writing. ## Phase D: Pick a base diff --git a/skills/interrogate/SKILL.md b/skills/interrogate/SKILL.md index 532d72e..1d07bf8 100644 --- a/skills/interrogate/SKILL.md +++ b/skills/interrogate/SKILL.md @@ -49,12 +49,14 @@ Read `references/reviewer-prompt.md` and fill in the template with: The same filled template goes to all reviewers, so every reviewer applies the code-quality lens. Append one line naming the reviewer's own lens from the table. +Then add bridged reviewers per [the bridge](references/bridge.md). Each gets the same filled template. Label them by family ("Reviewer D, OpenAI via codex"). + ## Step 4, Synthesize As results come back, build a unified picture: 1. **Parse all findings** from the reviewers -2. **Identify consensus**. Findings raised by 2+ reviewers independently are highest signal. +2. **Identify consensus**. Findings raised independently by 2+ reviewers are highest signal, and agreement across model families highest of all. 3. **Identify lone-reviewer findings**. Still worth reading, but weight accordingly. 4. **Deduplicate**. Different reviewers may describe the same issue differently. Merge these and note which reviewers raised it. 5. **Note disagreements**. If one reviewer flags something and another explicitly says the opposite, that's useful context for the verdict. @@ -85,7 +87,8 @@ Present the verdict in this structure: > [The stated intent paragraph from Step 2] ### Reviewers -- Reviewer [label]: [lens], [N findings] (one bullet per reviewer) +- Reviewer [label]: [lens or model family], [N findings] +- Bridge: off, or the members that ran and any dropped with the reason (one bullet per reviewer) ### Act On [Findings that should be addressed. For each: description, which reviewers raised it, why it matters.] diff --git a/skills/interrogate/references/bridge.md b/skills/interrogate/references/bridge.md new file mode 100644 index 0000000..94cbd73 --- /dev/null +++ b/skills/interrogate/references/bridge.md @@ -0,0 +1,27 @@ +# Cross-vendor bridge + +Panels (interrogate, arena, architect, reflect) gain a different model family by calling another vendor's CLI headless. Only CLIs listed in the per-machine allowlist may be called. + +## Allowlist + +Read `~/.config/tstack/bridge`: one CLI name per line (`claude`, `codex`, `copilot`), `#` starts a comment. If the file is missing or lists nothing, there is no bridge: run the panel on host subagents only and say "bridge: off" in the report. Never call a CLI that is not listed, even if it is installed. + +## Panel composition + +Add one bridged member per listed CLI whose model family differs from the host harness's. `copilot` serves several families through `--model`: pick a family the panel does not already have. Bridged members get the same filled prompt as host members, plus their lens line. + +## Commands + +Write the filled prompt to a temp file, then run the command with the harness's command timeout set to 600 seconds (macOS has no `timeout` binary): + +| CLI | Family | Command | +|---|---|---| +| `claude` | Anthropic | `claude -p --model opus --permission-mode plan < "$prompt_file"` | +| `codex` | OpenAI | `codex exec --sandbox read-only --skip-git-repo-check - < "$prompt_file"` | +| `copilot` | chosen with `--model` | `copilot -p "$(cat "$prompt_file")" --model -s --no-ask-user --deny-tool=write --deny-tool=shell` | + +Bridged members are read-only reviewers: every command above runs without write or shell access. Never add flags that grant it. + +## Failures + +If the command is missing, exits nonzero, or times out, drop that member, name it and the reason in the report ("bridge: copilot dropped, access denied by policy"), and finish the panel with the members that returned. diff --git a/skills/reflect/SKILL.md b/skills/reflect/SKILL.md index fefce51..5f122fc 100644 --- a/skills/reflect/SKILL.md +++ b/skills/reflect/SKILL.md @@ -38,6 +38,8 @@ One message, three subagent spawns, each on the model role below with full tool Pass each template verbatim, substituting the transcript path or digest where marked. Reviewers return findings in their final response. +Add a bridged Tooling reviewer per [the bridge](../interrogate/references/bridge.md), with the same template, when it lists a CLI from another model family. + ### 3. Synthesize Spawn one subagent on the strongest model with full tool access, including MCP tools. The synthesizer's quality check includes spot-verifying citations, which can require MCP access. A read-only mode that strips MCP tools defeats it. Use `references/synthesizer.md` verbatim, with each reviewer's full output inlined where marked. The synthesizer returns a structured Accepted / Rejected / Backlog list.