Skip to content

feat(meta): add Muse Spark 1.3 models - #136553

Merged
RomneyDa merged 2 commits into
openclaw:mainfrom
tharuntejmeta:feat/meta-muse-spark-1.3
Sep 3, 2026
Merged

RomneyDa merged 2 commits into
openclaw:mainfrom
tharuntejmeta:feat/meta-muse-spark-1.3

Conversation

@tharuntejmeta

@tharuntejmeta tharuntejmeta commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

OpenClaw's Meta provider catalog stops at Muse Spark 1.2, so users with Muse Spark 1.3 access cannot select the new Standard or Contributor model and onboarding still chooses the older default.

Why This Change Was Made

Add Muse Spark 1.3 and Muse Spark 1.3 Contributor to the Meta plugin-owned catalog, make 1.3 the onboarding default, and keep the existing 1.1 and 1.2 models available. The documentation and focused tests are updated with the corresponding capabilities, limits, pricing, ordering, and live-test coverage.

User Impact

Meta users can select meta/muse-spark-1.3 or meta/muse-spark-1.3-contributor, and new Meta setups default to Muse Spark 1.3. Existing Muse Spark 1.1 and 1.2 configurations remain supported.

Evidence

Published Meta contract

Verified against Meta's public documentation on September 2, 2026:

  • Models lists muse-spark-1.3 as the latest version and recommended default, plus muse-spark-1.3-contributor. Both advertise a 1,048,576-token context window and text/image input support used by OpenClaw.
  • Pricing and rate limits lists Standard 1.3 pricing as $1.25 input / $0.15 cached input / $4.25 output per 1M tokens, and Contributor 1.3 pricing as $0.10 / $0.002 / $0.20.

Local and isolated verification

  • pnpm test:extension meta — 24 tests passed on the final rebased candidate.
  • Focused provider runtime and catalog suite — 117 tests passed.
  • pnpm check:changed — passed formatting, metadata, typecheck, lint, dead-code, and import-cycle gates.
  • pnpm build — passed locally and in the isolated AWS checkout.
  • openclaw models list --provider meta --all --plain — listed both 1.3 model refs alongside the existing catalog.

Fresh redacted exact-head live proof

Run on commit 82ec8e229c452afe692748c4715ea7bc6d3956dd through OpenClaw's Meta provider stream wrapper and Responses transport. Credentials and request identifiers are omitted.

[provider-transport-fetch] start provider=meta api=openai-responses model=muse-spark-1.3 method=POST url=https://api.meta.ai/v1/responses
[provider-transport-fetch] response provider=meta api=openai-responses model=muse-spark-1.3 status=200 contentType=text/event-stream
[meta:live-proof] {"sourceCommit":"82ec8e229c452afe692748c4715ea7bc6d3956dd","entrypoint":"OpenClaw Meta live test -> provider stream wrapper -> streamSimple","requestedModel":"meta/muse-spark-1.3","effectiveModel":"meta/muse-spark-1.3","payloadModel":"muse-spark-1.3","providerResponseModel":"muse-spark-1.3","httpStatus":200,"observedResponse":"PATCH_OK","stopReason":"stop","fallbackUsed":false,"credential":"redacted"}

[provider-transport-fetch] start provider=meta api=openai-responses model=muse-spark-1.3-contributor method=POST url=https://api.meta.ai/v1/responses
[provider-transport-fetch] response provider=meta api=openai-responses model=muse-spark-1.3-contributor status=200 contentType=text/event-stream
[meta:live-proof] {"sourceCommit":"82ec8e229c452afe692748c4715ea7bc6d3956dd","entrypoint":"OpenClaw Meta live test -> provider stream wrapper -> streamSimple","requestedModel":"meta/muse-spark-1.3-contributor","effectiveModel":"meta/muse-spark-1.3-contributor","payloadModel":"muse-spark-1.3-contributor","providerResponseModel":"muse-spark-1.3-contributor","httpStatus":200,"observedResponse":"PATCH_OK","stopReason":"stop","fallbackUsed":false,"credential":"redacted"}

Focused exact-head live suite result: 1 file passed; 2 tests passed; 14 unrelated live cases skipped.

@clawsweeper

clawsweeper Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@tharuntejmeta
tharuntejmeta marked this pull request as ready for review September 2, 2026 19:35
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. 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. labels Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed September 3, 2026, 5:27 PM ET / 21:27 UTC.

ClawSweeper review

What this changes

