Skip to content

fix(github-copilot): preserve thinking levels for Claude models - #99798

Closed
Darren2030 wants to merge 4 commits into
openclaw:mainfrom
Darren2030:claude/99240-copilot-thinking-levels
Closed

Darren2030 wants to merge 4 commits into
openclaw:mainfrom
Darren2030:claude/99240-copilot-thinking-levels

Conversation

@Darren2030

@Darren2030 Darren2030 commented Jul 4, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where /thinking high|low|medium was rejected with "not supported for github-copilot/claude-sonnet-4.6, use one of: off" for dynamically-discovered Copilot Claude models, even though the backing Claude model supports reasoning. Only off was advertised.

Why This Change Was Made

Copilot's /models endpoint does not expose OpenAI-style reasoning_effort for Anthropic-backed models, so model discovery marks every Copilot-discovered Claude model reasoning: false. The shared thinking resolver (src/auto-reply/thinking.ts) then discarded github-copilot's declared level set and fell back to off-only, because neither thinking surface set preserveWhenCatalogReasoningFalse. This PR sets that flag for Claude models (detected via the existing anthropic-messages transport signal) on BOTH github-copilot thinking surfaces, mirroring anthropic, amazon-bedrock, google, and moonshot:

  • the active provider hook (resolveThinkingProfile in index.ts), and
  • the bundled provider-policy surface (provider-policy-api.ts, used by /think, ACP controls, and directive parsing when no active plugin supplies the hook).

This preserves the levels the hooks already declare (off/minimal/low/medium/high) and invents no new ones; non-Claude Copilot models without reasoning_effort stay off-only.

Per review on #99240: both thinking surfaces must agree before merge.

User Impact

Users running Copilot-routed Claude models (e.g. claude-sonnet-4.6, claude-opus-4.7) can use /thinking high|low|medium as expected, instead of being locked to off — across the active provider path and the bundled/directive path.

Evidence

  • extensions/github-copilot/index.test.ts: a Claude model resolves preserveWhenCatalogReasoningFalse: true with the [off,minimal,low,medium,high] level set; a non-Claude model (gpt-5.4-mini) leaves the flag unset.
  • extensions/github-copilot/provider-policy-api.test.ts: the same assertions for the bundled policy surface (Claude → flag set; non-Claude → unset) — 11/11 pass.
  • node scripts/run-vitest.mjs run --config test/vitest/vitest.extension-providers.config.ts extensions/github-copilot: thinking tests pass. The full github-copilot suite only has pre-existing Windows EBUSY SQLite-teardown flakes in token-onboarding tests, unrelated to this change.

Live end-to-end Copilot proof (a real /thinking high round-trip) still requires a maintainer with Copilot credentials; the code fix is complete on both surfaces and covered by the unit tests above.

Standalone harness proof (outside the test runner)

ClawSweeper flagged unit-test-only evidence. The transcript below is produced by a standalone harness (npx tsx, no vitest, no mocks, no expect) that drives the real shared thinking resolver (src/auto-reply/thinking.ts — the exact user-facing path that decides which /thinking levels a model offers) plus the real Copilot provider-policy (provider-policy-api.ts, the code this PR changes). It feeds the catalog shape live discovery produces for Copilot Anthropic-backed models (reasoning: false).

