Skip to content

Commit 7b1c670

Browse files
authored
Merge pull request #42 from alanshurafa/claude/wf-p3-boundary
P3: document interactive vs pipeline boundary
2 parents eadef31 + 2d5fed9 commit 7b1c670

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

‎CLAUDE.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,15 @@ Rules:
134134
- Bulk/mechanical work (clear-spec implementation, migrations, data transforms) → gpt-5.5. It is cheap under the Codex plan but **not free**: the codex-guard daily cap applies; batch calls, never poll-loop them.
135135
- Anything user-facing (docs prose, README, API/CLI surface design) needs high taste → opus-4.8 or fable-5 authors/reviews it.
136136
- gpt-5.5 is reachable only through the Codex CLI (`codex exec`, `codex review`). Inside Agent/Workflow calls (model param takes Claude models only), use the wrapper pattern: a thin sonnet wrapper agent (effort low) that writes a self-contained codex prompt, runs `codex exec` via Bash (`-s read-only` for investigation work), and returns only the final message.
137+
138+
## Interactive vs Pipeline Boundary
139+
140+
**Pipeline (scripted, reproducible, headless):** `co-evolve-bouncer.sh`, `dev-review/codex/dev-review.sh`, `runners/codex-ps/` (frozen reference). No plugin slash commands, no advisor tool, no live-session dependencies. Anything here must run unattended and produce stable output.
141+
142+
**Interactive (live Claude Code sessions on this repo):** the official Codex plugin (`openai/codex-plugin-cc`) is allowed and encouraged:
143+
- `/codex:adversarial-review` before letting the bouncer pass a risky plan.
144+
- The `codex:codex-rescue` subagent when a session is stuck.
145+
- `/codex:transfer` to hand work between Claude and Codex; `/codex:status` / `/codex:result` / `/codex:cancel` for job control.
146+
- The review gate (Stop hook) stays **off** (`/codex:setup --disable-review-gate`): this repo already has a review engine; a second automatic one would loop against it and burn Codex usage.
147+
148+
**Advisor tool (Anthropic API beta, header `advisor-tool-2026-03-01`):** valid only inside API agent loops (Messages API `advisor_20260301`-type tool); never available to bash scripts, `claude -p`, or Claude Code sessions. If/when this repo grows an API-driven layer, pair a Sonnet executor with an **opus-4.8 advisor** — its advice returns readable and can be logged in the dev-review trail; a fable-5 advisor returns encrypted advice that cannot be audited. Timing discipline: consult before the first write, when stuck, and before declaring work done.

‎README.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,17 @@ fallthrough.
179179
| Code pipeline inside Claude Code | `skills/dev-review/` |
180180
| External MCP client (Claude Desktop, Cursor, Continue) | `npm i -g @alanshurafa/co-evolution-mcp` |
181181

182+
### Interactive Tooling vs The Pipeline
183+
184+
The pipeline above (`co-evolve-bouncer.sh`, `dev-review/codex/dev-review.sh`) is
185+
headless and plugin-free by design — no live-session dependencies. In an
186+
interactive Claude Code session on this repo, the official Codex plugin is
187+
also available for ad-hoc work: `/plugin marketplace add openai/codex-plugin-cc`
188+
then `/plugin install codex@openai-codex` gets you `/codex:adversarial-review`,
189+
`/codex:transfer`, and related commands. Leave the plugin's review gate off —
190+
this repo's own review engine already covers that job. The Anthropic advisor
191+
tool is API-only and has no role in either the pipeline or the plugin.
192+
182193
### [MCP Server](mcp/)
183194

184195
The bounce protocol without `git clone`: `@alanshurafa/co-evolution-mcp`

0 commit comments

Comments
 (0)