Repository navigation
feat: add a per-agent effort option (Claude Code and OpenCode) - #118
szdziedzic wants to merge 18 commits into
Conversation
An agent's frontmatter can now set `effort: low|medium|high|xhigh|max`. The claude-code engine passes it to the `claude` CLI as `--effort`, only for agents that declare it, so other agents and the review-cache key are unchanged. An invalid value is a setup warning and the agent runs at the CLI default; it never stops a review. An agent whose model runs through OpenCode ignores the option, and the review prints one note that names it. Documented in the README, the config template, and LLP 0006. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🤖 AI code reviewDecision: Ready for human review Overall PR risk: Low. The change is additive, adding an optional 🔎 Reviewer summaries (4)
No findings. This review is advisory — it never blocks a merge and never auto-approves. |
Review of the first version (PR #118) found four problems: - The efforts were a plain object keyed by pass id, so an agent named `constructor` read the inherited Object constructor as its level. They are now a Map. - A reviewer file named after a fixed role (agents/verifier.md) gave its level to the built-in pass of the same id. buildAgentEfforts now gives fixed-role ids no entry, and the run note says to rename the file. - agentEffortNote named agents the run skipped (no engine entry) as OpenCode-routed. It now names only agents whose engine is OpenCode. - The README example set effort on claude-haiku-4-5, which gets no effort from the CLI. The example now uses Opus 5.5, and the README and LLP 0006 say that the model must support effort. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Second review of PR #118: - The effort note ran before the paths filter and the router, so it could name a reviewer that never ran. agentEffortNote now takes the final reviewer list, and runReview calls it after routing. - The fixed-role ids are now the session archive's NON_REVIEWER_AGENTS, so the two lists cannot drift. The test covers all five ids, and the rename test checks the "Fix: rename the agent file" text. - The config template says the model must support effort. - Format the new test with oxfmt (fmt:check failed in CI). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Devin review of c28e3eb: - The rule "build the effort note after routing" had no @ref at its call site, and no test drove runReview's order: a test of agentEffortNote with a pre-filtered list would still pass if runReview built the note before routing. - Move reviewer selection (paths-filtered candidates, the optional router, the effort note) into selectReviewers, which runReview calls. Tests drive it with a stand-in router: a routed-out OpenCode reviewer and a path-excluded agents/verifier.md are not named, and a running OpenCode reviewer is. Building the note from the candidates instead makes the first test fail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Astra review of 9f9f0cd: a blocking pre-check or the budget can skip a reviewer after selectReviewers named it, so "effort was ignored for X" could describe a pass that never ran. The note now says "has no effect for X", which is true whether or not X runs, and the doc comment and LLP 0006 no longer claim that an agent that does not run is never named. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Neon review of 9f9f0cd: - `effort` in coordinator.md or shared.md frontmatter did nothing and said nothing. The loader now adds a setup warning that says to remove it. - The "path-excluded verifier.md" test passed a list without the verifier, so it tested nothing new. Replace it with a routed-out and a routed-in agents/verifier.md, and add the router-fallback branch (routed: false runs every candidate and notes a running OpenCode reviewer). - startClaudeCode: assert the handle has no efforts map without effort, and that fixed-role ids get no entry with it. - agentEffortNote: one test with both reasons in one note. - Move LoadedAgent's doc comment back onto LoadedAgent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Astra review of 9094fa6: - A reviewer file named after a built-in pass, on an OpenCode model, was told only to rename the file; after the rename the next run said OpenCode ignores effort. The note now reads the reviewer's own model (the engine map's entry for that id describes the built-in pass) and also says to use an `anthropic/…` model when needed. - The @ref gloss at selectReviewers still said an agent that does not run is never named; a later pre-check or budget limit can skip a named one. Match the LLP wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Neon review of 9094fa6: - The comment above the selectReviewers @ref still said the note names agents that run; it now says selected reviewers, and the test group title matches. - Test the shared.md branch of the non-reviewer effort warning, next to coordinator.md. - The warning no longer names the coordinator when it fires for shared.md, and the README says that effort in coordinator.md or shared.md is listed under Review setup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Multi-model reviewThree reviewers looked at Findings1. The fallback passes keep the agent's effort. (Claude, Grok) A timed-out pass gets split, or retried as a no-tools pass with a 4-minute cap. Fix: skip 2. The warning echoes the raw invalid value. (Claude, Codex) A backtick in the value closes the code span in the setup note, so a mention or link after it renders live. A very long value also goes into the comment with no cap, since truncation doesn't touch setup notes. Fix: don't repeat the value. Name the file and the allowed levels. 3. Scoped runs can show the wrong effort warning for enforced agents. (Codex) A scope takes 4. An unmatched quote selects a level silently. (Codex)
5. Nit: the hidden-frontmatter warning doesn't list Not verifiedCodex says some models take only some levels (for example Looks fine
|
Multi-model review of c6d4a10 (PR comment by Kudo) and Devin: - A timed-out pass is retried with no tools under a short cap (maxToolCalls 0); it still got the agent's level, so an `effort: max` agent could time out again. runClaudePrompt now sends no level there. - The invalid-effort warning repeated the raw value, so a backtick could close the code span in the review comment and a long value went in uncapped. It now names the file and the allowed levels only. - The hidden-frontmatter warning now lists `effort` among ignored keys. - The rename advice for a fixed-role reviewer on an OpenCode model now says that REVIEWER_MODEL, when set, decides the model. - LLP 0006 records the two points left for later: per-agent warnings in routed scopes with enforceAgents (same as `mention`), and the shared reader's unmatched-quote handling. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kudo's multi-model review of PR #118 found that a timed-out pass, retried with no tools under a short cap, kept the agent's level; #118 now sends no level there on the claude-code engine. The same holds for OpenCode, which has no per-prompt level, so buildOpencodeConfig also registers each reviewer that has an effort option as `<id>__default-effort` without it, and opencodePassAgent sends the fallback prompts (maxToolCalls 0) as that copy. Polling and activity labels keep the reviewer's own id. Observed with OpenCode 1.19.5 against a mock endpoint: the reviewer's entry sent reasoning.effort "xhigh", the copy sent no reasoning field. Also format the rebase conflict resolution (fmt:check). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gemini Neon review of PR #119 (stacked on this one): sending no level on the no-tools fallback uses the provider's default, which can be higher than the agent's own level (an `effort: low` agent could fall back to a higher default). fallbackEffort now returns min(level, medium), and runClaudePrompt passes that for maxToolCalls 0: it never raises the level and still keeps a deep level off a short-capped retry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kudo's multi-model review of PR #118 found that a timed-out pass, retried with no tools under a short cap, kept the agent's level; #118 now sends no level there on the claude-code engine. The same holds for OpenCode, which has no per-prompt level, so buildOpencodeConfig also registers each reviewer that has an effort option as `<id>__default-effort` without it, and opencodePassAgent sends the fallback prompts (maxToolCalls 0) as that copy. Polling and activity labels keep the reviewer's own id. Observed with OpenCode 1.19.5 against a mock endpoint: the reviewer's entry sent reasoning.effort "xhigh", the copy sent no reasoning field. Also format the rebase conflict resolution (fmt:check). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gemini Neon review of 753305d: - A reviewer that shares a fixed role's id (agents/cross-cutting.md) left a `<id>__default-effort` copy behind, and the built-in pass's no-tools fallback then ran as that copy, with the reviewer's model, prompt and tools. Fixed-role ids now get no level and no copy. - The handle inferred copies from any agent name ending in the suffix, so a real agent file with that name could take over another reviewer's fallback. opencodeFallbackAgents now computes the map from the loaded config, skips a copy id that is already an agent id, and runReview hands the map to startOpencode. - A copy with no level ran at the provider's default, which can be higher than the agent's own level (Gemini's default is high). The copy now carries fallbackEffort (min(level, medium), as #118 does on the claude-code engine), and exists only when that differs from the reviewer's own options. Renamed to `<id>__fallback-effort`. - The corrective re-emit of a fallback pass ran as the reviewer at its full level; it now runs as the same copy. - The run note for a fixed-role reviewer on Google xhigh/max also names the levels Google takes; a test assertion that could never fail now checks the note's end; the effort docs no longer say only the claude-code engine reads it. Observed with OpenCode 1.19.5 against a mock endpoint, using the config buildOpencodeConfig produces: xhigh OpenAI reviewer "xhigh", its copy "medium"; max Google reviewer OpenCode's default "high", its copy "medium". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Astra review of fa22f36: - The fallback copy at min(level, medium) sent a level the author never wrote, and a model can reject it (GPT-5 pro takes only `high`, per the provider's docs), which turned a working setup into failed passes. ecr cannot know which lower levels each OpenAI or Google model takes, so on OpenCode every prompt of a pass, including the no-tools fallback, finalize and corrective, now runs at the agent's own level. This removes the copy agent, its map on the handle and its start-up wiring. The claude-code engine keeps fallbackEffort (#118). - A reviewer named `compaction` replaced OpenCode's own agent, and its level then reached other reviewers' session compaction. OpenCode 1.19.5 defines build, compaction, explore, general, plan, summary and title (app.agents(), observed); buildOpencodeConfig gives these ids no level (OPENCODE_BUILTIN_AGENTS) and the run note says to rename the file. Kept from the previous commits: no level for ecr's fixed-role ids, the fixed-role note's Google levels, the alias in the provider list, and the test fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@Kudo thanks for the review. I checked each finding against the code.
Not verified, model-level support: the README now says that a model can take only some levels, and that ecr does not check this. Also fixed from Devin: the rename advice now says that GPT-6.2 Astra and Gemini 4 Neon (high effort) both approve #118 at |
Devin review of e0ce4b7: the fallback paragraph gave OpenCode's Gemini default as its example, so it read as if fallbackEffort applied to OpenCode. This PR has no OpenCode effort; the paragraph now names the CLI's default and says only the claude-code engine applies the cap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves the LLP 0006 fallback paragraph: #118 now names the CLI's default and scopes the cap to the claude-code engine (Devin review); this branch keeps that text and adds the OpenCode part. Also adds the @ref Devin asked for on OPENCODE_BUILTIN_AGENTS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kudo
left a comment
There was a problem hiding this comment.
nice work! could we support effort on opencode path, not only for claude code path? i'm working on adding grok support and we may have multiple models review later
Asked for in Kudo's review of #118. OpenCode's xAI adapter (@ai-sdk/xai) reads the same agent key as OpenAI: with the pinned OpenCode 1.19.5 against a mock endpoint, an `xai/grok-4.7` request to /chat/completions carried no level field with no key, and reasoningEffort "low", "high" and "xhigh" arrived as reasoning_effort. opencodeEffortStyle now maps native `xai` to an `xai` style with that key. Which levels xAI's API accepts is not verified; like the other providers, ecr passes the level as written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…119) ## Why Stacked on #118. After #118, `effort` reaches only `anthropic/…` agents (`--effort` on the Claude Code CLI). An agent on an OpenAI model (for example GPT-6.2 Astra) or a Google model (for example Gemini 4 Neon) gets the run note "`effort` has no effect", although OpenCode can pass a reasoning level to both providers. ## How OpenCode hands unknown agent-config keys to the provider as model options. `buildOpencodeConfig` now adds one per reviewer with `effort`, chosen by `opencodeEffortStyle` from the adapter ecr gives the model's provider: | Model | Agent key | What reaches the API | | --- | --- | --- | | `openai/…`, or an alias with `upstream: "openai"` (built on `@ai-sdk/openai`) | `reasoningEffort: <level>` | Responses API `reasoning.effort` | | `google/…`, `google-vertex/…` | `thinkingConfig: { thinkingLevel: <level> }`, only for `low`, `medium`, `high` | `thinkingConfig.thinkingLevel`, in place of the model's default | - **Google `xhigh` and `max`:** the pinned Google adapter rejects them inside OpenCode before any request, so ecr sends no level for them and the run note names the agent, its level and the levels that work (`GOOGLE_THINKING_LEVELS`). - **Other aliases** (including `upstream: "google"`, built on the OpenAI-compatible adapter), Meta and other providers get no level and are named in the run note. - **No level on ids the engine or OpenCode also uses:** ecr's fixed roles (`NON_REVIEWER_AGENTS`) and OpenCode 1.19.5's own agents (`OPENCODE_BUILTIN_AGENTS`: build, compaction, explore, general, plan, summary, title). A level on `compaction` reached other reviewers' session compaction. The run note tells the author to rename the file, with the full fix in one note. - **The level is never one the author did not write.** On OpenCode every prompt of a pass, including the no-tools fallback, finalize and corrective, runs at the agent's own level: a model can reject a lower level ecr picks (GPT-5 pro takes only `high`). The claude-code engine keeps #118's `min(level, medium)` fallback. - ecr passes the level as written and does not check which levels a model takes. A provider that rejects a level fails that agent's passes with its own error. README, template and LLP 0006 say so. ## Evidence With the pinned OpenCode 1.19.5 and a local mock endpoint (no real provider call), using the config `buildOpencodeConfig` produces: - `openai/gpt-6.2-astra`: no key → no `reasoning` field; `high`, `xhigh`, `max` → `reasoning.effort` with that value. - `google/gemini-4-neon` and `google-vertex/gemini-4-neon`: no key → `thinkingLevel: "high"`; `low`/`medium` → that level, `includeThoughts: true` kept; `xhigh`/`max` → no request sent. - `app.agents()` lists the seven built-in agents above with `native: true`. Not observed: the ChatGPT/Codex sign-in path, and how a real provider answers each level. ## Review Reviewed in several rounds by GPT-6.2 Astra and Gemini 4 Neon (high effort). An earlier version added a `<id>__fallback-effort` copy agent at `min(level, medium)` for the OpenCode fallback; review showed it could send a level a model rejects and could hijack a built-in pass, so it was removed. Both reviewers approve the final design; their last nits are in `4d4137b` and `24144b9`. ## Test plan - [x] `bun run typecheck`, `bun run lint`, `bun run fmt:check` - [x] `bun run llp:check`: 0 errors - [x] `bun test`: 1186 pass, 0 fail - [x] Tests: `opencodeEffortStyle` per provider and alias; `buildOpencodeConfig` keys for OpenAI and Google, none for Google `xhigh`/`max`, Meta, fixed roles or OpenCode built-in ids; `agentEffortNote` names each case once, with the full fix. ---------
|
@Kudo thanks! This PR now covers the OpenCode path too: #119 (which was stacked on this one) is squash-merged into this branch.
If your Grok support is its own engine rather than OpenCode, the level mapping would go there; I'm happy to add it to your PR. The description has the full table and evidence. |
Astra review of d16c574 (approve with comments): - OpenCode reaches xAI two ways: with an inline key the level went to /chat/completions as `reasoning_effort`, with XAI_API_KEY set to /responses as `reasoning.effort`. The README, the source comment and LLP 0006 now name both. LLP 0006 also records that `max` and a non-reasoning Grok model get the field, and that xAI documents `low` to `xhigh` for Grok 4.7 (per that review, not re-run here). - The config template said a model without effort support ignores the level; a provider can also reject it, which fails that agent's passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…riants Devin review of abdfeb4: - Gemini 2.5 and older take a thinking budget, not a level (OpenCode itself uses thinkingBudget for them), so a thinkingLevel would fail the request. opencodeEffortStyle gives gemini-1/gemini-2 ids a `google-budget` style that sends nothing, and the run note says so. - OpenCode merges the developer's global config under ecr's and applies an agent's model variant after its options. With a global same-named agent at variant `high`, an inline reasoningEffort "low" went out as "high"; with `variant: ""` it went out as "low" (OpenAI and Gemini 4 Neon, OpenCode 1.19.5, mock endpoint). ecr now sets `variant: ""` whenever it sends a level; agents without `effort` are unchanged. Gemini Neon review of d16c574: tests now cover an `upstream: "xai"` alias and the provider list in the note, and the LoadedAgent doc names xAI. Neon saw xAI requests only on /responses; Astra and the author saw /chat/completions with an inline key and /responses with XAI_API_KEY, so the docs keep both and LLP 0006 says the endpoint depends on the setup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Astra review of 0ae90a4 (approve with comments): - The Gemini 2.5 note said to switch to Gemini 3 or later; with `effort: max` that still sends nothing. It now says to use Gemini 3 or later with low, medium or high, or remove `effort`. - Omitting `effort` leaves the level to the engine, which on OpenCode includes a variant from the developer's global config; the README and the LoadedAgent doc no longer say "the provider's default". - The note test checks the full provider list; the variant-guard test covers a Grok reviewer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gemini Neon review of 0ae90a4 (approve with comments): - The provider list in the run notes named `google/…` without the Gemini 3+ limit, so a fixed-role or built-in-id reviewer already on Gemini 2.5 was told to move to `google/…`. The list now says "(Gemini 3 and later)". - The config template and the OpencodeEffortStyle / agentEffortNote doc comments mention the Gemini 2.5 budget case. - LLP 0006 records the review's wire result for gemini-2.5-flash (thinkingLevel goes out when set, none without it) next to the author's probe, which sent no request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@Kudo ready for another look. Since your review, besides folding in #119:
GPT-6.2 Astra and Gemini 4 Neon (high effort) approve these changes, with the wire results checked against OpenCode 1.19.5 and a mock endpoint. CI is running on the head (8cb7398); every check passed locally. |
Multi-model review of
|
Kudo
left a comment
There was a problem hiding this comment.
last review and leaving comments that not a blocker.
please also makes sure ci is green before merge
| median of 8 turns [observed], and a model-written miss analysis put 20 of 55 problems that human | ||
| reviewers raised in the class "needs a logic trace" (eval run `full-v2-tune`, 2026-11-25; the data | ||
| is private and not in this repo; no person checked the analysis). Depth is a per-agent need, and it costs time and money, so it is a | ||
| per-agent key and not a run-level flag. |
There was a problem hiding this comment.
maybe ask agent to make the llp changes shorter. keep it as high-level design would be better. we don't need to cover implementation details in depth
There was a problem hiding this comment.
Done in cec2865. "Agent Effort" is now about 35 lines instead of about 110. It keeps the design decisions: the per-provider mapping, only reviewers get a level, the fallback cap, the developer's variant wins, and the open gaps. The wire probes and review history are removed.
|
|
||
| | Model | How the level is sent | | ||
| | --- | --- | | ||
| | `anthropic/…` (Claude Code CLI) | `--effort <level>` | |
There was a problem hiding this comment.
ditto. shorter README changes. "how level is sent" is implementation detail. we don't need to cover it in README
There was a problem hiding this comment.
Done in f290f0d. The "how the level is sent" table is removed. The README now has one paragraph: which models take effort, when to use it, and what happens with an unsupported or invalid level. The template comment is shorter too.
- Stop setting `variant: ""` when ecr sends a level. Clearing the variant also dropped its other options, such as an OpenAI service tier. A variant on a same-named agent in the developer's own OpenCode config now wins. - `google-vertex` also serves Claude on the Anthropic adapter, which ignores `thinkingConfig`. Only `gemini-…` ids get the Google style now. - LLP 0006: shorten "Agent Effort" to the high-level design. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| const id = model.slice(slash + 1); | ||
| if (!id.startsWith("gemini-")) { | ||
| return null; | ||
| } |
There was a problem hiding this comment.
🟡 Gemini aliases lose reviewer effort
When a reviewer selects Gemini through an OpenCode model alias without gemini-, opencodeEffortStyle drops the requested level. OpenCode resolves the alias to Gemini, so the reviewer still runs but without the requested effort.
Learn more
OpenCode lets users give a model a local name under an existing provider while retaining the underlying API model ID and SDK. loadReviewConfig keeps that local name from the reviewer’s model: field. runReview builds the reviewer’s OpenCode options from that name before starting the server, and fetchProviderModels later sees the alias as a valid model. The effort classifier reads only the local name, so it omits thinkingConfig even though OpenCode still sends the review to Gemini.
Example: In OpenCode, set provider.google.models.review-pro.id to gemini-3.1-pro-preview. A reviewer with model: google/review-pro and effort: low runs on Gemini 3.1 Pro without sending low. Selecting google/gemini-3.1-pro-preview directly sends low.
Recommended fix: Classify Google and Vertex effort using the resolved API model ID and adapter from OpenCode. Use the same classification for the review setup note. Add a regression test for a Gemini alias whose name lacks gemini-, alongside the test that excludes Vertex Claude.
Was this helpful? React with 👍 or 👎 to provide feedback.
Why
There is no way to set how much a reviewer agent reasons. A deep correctness agent and a cheap conventions agent run at the same default. Universe wants its new Expo Simulators scope on Opus 5.5 at high effort (expo/universe#33912), and reviews will use several model providers (Claude, OpenAI, Google, Grok).
How
Agent frontmatter accepts
effort: low | medium | high | xhigh | max(AGENT_EFFORT_LEVELSinsrc/config/schema.ts). The value is trimmed and case-insensitive. Each engine maps it:anthropic/…(Claude Code CLI)--effort <level>(pinned CLI 2.1.280)openai/…, or an alias withupstream: "openai"(OpenCode,@ai-sdk/openai)reasoningEffort→ Responses APIreasoning.effortgoogle/…orgoogle-vertex/…(OpenCode)thinkingConfig.thinkingLevel, onlylow,medium,high(the pinned adapter rejectsxhighandmaxbefore any request; ecr sends nothing and the run note says so)xai/…(Grok, OpenCode,@ai-sdk/xai)reasoningEffort→ Chat Completionsreasoning_effortor Responses APIreasoning.effort, depending on how OpenCode reaches xAIgoogle-vertex/…NON_REVIEWER_AGENTS) never do, even when an agent file shares their id, and neither do OpenCode's own agent ids (build, compaction, explore, general, plan, summary, title), which other sessions use. The run note tells the author to rename the file, with the full fix. Levels live in aMap, so an id such asconstructorreads nothing inherited.min(level, medium)(fallbackEffort), never above the agent's own level. On OpenCode every prompt keeps the agent's own level, because ecr cannot know which lower levels a model takes (GPT-5 pro takes onlyhigh).effortincoordinator.mdorshared.mdis also a setup warning.LoadedAgent.effortis set only when declared, so agents without it, and the review-cache key, do not change.REVIEWER_MODELdoes not clear it.selectReviewers, so the note names only selected reviewers.serviceTier). CI has no such config.Docs: a short README paragraph,
templates/config.jsonc, and a high-level "Agent Effort" section in LLP 0006, which also records what is left for later (per-agent warnings in routed scopes withenforceAgents, the shared reader's unmatched-quote handling).Evidence
With the pinned Claude Code 2.1.280 and OpenCode 1.19.5 against local mock endpoints (no real provider call), using the config ecr builds: Opus 5.5 got
effort, Haiku 4.5 got none;openai/gpt-6.2-astragotreasoning.effortfor each level;google/gemini-4-neonandgoogle-vertex/…gotthinkingLevelfor low/medium/high and no request for xhigh/max;xai/grok-4.7got the level asreasoning_effort(inline key) orreasoning.effort(XAI_API_KEYset); a global same-named agent at varianthighturns an inlinelowintohigh(kept by design, see above). Not observed: the ChatGPT/Codex sign-in path, and which levels each real provider accepts.Review
Reviewed in several rounds by GPT-6.2 Astra and Gemini 4 Neon (high effort), Devin, and Kudo's multi-model review. The OpenCode part was #119 (squash-merged into this branch). An earlier OpenCode fallback copy agent was removed after review showed it could send a level a model rejects. An earlier
variant: ""guard was removed after Devin showed it also dropped the variant's other options.Test plan
bun run typecheck,bun run lint,bun run fmt:checkbun run llp:check: 0 errorsbun test: 1189 pass, 0 fail (head commit)constructor, the fallback level, the selection order with a stand-in router, the coordinator/shared warning, and the run note.🤖 Generated with Claude Code