Layer 2 is the merge-relevant result: it shows the full resolver path. Under catalog reasoning: false, github-copilot/claude-sonnet-4.6 now offers [off,minimal,low,medium,high] (so /thinking high is accepted — fixing #99240), while the non-Claude gpt-5.4-mini still collapses to [off].

=== Copilot thinking standalone harness ===
(real shared resolver + real Copilot provider-policy; no vitest, no mocks)

--- Layer 1: Copilot provider-policy emission (the code this PR changes) ---
  claude-sonnet-4.6: preserveWhenCatalogReasoningFalse=true  declared levels=[off,minimal,low,medium,high]
  gpt-5.4-mini: preserveWhenCatalogReasoningFalse=<unset>  declared levels=[off,minimal,low,medium,high]
  -> Claude opts in to preserve; non-Claude does not.

--- Layer 2: shared resolver end-to-end (catalog reasoning:false -> offered /thinking levels) ---
  github-copilot/claude-sonnet-4.6 (catalog reasoning:false):
    offered /thinking levels = [off,minimal,low,medium,high]  -> PRESERVED
    expected: preserved (off..high)

  github-copilot/gpt-5.4-mini (catalog reasoning:false):
    offered /thinking levels = [off]  -> OFF-ONLY (high rejected)
    expected: collapsed (off-only)

--- Conclusion ---
  Copilot Claude (claude-sonnet-4.6) under catalog reasoning:false now offers
  [off,minimal,low,medium,high] -> /thinking high is accepted (fixes #99240).
  Non-Claude Copilot (gpt-5.4-mini) without the preserve flag still collapses
  to off-only, so reasoning is not advertised to models that may not support it.

The non-Claude gpt-5.4-mini row is the control for the pre-fix behavior: any Copilot model without preserveWhenCatalogReasoningFalse collapses to off-only under reasoning: false — exactly what happened to Claude on main. The PR's only effect is opting Claude into the existing preserve path; it adds no new levels.

This exercises the complete in-repo code path (catalog → shared resolver → offered levels). The remaining unprovable step is the Copilot API accepting the /thinking high request at the wire level, which needs Copilot credentials the contributor does not have.

Note on the ClawSweeper "stored data model" flag: thinking profiles are runtime-resolved from provider policy + catalog metadata and are not persisted, embedded, or migrated — there is no data-model or vector/embedding change in this diff.

Harness source — reproducible; save as proof-copilot-thinking.ts at the repo root and run npx tsx proof-copilot-thinking.ts
// Standalone Copilot thinking harness — NOT a vitest test.
//
// Drives the REAL shared thinking resolver (src/auto-reply/thinking.ts), which
// is the exact user-facing path that decides which /thinking levels a model
// offers, plus the REAL Copilot provider-policy (provider-policy-api.ts) the PR
// changes. No vitest, no mocks, no expect. Prints a transcript showing that a
// Copilot Claude model keeps off..high under catalog reasoning:false (so
// /thinking high is offered, fixing #99240), while a non-Claude Copilot model
// still collapses to off-only.
//
// Run:  npx tsx proof-copilot-thinking.ts
import { resolveThinkingProfile as resolveShared } from "./src/auto-reply/thinking.js";
import { resolveThinkingProfile as resolveCopilotPolicy } from "./extensions/github-copilot/provider-policy-api.js";

type AnyRecord = Record<string, unknown>;
const ll = (p: AnyRecord | null | undefined) =>
  (p?.levels as { id: string }[] | undefined)?.map((l) => l.id) ?? [];

// Copilot /models does not advertise OpenAI reasoning_effort for Anthropic-backed
// models, so live discovery marks them reasoning:false — this is the catalog row
// shape that triggered the off-only collapse on main.
function copilotCatalogEntry(id: string) {
  return { provider: "github-copilot", id, reasoning: false } as AnyRecord;
}

console.log("=== Copilot thinking standalone harness ===");
console.log("(real shared resolver + real Copilot provider-policy; no vitest, no mocks)\n");

console.log("--- Layer 1: Copilot provider-policy emission (the code this PR changes) ---");
for (const modelId of ["claude-sonnet-4.6", "gpt-5.4-mini"]) {
  const profile = resolveCopilotPolicy({
    provider: "github-copilot",
    modelId,
    compat: { supportedReasoningEfforts: [] },
  }) as AnyRecord;
  const preserve = profile?.preserveWhenCatalogReasoningFalse;
  console.log(
    `  ${modelId}: preserveWhenCatalogReasoningFalse=${preserve === true ? "true" : "<unset>"}  declared levels=[${ll(profile).join(",")}]`,
  );
}
console.log("  -> Claude opts in to preserve; non-Claude does not.\n");

console.log("--- Layer 2: shared resolver end-to-end (catalog reasoning:false -> offered /thinking levels) ---");
const cases: { model: string; expect: string }[] = [
  { model: "claude-sonnet-4.6", expect: "preserved (off..high)" },
  { model: "gpt-5.4-mini", expect: "collapsed (off-only)" },
];
for (const c of cases) {
  const profile = resolveShared({
    provider: "github-copilot",
    model: c.model,
    catalog: [copilotCatalogEntry(c.model)],
  }) as AnyRecord;
  const levels = ll(profile);
  const isOffOnly = levels.length === 1 && levels[0] === "off";
  console.log(
    `  github-copilot/${c.model} (catalog reasoning:false):`,
  );
  console.log(`    offered /thinking levels = [${levels.join(",")}]  -> ${isOffOnly ? "OFF-ONLY (high rejected)" : "PRESERVED"}`);
  console.log(`    expected: ${c.expect}\n`);
}

console.log("--- Conclusion ---");
console.log("  Copilot Claude (claude-sonnet-4.6) under catalog reasoning:false now offers");
console.log("  [off,minimal,low,medium,high] -> /thinking high is accepted (fixes #99240).");
console.log("  Non-Claude Copilot (gpt-5.4-mini) without the preserve flag still collapses");
console.log("  to off-only, so reasoning is not advertised to models that may not support it.");
🤖 AI-assisted. Generated with [Claude Code](https://claude.com/claude-code).

Closes #99240

@clawsweeper

clawsweeper Bot commented Jul 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed August 23, 2026, 6:18 AM ET / 10:18 UTC.

ClawSweeper review

What this changes

The PR adds a provider-policy flag intended to keep GitHub Copilot Claude models’ existing /thinking levels when discovered catalog metadata reports reasoning: false.

Merge readiness

⛔ Blocked until stronger real behavior proof is added - 5 items remain

Keep open: the fix remains necessary, but it still derives Claude eligibility from a static model-ID heuristic instead of the catalog-selected API route now carried by current main.

Priority: P2
Reviewed head: e9c87e27667819a470b8fe490ca394068f09618b

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The PR has a focused intent and useful resolver evidence, but a route-selection defect and insufficient real behavior proof keep it from merge readiness.
Proof confidence 🦪 silver shellfish (2/6) Needs stronger real behavior proof before merge: The terminal harness runs real local resolver code but supplies a synthetic catalog row whose model ID already satisfies the same static heuristic, so it neither proves the selected-route correction nor an authenticated Copilot /thinking high request; add redacted after-fix evidence. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: The terminal harness runs real local resolver code but supplies a synthetic catalog row whose model ID already satisfies the same static heuristic, so it neither proves the selected-route correction nor an authenticated Copilot /thinking high request; add redacted after-fix evidence. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 5 items PR uses a static classifier: Both changed provider-policy surfaces set preservation from resolveCopilotTransportApi(modelId), which only recognizes model IDs containing claude.
Current route contract: Current main forwards the selected catalog row’s api value to provider policy, making that route the prepared fact available to both policy surfaces.
Discovery can override the name heuristic: Current main maps any live /models row whose vendor is Anthropic to anthropic-messages, independently of the model ID.
Findings 1 actionable finding [P2] Use the catalog-selected API route
Security None None.

Live Verification

Command: node --import tsx -e "import('./extensions/github-copilot/provider-policy-api.ts').then(() =› console.log('provider policy loaded'))"

Result: PASS (completed)

node --import tsx -e "import('./extensions/github-copilot/provider-policy-api.ts').then(() =› console.log('provider policy loaded'))"
runner@runnervm76f27:/tmp/clawsweeper-live-proof-99798-TJjB4x/target$ node --import tsx -e "import('./extensions/github-copilot/provider-policy-api.ts').then(()
 =› console.log('provider policy loaded'))"
node --import tsx -e "import('./extensions/github-copilot/provider-policy-api.ts').then(() =› console.log('provider policy loaded'))"
provider policy loaded
runner@runnervm76f27:/tmp/clawsweeper-live-proof-99798-TJjB4x/target$ node --import tsx -e "import('./extensions/github-copilot/provider-policy-api.ts').then(()
 =› console.log('provider policy loaded'))"












































Assertions:

  • PASS expect_output: provider policy loaded

How this fits together

Copilot model discovery converts the account’s /models response into a catalog row with an API route and reasoning metadata. The shared thinking resolver asks the active or bundled provider policy which levels to expose, then validates /thinking commands against that result.

flowchart LR
  A[Copilot model catalog] --> B[Route and reasoning metadata]
  B --> C[Provider thinking policy]
  C --> D[Shared thinking resolver]
  D --> E[Accepted /thinking levels]
Loading

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: The terminal harness runs real local resolver code but supplies a synthetic catalog row whose model ID already satisfies the same static heuristic, so it neither proves the selected-route correction nor an authenticated Copilot /thinking high request; add redacted after-fix evidence. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Use the catalog-selected API route (P2) - The current main resolver passes context.api from the selected catalog row, and live Copilot discovery maps vendor: Anthropic to anthropic-messages even when the ID lacks claude. This static-ID check (mirrored in provider-policy-api.ts) therefore leaves those rows off-only; use context.api on both surfaces and add route-contrast coverage. This is the still-unfixed prior review blocker.
  • Resolve merge risk (P1) - The static model-name check leaves dynamically discovered Anthropic-vendor models whose IDs do not contain claude off-only despite their selected anthropic-messages route.
  • Resolve merge risk (P1) - GitHub currently reports the branch dirty against main; it needs a rebase and route-based regression coverage before merge.
  • Complete next step (P2) - The remaining blocker is a narrow, mechanical route-selection repair with clear policy and test boundaries.

Findings

  • [P2] Use the catalog-selected API route — extensions/github-copilot/index.ts:659
Agent review details

Security

None.

PR surface

Source +22, Tests +68. Total +90 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 2 24 2 +22
Tests 2 68 0 +68
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 92 2 +90

Review metrics

None.

Stored data model

Persistent data-model change detected: vector/embedding metadata: extensions/github-copilot/index.ts, vector/embedding metadata: extensions/github-copilot/provider-policy-api.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #99240
Summary: This PR is the remaining candidate fix for the reported Copilot thinking-level failure; the alternative PR was closed unmerged.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Use selected route metadata (recommended)
    Rebase, make both policy surfaces preserve levels only when the provided catalog API is anthropic-messages, and add route-contrast regression coverage before merge.

Technical review

Best possible solution:

Rebase onto current main, use the selected catalog API route in both provider-policy surfaces, and prove the route-based positive and negative cases before obtaining a redacted live Copilot round trip.

Do we have a high-confidence way to reproduce the issue?

Yes—source-reproducible: a live Anthropic-vendor catalog row can select anthropic-messages while its ID does not contain claude, and the PR’s static check then withholds preservation under reasoning: false.

Is this the best way to solve the issue?

No. The current main resolver already carries the catalog-selected API route into provider policy, so both changed surfaces should use that prepared route rather than reclassifying the model name.

Full review comments:

  • [P2] Use the catalog-selected API route — extensions/github-copilot/index.ts:659
    The current main resolver passes context.api from the selected catalog row, and live Copilot discovery maps vendor: Anthropic to anthropic-messages even when the ID lacks claude. This static-ID check (mirrored in provider-policy-api.ts) therefore leaves those rows off-only; use context.api on both surfaces and add route-contrast coverage. This is the still-unfixed prior review blocker.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 7700a3b3e331.

Labels

Label justifications:

  • P2: This is a bounded provider behavior defect that prevents valid Copilot reasoning controls for a subset of discovered models.
  • merge-risk: 🚨 auth-provider: The PR changes provider-derived model capability policy and can expose or suppress /thinking levels for Copilot-routed models.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The terminal harness runs real local resolver code but supplies a synthetic catalog row whose model ID already satisfies the same static heuristic, so it neither proves the selected-route correction nor an authenticated Copilot /thinking high request; add redacted after-fix evidence. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Acceptance criteria:

  • [P1] pnpm test extensions/github-copilot.
  • [P1] pnpm test src/auto-reply/thinking.test.ts.
  • [P1] Run a redacted authenticated Copilot Claude /thinking high round trip after the route-based fix.

What I checked:

Likely related people:

  • steipete: Commit 794a198 introduced the current main path that propagates the selected catalog API route and maps Copilot’s Anthropic vendor rows. (role: recent provider-routing contributor; confidence: high; commits: 794a198b8d0f; files: src/auto-reply/thinking.ts, extensions/github-copilot/models.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Rebase and replace both static transport checks with the selected catalog API route, with positive and negative route tests.
  • Attach a redacted authenticated Copilot Claude /thinking high round trip after the route-based repair.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-08-18T07:33:36.133Z sha e9c87e2 :: needs real behavior proof before merge. :: [P2] Use the catalog-selected API route
  • reviewed 2026-08-23T09:47:22.346Z sha e9c87e2 :: needs real behavior proof before merge. :: [P2] Gate preserved thinking on the catalog-selected API route
  • reviewed August 23, 2026, 6:18 AM ET / 10:18 UTC sha unknown :: needs real behavior proof before merge. :: [P2] Use the catalog-selected API route

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. labels Jul 4, 2026
Copilot's /models endpoint does not expose OpenAI-style reasoning_effort for
Anthropic-backed models, so model discovery marks every Copilot-discovered
Claude model reasoning:false. The shared thinking resolver then discarded this
provider's declared level set and fell back to off-only, so /thinking
high|low|medium was rejected ("not supported ... use one of: off") for Claude
models that do support reasoning.

Set preserveWhenCatalogReasoningFalse for Claude models (detected via the
existing anthropic-messages transport signal), mirroring anthropic, bedrock,
google, and moonshot. This preserves the levels the hook already declares
(off/minimal/low/medium/high) and invents no new ones; non-Claude Copilot
models without reasoning_effort stay off-only.

Closes openclaw#99240

Co-Authored-By: Claude Fable 5 <[email protected]>
@Darren2030
Darren2030 force-pushed the claude/99240-copilot-thinking-levels branch from feefe37 to 0419704 Compare July 4, 2026 04:34
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. label Jul 4, 2026
…y surface

The active provider hook (index.ts) and the bundled provider-policy surface
(provider-policy-api.ts) are parallel code paths that must agree. The prior
commit set preserveWhenCatalogReasoningFalse on the active hook only; the
bundled surface (used by /think, ACP controls, and directive parsing when no
active plugin supplies the hook) still collapsed to off-only for Claude models
under catalog reasoning:false. Mirror the same Claude-scoped flag here so both
surfaces preserve the declared levels.

Per review on openclaw#99240 (sync both thinking surfaces).

Co-Authored-By: Claude Fable 5 <[email protected]>
@Darren2030

Copy link
Copy Markdown
Contributor Author

Addressed the review feedback:

  • Sync both thinking surfaces (recommended): Added preserveWhenCatalogReasoningFalse: true (Claude-scoped via resolveCopilotTransportApi(modelId) === "anthropic-messages") to the bundled policy surface extensions/github-copilot/provider-policy-api.ts, mirroring the active hook in index.ts. Both thinking paths (active provider hook + bundled/directive surface) now preserve Claude levels under catalog reasoning: false.
  • Tests: Two new cases in provider-policy-api.test.ts (Claude → flag set with base levels; non-Claude → flag unset) — 11/11 pass.
  • PR body updated to cover both surfaces.

Live end-to-end Copilot proof (a real /thinking high round-trip) still requires a maintainer with Copilot credentials; the code fix is complete on both surfaces and covered by unit tests.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@clawsweeper clawsweeper Bot removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 5, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. labels Jul 8, 2026
@Darren2030

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Added standalone harness proof (outside the test runner) to the PR body: a npx tsx script (no vitest, no mocks) driving the real shared thinking resolver (src/auto-reply/thinking.ts) end-to-end plus the real Copilot provider-policy-api. Under the catalog reasoning: false shape live discovery produces for Copilot Anthropic-backed models:

This covers the complete in-repo code path (catalog → resolver → offered levels).


/cc @vincentkoc — ClawSweeper's remaining blocker is a live Copilot /thinking high round-trip, which needs Copilot credentials I don't have. Since you closed #100756 in favor of this provider-policy path, could you either (a) run the live /thinking high check on a Copilot-routed Claude model, or (b) give an explicit maintainer proof override if the resolver-path evidence above is sufficient? The code fix is complete on both thinking surfaces and the end-to-end resolver behavior is now shown.

@clawsweeper

clawsweeper Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. labels Jul 10, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Jul 25, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. label Jul 30, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Jul 31, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 9, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 18, 2026
@Darren2030 Darren2030 closed this Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: github-copilot merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: /thinking levels not available for github-copilot provider models (e.g. claude-sonnet-4.6)

1 participant