Skip to content

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

Merged
vincentkoc merged 2 commits into
mainfrom
feat/gpt-image-2-5-direct
Sep 9, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
feat/gpt-image-2-5-direct

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Related: #143007

Additional instructions

Same-repository branch; maintainers with repository write access can update it.

What Problem This Solves

Operators cannot select GPT Image 2.5 Flare or Sunburst with the full supported quality and flexible-size controls through the OpenAI plugin, CLI, and image-generation tool.

Why This Change Was Made

Adds the two canonical OpenAI model IDs through the existing direct Images API generation and edit paths. A narrow model-specific quality capability enables xhigh and max only for the new models. Their valid custom dimensions and auto sizing use the existing geometry normalization flow.

The gpt-image-2 default, five-reference cap, four-output cap, and existing authentication routing remain unchanged. No Fal, configuration, dependency, mask, or input-fidelity changes. Fal support is a separate stacked draft, #143069, with authenticated live validation pending; this PR intentionally does not close the shared issue.

User Impact

Operators can select openai/gpt-image-2.5-flare or openai/gpt-image-2.5-sunburst through the existing CLI and image_generate tool. Documentation covers explicit API-key selection when an OAuth profile also exists. This does not claim GPT Image 2.5 subscription entitlement.

Release-note context: support GPT Image 2.5 Flare and Sunburst through the direct OpenAI Images API, including generation, edits, flexible sizes, xhigh/max quality, and transparent PNG/WebP output.

Evidence

  • Contract: OpenAI image-generation guide.
  • Current head 600abdea67c64eecaad77ba81f66891a6b96d0a2, tree d88b96bbf35443a413f9a074cf226a0671732da2, fixed base e11c7a657334de9bac47908cc28677b6fdd59a94. The rebase preserves main's provider acquisition and execution-helper extraction; the tool differs from that base only in its quality enum and description.
  • Final-head Blacksmith Testbox focused proof passed all five routed Vitest shards: pnpm test extensions/openai/image-generation-provider.test.ts extensions/fal/image-generation-provider.test.ts src/image-generation/runtime.test.ts src/image-generation/runtime.output-capabilities.test.ts src/image-generation/capabilities.test.ts src/agents/tools/image-generate-tool.test.ts src/agents/tools/image-generate-tool.resources.test.ts src/cli/capability-cli.test.ts. Linux, Node 24.19.0, pnpm 12.3.4. Source, tree, and all changed-file hashes were verified before execution.
  • Exact-head CI run and openclaw/ci-gate passed, covering the required checks and published build. node scripts/watch-pr-ci.mjs 143068 600abdea67c64eecaad77ba81f66891a6b96d0a2 returned GREEN, exit 0; superseded nonrequired cancellations are not failed current checks.
  • The additional Testbox node scripts/check-changed.mjs --base origin/main invocation was stopped during core test-type checking after exact-head hosted CI became green. Its completed formatting/core-type checks are useful supplemental proof, but the partial invocation is not claimed as a complete gate or build pass. The lease is completed; hosted CI supplies the complete required gate/build evidence.
  • git diff --check and all 11 changed files' oxfmt checks pass. Docs config-fence validation passed; documentation lint has no increase over the existing baseline. Fresh exact-head direct-only autoreview reports no actionable P0-P2 findings.
  • The publisher parser verifies the corrected gpt-image-2.5 heading and cross-link. The full anchor audit remains non-green on 42 unrelated findings: external ClawHub mirror routes and the existing windows-app-node maturity anchor. None are in the changed pages; these are separate docs follow-ups.
  • Exact-head authenticated live refresh passed all four cells through the real generateImage runtime and OpenAI provider, using the explicit API-key route, isolated configuration, one image per request, and a synthetic edit reference. Testbox run: source 600abdea67c64eecaad77ba81f66891a6b96d0a2, tree d88b96bbf35443a413f9a074cf226a0671732da2, carrier 9f9006a4f9cf86a91c74bdfc688589bb93fd0a81. Before calls, all 11 source files matched the ordered SHA-256 list digest b369a3438a8cb67bc18a3966435a26555c36514c7822194cbcb05c9c0b0eacbe; wrapper exit 0. All outputs decoded as 1024x1024 with nonempty bytes and a blue center; both edits changed the synthetic red square to blue. No generated media is committed.
  • The single rebase conflict is resolved without restoring removed execution code. src/agents/tools/image-generate-tool.resources.test.ts passed, covering main's admission, persistence, rollback, and release invariants. Independent exact-head delta review is clean. ClawSweeper's exact-head review has no findings or before-merge actions.
  • Production delta: +14 net lines; tests: +108; docs: +69. The production growth adds the model catalog entries and the generic model-quality capability without adding unused Fal-specific seams.