The PR adds Muse Spark 1.3 Standard and Contributor models to the Meta provider plugin, makes 1.3 the fresh-onboarding default, and updates documentation and tests.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep open: the catalog addition is still unique, but merge should wait for current Meta contract confirmation, exact-current-head live proof, and green exact-head CI.

Priority: P3
Reviewed head: 01578a5b72e77add05902b82f1a5c3296fc49cf4

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The focused plugin-boundary patch has useful real-provider evidence, but neither the static vendor contract nor the current-head proof is independently established.
Proof confidence 🦐 gold shrimp (3/6) Needs stronger real behavior proof before merge: The changed production owner is the manifest-backed Meta catalog, exercised through the Meta stream wrapper and Responses transport in the body’s redacted text-completion traces. Those traces show both 1.3 IDs returning HTTP 200 on commit 82ec8e229c452afe692748c4715ea7bc6d3956dd, but the reviewed head is a later force-push and equality could not be established; add a redacted exact-head run before merge. 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) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Needs proof Needs stronger real behavior proof before merge: The changed production owner is the manifest-backed Meta catalog, exercised through the Meta stream wrapper and Responses transport in the body’s redacted text-completion traces. Those traces show both 1.3 IDs returning HTTP 200 on commit 82ec8e229c452afe692748c4715ea7bc6d3956dd, but the reviewed head is a later force-push and equality could not be established; add a redacted exact-head run before merge. 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 8 items Introduced catalog owner: The PR-owned manifest adds both 1.3 rows and changes the fresh Meta default to Muse Spark 1.3; this is the plugin-owned static catalog boundary.
Catalog entry point: The Meta plugin builds both static and live catalogs from the same manifest-backed provider builder, so its model metadata affects discovery and routing.
Existing-setting preservation: The shared onboarding applier changes the primary model only when none exists and keeps existing aliases, so the new default does not overwrite an existing configured primary.
Findings None None.
Security None None.

How this fits together

The Meta plugin supplies model metadata and onboarding presets to OpenClaw’s provider routing. Fresh Meta setup consumes the manifest catalog to select a default model, while existing configured primaries are preserved.

flowchart LR
  A[Meta API account] --> B[Meta plugin manifest]
  B --> C[Static model catalog]
  C --> D[Onboarding preset]
  D --> E[Agent model selection]
  E --> F[Responses API request]
Loading

Before merge

  • Add real behavior proof - Needs stronger real behavior proof before merge: The changed production owner is the manifest-backed Meta catalog, exercised through the Meta stream wrapper and Responses transport in the body’s redacted text-completion traces. Those traces show both 1.3 IDs returning HTTP 200 on commit 82ec8e229c452afe692748c4715ea7bc6d3956dd, but the reviewed head is a later force-push and equality could not be established; add a redacted exact-head run before merge. 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.
  • Resolve merge risk (P1) - The new fresh-onboarding default and static capability, pricing, context, and output-cap metadata route Meta users according to an external contract that this review could not independently inspect; an incorrect value could select an unavailable model or send an unsuitable request cap.
  • Complete next step (P2) - Confirm the current Meta contract, attach fresh redacted live proof for the exact current head, and resolve the exact-head CI failure before merge.
  • Resolve review confidence - ClawSweeper must reach high confidence before merge readiness is known.
Agent review details

Security

None.

PR surface

Source +72, Tests +77, Docs +2. Total +151 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 2 76 4 +72
Tests 2 99 22 +77
Docs 2 8 6 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 183 32 +151

Review metrics

Metric Value Why it matters
Production versus test delta production metadata +76/-4; tests +99/-22; docs +8/-6 Production growth is limited to two static catalog rows and a fresh-onboarding alias; the added tests exercise catalog shape, default selection, and transport cap behavior.
Fresh onboarding default 1 changed; existing primaries preserved New Meta onboarding will select 1.3, while the shared applier leaves an already configured primary untouched.

Merge-risk options

  • The real-provider trace is for the pre-force-push commit rather than the reviewed head, and the current check rollup is incomplete with a failed CI check.

Maintainer options:

  1. Verify the current Meta contract and exact head (recommended)
    Confirm the published 1.3 capabilities, limits, prices, and default guidance, then attach a redacted exact-head production-transport trace and resolve the current CI failure.
  2. Accept the vendor-metadata uncertainty
    A maintainer may deliberately accept the unresolved external-contract and exact-head-proof gap if the provider information is independently trusted.

Technical review

Best possible solution:

Keep the metadata plugin-owned, preserve existing configured primaries, and merge only after current Meta documentation validates the advertised rows and an exact-head live run confirms the model IDs through the production transport.

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

