@ask-llm/plugin 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/CHANGELOG.md +36 -0
- package/README.md +8 -8
- package/agents/brainstorm-coordinator.md +17 -16
- package/agents/codex-reviewer.md +1 -1
- package/agents/sol-reviewer.md +5 -5
- package/codex-pair-defaults.json +1 -1
- package/dist/brainstorm-panel.d.ts +1 -1
- package/dist/brainstorm-panel.d.ts.map +1 -1
- package/dist/brainstorm-panel.js +8 -8
- package/dist/brainstorm-panel.js.map +1 -1
- package/dist/brainstorm-run.js +1 -1
- package/dist/brainstorm-run.js.map +1 -1
- package/package.json +11 -10
- package/pi/extensions/codex-pair.ts +2 -1
- package/pi/extensions/provider-tools.ts +1 -1
- package/scripts/codex-pair-debounce-worker.mjs +60 -88
- package/scripts/codex-pair-prompt-drain.mjs +50 -64
- package/scripts/codex-pair-session.mjs +129 -168
- package/scripts/codex-pair-stop-gate.mjs +183 -233
- package/scripts/codex-pair-watch.mjs +1018 -1371
- package/scripts/lib/broker-lifecycle.mjs +677 -0
- package/scripts/lib/broker-rpc.mjs +173 -0
- package/scripts/lib/broker-transport.mjs +327 -0
- package/scripts/lib/broker.mjs +327 -0
- package/scripts/lib/debounce-state.mjs +206 -0
- package/scripts/lib/frontmatter.mjs +57 -0
- package/scripts/lib/parser.mjs +229 -0
- package/scripts/lib/process.mjs +56 -0
- package/scripts/lib/prompt.mjs +32 -0
- package/scripts/lib/session-registry.mjs +161 -0
- package/scripts/lib/state.mjs +720 -0
- package/scripts/lib/stop-gate.mjs +134 -0
- package/scripts/sol-review-transport.mjs +1 -1
- package/skills/brainstorm/SKILL.md +9 -9
- package/skills/codex-image/SKILL.md +2 -2
- package/skills/codex-pair/SKILL.md +5 -4
- package/skills/codex-review/SKILL.md +1 -1
- package/skills/grok-pair/SKILL.md +3 -3
- package/skills/sol-review/SKILL.md +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @ask-llm/plugin
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#340](https://github.com/Lykhoyda/ask-llm/pull/340) [`d9c4ff8`](https://github.com/Lykhoyda/ask-llm/commit/d9c4ff804fe3349dffa16be451b58ac39bd6d5da) Thanks [@Lykhoyda](https://github.com/Lykhoyda)! - Keep the codex-pair broker opt-in with project and environment controls, stale-broker cleanup, and direct-review fallback on broker protocol failures.
|
|
8
|
+
|
|
9
|
+
- [#340](https://github.com/Lykhoyda/ask-llm/pull/340) [`d9c4ff8`](https://github.com/Lykhoyda/ask-llm/commit/d9c4ff804fe3349dffa16be451b58ac39bd6d5da) Thanks [@Lykhoyda](https://github.com/Lykhoyda)! - Author the codex-pair hooks and broker in TypeScript, ship them as generated JavaScript, and require Node 24 or newer.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#340](https://github.com/Lykhoyda/ask-llm/pull/340) [`d9c4ff8`](https://github.com/Lykhoyda/ask-llm/commit/d9c4ff804fe3349dffa16be451b58ac39bd6d5da) Thanks [@Lykhoyda](https://github.com/Lykhoyda)! - Make the opt-in codex-pair broker safe to tear down and recover, keep its socket usable on deep project paths, and give broker reviews the same quota fallback and transient retry as direct reviews.
|
|
14
|
+
|
|
15
|
+
- [#341](https://github.com/Lykhoyda/ask-llm/pull/341) [`97030be`](https://github.com/Lykhoyda/ask-llm/commit/97030bec4dd923ed64b8f5bf3378493da3e2c316) Thanks [@Lykhoyda](https://github.com/Lykhoyda)! - Keep a codex-pair broker running and tracked when `ps` cannot verify it, and give a stalled broker review half the review timeout so its direct fallback still finishes within one timeout.
|
|
16
|
+
|
|
17
|
+
- [#338](https://github.com/Lykhoyda/ask-llm/pull/338) [`52f5230`](https://github.com/Lykhoyda/ask-llm/commit/52f5230a1e67ea499d18a3250801780ac39bdd4e) Thanks [@Lykhoyda](https://github.com/Lykhoyda)! - Insert codex-pair file and context text literally to prevent phantom injected-prompt findings.
|
|
18
|
+
|
|
19
|
+
## 0.18.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- [#336](https://github.com/Lykhoyda/ask-llm/pull/336) [`8d7ff9f`](https://github.com/Lykhoyda/ask-llm/commit/8d7ff9fdbd7ee76aa40a45a500d67910662c2002) Thanks [@Lykhoyda](https://github.com/Lykhoyda)! - Adopt Codex's bundled `gpt-6-astra` as the factory default, keep Terra as the quota fallback, and fail closed when Astra is selected on Codex CLI older than 0.153.0. `/sol-review` and the Cursor brainstorm Sol catalog IDs stay explicit Sol pins.
|
|
24
|
+
|
|
25
|
+
- [#334](https://github.com/Lykhoyda/ask-llm/pull/334) [`51d2c32`](https://github.com/Lykhoyda/ask-llm/commit/51d2c32b658cf356f61ed02986680525b95f810e) Thanks [@Lykhoyda](https://github.com/Lykhoyda)! - Accept Codex's catalog-backed `ultra` reasoning effort as explicit opt-in. Keep ordinary defaults at `medium` and `/codex-review`/`/brainstorm` at `high`. Unified Grok still rejects `max` and `ultra`.
|
|
26
|
+
|
|
27
|
+
- [#337](https://github.com/Lykhoyda/ask-llm/pull/337) [`3a9a8e5`](https://github.com/Lykhoyda/ask-llm/commit/3a9a8e5f773d2d6aab8ea7c4c42d8e5b4c473e0a) Thanks [@Lykhoyda](https://github.com/Lykhoyda)! - Pin codex-pair, /sol-review, and the Cursor brainstorm participant to GPT-6 Sol (`gpt-6-sol`, Cursor `gpt-6-sol-high`). Pair effort is medium. Grok defaults are grok-4.7 on both harnesses, and current Opus pins are Claude Opus 5.5. Astra stays the ask-codex default.
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [[`8d7ff9f`](https://github.com/Lykhoyda/ask-llm/commit/8d7ff9fdbd7ee76aa40a45a500d67910662c2002), [`51d2c32`](https://github.com/Lykhoyda/ask-llm/commit/51d2c32b658cf356f61ed02986680525b95f810e), [`3a9a8e5`](https://github.com/Lykhoyda/ask-llm/commit/3a9a8e5f773d2d6aab8ea7c4c42d8e5b4c473e0a)]:
|
|
32
|
+
- @ask-llm/codex-mcp@0.8.0
|
|
33
|
+
- @ask-llm/mcp@0.11.0
|
|
34
|
+
- @ask-llm/grok-mcp@0.2.0
|
|
35
|
+
- @ask-llm/gemini-mcp@1.9.2
|
|
36
|
+
- @ask-llm/ollama-mcp@0.6.3
|
|
37
|
+
- @ask-llm/antigravity-mcp@0.7.7
|
|
38
|
+
|
|
3
39
|
## 0.17.0
|
|
4
40
|
|
|
5
41
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -84,29 +84,29 @@ See the [Pi host guide](https://lykhoyda.github.io/ask-llm/plugin/pi) for securi
|
|
|
84
84
|
| `/gemini-review` | Gemini-only code review with confidence filtering |
|
|
85
85
|
| `/codex-review` | Codex-only code review (precision-first, ≥80 confidence — default for routine PR review) |
|
|
86
86
|
| `/fable-review` | Isolated, read-only review requesting native Fable, with runtime verification limits disclosed |
|
|
87
|
-
| `/sol-review` | Model-pinned GPT-
|
|
87
|
+
| `/sol-review` | Model-pinned GPT-6 Sol review: prefer bundled or user-scoped `ask-codex`, then fully pinned unified `ask-llm`, then the disclosed CLI fallback |
|
|
88
88
|
| `/ollama-review` | Local review — no data leaves your machine |
|
|
89
|
-
| `/brainstorm` | Explicit multi-model brainstorm (default external: Antigravity + Codex); supports an exact no-Gemini Grok + GPT-
|
|
89
|
+
| `/brainstorm` | Explicit multi-model brainstorm (default external: Antigravity + Codex); supports an exact no-Gemini Grok + GPT-6 Sol panel through Cursor Agent |
|
|
90
90
|
| `/grok-review` | Grok review through explicit xAI API or Grok CLI harness; no fallback |
|
|
91
91
|
| `/grok-pair` | Consent-gated iterative Grok reviewer through exact Cursor Agent, xAI API, or Grok CLI route; no fallback |
|
|
92
92
|
| `/codex-pair` | Claude/Pi per-edit pairing dashboard; Cursor on-demand session adapter with explicit Thread ID continuity |
|
|
93
93
|
| `/brainstorm-all` | Brainstorm with all five external providers (Gemini, Codex, Grok, Ollama, Antigravity) + Claude Opus research |
|
|
94
94
|
| `/compare` | Side-by-side raw responses from multiple providers (no synthesis, no consensus extraction) |
|
|
95
95
|
|
|
96
|
-
### Exact Grok + GPT-
|
|
96
|
+
### Exact Grok + GPT-6 Sol brainstorm
|
|
97
97
|
|
|
98
98
|
The preferred architect panel routes both models through the model-neutral Cursor Agent harness with provider and exact account-catalog ID kept separate:
|
|
99
99
|
|
|
100
100
|
```text
|
|
101
|
-
/brainstorm grok@cursor-agent:
|
|
101
|
+
/brainstorm grok@cursor-agent:grok-4.7-high,codex@cursor-agent:gpt-6-sol-high "review this architecture"
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
This panel calls exactly Grok and GPT-
|
|
104
|
+
This panel calls exactly Grok and GPT-6 Sol—never Gemini. Cursor `Auto`, model rewriting, and harness/provider fallback are forbidden. If one participant fails, the result is partial and cannot be presented as two-model consensus. Catalogs are account-specific; confirm these exact IDs with `agent --list-models` and replace an unavailable ID explicitly.
|
|
105
105
|
|
|
106
106
|
Official Grok Build remains an explicit alternative when its installed headless contract is supported:
|
|
107
107
|
|
|
108
108
|
```text
|
|
109
|
-
/brainstorm grok@grok-cli:grok-
|
|
109
|
+
/brainstorm grok@grok-cli:grok-4.7,codex@cursor-agent:gpt-6-sol-high "review this architecture"
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
A Grok CLI failure remains a Grok CLI failure; the workflow does not pivot to Cursor or xAI.
|
|
@@ -118,7 +118,7 @@ A Grok CLI failure remains a Grok CLI failure; the workflow does not pivot to Cu
|
|
|
118
118
|
| gemini-reviewer | cyan | 4-phase: context, prompt, synthesis, validation |
|
|
119
119
|
| codex-reviewer | green | 4-phase: context, prompt, synthesis, validation |
|
|
120
120
|
| fable-reviewer | purple | Fable-requested review with source-verified findings |
|
|
121
|
-
| sol-reviewer | blue | GPT-
|
|
121
|
+
| sol-reviewer | blue | GPT-6 Sol review through Codex with source validation |
|
|
122
122
|
| ollama-reviewer | yellow | 4-phase: context, prompt, synthesis, validation (local) |
|
|
123
123
|
| brainstorm-coordinator | magenta | Source-grounded research + parallel multi-model consultation; exact two-model mode keeps the host non-voting and partial failures out of consensus |
|
|
124
124
|
|
|
@@ -164,7 +164,7 @@ To disable:
|
|
|
164
164
|
| Just this session | `/plugin disable ask-llm` |
|
|
165
165
|
| Just this command | `CODEX_PAIR_DISABLED=1 <command>` |
|
|
166
166
|
|
|
167
|
-
**Usage characteristics**: GPT-
|
|
167
|
+
**Usage characteristics**: GPT-6 Sol at medium effort by default, with Terra quota fallback; ~13–50s per file. Files >20KB skipped (override with `CODEX_PAIR_MAX_FILE_BYTES`). node_modules/dist/lockfiles/images skipped automatically.
|
|
168
168
|
|
|
169
169
|
**When to enable**: any project where missed correctness issues cost more than the per-edit review (~$0.04–0.07). The decision is about *code characteristics*, not domain — codex-pair catches bugs earlier wherever a project has implicit invariants the model can't infer from one file in isolation (which most projects do, somewhere). **When NOT to enable**: routine refactors, glue code, simple CRUD where `/codex-review` at PR time is sufficient (~1/4 the cost). The four-task benchmark in ADR-077 has the full task-agnostic evidence trail; ADR-095 is the lived-experience replication on this very repo.
|
|
170
170
|
|
|
@@ -32,7 +32,7 @@ The frontmatter and detailed implementation below define Claude Code subagent ex
|
|
|
32
32
|
|
|
33
33
|
You are a brainstorming coordinator powered by Claude Opus. You have two jobs:
|
|
34
34
|
|
|
35
|
-
1. **Research independently before dispatch.** Perform deep analysis of the topic — read the actual files, trace real code paths, and factor in framework-specific semantics. In standard mode this is a peer participant. In the exact Grok + GPT-
|
|
35
|
+
1. **Research independently before dispatch.** Perform deep analysis of the topic — read the actual files, trace real code paths, and factor in framework-specific semantics. In standard mode this is a peer participant. In the exact Grok + GPT-6 Sol mode it is a non-voting evidence memo: the requested panel must remain exactly two models.
|
|
36
36
|
2. **Orchestrate explicit consultations.** Dispatch only the selected external participants (Antigravity, Codex, Grok, Ollama, Gemini — default: antigravity,codex) via a **single blocking foreground Bash call**, collect responses, and synthesize with provider, harness, requested model, independently observed served model (direct xAI API / Grok CLI only), and Cursor display label kept separate; a harness-echoed requested ID is selected-only and is never presented as the actual model.
|
|
37
37
|
|
|
38
38
|
You run on Opus and have filesystem access. Never skip the independent research phase, but never count it as a third panel vote in exact two-model mode.
|
|
@@ -126,14 +126,14 @@ The user specifies which external providers to use. Default is `antigravity,code
|
|
|
126
126
|
|
|
127
127
|
Participant specs use `provider@harness:exact-model-id`. The preferred Grok route is Cursor Agent. The supported exact architect panel is:
|
|
128
128
|
|
|
129
|
-
- `grok@cursor-agent:
|
|
130
|
-
- `codex@cursor-agent:gpt-
|
|
129
|
+
- `grok@cursor-agent:grok-4.7-high`
|
|
130
|
+
- `codex@cursor-agent:gpt-6-sol-high`
|
|
131
131
|
|
|
132
|
-
Account catalogs can change; an unavailable exact ID is a clear failure, not permission to choose Auto or another ID. Grok Build remains explicit as `grok@grok-cli:grok-
|
|
132
|
+
Account catalogs can change; an unavailable exact ID is a clear failure, not permission to choose Auto or another ID. Grok Build remains explicit as `grok@grok-cli:grok-4.7` when the installed CLI supports the canonical contract. The exact panel contains no Gemini and must never launch a Gemini process/tool.
|
|
133
133
|
|
|
134
|
-
A list that mixes routed specs with bare provider names (for example `grok@cursor-agent:
|
|
134
|
+
A list that mixes routed specs with bare provider names (for example `grok@cursor-agent:grok-4.7-high,antigravity`) is unsupported: stop before Phase 3A, report `Mixed brainstorm participant lists are not supported: routed "<spec>" cannot be combined with bare "<provider>". Use either an all-bare provider list or the exact routed Grok + GPT-6 Sol panel. No participant was substituted, rerouted, or dispatched.`, and dispatch nothing. Never downgrade a routed spec to `grok-run.js`/`codex-run.js` or promote a bare name into a routed spec; `brainstorm-run.js` refuses such lists with the same error. Generalized mixed panels are deferred to a future ADR.
|
|
135
135
|
|
|
136
|
-
**Exact Grok + GPT-
|
|
136
|
+
**Exact Grok + GPT-6 Sol branch (preferred architect workflow):**
|
|
137
137
|
|
|
138
138
|
Use this branch instead of the generic template whenever the selected providers are exactly Grok and Codex with explicit route specs. Validate both specs first, then make one foreground call:
|
|
139
139
|
|
|
@@ -146,8 +146,8 @@ cat > "$workdir/prompt.md" <<'PROMPT_EOF'
|
|
|
146
146
|
PROMPT_EOF
|
|
147
147
|
|
|
148
148
|
node "${CLAUDE_PLUGIN_ROOT}/dist/brainstorm-run.js" \
|
|
149
|
-
--participant 'grok@cursor-agent:
|
|
150
|
-
--participant 'codex@cursor-agent:gpt-
|
|
149
|
+
--participant 'grok@cursor-agent:grok-4.7-high' \
|
|
150
|
+
--participant 'codex@cursor-agent:gpt-6-sol-high' \
|
|
151
151
|
< "$workdir/prompt.md" > "$workdir/panel.json" 2> "$workdir/panel.err"
|
|
152
152
|
rc_panel=$?
|
|
153
153
|
echo "===== GROK + GPT-5.6 SOL PANEL (rc=$rc_panel) ====="
|
|
@@ -156,7 +156,7 @@ echo "===== PANEL STDERR ====="
|
|
|
156
156
|
cat "$workdir/panel.err"
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
-
Substitute only user-supplied, grammar-validated exact specs. For the explicit Grok Build alternative, substitute only the Grok spec with `grok@grok-cli:grok-
|
|
159
|
+
Substitute only user-supplied, grammar-validated exact specs. For the explicit Grok Build alternative, substitute only the Grok spec with `grok@grok-cli:grok-4.7`; do not change the Sol route. `brainstorm-run.js` starts both participants concurrently, preserves input order and identity, returns `complete | partial | failed`, and exits 2 for partial/failed participant execution. Parse its JSON even when rc=2. It does not know or support Gemini, and it does not pivot routes.
|
|
160
160
|
|
|
161
161
|
**Required Bash tool call parameters:**
|
|
162
162
|
- `timeout: 600000` — 10 minutes, the Bash tool maximum. The default 2 minutes will kill Codex at high reasoning effort mid-response, recreating the same silent-failure class this phase is designed to avoid.
|
|
@@ -205,18 +205,19 @@ gemini -p "@$workdir/prompt.md" > "$workdir/gemini.out" 2> "$workdir/gemini.err"
|
|
|
205
205
|
pid_gemini=$!
|
|
206
206
|
|
|
207
207
|
# Only include this block if codex was requested (in the default set).
|
|
208
|
-
# GPT-
|
|
209
|
-
# Terra preserves the lower-cost fallback role.
|
|
208
|
+
# GPT-6 Astra at high effort is the quality-first default for unpinned
|
|
209
|
+
# brainstorming; Terra preserves the lower-cost fallback role. The exact Cursor
|
|
210
|
+
# architect panel stays gpt-6-sol-high (ADR-148). ASK_CODEX_PREFERRED_MODEL and
|
|
210
211
|
# ASK_CODEX_REASONING_EFFORT remain escape hatches. prompt.md is a FILE (not a
|
|
211
212
|
# pipe), so both attempts can re-read it. The whole `{ ...; }` group is
|
|
212
213
|
# backgrounded as one job so pid_codex/`wait` capture the final code.
|
|
213
|
-
codex_model="${ASK_CODEX_PREFERRED_MODEL:-${ASK_CODEX_MODEL:-gpt-
|
|
214
|
+
codex_model="${ASK_CODEX_PREFERRED_MODEL:-${ASK_CODEX_MODEL:-gpt-6-astra}}"
|
|
214
215
|
codex_fallback="${ASK_CODEX_FALLBACK_MODEL:-gpt-5.6-terra}"
|
|
215
216
|
codex_effort="${ASK_CODEX_REASONING_EFFORT:-high}"
|
|
216
217
|
# Keep the raw env override aligned with ask-codex's public enum so malformed
|
|
217
218
|
# config fragments never reach the Codex CLI.
|
|
218
219
|
case "$codex_effort" in
|
|
219
|
-
low|medium|high|xhigh|max) ;;
|
|
220
|
+
low|medium|high|xhigh|max|ultra) ;;
|
|
220
221
|
*) codex_effort="high" ;;
|
|
221
222
|
esac
|
|
222
223
|
{ codex exec --sandbox read-only -c "model_reasoning_effort=\"$codex_effort\"" -m "$codex_model" - < "$workdir/prompt.md" \
|
|
@@ -312,9 +313,9 @@ Surface this grade as the first line of the synthesis output (see Output Format
|
|
|
312
313
|
|
|
313
314
|
### Participants Consulted
|
|
314
315
|
- ℹ️ Claude Opus: non-voting evidence verifier (exact two-model mode; verified against real files: path/to/a, path/to/b)
|
|
315
|
-
- ✅ Grok via Cursor Agent — requested `
|
|
316
|
-
- ✅ Codex via Cursor Agent — requested `gpt-
|
|
317
|
-
- (direct route example) ✅ Grok via xAI API — requested `grok-4.
|
|
316
|
+
- ✅ Grok via Cursor Agent — requested `grok-4.7-high` (selected-unverified: Cursor echoes the requested ID); reported display label `Grok 4.7` (label, not a catalog ID)
|
|
317
|
+
- ✅ Codex via Cursor Agent — requested `gpt-6-sol-high` (selected-unverified); reported display label `GPT-6 Sol 1M High`
|
|
318
|
+
- (direct route example) ✅ Grok via xAI API — requested `grok-4.7`; observed served `grok-4.7-<snapshot>` (observed-alias, disclosed same-product resolution)
|
|
318
319
|
- 🚫 Gemini: explicitly excluded (not called)
|
|
319
320
|
|
|
320
321
|
### Consensus (high confidence; omit for a partial exact panel)
|
package/agents/codex-reviewer.md
CHANGED
|
@@ -63,7 +63,7 @@ You are a code review coordinator that leverages OpenAI Codex for independent an
|
|
|
63
63
|
|
|
64
64
|
### Phase 2: Review Prompt Construction
|
|
65
65
|
|
|
66
|
-
When calling Codex, leave `model` and `preferred` unset and set `reasoningEffort: "high"` plus `sandbox: "read-only"`. This uses GPT-
|
|
66
|
+
When calling Codex, leave `model` and `preferred` unset and set `reasoningEffort: "high"` plus `sandbox: "read-only"`. This uses GPT-6 Astra at high effort and transparently falls back to GPT-5.6 Terra on quota.
|
|
67
67
|
|
|
68
68
|
Prefer an exact `ask-codex` leaf (`mcp__codex__ask-codex` or `mcp__plugin_ask-llm_codex__ask-codex`). If none is exposed, call `mcp__ask-llm__ask-llm` with `provider: "codex"` and the same options. Inspect the unified input schema first: if it lacks `reasoningEffort`, `includeDirs`, `preferred`, or `sandbox`, stop and tell the user to upgrade `@ask-llm/mcp` (`npx -y @ask-llm/mcp@latest` or `npm install -g @ask-llm/mcp`); do not omit those fields to make the call succeed. Never make an unpinned generic `ask-llm` call.
|
|
69
69
|
|
package/agents/sol-reviewer.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sol-reviewer
|
|
3
|
-
description: Coordinates an isolated, read-only code review explicitly pinned to OpenAI GPT-
|
|
3
|
+
description: Coordinates an isolated, read-only code review explicitly pinned to OpenAI GPT-6 Sol and reports only source-verified, high-confidence correctness findings.
|
|
4
4
|
model: opus
|
|
5
5
|
effort: high
|
|
6
6
|
color: blue
|
|
@@ -13,7 +13,7 @@ disallowedTools:
|
|
|
13
13
|
<!-- PORTABLE-CONTRACT:START -->
|
|
14
14
|
## Portable contract
|
|
15
15
|
|
|
16
|
-
Review only the supplied changes with Codex explicitly pinned to GPT-
|
|
16
|
+
Review only the supplied changes with Codex explicitly pinned to GPT-6 Sol, high effort, and read-only sandbox. Verify every candidate against source, report only high-confidence correctness findings, and disclose any model or transport fallback.
|
|
17
17
|
<!-- PORTABLE-CONTRACT:END -->
|
|
18
18
|
|
|
19
19
|
<!-- HOST-ADAPTER:CLAUDE-CODE:START -->
|
|
@@ -23,14 +23,14 @@ The frontmatter and detailed implementation below define Claude Code subagent ex
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
You are a code review coordinator for a model-pinned OpenAI GPT-
|
|
26
|
+
You are a code review coordinator for a model-pinned OpenAI GPT-6 Sol review. Send the changes to Codex, then independently validate every candidate against the current source.
|
|
27
27
|
|
|
28
28
|
## Workflow
|
|
29
29
|
|
|
30
30
|
1. Inspect `git diff` and `git diff --cached`. Read each affected file around the changed lines.
|
|
31
31
|
2. Apply the nearest `CLAUDE.md` instructions and inspect any ADR explicitly cited by changed code.
|
|
32
32
|
3. Call an available Ask LLM Codex transport with:
|
|
33
|
-
- `model: "gpt-
|
|
33
|
+
- `model: "gpt-6-sol"`
|
|
34
34
|
- `reasoningEffort: "high"`
|
|
35
35
|
- `sandbox: "read-only"`
|
|
36
36
|
- `preferred` unset
|
|
@@ -45,7 +45,7 @@ You are a code review coordinator for a model-pinned OpenAI GPT-5.6 Sol review.
|
|
|
45
45
|
node "${CLAUDE_PLUGIN_ROOT}/scripts/sol-review-transport.mjs" --fallback --plugin-dir "${CLAUDE_PLUGIN_ROOT}" --cli-path "$(command -v codex || true)"
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
Before executing Codex, the runner queries the active Claude MCP inventory again with the active plugin preserved; mirror any session-local `--mcp-config`, `--settings`, `--setting-sources`, and `--strict-mcp-config` flags on the runner command. When the resolved tool is unified `ask-llm`, pass `--tool "<resolved tool name>" --tool-schema "<advertised input JSON schema>"` so an older schema is classified as `unsupported-schema` rather than being called. This makes a parent `preferred` or `unified` result followed by an absent or disconnected subagent tool a registered-but-unavailable state with the corresponding remediation. If the MCP call itself fails at the transport/service boundary, rerun the same fallback command with `--mcp-failed`; do not use that flag for a provider/model response. The runner then executes `codex exec -m gpt-
|
|
48
|
+
Before executing Codex, the runner queries the active Claude MCP inventory again with the active plugin preserved; mirror any session-local `--mcp-config`, `--settings`, `--setting-sources`, and `--strict-mcp-config` flags on the runner command. When the resolved tool is unified `ask-llm`, pass `--tool "<resolved tool name>" --tool-schema "<advertised input JSON schema>"` so an older schema is classified as `unsupported-schema` rather than being called. This makes a parent `preferred` or `unified` result followed by an absent or disconnected subagent tool a registered-but-unavailable state with the corresponding remediation. If the MCP call itself fails at the transport/service boundary, rerun the same fallback command with `--mcp-failed`; do not use that flag for a provider/model response. The runner then executes `codex exec -m gpt-6-sol -c model_reasoning_effort="high" -s read-only --ignore-user-config --ignore-rules --skip-git-repo-check`. The model pin, reasoning-effort override, read-only sandbox, and isolation flags are load-bearing; never drop or substitute them. On a quota or rate-limit failure only, the runner retries once with `${ASK_CODEX_FALLBACK_MODEL:-gpt-5.6-terra}` and identical flags, matching the MCP executor's configurable quota ladder. It writes the review result to stdout unchanged so the validated findings can be relayed without loss. If the `codex` CLI is also unavailable, stop and report that the Sol review could not run. Do not review on another transport, on any model outside the Sol-to-fallback ladder, or in another sandbox mode.
|
|
49
49
|
4. Ask Sol for concrete correctness, security, data-loss, concurrency, resource-lifecycle, and compatibility failures with confidence scores and reproduction conditions.
|
|
50
50
|
5. Read the reported source locations and trace each reproduction path. Drop style preferences, speculative improvements, pre-existing issues, linter/type-checker findings, and behavior documented as intentional.
|
|
51
51
|
6. Report only validated findings with confidence of at least 80/100. Never invent findings to fill a report.
|
package/codex-pair-defaults.json
CHANGED
|
@@ -27,7 +27,7 @@ export interface BrainstormParticipantResult extends BrainstormParticipant {
|
|
|
27
27
|
error?: string;
|
|
28
28
|
}
|
|
29
29
|
export interface BrainstormPanelReport {
|
|
30
|
-
panel: "grok+gpt-
|
|
30
|
+
panel: "grok+gpt-6-sol";
|
|
31
31
|
status: "complete" | "partial" | "failed";
|
|
32
32
|
consensusEligible: boolean;
|
|
33
33
|
synthesisRule: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brainstorm-panel.d.ts","sourceRoot":"","sources":["../src/brainstorm-panel.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B,YAAI,MAAM,EAAE,OAAO,CAAU,CAAC;AACrE,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAClF,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAC3F,eAAO,MAAM,yBAAyB,YAAI,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,CAAU,CAAC;AACvG,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhF,MAAM,MAAM,yBAAyB,GACjC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,sBAAsB,EAAE,CAAA;CAAE,GACrD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,qBAAqB,EAAE,CAAA;CAAE,CAAC;AAE7D,MAAM,MAAM,2BAA2B,GACnC,gBAAgB,GAChB,gBAAgB,GAChB,qBAAqB,GACrB,UAAU,GACV,UAAU,CAAC;AAEf,MAAM,WAAW,qBAAqB;IAC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EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAiBjC"}
|
package/dist/brainstorm-panel.js
CHANGED
|
@@ -13,7 +13,7 @@ function routeAllowed(participant) {
|
|
|
13
13
|
export function parseBrainstormParticipant(spec) {
|
|
14
14
|
const match = spec.match(/^(grok|codex)@(cursor-agent|grok-cli|xai-api|codex-cli):(.+)$/);
|
|
15
15
|
if (!match) {
|
|
16
|
-
throw new Error(`Invalid brainstorm participant "${spec}". Use provider@harness:exact-model-id (for example grok@cursor-agent:
|
|
16
|
+
throw new Error(`Invalid brainstorm participant "${spec}". Use provider@harness:exact-model-id (for example grok@cursor-agent:grok-4.7-high).`);
|
|
17
17
|
}
|
|
18
18
|
const participant = {
|
|
19
19
|
provider: match[1],
|
|
@@ -38,7 +38,7 @@ export function parseBrainstormParticipantList(specs) {
|
|
|
38
38
|
const bare = trimmed.filter((spec) => !spec.includes("@"));
|
|
39
39
|
const routed = trimmed.filter((spec) => spec.includes("@"));
|
|
40
40
|
if (bare.length > 0 && routed.length > 0) {
|
|
41
|
-
throw new Error(`Mixed brainstorm participant lists are not supported: routed ${routed.map((spec) => `"${spec}"`).join(", ")} cannot be combined with bare ${bare.map((spec) => `"${spec}"`).join(", ")}. Use either an all-bare provider list or the exact routed Grok + GPT-
|
|
41
|
+
throw new Error(`Mixed brainstorm participant lists are not supported: routed ${routed.map((spec) => `"${spec}"`).join(", ")} cannot be combined with bare ${bare.map((spec) => `"${spec}"`).join(", ")}. Use either an all-bare provider list or the exact routed Grok + GPT-6 Sol panel. No participant was substituted, rerouted, or dispatched.`);
|
|
42
42
|
}
|
|
43
43
|
if (routed.length > 0) {
|
|
44
44
|
return { mode: "exact", participants: routed.map(parseBrainstormParticipant) };
|
|
@@ -51,15 +51,15 @@ export function parseBrainstormParticipantList(specs) {
|
|
|
51
51
|
}
|
|
52
52
|
export function validateBrainstormPanel(participants) {
|
|
53
53
|
if (participants.length !== 2) {
|
|
54
|
-
throw new Error("The Grok + GPT-
|
|
54
|
+
throw new Error("The Grok + GPT-6 Sol panel requires exactly two participants.");
|
|
55
55
|
}
|
|
56
56
|
const providers = participants.map(({ provider }) => provider);
|
|
57
57
|
if (new Set(providers).size !== providers.length) {
|
|
58
|
-
throw new Error("The Grok + GPT-
|
|
58
|
+
throw new Error("The Grok + GPT-6 Sol panel requires one Grok participant and one Codex participant.");
|
|
59
59
|
}
|
|
60
60
|
for (const required of BRAINSTORM_PANEL_PROVIDERS) {
|
|
61
61
|
if (!providers.includes(required)) {
|
|
62
|
-
throw new Error(`The Grok + GPT-
|
|
62
|
+
throw new Error(`The Grok + GPT-6 Sol panel is missing provider "${required}".`);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
for (const participant of participants) {
|
|
@@ -69,8 +69,8 @@ export function validateBrainstormPanel(participants) {
|
|
|
69
69
|
if (!routeAllowed(participant)) {
|
|
70
70
|
throw new Error(`Unsupported brainstorm route ${participant.provider}@${participant.harness}. No provider or harness fallback was attempted.`);
|
|
71
71
|
}
|
|
72
|
-
if (participant.provider === "codex" && !participant.model.toLowerCase().includes("gpt-
|
|
73
|
-
throw new Error(`The Codex participant must request an exact GPT-
|
|
72
|
+
if (participant.provider === "codex" && !participant.model.toLowerCase().includes("gpt-6-sol")) {
|
|
73
|
+
throw new Error(`The Codex participant must request an exact GPT-6 Sol model ID; received "${participant.model}". No model substitution was attempted.`);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -237,7 +237,7 @@ export async function runBrainstormPanel(options) {
|
|
|
237
237
|
const participants = await Promise.all(options.participants.map((participant) => invokeParticipant(participant, options.prompt, options.signal, options.onProgress)));
|
|
238
238
|
const successCount = participants.filter(({ status }) => status === "fulfilled").length;
|
|
239
239
|
return {
|
|
240
|
-
panel: "grok+gpt-
|
|
240
|
+
panel: "grok+gpt-6-sol",
|
|
241
241
|
status: successCount === 2 ? "complete" : successCount === 1 ? "partial" : "failed",
|
|
242
242
|
consensusEligible: successCount === 2,
|
|
243
243
|
synthesisRule: SYNTHESIS_RULE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brainstorm-panel.js","sourceRoot":"","sources":["../src/brainstorm-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,OAAO,CAAU,CAAC;AAGrE,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,CAAU,CAAC;AAuCvG,MAAM,cAAc,GAClB,yOAAyO,CAAC;AAE5O,SAAS,YAAY,CAAC,WAAkC;IACtD,IAAI,WAAW,CAAC,QAAQ,KAAK,MAAM,EAAE,CAAC;QACpC,OAAO,CAAC,cAAc,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;IACD,OAAO,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAY;IACrD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,+DAA+D,CAAC,CAAC;IAC1F,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CACb,mCAAmC,IAAI,
|
|
1
|
+
{"version":3,"file":"brainstorm-panel.js","sourceRoot":"","sources":["../src/brainstorm-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;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,CAAC,CAAC,QAAQ;QACnF,iBAAiB,EAAE,YAAY,KAAK,CAAC;QACrC,aAAa,EAAE,cAAc;QAC7B,YAAY;KACb,CAAC;AACJ,CAAC"}
|
package/dist/brainstorm-run.js
CHANGED
|
@@ -29,7 +29,7 @@ async function main() {
|
|
|
29
29
|
const specs = parseArgs(process.argv.slice(2));
|
|
30
30
|
const list = parseBrainstormParticipantList(specs);
|
|
31
31
|
if (list.mode !== "exact") {
|
|
32
|
-
throw new Error(`ask-brainstorm-run executes only the exact routed Grok + GPT-
|
|
32
|
+
throw new Error(`ask-brainstorm-run executes only the exact routed Grok + GPT-6 Sol panel; bare providers (${list.providers.join(", ")}) use the standard coordinator dispatch. No participant was dispatched.`);
|
|
33
33
|
}
|
|
34
34
|
const prompt = await readStdin();
|
|
35
35
|
const report = await runBrainstormPanel({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brainstorm-run.js","sourceRoot":"","sources":["../src/brainstorm-run.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3F,SAAS,SAAS,CAAC,IAAc;IAC/B,MAAM,YAAY,GAAa,EAAE,CAAC;IAClC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QACpD,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,IAAI,GAAG,KAAK,eAAe,EAAE,CAAC;YAC5B,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;YAC9B,IAAI,CAAC,KAAK;gBAAE,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;YACtF,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACzB,KAAK,IAAI,CAAC,CAAC;YACX,SAAS;QACX,CAAC;QACD,MAAM,IAAI,KAAK,C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I,EAAE,CAAC,CAAC,CAAC,CAAC;QAC7C,IAAI,MAAM,CAAC,MAAM,KAAK,UAAU;YAAE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACzD,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvE,OAAO,CAAC,KAAK,CAAC,8BAA8B,OAAO,EAAE,CAAC,CAAC;QACvD,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACvB,CAAC;AACH,CAAC;AAED,IAAI,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ask-llm/plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Ask LLM review, comparison, brainstorming, image, verification, and pairing workflows for Claude Code, Cursor Agent, and Pi",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "tsc",
|
|
17
|
+
"build:hooks": "tsc -p scripts/tsconfig.json && chmod 755 scripts/codex-pair-debounce-worker.mjs scripts/codex-pair-prompt-drain.mjs scripts/codex-pair-session.mjs scripts/codex-pair-stop-gate.mjs scripts/codex-pair-watch.mjs",
|
|
17
18
|
"test": "vitest run",
|
|
18
|
-
"lint": "biome check src/ pi/ && biome lint scripts/ && tsc --noEmit && tsc --noEmit -p pi/tsconfig.json"
|
|
19
|
+
"lint": "biome check src/ pi/ && biome lint scripts/ && tsc --noEmit && tsc --noEmit -p pi/tsconfig.json && tsc -p scripts/tsconfig.json --noEmit"
|
|
19
20
|
},
|
|
20
21
|
"keywords": [
|
|
21
22
|
"pi-package",
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
"prompts/",
|
|
57
58
|
"README.md",
|
|
58
59
|
"scripts/*.mjs",
|
|
59
|
-
"scripts/lib
|
|
60
|
+
"scripts/lib/*.mjs",
|
|
60
61
|
"skills/"
|
|
61
62
|
],
|
|
62
63
|
"pi": {
|
|
@@ -83,12 +84,12 @@
|
|
|
83
84
|
]
|
|
84
85
|
},
|
|
85
86
|
"dependencies": {
|
|
86
|
-
"@ask-llm/antigravity-mcp": "^0.7.
|
|
87
|
-
"@ask-llm/codex-mcp": "^0.
|
|
88
|
-
"@ask-llm/gemini-mcp": "^1.9.
|
|
89
|
-
"@ask-llm/grok-mcp": "^0.
|
|
90
|
-
"@ask-llm/mcp": "^0.
|
|
91
|
-
"@ask-llm/ollama-mcp": "^0.6.
|
|
87
|
+
"@ask-llm/antigravity-mcp": "^0.7.7",
|
|
88
|
+
"@ask-llm/codex-mcp": "^0.8.0",
|
|
89
|
+
"@ask-llm/gemini-mcp": "^1.9.2",
|
|
90
|
+
"@ask-llm/grok-mcp": "^0.2.0",
|
|
91
|
+
"@ask-llm/mcp": "^0.11.0",
|
|
92
|
+
"@ask-llm/ollama-mcp": "^0.6.3"
|
|
92
93
|
},
|
|
93
94
|
"peerDependencies": {
|
|
94
95
|
"@earendil-works/pi-ai": "*",
|
|
@@ -96,7 +97,7 @@
|
|
|
96
97
|
"typebox": "*"
|
|
97
98
|
},
|
|
98
99
|
"engines": {
|
|
99
|
-
"node": ">=
|
|
100
|
+
"node": ">=24.0.0"
|
|
100
101
|
},
|
|
101
102
|
"devDependencies": {
|
|
102
103
|
"@biomejs/biome": "^2.5.10",
|
|
@@ -280,7 +280,7 @@ function parseNumberFrontmatter(content: string, key: string, fallback: number):
|
|
|
280
280
|
async function readConfig(markerDir: string): Promise<{ config: PairConfig; context: string }> {
|
|
281
281
|
const context = await readFile(join(markerDir, ".codex-pair", "context.md"), "utf8");
|
|
282
282
|
const threshold = context.match(/^surfaceThreshold:\s*(high|med|low)\s*$/m)?.[1];
|
|
283
|
-
const model = context.match(/^model:\s*([^\n]+)$/m)?.[1]?.trim() || "gpt-
|
|
283
|
+
const model = context.match(/^model:\s*([^\n]+)$/m)?.[1]?.trim() || "gpt-6-sol";
|
|
284
284
|
return {
|
|
285
285
|
context,
|
|
286
286
|
config: {
|
|
@@ -693,6 +693,7 @@ export function registerCodexPair(pi: ExtensionAPI): void {
|
|
|
693
693
|
const result = await executeCodexCLI({
|
|
694
694
|
prompt,
|
|
695
695
|
model: config.model,
|
|
696
|
+
reasoningEffort: "medium",
|
|
696
697
|
sandbox: "read-only",
|
|
697
698
|
signal: controller.signal,
|
|
698
699
|
});
|
|
@@ -41,7 +41,7 @@ const prompt = Type.String({ minLength: 1, maxLength: 100000, description: "Prom
|
|
|
41
41
|
const codexSchema = Type.Object({
|
|
42
42
|
prompt,
|
|
43
43
|
model: Type.Optional(Type.String({ minLength: 1 })),
|
|
44
|
-
reasoningEffort: Type.Optional(StringEnum(["low", "medium", "high", "xhigh", "max"] as const)),
|
|
44
|
+
reasoningEffort: Type.Optional(StringEnum(["low", "medium", "high", "xhigh", "max", "ultra"] as const)),
|
|
45
45
|
sessionId: Type.Optional(Type.String()),
|
|
46
46
|
includeDirs: Type.Optional(relativeDirs),
|
|
47
47
|
preferred: Type.Optional(Type.Boolean()),
|