Live cell Quality Verified format Bytes
Flare generation low PNG 740828
Flare edit low PNG 706139
Sunburst generation xhigh WebP, alpha and transparent corner verified 128312
Sunburst edit low PNG 706681

@vincentkoc vincentkoc self-assigned this Sep 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes agents Agent runtime and tooling extensions: openai size: M maintainer Maintainer-authored PR labels Sep 9, 2026
@vincentkoc
vincentkoc force-pushed the feat/gpt-image-2-5-direct branch from 8557f0c to 600abde Compare September 9, 2026 11:20
@vincentkoc
vincentkoc marked this pull request as ready for review September 9, 2026 11:20
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 9, 2026
@clawsweeper

clawsweeper Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 9, 2026, 7:30 AM ET / 11:30 UTC.

ClawSweeper review

What this changes

Adds GPT Image 2.5 Flare and Sunburst to the OpenAI plugin, with model-specific quality controls, flexible sizing, CLI and tool support, and setup documentation.

Merge readiness

✅ Ready for maintainer review

This remains useful, distinct work absent from current main and the latest release. No blocking correctness defect was found; the supplied live results support the direct OpenAI implementation, while fal remains separate.

Priority: P2
Reviewed head: 600abdea67c64eecaad77ba81f66891a6b96d0a2

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused extension with meaningful runtime and API-boundary coverage, supporting live results, and no identified blocking defect.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The supplied exact-source live results exercise generateImage and the OpenAI provider with API-key authentication: both variants generate and edit successfully, including observed red-to-blue edits and transparent xhigh WebP output. These recorded results establish behavior independently of the still-running Testbox workflow.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The supplied exact-source live results exercise generateImage and the OpenAI provider with API-key authentication: both variants generate and edit successfully, including observed red-to-blue edits and transparent xhigh WebP output. These recorded results establish behavior independently of the still-running Testbox workflow.
Evidence reviewed 10 items Introduced implementation: The pinned merge-base delta adds model catalog entries and optional model-specific qualities without changing authentication, defaults, persistence, dependencies, or transport ownership. The full supplemental runtime test covers extended, legacy, and explicitly restricted quality capabilities.
Current main still lacks the capability: Current main retains the older OpenAI model list and provider-wide quality union, with no GPT Image 2.5 entries or qualitiesByModel capability.
Latest-release comparison: The supplied latest release, v2026.9.3, also contains the older model catalog and provider-wide quality list.
Findings None None.
Security None None.

How this fits together

OpenClaw’s image-generation runtime accepts prompts, reference images, and output preferences from the CLI or agent tool. It filters those preferences against provider capabilities, invokes the OpenAI plugin, and returns generated image assets.

flowchart LR
 A[CLI or agent tool] --> B[Prompt and reference images]
 B --> C[Model capability filtering]
 C --> D[OpenAI plugin]
 E[Configured API credentials] --> D
 D --> F[Images generation or edit API]
 F --> G[Generated image assets]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +14, Tests +108, Docs +69. Total +191 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 5 20 6 +14
Tests 4 178 70 +108
Docs 2 82 13 +69
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 280 89 +191

Review metrics

Metric Value Why it matters
Capability expansion 2 model IDs, 2 quality values, 1 optional provider capability The extension reuses existing commands and configuration without changing the default model.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #143007
Summary: This PR implements the direct OpenAI portion of the shared request; fal requires the separate stacked PR.