Not applicable: this is a provider-model catalog addition rather than a report of broken existing behavior; the relevant verification is a real Meta API run.

Is this the best way to solve the issue?

Unclear. The plugin-owned manifest and shared onboarding applier are the correct boundary, but the new static model facts require current authoritative Meta contract evidence before this is the best safe update.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦐 gold shrimp.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The changed production owner is the manifest-backed Meta catalog, exercised through the Meta stream wrapper and Responses transport in the body’s redacted text-completion traces. Those traces show both 1.3 IDs returning HTTP 200 on commit 82ec8e229c452afe692748c4715ea7bc6d3956dd, but the reviewed head is a later force-push and equality could not be established; add a redacted exact-head run before merge. 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.
  • remove proof: sufficient: Current real behavior proof status is insufficient, not sufficient.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: 📣 needs proof.

Label justifications:

  • P3: This is a routine optional-provider catalog expansion rather than a regression or core availability incident.
  • merge-risk: 🚨 auth-provider: A new Meta onboarding default and provider model metadata can route fresh users to an unavailable or incorrectly described external model if the vendor contract is wrong.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp 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 changed production owner is the manifest-backed Meta catalog, exercised through the Meta stream wrapper and Responses transport in the body’s redacted text-completion traces. Those traces show both 1.3 IDs returning HTTP 200 on commit 82ec8e229c452afe692748c4715ea7bc6d3956dd, but the reviewed head is a later force-push and equality could not be established; add a redacted exact-head run before merge. 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

What I checked:

  • Introduced catalog owner: The PR-owned manifest adds both 1.3 rows and changes the fresh Meta default to Muse Spark 1.3; this is the plugin-owned static catalog boundary. (extensions/meta/openclaw.plugin.json:30, 01578a5b72e7)
  • Catalog entry point: The Meta plugin builds both static and live catalogs from the same manifest-backed provider builder, so its model metadata affects discovery and routing. (extensions/meta/index.ts:27, 01578a5b72e7)
  • Existing-setting preservation: The shared onboarding applier changes the primary model only when none exists and keeps existing aliases, so the new default does not overwrite an existing configured primary. (src/plugin-sdk/provider-onboard.ts:641, 01578a5b72e7)
  • Output-cap consequence: The 1.3 manifest value becomes the request max_output_tokens when no positive caller cap is present; the added tests explicitly assert 131072 for the new models. (extensions/meta/stream.ts:17, 01578a5b72e7)
  • Current-main and release check: The fetched main manifest and stable v2026.8.2 still default to 1.1 and contain no 1.3 rows, so this PR is not superseded or already shipped. (extensions/meta/openclaw.plugin.json:30, b122b21f051c)
  • Provider-contract limitation: Direct inspection of the linked current Meta documentation could not run because DNS resolution for dev.meta.ai was unavailable; the PR body’s contract claims therefore remain unverified by this review.

Likely related people:

  • tharuntejmeta: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

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

  • Attach current authoritative Meta documentation evidence for the model IDs, capabilities, limits, pricing, and default guidance.
  • Re-run the relevant live Meta scenarios on 01578a5 with redacted output and resolve exact-head CI.

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 (4 earlier review cycles)
  • reviewed 2026-09-02T19:45:08.237Z sha 82ec8e229c452afe692748c4715ea7bc6d3956dd :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-02T19:52:17.113Z sha 82ec8e229c452afe692748c4715ea7bc6d3956dd :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-02T22:47:10.802Z sha 82ec8e229c452afe692748c4715ea7bc6d3956dd :: blocked before merge. :: none
  • reviewed 2026-09-02T22:58:12.700Z sha 82ec8e229c452afe692748c4715ea7bc6d3956dd :: blocked before merge. :: none

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation extensions: meta Extension: meta size: M labels Sep 2, 2026
@tharuntejmeta

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 2, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

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: 🦪 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. labels Sep 2, 2026
@tharuntejmeta

Copy link
Copy Markdown
Contributor Author

Fresh exact-head live proof is now in the PR body for both Muse Spark 1.3 model references, including the OpenClaw entrypoint, requested/effective/payload/response models, HTTP 200, observed response, stop reason, and fallback status. @clawsweeper re-review

@RomneyDa
RomneyDa force-pushed the feat/meta-muse-spark-1.3 branch from 82ec8e2 to 01578a5 Compare September 3, 2026 21:18
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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 Sep 3, 2026
@RomneyDa

RomneyDa commented Sep 3, 2026

Copy link
Copy Markdown
Member

Exact-head maintainer verification for 341a1f3b1a647da7086360f7da9b4b9d225d83b3:

  • Rebased onto current main; the Meta feature diff remains scoped to the owning plugin manifest, onboarding alias/default, focused tests, and docs.
  • Added follow-up commit 341a1f3b1a6 (co-authored with @tharuntejmeta) citing Meta's current model catalog for the 1.3 latest/recommended-default claim.
  • Independently checked Meta's current model and pricing pages: both 1.3 IDs, 1,048,576-token context, Responses availability, Standard pricing ($1.25 input / $0.15 cached / $4.25 output), and Contributor pricing ($0.10 / $0.002 / $0.20) match the manifest.
  • Repo-wide search found no additional static Meta catalog/default surface. Remaining older-model references are historical release notes or intentionally generic transport fixtures; static discovery, onboarding, picker/listing, thinking policy, and runtime routing all derive from the plugin manifest.

Local verification:

  • pnpm test:extension meta — 24 tests passed.
  • pnpm check:changed — passed.
  • pnpm build — passed.
  • pnpm docs:check-links — 7,952 internal links checked, 0 broken.
  • pnpm docs:check-mdx — 753 files passed.
  • Independent autoreview through P2 — scoped clean, no findings.

Exact-head CI run 33808464882 completed with 128 successes, 41 expected skips, and no failures or pending checks. The superseded run's only direct failure occurred before tests when npm briefly returned 404 for the pinned pnpm Linux executable; the artifact was available again immediately afterward and the fresh exact-head run passed.

@RomneyDa
RomneyDa merged commit 194b7f2 into openclaw:main Sep 3, 2026
169 checks passed
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 4, 2026
* feat(meta): add Muse Spark 1.3 models

* docs(meta): cite Muse Spark 1.3 recommendation

Co-authored-by: Tharun Tej Tammineni <[email protected]>

---------

Co-authored-by: Dallin Romney <[email protected]>
RomneyDa added a commit that referenced this pull request Sep 19, 2026
* feat(meta): add Muse Spark 1.3 models (#136553)

* feat(meta): add Muse Spark 1.3 models

* docs(meta): cite Muse Spark 1.3 recommendation

Co-authored-by: Tharun Tej Tammineni <[email protected]>

---------

Co-authored-by: Dallin Romney <[email protected]>
(cherry picked from commit 194b7f2)

* feat(anthropic): support Fable 5.1 from shared model metadata (#135638)

* feat(anthropic): support Fable 5.1 from shared model metadata

* test(anthropic): keep alias coverage within the file limit

* fix(media): decouple image limits from catalog augmentation

(cherry picked from commit 0a9b08c)

* feat(openai): support GPT Image 2.5 variants (#143068)

* feat(openai): support GPT Image 2.5 variants

* docs(openai): correct GPT Image 2.5 section link

(cherry picked from commit f93881f)

* feat(fal): support GPT Image 2.5 variants (#143069)

* feat(fal): support GPT Image 2.5 variants

* test(agents): restore Windows media fixture isolation

(cherry picked from commit a57c799)

* fix(bedrock): preserve images returned by tools (#149336)

## What Problem This Solves
Tool-returned images make the next request fail with `ValidationException` on affected Bedrock routes. Fixes #149332.

## Why This Change Was Made
The serializer generates image labels from each tool-call ID; input images need no labels. All consecutive tool results come first, followed by image groups in the same tool order. Request state has one writer. `stream.runtime.ts`: +28/−1 for this conversion.

Growth accepted under the owner's standing acceptance (2026-09-15).

## User Impact
Image-reading turns can finish without losing image bytes, tool associations, or error status.

## Evidence
Authenticated `chat.send` → registered `read` on a synthetic PNG: main sent a nested image and failed; candidate sent a sibling image and completed with the scripted “Red square; blue circle.” Our run used a recording HTTP transport.

The [contributor's real two-tool run](#149336 (comment)) confirms image interpretation and association.

## Compatibility
Concrete route identities select the conversion. Opaque aliases keep their layout. The general schema permits nested images for some routes; this repair addresses the affected route’s observed rejection. No config or public interface changes.

## Consumers
All clients use the existing Bedrock serializer.

## Invalidation
Conversion is request-local. Stored transcript rows and original image bytes remain unchanged.

## Tests
`node scripts/run-vitest.mjs run --config test/vitest/vitest.extension-providers.config.ts extensions/amazon-bedrock`: 289 tests across 12 files passed on a fresh merge with main. Types, lint, formatting, file-size and assertion limits, and unused-export checks passed.

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 115522a)

* fix: preserve Ultra across model runtime boundaries (#135397)

* fix: preserve Ultra across model runtime boundaries

Keep native Codex Ultra as a runtime mode instead of clamping it against
physical Responses effort tiers. Share the selected collaboration effort
between turn fields and remove the redundant forwarding wrapper.

Carry the active parent thinking level through existing spawn context so
one-shot overrides reach native subagents without changing saved preferences.
Keep explicit child overrides and configured child defaults authoritative.

Scope Control UI thinking catalog fallback to the selected runtime, sharing
one prepared entry for picker options and the inherited default. Document
the native orchestration/budget boundary and active-turn inheritance.

* refactor: simplify Ultra reasoning fixtures

* fix: preserve active thinking across shared tool contexts

* docs: clarify Off thinking for side questions

(cherry picked from commit ee9e22b)

* fix(anthropic): Fable 5.1 sessions lose reasoning after model switches and runtime events (#136782)

* fix(anthropic): keep Fable 5.1 thinking valid across model switches and runtime context

Claude Fable 5.1 binds each thinking block to the producing model and to the
exact request prefix that preceded it. Three harness behaviors conflicted with
that contract on Anthropic-family routes:

- Moving a session onto Fable 5.1 (from Opus 5, Sonnet 5, Opus 4.8, Fable 5)
  dropped readable reasoning client-side; the replay contract now preserves it
  while leaving Fable 5.1 still drops.
- The per-turn runtime-context carrier was injected transiently after the
  active user turn, stripped on the next request, relocated inside tool loops,
  and removed by the context-engine assembly. It is now persisted right after
  its user turn and replayed in place; inline inbound metadata stays in place
  too, and consecutive user turns are no longer merged at load for the
  Messages API because the merged form lost the second turn's timestamp stamp.
- Direct API-key requests with adaptive thinking send the
  thinking-binding-controls beta with prefix_mismatch_behavior=drop_block, so
  a residual mismatch degrades to a server-side unbilled drop with a warning
  listing the dropped paths instead of a 400, a duplicate request, and a
  transcript-wide thinking wipe. OAuth, proxies, Bedrock, Vertex, and Foundry
  keep the existing strip-and-retry recovery.

Live-verified against api.anthropic.com: nine-request Fable/Opus/Fable session
with tool loops and carriers reports input_transformations: [] on every
request with four retained thinking blocks; a /think change on the direct API
yields a logged server-side drop and no retry.

* fix(anthropic): limit the preserved-thinking replay target to Fable 5.1

Mythos 5.1 is not registered in the bundled catalog and has no cross-model
replay proof, so unregistered Mythos targets keep the existing drop path.

(cherry picked from commit 30837ae)

* feat(openai): support GPT-6 Astra (#137550)

* feat(openai): support GPT-6 Astra

* fix(models): preserve declared pricing tiers during catalog refresh

(cherry picked from commit eb72093)

* fix(openai): require discovery before offering Astra for OAuth (#137561)

(cherry picked from commit 8b1add5)

* fix(diagnostics-prometheus): reject unauthorized metric scrapes (#140903)

* fix(diagnostics-prometheus): require operator.read for metric scrapes

The Prometheus scrape route registers under the trusted-operator runtime
scope surface, so the Gateway authenticates the caller and applies its
named-role scope ceiling before dispatch. The handler never consulted
those scopes, so an authenticated identity whose role grants no operator
scopes still received the full diagnostics document with 200, while the
same caller was correctly refused on equivalent read operations.

Check the runtime request scopes inside the handler and fail closed with
403 "missing scope: operator.read" unless the caller holds operator.read,
operator.write, or operator.admin, mirroring the Gateway read implication
set. The guard runs before rendering so HEAD probes cannot disclose the
document size either.

* test(diagnostics-prometheus): prove role-limited scrape denial

(cherry picked from commit 0c9330b)

* fix(discord): enforce sender media policy on guild asset uploads (#140334)

The Discord emoji-upload, sticker-upload, and event-create branches dropped
the sender-scoped media access options before dispatching the action, so the
guild runtime loaded the requested host-local path with only a byte limit. A
sender permitted to run those actions could therefore place bytes from a file
outside their allowed media roots into an outbound Discord emoji, sticker, or
event-cover request.

Forward the resolved action options from all three branches, carry
mediaAccess/mediaLocalRoots/mediaReadFile through the guild runtime, and load
upload sources through buildOutboundMediaLoadOptions like every other outbound
Discord media path. Adds regression coverage that a source outside the sender
roots is rejected before any request is issued, with an in-roots control.

(cherry picked from commit e5e7764)

* fix(discord): preserve realtime speaker and playback ownership (#137433)

* fix(discord): preserve realtime speaker and playback ownership

Bind provider connections to one Discord principal so delayed transcripts
and native consultations cannot inherit another speaker's authority.
Keep the shared agent route and serialize response-owned audio on one
room player, preserving continuations and recovery after playback gaps.

Admit host-requested responses before dispatch and map Google Live turn
completion to canonical terminal outcomes so queued speech can finish.

Closes #137349
Related: #136982, #123243
Follow-up: #137417

* test(discord): preserve room capture across speaker recovery

(cherry picked from commit 85d510c)

* fix(doctor): preserve enabled skills during automatic updates (#138730)

Use runtime-repair approval for optional skill disabling. Keep standalone explicit repair and required config migrations unchanged.

(cherry picked from commit acc9a65)

* fix: generated images disappear after failed tool calls (#131226)

## What Problem This Solves

WebChat drops generated media when a later tool failure is the turn's only reply payload.

## Root cause

The embedded-run terminal projection assigned successful tool media to the first non-reasoning payload. A later error warning could become that owner. Gateway error projection then discarded the attached media.

## Fix

- Attach tool media only to a successful, non-reasoning reply.
- Emit a separate media-only payload when the turn has no successful reply.
- Preserve the newer host-owned and automatic-delivery media paths from current `main`.
- Keep regression coverage at the payload owner and physical-delivery boundaries.
- Remove the mocked browser test that manually inserted its expected result.

## Evidence

- Baseline: current `main` at `8544aed05a5dbffb871483be781f71351203319e`.
- Real path: branch-built Control UI → real Gateway → mock OpenAI Responses provider → successful image tool → later failing tool → terminal WebChat event.
- Red: current `main` rendered zero generated images.
- Green: `d2a10d40c633bfe796ad4ab19222aa831184a327` rendered one generated image.
- Anti-cheat: the proof recorded `image-success` before `later-failure` and verified that Chromium loaded the exact Gateway-served asset from the branch build.

## Validation

- Focused unit and integration tests: 19 passed across 2 Vitest shards.
- Real Gateway and built Control UI proof: passed on current `main` and the candidate head with opposite image assertions.
- Targeted format, Oxlint, conflict-marker, max-lines, assertion-safety, and diff checks passed.
- Type checks run in continuous integration because repository policy forbids them on this host.

Production change: `+3/-3`, net zero. Test change: `+23/-1`, net `+22`.

Co-authored-by: A28Hui <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 88be1b8)

* fix(matrix): refresh verification status before reporting device trust (#136226)

* fix(matrix): refresh verification status before reporting device trust

Refresh own-device keys after crypto preparation and before the authoritative trust read. Keep the missing-device preflight and use the Matrix SDK’s existing query contract.

* test(slack): remove core-coupled threading duplicate

---------

Co-authored-by: Dallin Romney <[email protected]>
(cherry picked from commit a812054)

* chore(release): prepare extended-stable 2026.8.33

* fix(release): integrate model and Discord security backports

* docs(release): clarify extended-stable workflow baseline

* fix(release): complete stable-line backport integration

* fix(ios): restore dependency resolution with WebRTC 152 (#134942)

* fix(release): repair frozen validation inputs

* fix(discord): stop error replies after voice consult cancellation (#135380)

* fix(discord): stop error replies after voice consult cancellation

Treat host-cancelled Discord realtime consults as terminal cancellation, preserve late-call dedupe, and wait for every native delivery before returning forced playback ownership. Timeouts and genuine errors retain their normal handling.

Closes #135340. Related phone cancellation helper: #134924.

* test(acp): run CLI lifecycle checks against prepared runtime

* test(cli): cover selective runtime build admission

* test(ci): account for ACP runtime preparation

* fix(release): complete Discord cancellation backport

* test(release): keep candidate fixtures current

* test(update): isolate frozen release version

---------

Co-authored-by: tharuntejmeta <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: dclosefuturex <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Pavan Kumar Gondhi <[email protected]>
Co-authored-by: Jason (Json) <[email protected]>
Co-authored-by: CGlashu <[email protected]>
Co-authored-by: A28Hui <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation extensions: meta Extension: meta merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M 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.

2 participants