Skip to content

feat(ui): select Ultrafast for supported accounts - #160352

Merged
roboclaw-bot merged 26 commits into
mainfrom
openclaw/ultrafast-ui-with-visualizer
Sep 30, 2026
Merged

roboclaw-bot merged 26 commits into
mainfrom
openclaw/ultrafast-ui-with-visualizer

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #160336

What Problem This Solves

The composer only has a Fast toggle, so people with Ultrafast access cannot select that tier explicitly.

User Impact

Choose Standard, Fast, or—only when authenticated discovery confirms access for the selected account, model, and runtime—Ultrafast. Standard shows only effort on the composer chip. Unknown or unavailable Ultrafast is omitted, without a disabled option or upsell.

Fast requests ordinary priority processing by default. The existing Codex enableUltrafast: true opt-in continues to upgrade Fast and active Auto on supported models, preserving shipped settings. Standard and inactive Auto stay off. Explicit Ultrafast works independently of the plugin-wide opt-in; a preference never guarantees provider fulfillment.

Upgrade compatibility: the v2026.9.7 contract is preserved: saved fastMode: true plus enableUltrafast: true still requests supported Ultrafast. There is no silent downgrade, migration, new configuration flag, or breaking transition. The new per-session Ultrafast choice is additive.

Why This Change Was Made

Reuse the existing composer, session preference, and account-catalog owners. Canonical Ultrafast state is preserved while clients without the decoding capability receive legacy-safe Fast values. Account discovery retains current request and default-link authority through the final HTTP dispatch. Unlink stops pending automatic discovery without deleting credentials or revoking saved session pins and explicit owned selections.

The reviewed SDK change is an optional ProviderCatalogOutcome.modelServiceTiers observation on the existing catalog result—not a new hook, endpoint, config option, required parameter, or broader credential capability. Omitted observations keep existing plugin behavior. Only ready authenticated observations are copied; account, model, runtime, route, and current-authority checks govern projection. The provider-catalog documentation records these semantics, and the already-authorized implementation/landing scope includes this additive field.

Evidence

  • Landed: exact head 8261e641ea0bf7e591cfca9217402aff1b2808a9 merged as 1caaef4b6f1080556abf26bd78a21f9ed216e2b0. GitHub’s required CI, dependency, and security-sensitive gates passed (CI run). Native merge receipt and cleanup are complete; main containment and the requested human co-author trailer were verified. Individual hosted test timings were not extracted in the bounded metadata/artifact audit; the measured local wall times below remain explicitly local evidence.

  • ClawSweeper’s late /fast ultrafast finding is fixed in 8261e641ea0bf7e591cfca9217402aff1b2808a9: direct command replies, standalone directive acknowledgments, and queued system events now share one formatter and name Ultrafast accurately. Help and docs include the accepted manual value. Three command regressions fail before the fix; all 274 cases across six command/help files pass afterward (88.35 s wrapper), with focused lint, all seven prompt snapshots, and independent P0–P2 AutoReview passing. Generic native menus still omit an unverified optional choice because their context lacks authenticated account-tier facts. No transport, authorization, persistence, runtime-tier, or composer-layout behavior changed.

  • CI 36679465341, job 109771883754, exposed two reset fixtures that passed partial caller objects cast as never. Both failures reproduced at client.connect.caps. The tests now reuse the existing typed session-mutation client factory, with complete handshake/profile data; all 15 reset-model cases pass (14.09 s wrapper / 12.06 s Vitest), and assertions and production capability checks are unchanged. Focused lint and P0/P1 AutoReview pass. Actual conflicts with main 9dc08b1fac6b88355393c3ed281c4e656d09a912 were generated prompt/config artifacts; canonical generation and checks pass. Candidate: 58f0a8ee7279d92a5a4206ae401da10d30e12b05.

  • CI 36676846138, job 109764029700, then exposed 30 stale OpenAI transcription fixtures after main’s shared-WebSocket consolidation. Bare ws mocks no longer intercepted the real constructor; the same failures reproduced locally. 9a7f1660b8995be276e3728e3570775cd45911e7 changes only the two mock registrations to the named constructor owner, preserving every assertion, timeout, and production transport guard. The complete 86-file OpenAI shard passes 1,263 tests with one existing skip (70.19 s wrapper / 67.56 s Vitest), with host proxy/API-key environment removed for deterministic HTTP fixtures. Focused lint and independent P0/P1 AutoReview pass. Prior cancelled CI coverage remains unrun; normal successor CI is still required.

  • CI 36675754918, job 109760578212, exposed four composer-test failures: the new broad Speed-label selector also matched the fixture model named “Speed only.” All four reproduced locally. Exact section-label matching repairs the test without changing the UI or relaxing the independent control-absence assertions. The complete 13-case bundled Chromium file passes (75.94 s wrapper / 73.65 s Vitest); focused lint and independent P0/P1 AutoReview pass. The subsequent actual conflict with main 982f9f8bcf0f8763a78ff23deb4224709a3ac7ac was two neighboring Sessions imports; both canonical owners are retained, and all 49 Sessions view cases pass. Candidate: dd488d1f505bb375a0b408b291bb49ca53edf4b8.

  • Actual conflicts with main 63578b2b112fcc1c9a56ef3904d2d82ac5be1a19 were confined to three generated prompt files. The canonical generator reconciled them in e4fc9842860651ff8ba5f50bfa9479c938d94240; all seven snapshots verify. The integrated browser handshake and chat-view suites pass 168/168 cases (14.81 s Vitest). No composer appearance or Codex opt-in behavior changed. The standalone node-only UI config lacked source aliases and failed before tests; the canonical UI configuration supplies those aliases and passed.

  • Shipped opt-in preservation: 27 cold/warm native turn cases pass (65.50 s wrapper / 62.97 s Vitest), including saved Fast with the opt-in, without it, unsupported tiers, explicit Ultrafast, and Standard. Extension types and focused lint pass; independent delta AutoReview found no actionable P0/P1. No UI appearance changed.

  • Real Control UI exercised in Chromium with deterministic Gateway/account fixtures: all selections cross the session-patch boundary; revoking access removes Ultrafast; Standard leaves only effort. Inspected before/after images were delivered in the originating chat and remain embedded below.

  • The fresh ClawSweeper default-unlink finding reproduced through the registered models.list and users.unlinkAuthProfile handlers, real SQLite state, and a physical HTTP listener. Before repair, unlink during auth/DNS still sent one request. After repair, both send zero; the authorized control sends one. Explicit retained account selection remains usable afterward. No authorization predicate is injected in these Gateway cases.

linked default → auth/DNS paused → users.unlinkAuthProfile committed
links empty; credential retained → dispatch resumed
models.list denied; physical HTTP requests: 0
control and later explicit owned selection: 1 request each
  • The complete HTTP/authority suite passes 10 cases, including refusal of snapshot-backed default authority. Measured pnpm test test/model-account-catalog-authority.integration.test.ts --maxWorkers=1 wall time: 33.24 s (31.17 s Vitest, 89% transform; 10 cases execute in approximately 1.6 s). Hosted per-file CI seconds were not emitted by the failed preflight run described below, which never scheduled tests. The physical listener is suite-level; real handlers/SQLite setup proves the cross-owner revocation that a cheaper mocked predicate missed. The provider credential resolver and HTTP destination are synthetic fixtures; handlers, link mutation, authority publication, guarded dispatch, and HTTP effects are production paths.

  • 28 account-store cases pass, including commit/rollback, per-person isolation, zero-SQL retained assertions, unlink/relink non-revival, and database closure. 17 catalog-decision cases and 23 Gateway session/catalog cases pass, including saved-pin compatibility. A host-key-sensitive fixture was isolated after a same-source counterfactual proved ambient auth contamination.

  • 28 selected Codex turn/service-tier cases pass, covering explicit Fast, Ultrafast fallback, preserved active Auto opt-in, inactive Auto, disabled opt-in, and unsupported models. The exact sibling Codex model-list/service-tier contract was personally inspected.

  • Full pnpm build passes at 023c7b2a78a38aee82adf86c03398390b8553818 (6m 18.5s), including SDK declarations/exports and Control UI performance limits. Startup JS is 365,259 B gzip against the unchanged 372,347 B limit; no budget was raised.

  • Actual main conflict at 6b2a4b4d84eba9f75c813a9e7d9bbb996cc2c330 was confined to Sessions view ownership. Its nested details renderer now retains canonical speed normalization; 49 Sessions UI cases, 41 provider-settings cases, and UI types pass. This integration does not alter the approved composer layout.

  • The additional picker finding is fenced at its state producer: optional Ultrafast requires the same request applicability as Fast. An inconsistent catalog that advertises a tier but explicitly denies speed support reproduced the old mismatch; 59 unit/Chromium cases now pass, including all three ordered labels for eligible accounts and no optional speed choice on an unsupported route. The existing Standard image was re-inspected and does contain Fast.

  • Core/plugin production types, state/root/plugin test-type checks, source line-count ratchets, focused lint, and independent AutoReview passed. The unlink repair adds no schema, retention, permission expansion, or final-check database query.

  • The first CI run exposed five stale generated prompt fixtures. The exact drift reproduced locally; the canonical generator now includes the Ultrafast enum and derived size/hash metadata. All seven fixtures pass verification. Later actual main conflicts were resolved through that same generator, not handwritten snapshots. Cancelled CI siblings are not passing proof.

  • Inherited CI-manifest extraction failures blocked preflight, lint, and the coercion guard. They were reproduced and repaired during this work, then main landed its own repair in df2a29cac9ad37c31a0f5a0d977ba3e4fd833cb0. This branch adopts that implementation and removes the temporary parallel parser, declaration, registry, and export changes. The only remaining CI-tooling delta is a real-Git manifest-materialization regression. All 71 selected harness/planner/import cases pass (28.81 s Vitest / 32.13 s wrapper), as do the coercion guard, lint, canonical generator, and pinned-base ratchet. Cancelled CI siblings are not passing evidence.

  • After the actual main 7a438dc93ec0b80882cd40d217fd9d1508f8fea3 integration, 18 harness/import cases, 61 account/Gateway/HTTP cases, and 28 Codex turn cases passed, with core/UI/plugin production types and all seven prompt snapshots. The later conflict with df2a29c was the CI manifest only; the Ultrafast, legacy-wire, and authority repairs remain intact. Earlier full-build proof stays explicitly head-bound, not relabeled as a successor build.

  • CI exposed a response-shape regression in ordinary models.list: carrying request authority as account/session scope added an unwanted accountSelection field. Request publication authority is now carried separately, preserving both the legacy unscoped response and the final HTTP fence. All 177 catalog/session/model-list cases and 10 physical-HTTP authority cases pass, without weakening assertions; core types, focused lint, the ratchet, and independent review pass.

  • The next exact-head CI run exposed seven response callback tuple-arity failures: the legacy projection wrapper appended optional undefined arguments. The wrapper now preserves the original argument tuple and projects only a supplied successful payload. All 102 existing idempotency, sticky-model/incognito, and presentation cases pass (93.24 s wrapper), with assertions unchanged; independent delta review found no actionable P0/P1. This is scoped repair proof, not a claim that hosted CI is green.

  • Prior-head CI run 36671072900 failed two of 873 tests in the 64-file Gateway shard: Gmail watcher follow-up timed out waiting for restart, and fresh admission after worker Stop returned false. A bounded unchanged-source replay of both files passed 117/117 (39.68 s wrapper), and the Gmail case alone passed. The direct owners are unchanged from the merge base and tested main parent, but adjacent PR changes prevent attributing the failures to main. The full two-worker, Node 24 CI sequence was not reproduced; the local one-worker, Node 26 passes are diagnostic, not fixes or replacement CI evidence. No timeouts, assertions, or guards were weakened. Normal exact-head CI remains required.

Validation limits: no signed-in external-provider or Apple-platform execution is claimed. Swift is unavailable on this Linux host. A separate cold-process restart/live UI readiness probe received HTTP 502 despite isolated Gateway readiness; it remains unverified, with no proxy or authorization bypass. The earlier macOS-support subset passed with its fixture environment corrected, but the whole macOS-support command was not rerun. A broader local Gateway-integration selection was refused by the managed-artifact preparation guard before tests; no guard was bypassed.

Before

Before

After

After

Standard and no-access states

Standard displays only the effort level

Ultrafast is absent without access

Requested and designed by @steipete.

Work sessions

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. 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 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 30, 2026, 3:40 AM ET / 07:40 UTC (Revision 17).

ClawSweeper review

What this changes

Adds account-aware Standard, Fast, and Ultrafast choices to the Control UI and carries the selected speed through Gateway sessions, native clients, Codex turns, documentation, and tests.

Merge readiness

⛔ Blocked before merge - 6 items remain

Keep this PR open. Current main still has only the binary Fast control, and the paired feature issue remains open. The prior command-confirmation finding is fixed; the remaining merge questions concern live contract and platform proof.

Priority: P2
Reviewed head: 8261e641ea0bf7e591cfca9217402aff1b2808a9

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch has coherent owner-level coverage and no confirmed new defect, while live provider and native-client contract evidence remains incomplete.
Proof confidence 🦐 gold shrimp (3/6) Not applicable: The maintainer bot is exempt from the external-contributor proof gate. The PR reports after-fix Chromium composer behavior and a registered-handler, SQLite, physical-HTTP trace showing unlink denial before I/O; signed-in provider and Apple runtime coverage remain separate merge risks. Existing saved Fast values and legacy wire presentation have focused compatibility coverage.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The maintainer bot is exempt from the external-contributor proof gate. The PR reports after-fix Chromium composer behavior and a registered-handler, SQLite, physical-HTTP trace showing unlink denial before I/O; signed-in provider and Apple runtime coverage remain separate merge risks. Existing saved Fast values and legacy wire presentation have focused compatibility coverage.
Evidence reviewed 13 items Current main lacks the requested choice: The current-main composer renders a binary Fast switch, so the per-session Ultrafast choice is still distinct work.
Introduced composer choice: The introduced picker offers Ultrafast only when the selected model and runtime report support.
Prior finding repaired: The latest commit gives direct commands, directives, and queued events a shared confirmation that names Ultrafast; focused command regressions were added.
Findings None None.
Security None None.

How this fits together

The Control UI gets model and account availability from the Gateway, then saves the selected speed on a session. The Gateway presents that preference to clients and the Codex plugin checks the selected tier again when starting a turn.

flowchart LR
 A[Selected account and model] --> B[Authenticated catalog]
 B --> C{Ultrafast available?}
 C -->|Yes| D[Three speed choices]
 C -->|No| E[Standard and Fast]
 D --> F[Gateway session preference]
 E --> F
 F --> G[Codex turn tier]
 F --> H[Legacy client presentation]
Loading

Before merge

  • Resolve merge risk (P1) - The new account-tier observation is covered with synthetic catalog responses, but no signed-in entitled and no-access provider result has verified the external response shape and resulting choices.
  • Resolve merge risk (P1) - The branch changes Swift decoding and advertises the new capability from Apple clients, but the PR reports no Apple-platform execution of that handshake and decoder.
  • Resolve merge risk (P1) - The shared /fast ultrafast confirmation is Telegram-visible; the bounded Test Server request returned HTTP 409, leaving live channel presentation unverified.
  • Complete next step (P2) - Obtain redacted signed-in provider results, Apple handshake and decoder evidence, and Telegram Test Server confirmation before merge.
  • Resolve review confidence - ClawSweeper must reach high confidence before merge readiness is known.
  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Release-visible surface 1 speed value, 1 client capability, 1 optional provider-catalog field These additions cross persisted session, native wire, and plugin contracts.
Code balance production +810 net LOC, tests +1,745 net LOC The PR explains the cross-client and account-authority growth and includes a measured 33.24-second physical-HTTP test suite.

Stored data model

Persistent data-model change detected: unknown-truncated-pull-files. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #160336
Summary: This PR is the open implementation candidate for the paired composer request; the merged Codex opt-in PR is related foundation work with a distinct user choice.

Members:

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

Merge-risk options

Maintainer options:

  1. Complete contract and client proof (recommended)
    Capture redacted signed-in entitled and no-access catalog results, exercise the changed Swift handshake and decoder on an Apple host, and verify the shared command reply on Telegram's Test Server.

Technical review

Best possible solution:

Keep one account-scoped speed control that offers only verified tiers, preserves saved Fast opt-ins and older clients, and checks the chosen tier again at the Codex turn boundary.

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

Not applicable: this adds a tier choice rather than repairing a defined defect. Current main's binary switch establishes the missing UI capability.

Is this the best way to solve the issue?

Yes: extending the existing composer, session, catalog, and turn owners is a maintainable path. The external-provider and native-client contracts still need direct validation.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a bounded account-specific feature with normal maintainer priority.
  • merge-risk: 🚨 compatibility: A persisted speed value and negotiated legacy-client projection make native upgrade behavior merge-sensitive.
  • merge-risk: 🚨 auth-provider: The new account-tier discovery path needs a signed-in provider contract check beyond synthetic catalog fixtures.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The maintainer bot is exempt from the external-contributor proof gate. The PR reports after-fix Chromium composer behavior and a registered-handler, SQLite, physical-HTTP trace showing unlink denial before I/O; signed-in provider and Apple runtime coverage remain separate merge risks. Existing saved Fast values and legacy wire presentation have focused compatibility coverage.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. The final commit changes a shared /fast confirmation visible in Telegram; the bounded Test Server request was inconclusive after HTTP 409.

Evidence

What I checked:

Likely related people:

  • Sarah Fortune: Raw commit 9c2335a adds extensions/codex/src/app-server/service-tier.ts:54 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 9c2335a2d07e; files: extensions/codex/src/app-server/service-tier.ts)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • stevenlee-oai: 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.

  • Capture redacted signed-in entitled and no-access account catalog results tied to the composer choice.
  • Exercise the Swift capability handshake and decoder on an Apple host.
  • Record the /fast ultrafast confirmation on Telegram's Test Server when its proof lane is available.

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 (16 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-30T04:22:56.276Z sha 5ed9a41 :: blocked before merge. :: none
  • reviewed 2026-09-30T04:43:49.975Z sha 7785652 :: blocked before merge. :: none
  • reviewed 2026-09-30T05:03:35.775Z sha 8ad57dd :: blocked before merge. :: [P1] Preserve the shipped saved Fast opt-in behavior
  • reviewed 2026-09-30T06:02:13.817Z sha e4fc984 :: blocked before merge. :: none
  • reviewed 2026-09-30T06:17:18.952Z sha dd488d1 :: blocked before merge. :: none
  • reviewed 2026-09-30T06:47:22.139Z sha 9a7f166 :: blocked before merge. :: none
  • reviewed 2026-09-30T07:06:39.085Z sha 58f0a8e :: blocked before merge. :: [P2] Report Ultrafast accurately in /fast confirmations
  • reviewed 2026-09-30T07:14:34.378Z sha 58f0a8e :: blocked before merge. :: [P2] Report Ultrafast accurately in /fast confirmations

roboclaw-bot and others added 4 commits September 29, 2026 02:37
Negotiate speed decoding per connection and keep canonical session state intact. Fence personal-account catalog requests at final guarded HTTP dispatch. Refresh the measured UI boot manifest without changing performance limits.

Co-authored-by: steipete <[email protected]>
Resolve the actual main conflicts while preserving the reviewed Ultrafast
implementation and compatibility/authority repairs. Carry capability
negotiation into the current browser handshake owner and legacy event
projection into the current session event owner. Reuse main's provider
outcome scoping and typed child-session patching. Keep the updated slider
behavior and relocate the overlapping handshake proof without duplication.

Co-authored-by: steipete <[email protected]>
Move the existing account-scoped result projection into the already imported catalog helper without changing its behavior. Keep the provider owner below its existing line-count ratchet.

Co-authored-by: steipete <[email protected]>
Resolve the actual conflict with main's normalized preference owner, retaining the shared normalizer and Ultrafast validation message. Preserve unchanged compatibility and outbound-authority repairs.

Co-authored-by: steipete <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added app: ios App: ios app: macos App: macos labels Sep 30, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review September 30, 2026 01:56
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

The released-client compatibility and final outbound account-authority repairs are now published at da594c9. Current boundary proof, conflict-integration evidence, and remaining platform limitations are in the updated PR body.

@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: 8261e641ea0bf7e591cfca9217402aff1b2808a9
  • Maintainer: @roboclaw-bot
  • Repository role: maintain

These security sensitive changes were made:

  • src/agents/prepared-model-runtime-auth.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/prepared-model-runtime.catalog-auth.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/gateway/server-model-catalog-auth.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 30, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Share the direct command, directive reply, and system-event confirmation formatter so the saved Ultrafast tier is named accurately. Include the accepted manual value in help and docs without advertising an unverified optional native-menu choice. Preserve boolean Fast, Auto, reset, authorization and persistence behavior. Three regressions fail before repair; 274 focused cases pass afterward.

Co-authored-by: steipete <[email protected]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) September 30, 2026 07:44
@roboclaw-bot
roboclaw-bot merged commit 1caaef4 into main Sep 30, 2026
248 of 249 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/ultrafast-ui-with-visualizer branch September 30, 2026 07:45
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

MarMarLabs added a commit to MarMarLabs/openclaw that referenced this pull request Sep 30, 2026
38 upstream commits, including the seventh Feishu, Telegram and Matrix
cleanup pass (openclaw#161667) and an Ultrafast config schema change (openclaw#160352)
that moved the core and plugin config baseline hashes.

One conflict, in docs/.generated/config-baseline.sha256. openclaw#160352 changed
the core and plugin hashes and this branch changes the channel hash, so
the file was regenerated from this merge rather than hand-merged.
build:docker ran in a separate detached checkout of this commit outside
the nested node_modules install. The counts stay at core 2475, channel
3788, plugin 4444. The core and plugin hashes now match upstream/main and
the channel hash stays this branch's, as predicted, and the three
generated-file checks pass there.

extensions/feishu/src/reply-dispatcher.ts merged cleanly. openclaw#161667 rewrote
buildCombinedStreamText as two joins, away from the lines this branch
changes. Its other Feishu files (card-ux-*, mention.ts, post.ts) are not
touched by this branch.

Feishu: 102 files and 1521 tests in the extension project, 17 files and
247 tests in the database-workers project. The forwarder test and the
routing guards pass, 437 tests. tsgo:core, tsgo:extensions,
tsgo:extensions:test, tsgo:test:root, the line-cap, max-lines and
assertion-safety ratchets against upstream/main, oxlint and oxfmt on the
43 changed code files all pass.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 1, 2026
* feat(ui): select Ultrafast for supported accounts

Co-authored-by: steipete <[email protected]>

* fix(gateway): preserve Ultrafast compatibility and account authority

Negotiate speed decoding per connection and keep canonical session state intact. Fence personal-account catalog requests at final guarded HTTP dispatch. Refresh the measured UI boot manifest without changing performance limits.

Co-authored-by: steipete <[email protected]>

* refactor(openai): keep account catalog outcomes together

Move the existing account-scoped result projection into the already imported catalog helper without changing its behavior. Keep the provider owner below its existing line-count ratchet.

Co-authored-by: steipete <[email protected]>

* test: refresh Ultrafast tool prompt fixtures

Regenerate the canonical Codex dynamic-tool fixtures for the authorized Ultrafast speed value. Update only that enum value and its derived size/hash metadata; keep snapshot checks enabled.

Co-authored-by: steipete <[email protected]>

* fix: stop account catalog requests after default unlink

Bind automatic account selections to the canonical profile writer's committed link authority and carry the real request scope through final guarded dispatch. Keep explicit retained account selections usable after unlink and evict failed discovery custody. Preserve the existing active Auto Ultrafast opt-in while explicit Fast stays priority.

Co-authored-by: steipete <[email protected]>

* refactor(codex): use narrowed Auto activation flag

Keep the reviewed Auto tier predicate while satisfying the typed boolean lint contract.

Co-authored-by: steipete <[email protected]>

* fix(ui): share speed applicability for optional Ultrafast

Respect the selected request mapping before offering an optional entitled tier. Preserve all three choices on eligible routes and clearable stored preferences on unsupported routes. Reproduced the contradictory catalog regression and passed 59 unit/Chromium cases; scoped independent review found no actionable P0/P1.

Co-authored-by: steipete <[email protected]>

* fix(ci): export manifest in same-revision preflight harness

Restore the trusted file omitted when the inline manifest moved out of ci.yml in 57aad03. Actual preflight job109720001696 failed before tests with MODULE_NOT_FOUND; real Git push and PR materialization fixtures reproduce the same omission. Keep the canonical index export owner, regenerate its workflow projection, and preserve all source/credential guards. Fifteen materialization variants, five import/size checks, root test types, and focused independent review pass.

Co-authored-by: steipete <[email protected]>

* fix(ci): satisfy extracted manifest static contracts

Repair inherited check-lint failures from the manifest extraction without changing CI routing: avoid namespace shadowing, retain error cause and the diagnostic callback string contract, preserve nonmutating shard copies, and apply required branch syntax. All1259 scripts lint clean;45 planner/import/size cases, formatting, UI i18n, styles, ratchet and independent review pass.

Co-authored-by: steipete <[email protected]>

* fix(ci): centralize dependency-free workflow flag parsing

Remove the extracted manifest local coercion helper and preserve its exact narrow Boolean grammar under the existing script argument owner. Register the canonical declaration rather than weakening the guard, and carry its runtime through trusted preflight materialization and fixtures.77 argument cases,11 declaration-guard cases,71 scoped integration cases, types, lint, export scans and remaining guard commands pass; independent review has no actionable P0/P1.

Co-authored-by: steipete <[email protected]>

* fix(gateway): separate model publication authority from selection scope

Keep the actual request lifetime in selected-account HTTP assertions without treating every anonymous unscoped catalog read as a personal account projection. Restore the established models.list response shape; no assertions weakened.177 model/catalog/session cases and10physical HTTP authority cases pass, together with types, lint, ratchet and independent review.

Co-authored-by: steipete <[email protected]>

* fix: preserve session response argument tuples

Forward the original response tuple while projecting successful legacy payloads, without appending optional undefined arguments.

Co-authored-by: steipete <[email protected]>

* fix(codex): preserve existing Ultrafast opt-ins

Keep the v2026.9.7 Fast and active Auto opt-in semantics while adding explicit per-session Ultrafast. Standard still clears the tier. Cover cold and warm native turn requests without requiring a migration.

Co-authored-by: steipete <[email protected]>

* test(ui): distinguish speed labels from model names

Match the complete Effort and Speed section labels rather than the Speed only fixture model. Retain the independent absence assertions for reasoning and speed controls. All four failures reproduced before the repair; the complete 13-case bundled browser file passes afterward.

Co-authored-by: steipete <[email protected]>

* test(openai): intercept the shared transcription socket

Update the two stale socket mock registrations after the upstream transport consolidation. Keep the actual provider/session code, fake peers, assertions, timeouts, and Bun transport guard unchanged. All 86 OpenAI shard files pass: 1263 passed and one existing skip.

Co-authored-by: steipete <[email protected]>

* test(gateway): construct complete session reset callers

Replace partial caller objects cast as never with the existing typed session mutation client fixture. Preserve provenance and required-sandbox assertions and the production client capability contract. Both CI failures reproduce before the repair; all 15 reset-model cases pass afterward.

Co-authored-by: steipete <[email protected]>

* fix: confirm the selected Ultrafast command mode

Share the direct command, directive reply, and system-event confirmation formatter so the saved Ultrafast tier is named accurately. Include the accepted manual value in help and docs without advertising an unverified optional native-menu choice. Preserve boolean Fast, Auto, reset, authorization and persistence behavior. Three regressions fail before repair; 274 focused cases pass afterward.

Co-authored-by: steipete <[email protected]>

---------

Co-authored-by: steipete <[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 app: ios App: ios app: macos App: macos app: web-ui App: web-ui docs Improvements or additions to documentation extensions: anthropic extensions: codex extensions: minimax extensions: openai extensions: xai gateway Gateway runtime merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. security-sensitive-changed size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: expose Ultrafast in the composer only for accounts with access

1 participant