Members:

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

Technical review

Best possible solution:

Keep provider-specific model rules in the OpenAI plugin and preserve generic, opt-in quality filtering with unchanged defaults for existing providers.

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

Not applicable as a defect reproduction: this adds model support, and current main visibly lacks the catalog entries and extended quality capability.

Is this the best way to solve the issue?

Yes. The patch extends the existing provider and normalization paths, preserves legacy filtering, and matches the inspected official API contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against b13971bdcc45.

Labels

Label changes:

  • add P2: This is a bounded enhancement to an existing image provider with preserved defaults.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The supplied exact-source live results exercise generateImage and the OpenAI provider with API-key authentication: both variants generate and edit successfully, including observed red-to-blue edits and transparent xhigh WebP output. These recorded results establish behavior independently of the still-running Testbox workflow.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The supplied exact-source live results exercise generateImage and the OpenAI provider with API-key authentication: both variants generate and edit successfully, including observed red-to-blue edits and transparent xhigh WebP output. These recorded results establish behavior independently of the still-running Testbox workflow.

Label justifications:

  • P2: This is a bounded enhancement to an existing image provider with preserved defaults.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The supplied exact-source live results exercise generateImage and the OpenAI provider with API-key authentication: both variants generate and edit successfully, including observed red-to-blue edits and transparent xhigh WebP output. These recorded results establish behavior independently of the still-running Testbox workflow.
  • proof: sufficient: Contributor real behavior proof is sufficient. The supplied exact-source live results exercise generateImage and the OpenAI provider with API-key authentication: both variants generate and edit successfully, including observed red-to-blue edits and transparent xhigh WebP output. These recorded results establish behavior independently of the still-running Testbox workflow.

Evidence

What I checked:

  • Introduced implementation: The pinned merge-base delta adds model catalog entries and optional model-specific qualities without changing authentication, defaults, persistence, dependencies, or transport ownership. The full supplemental runtime test covers extended, legacy, and explicitly restricted quality capabilities. (src/image-generation/normalization.ts:63, 600abdea67c6)
  • Current main still lacks the capability: Current main retains the older OpenAI model list and provider-wide quality union, with no GPT Image 2.5 entries or qualitiesByModel capability. (extensions/openai/image-generation-provider.ts:57, b13971bdcc45)
  • Latest-release comparison: The supplied latest release, v2026.9.3, also contains the older model catalog and provider-wide quality list. (extensions/openai/image-generation-provider.ts:58, 1391f7cd2d40)
  • Official external API contract: The inspected OpenAI image-generation guide confirms both variants, xhigh/max quality, automatic and custom sizing, the implemented dimension limits, and transparent PNG/WebP output.
  • After-fix live behavior: The complete supplied PR body records four authenticated calls through generateImage and the real OpenAI provider at the reviewed source SHA and tree d88b96bbf35443a413f9a074cf226a0671732da2. Both variants generated images and edited synthetic red references to blue; Sunburst xhigh output decoded as WebP with verified transparency. The linked Testbox session remains in progress, so its overall workflow status is not treated as a completed CI pass: https://github.com/openclaw/openclaw/actions/runs/34345012034. (600abdea67c6)
  • Plugin contract and compatibility: The existing public image-generation SDK exports these provider types. The member-authored proposal explicitly discusses the additive model-quality capability; absent model entries retain provider-wide filtering, while empty entries reject quality overrides. Existing defaults and reference/output caps remain intact. (src/image-generation/types.ts:116, 600abdea67c6)

Likely related people:

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

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.

@vincentkoc
vincentkoc merged commit f93881f into main Sep 9, 2026
265 of 267 checks passed
@vincentkoc
vincentkoc deleted the feat/gpt-image-2-5-direct branch September 9, 2026 11:47
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 10, 2026
* feat(openai): support GPT Image 2.5 variants

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

Copy link
Copy Markdown

Would image-2.5 through codex oauth be supported?

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

agents Agent runtime and tooling cli CLI command changes docs Improvements or additions to documentation extensions: openai maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants