5369 Commits
Author SHA1 Message Date
openclaw-mantis[bot]andgithub-actions[bot] 270c0b3c09 chore(i18n): refresh native locales (#132302)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-29 03:51:00 +00:00
Peter Steinberger 56c2083fbd fix(native): keep TLS tests out of operator storage (#132119)
* fix(native): keep TLS tests out of operator storage

* fix(macos): close live native test storage escapes

Keep dashboard probes on their owning dependency, make preview Talk projections non-live, and restrict menu and WebChat test work to owned resources. Preserve normal TLS and recovery behavior; remove obsolete test mirrors and shared-connection fallbacks.
2026-08-28 20:45:51 -07:00
Josh Lehman cce893e900 fix(ui): show Codex node approvals in the controlling chat (#131829)
* fix(ui): show node approvals in controlling session

* fix(ci): align approval projection contracts

* test(ui): remove flaky dropdown event wait

* perf(ui): defer chat route rendering

* fix(ui): rebind approvals on agent switch

* fix(ui): retain projected approval errors
2026-08-28 19:46:16 -07:00
Jason (Json) be54020f1d fix(ios): refine chat actions menu (#132045) 2026-08-28 20:35:56 -06:00
bd9eeaebf0 fix(ui): allow Fast Mode when creating sessions (#131272)
* feat(ui): add Fast Mode to new sessions

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>

Worked on by:
- @Takhoffman

* fix(ui): preserve new-session speed through recovery

Revalidate Fast Mode after reset drains admitted work, before placement retirement and hooks. Preserve explicit speed selections in remote and incognito recovery, remove the unused speed-control opt-out, and exercise cloud create and retry behavior in browser tests.

Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>

* test(ui): wait for shared shell before palette shortcut

---------

Co-authored-by: roboclaw-bot <309084314+roboclaw-bot@users.noreply.github.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
2026-08-28 18:35:09 -07:00
f92a47694f fix(macos): MCP Apps stay inside the dashboard (#132096)
* fix(macos): keep MCP Apps inside the dashboard

* fix(macos): match MCP sandbox path exactly

* fix(macos): preserve dashboard pathname trust for sandbox frames

Exercise the real WebKit outer sandbox and nested srcdoc handshake, preserving native credential isolation and exact-path restrictions.

Co-authored-by: Omar Shahine <10343873+omarshahine@users.noreply.github.com>

---------

Co-authored-by: Omar Shahine <10343873+omarshahine@users.noreply.github.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-08-28 17:52:14 -07:00
openclaw-mantis[bot]andgithub-actions[bot] 10f66beee3 chore(i18n): refresh native locales (#132202)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-29 00:14:59 +00:00
Jason (Json) d325929cbf fix(ios): simplify sidebar navigation (#132086)
* fix(ios): simplify sidebar navigation

* fix(ios): remove sidebar agent card background

* fix(ios): keep New Chat available while agents load

* fix(ios): keep sidebar agent selection truthful

* chore(ios): refresh sidebar localization inventory
2026-08-28 17:58:27 -06:00
a49da4208b fix(gateway): Apple node commands recover after reconnect (#124195)
* fix(gateway): recover Apple node invocations after reconnect

Report an explicit preexecution-only readiness rejection from the shared
Apple lifecycle owner and recover it through one policy-narrowed Gateway
transport path. Preserve authority, progress, cancellation and the original
deadline across attempts without replaying plugin approval or terminal input.

Co-authored-by: TheAngryPit <16145902+TheAngryPit@users.noreply.github.com>

* fix(gateway): preserve unary progress semantics during recovery

Record authenticated progress in the registry without creating a stream
consumer. Keep ignored acknowledgments and legacy cancellation behavior,
while preventing replay after ignored, ordered, or buffered progress.

Co-authored-by: TheAngryPit <16145902+TheAngryPit@users.noreply.github.com>

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: TheAngryPit <16145902+TheAngryPit@users.noreply.github.com>
2026-08-28 16:35:53 -07:00
Peter Steinberger cea952a47f fix(macos): keep native test fixtures out of app state (#132092) 2026-08-28 16:08:05 -07:00
Peter Steinberger 319df1e7b4 fix(desktop): preserve onboarding across model activation and restarts (#131757)
* fix(desktop): preserve verified onboarding handoffs

Keep browser pairing grants separate from native transport credentials, preserve fresh-setup intent across activation and restart, and show owned activation progress and errors even for undiscovered models and scrolled forms. Align native recovery/cancellation feedback and onboarding documentation. Refs #131706.

* fix(ui): bind cancellation cleanup to its original setup attempt

* fix(ui): retire expired setup outcomes before presentation

* fix(desktop): retire rejected setup attempts

Record definitive setup non-admission at the Gateway boundary so browser and native onboarding release only their own rejected attempts. Retain uncertainty for requests that may have dispatched, and preserve terminal cleanup after presentation retirement.

Keep the macOS packaging ownership assertions valid when private scratch storage lives on an external volume. Linux busy/retry and real Ollama handoff, native transport/onboarding suites, browser flows, and isolated review are verified; final signed Mac live proof remains a pre-merge gate.

* test(macos): validate parsed DMG mount paths
2026-08-28 16:02:51 -07:00
Peter Steinberger a5122e631e fix(android): recover the ending of truncated assistant replies (#131575)
* fix(android): recover complete capped assistant replies

* fix(android): preserve reader state across lifecycle races

* docs(android): clarify full-message retrieval limits

* fix(android): recover replies from released Gateway previews

* fix(android): keep invalid full-reply responses retryable

* docs(android): retain credited release note in PR metadata

Remove only this PR's root CHANGELOG entry, which native prepare correctly
rejected under the normal release-owned changelog policy. Android code,
tests, documentation, generated inventory and all 22 bound proof inputs
are unchanged. No release override is used.

- **Android long replies:** open capped assistant replies in a bounded, paged full-text reader with text selection, while keeping formatted previews, attachments, and their existing actions intact. Fixes #122043. Thanks @BottaniCals and @Alix-007.

* fix(android): preserve synthetic reply retrieval eligibility

Retain the producer's message-tool mirror fact alongside the copied
transcript ID. Share canonical-read eligibility across admission, socket
enqueue, response publication, disclosure and cached-reader ownership.
Keep the ID for timeline actions without offering a canonical fetch that
cannot reconstruct the synthetic preview.

Preserve released truncation parsing and cover mirror replacement during
an in-flight request and before recomposition of a retained reader action.

- **Android long replies:** open capped assistant replies in a bounded, paged full-text reader with text selection, while keeping formatted previews, attachments, and their existing actions intact. Fixes #122043. Thanks @BottaniCals and @Alix-007.

* fix(android): expand full replies inline

Keep recovered assistant content in the shared Markdown and message-action
owners. Replace the default modal reader with inline loading, retry and
collapse, retaining selection as an explicit action.

Bound long code layouts without clipping their source or increasing the
app heap. Keep code endpoint navigation and inner scrolling under the
existing reader-follow owner, including replacement-animation cancellation.
Preserve synthetic commentary and mirror eligibility at the read boundary.

- **Android long replies:** expand capped assistant replies inline with formatting and attachments preserved, bounded scrolling for long code blocks, and the existing message actions. Fixes #122043. Thanks @BottaniCals for the report and @Alix-007 for the earlier proposal.
2026-08-28 16:00:09 -07:00
Peter Steinberger 021f8b6c66 fix(macos): preserve status-less health probe errors (#132062)
* test(macos): reproduce status-less health probe diagnostics

* fix(macos): preserve status-less health probe diagnoses
2026-08-28 15:52:55 -07:00
openclaw-mantis[bot]andgithub-actions[bot] 4ad3f71f65 chore(i18n): refresh native locales (#132101)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-28 22:20:25 +00:00
Vyctor H. Brzezowski 3bd3b2730c fix(ui): recover when the managed CLI is missing (#131974)
* fix(linux): recover when managed CLI is missing

* fix(linux): clear stale gateway during CLI recovery
2026-08-28 18:54:34 -03:00
Peter Steinberger 1210442f73 refactor(macos): simplify readiness bookkeeping and discovery parsing (#132074) 2026-08-28 13:22:52 -07:00
openclaw-mantis[bot]andgithub-actions[bot] 4bc4ad35fa chore(i18n): refresh native locales (#132063)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-28 20:18:20 +00:00
Peter Steinberger c417dcf392 fix(android): stop offering obsolete ClawHub acknowledgement retries (#132016)
* fix(android): remove obsolete ClawHub acknowledgement retry

Remove the obsolete acknowledgement promise, request flag, and retry state from Android Skills settings. Preserve the exact Gateway source and reviewed version, install-only version omission, and authoritative warning and error presentation.

Related #131233 (ClawHub security-audit install contract).

* style(android): satisfy ClawHub Kotlin formatting
2026-08-28 13:14:31 -07:00
Peter Steinberger b98e0dfe4f fix(native): retire unsupported ClawHub acknowledgement retries (#131979) 2026-08-28 12:24:50 -07:00
Peter Steinberger 11301f4a61 fix(macos): avoid publishing retired CUA startup endpoints (#131905) 2026-08-28 12:10:09 -07:00
Peter Steinberger adf5c67382 test(exec): cover companion response loss without local replay (#131961)
* test(exec): characterize companion response loss without local replay

Exercise signed Unix socket requests, real native execution, and enforced routing after a lost response. Clarify that HOST=app already requires the companion; FALLBACK does not change current routing. This records the nullable transport ambiguity without changing production behavior.

* test(exec): stabilize transport proof fixtures

Use socket-owner readiness and awaited shutdown for the real native proof. Freeze the JSONL deadline instead of asserting wall-clock latency, and align fixture types with the existing test helpers.

* test(macos): observe native cancellation fixture readiness

Wait for registered PID-marker observation or a real native terminal response before injecting cancellation. Gate the sentinel delay on readiness and drain failure cleanup before removing fixture state. Cover slow admission, early native failures, and incomplete PID publication without changing production behavior.

* test(exec): register and validate native proof client
2026-08-28 11:53:45 -07:00
Peter Steinberger 6eb9ef2324 refactor(macos): simplify exec approval socket ownership (#131911) 2026-08-28 11:43:27 -07:00
openclaw-mantis[bot]andgithub-actions[bot] 97e3f84f3f chore(i18n): refresh native locales (#131987)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-28 18:17:21 +00:00
Patrick Erichsen 698cd0f465 test(ios): await Watch approval snapshot sends (#131496) 2026-08-28 10:01:56 -07:00
Vitor Cepeda LopesandPeter Steinberger 787e602e22 fix(macos): read current channel health state (#128176)
* fix(macos): read current channel health state

* chore(macos): update native i18n inventory

* test(macos): cover gateway health verdict projection

Preserve the original contributor implementation while adding decoder and visible state regressions for hosted RED verification of #128172 and #128176.

* test(macos): capture isolated channel health components

* test(macos): load platform testing frameworks in isolated renders

* test(macos): capture health components on an opaque light canvas

* test(macos): reproduce unlinked fallback candidate regression

Temporarily exercise the exact proposed health projection in a separate test module. Keep production unchanged until the two unlinked-account cases have produced their expected failures in hosted Swift CI.

* test(macos): scope candidate diagnostic dependency imports

* test(macos): prove disabled channel health eligibility

* fix(macos): project authoritative channel health

Use the Gateway health verdict for current channel snapshots, preserve
startup grace, and keep explicitly unlinked or disabled accounts from
appearing as healthy fallbacks. Preserve existing selection order and
show selected disabled channels neutrally.

Consolidate state and summary presentation, retain the observed regression
cases in the canonical suite, and remove the temporary diagnostic target.
Update the native health documentation. Fixes #128172; refs #128176.

Co-authored-by: Vitor Cepeda Lopes <vitor@vitorcepedalopes.com>

* style(macos): expand health state property body

Match the CI SwiftFormat rule without changing the canonical health
projection or regression cases. Refs #128176.

* test(ci): preserve Swift build and test failure evidence

Model the coverage-enabled build before the single skip-build test run.
Verify build failure stops tests and render attestation, isolate the fixture
output file, and retain the first-test failure retry trap in both modes.

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: Vitor Cepeda Lopes <vitor@vitorcepedalopes.com>
2026-08-28 09:41:29 -07:00
Peter Steinberger 95f9d86444 feat(macos): bring native chat layout and controls closer to web (#131849)
* fix(chat): make failed outbox messages immediately retryable

* feat(macos): bring native chat layout and controls closer to web

* fix(macos): refresh native chat localization inventory
2026-08-28 09:20:07 -07:00
Peter Steinberger f30ed1b427 fix(sandbox): revert Daytona cloud sandbox plugin (#131409)
* fix(sandbox): revert Daytona cloud sandbox plugin

Revert 3a5cb3847c in full, including its
plugin, documentation, catalog, dependency, and incidental test changes.

Keep the existing Daytona support through Crabbox. The separate sandbox
backend duplicates provider ownership and lacks the workspace-transfer
semantics needed for large managed repositories.

Reverts https://github.com/openclaw/openclaw/pull/121554

* test(macos): verify SIGPIPE suppression without reader races

Concurrent preforked children can retain a pipe reader after the local handle closes. Assert the owned kernel flag before and after the real helper instead, and defer both handle closes. Keep the worker broken-pipe behavior test unchanged.

* test(ui): capture safe config readback failure diagnostics

* fix(ui): preserve tooltip trigger accessible names

* test(browser): trace bootstrap navigation recovery

Add bounded, payload-free fixture observations for the Linux bootstrap CI timeout. Preserve the original action order, access controls, assertions and timeouts; no browser runtime behavior changes.

* fix(ui): refresh tooltip names on ARIA changes

Observe aria-hidden mutations under the active tooltip trigger so revealed labels replace injected hint names. Cover descendant and nested-subtree hide/reveal/hide transitions with real role/name interactions.

* fix(deps): retain reverted Tlon handler resolution

Restore the exact handler package and snapshot needed by the intentional Tlon rollback after main pruned its last other caller. Frozen install and production audit resolve the complete graph without changing versions or guards.
2026-08-28 08:31:09 -07:00
Peter Steinberger d65e712b28 feat(macos): enable native node session hosting (#131717)
* feat(macos): enable native node session hosting

Complete the app-owned node worker connection lifecycle and honor explicitly admitted Full access without bypassing node-local restrictions. Preserve one node identity, native capabilities, approval lifetime, and exact placement/turn authority.

* test(nodes): exercise canonical exec policy flows

* refactor(macos): remove obsolete node bridge serializer

* fix(nodes): bind Full authority to harness execution commands
2026-08-28 07:11:12 -07:00
Peter Steinberger 60dcc53827 chore(deps): refresh seven-day-cooled runtimes and tooling (#131719)
* chore(deps): refresh cooled runtimes and tooling

Refresh selections published strictly before 2026-08-21T02:01:28Z while preserving inherited dependency identities and existing policy.

* fix(build): keep meeting CLI metadata dependency-light

Keep Teams and Zoom metadata discovery out of the meeting runtime graph, preserve CLI descriptors and output modes, and remove the unused factory that has not shipped in a stable release. Import-boundary regressions fail before the repair; all 21 focused tests and normal metadata generation pass without changing render deadlines or concurrency.

Defer the OpenShell dependency bump until its separately owned host-gateway fixture repair is available. Retain the existing version and installer reference; do not ship a policy or test workaround.

* test(cli): type-check meeting metadata registrations

* test(plugins): sync CLI metadata snapshot mocks

Cover the config-wide snapshot and projection exports used by the current main runtime load context. The original fixture failed 19 of 25 tests after the progressive cache update (#131442); all 25 now pass on both main and this candidate without changing production behavior or assertions.
2026-08-28 06:38:50 -07:00
Peter Steinberger b03d2e79e9 fix(sessions): prevent participant misattribution in Activity (#130986)
* fix(sessions): preserve participant identity and input provenance

Keep profile, agent, remote, observed, and legacy identities distinct in the existing participant table. Record accepted input at admission, including steering, instead of inferring a person from the session creator. Preserve historical membership and counts while leaving ambiguous profile timestamps unknown through stopped-writer Doctor migration.

Project full visibility-filtered person membership before preview limits so Activity does not misattribute channel identities or omit people outside the facepile. Keep participant membership separate from authorization and expose raw-selector ambiguity to memory operators.

Repair Doctor readiness reporting, generic Swift inline-union generation, direct-dispatch metadata handling, and fixture-owned database lifetimes. Verify namespace collisions, real provider input, accepted steering, visibility, backup/migration/reopen boundaries, native decoding, and the built-CLI lifecycle.

Fixes #130661

* fix(macos): isolate readiness and discovery lifecycles

Keep readiness fixtures private for their entire lifetime and give health readiness one deadline owner. Start and cancel slow host discovery with active discovery, not model construction.

Make native protocol, callback, onboarding, and process-cleanup tests observe their intended lifecycle phases without expanding deadlines or weakening assertions. Correct the documented signing default.

Validated with 1,839 parallel native tests, the release product build, causal negative controls, pinned Swift lint/format checks, and fresh isolated autoreview. Native production delta: -5 lines.

* docs(macos): clarify app profile isolation boundaries

* build(protocol): refresh generated Swift install models

* fix(protocol): preserve optional literal field presence

* fix(ci): bound SDK declarations and isolate test lifecycles

Discover the current declaration source graph in a joined child before normal eager emission, and track its complete source-bearing cache inputs. Repair shared jsdom focus teardown and native worker fixture request ordering without changing UI focus ownership or execution fallback policy.

* test(sessions): prove Goal participant upgrade boundaries
2026-08-28 06:04:18 -07:00
Peter Steinberger 047470456f feat(control-ui): create and manage goals without slash commands (#131370)
* feat(control-ui): create and manage goals without slash commands

* fix(control-ui): keep goal composer contracts acyclic

* refactor(control-ui): tighten goal composer guidance

* fix(goals): admit fresh and completed local sessions

Create the first session with its Goal, input, run claim, and receipt in the existing transaction. Scope reply dispatch hooks consistently at admission and execution, and retain built-in runtime eligibility after completed turns. Preserve creator and lifecycle checks and cover the failures observed through the real Control UI flow.

* fix(ui): preserve button names during fade-in

* docs: defer Goal release notes to release generation
2026-08-28 04:31:48 -07:00
Peter Steinberger d6e1f019f0 fix(gateway/ui): record model auth unavailability reasons; gate composers only on actionable auth failures (#131697)
* fix(gateway): preserve model auth unavailability reasons

Record missing credentials, unusable auth, and cooldown separately from unknown availability. Carry native runtime auth facts and retry times through the additive models.list projection without changing protocol versions.

* fix(ui): gate composers only on actionable auth failures

Read producer availability reasons in chat and new-session gates. Preserve Model Setup for missing credentials, keep accurate rejection copy, and allow sending during cooldown or unknown availability. Keep unavailable picker options disabled.

* fix(gateway): distinguish permanent auth rejection from cooldown

Keep permanently rejected profiles and inline credentials actionable without a retry timestamp. Use only viable transient profiles for the earliest recovery time, preserving explicit profile retry behavior.

* test: isolate submit gates and native runtime availability fixtures

Extract the existing submit-gate suite and shared draft fixture to stay within the file-size limit. Supply registered CLI metadata through the existing test boundary so availability checks do not cold-load executable plugin setup code.

* chore(protocol): regenerate Swift gateway models for availability reasons

* test(gateway): expect availability reasons in models.list projections
2026-08-28 03:18:43 -07:00
Peter Steinberger de12e0a06c feat(approvals): standing-grant ledger, revocation, and configurable terms (#131602)
* feat(approvals): standing-grant ledger, revocation, and configurable terms

Completes the operator half of cron standing grants (#129526):

- Grants are listable and revocable. New gateway methods
  exec.approval.grants.list/revoke (operator.approvals scope), CLI
  'openclaw approvals grants list|revoke', and a Standing grants section
  on the Control UI approvals page with per-row revoke. Revocation is
  idempotent, records the acting client, and takes effect at the next
  occurrence's spawn boundary.
- Grant terms are frozen at mint and configurable. Default stays
  until-revoked (matching what shipped Always allow has always meant);
  tools.exec.grantExpiryDays sets a day-bounded default for future
  grants (enterprise fleet policy), and resolve surfaces may override
  per grant via grantExpiresInDays / --expires-in-days. Existing grants
  keep their minted terms; config changes are never retroactive.
- expires_at_ms goes nullable (NULL = until revoked). The mandatory-
  expiry shape never reached a release tag, so the lazy ensure rebuilds
  it in place; grants are re-derivable authority, so the fail-closed
  cost is one re-prompt.
- Approval cards say what Always allow does. Automation approvals carry
  a standing-grant ApprovalScope (new union member) built server-side
  from the cron run registry (now carrying the job display name); the
  Control UI inbox card and modal render it via i18n, e.g. 'Always
  allow runs this exact command for "grant-demo" without asking, for
  10 days (revocable)'.
- Aux method registries stay in lockstep: new parity test fails when a
  GATEWAY_AUX_METHODS entry lacks a lazy handler (this gap produced
  live unknown-method errors during bring-up).

Live-proven on a hermetic gateway: until-revoked grant ran 62 promptless
occurrences; UI and CLI revocation each returned the prompt on the next
occurrence; config default stamped exactly 10.0 days via a UI resolve;
--expires-in-days 99 override stamped 99.0 days; ledger and card
screenshots captured from the running Control UI.

* chore(ui): annotate the scope narrowing assertion for the safety ratchet

* test(gateway): move aux-method parity check to its own suite

* fix(ci): boundary-parse UI approval scope; register grants schemas for native codegen

- The Swift/Kotlin generators discover named schemas through the
  protocol schema fragments; the standing-grant scope member and the
  grants list/revoke shapes were missing there, which made the Swift
  generator silently drop the ApprovalScope union and broke ios-build.
  Registered, regenerated, union and new struct emitted again.
- The chained-assertion lane rejects 'as unknown as' in the UI scope
  parser; replaced with a real per-kind boundary parser, which is what
  the rule asks for.
- The sqlite-allow-raw marker must share the line of a mid-statement
  prepare() call for the Kysely guardrail; split the pragma read so the
  SAFETY comment and the allow marker each sit on their own guarded
  line.

* chore(ui): record startup-budget growth for the approvals scope line

The standing-grant scope renderer and grants-ledger strings ride the
boot path (~700 B gzip). Recorded via the check's --update-baseline flow
with the reason inline; well under the committed 350 KiB hard cap.

* fix(gateway): restore the channel-restart helper export dropped on main

#118157 made startGatewayChannelFromActiveRegistry module-local while
its colocated test still imports it, breaking check-test-types and the
compact shard on every merge ref. Smallest correct main heal per the
broken-CI doctrine; the test passes again.

* fix(gateway): drive channel-restart reload coverage through its exported owner

Replaces the prior export restore: #118157 made the restart helper
module-local (the dead-export scan is right that tests are not
production consumers), but left its colocated test importing it, so
main failed check-test-types either way. The test now exercises the
same preserveManualStop semantics through rollbackStoppedGatewayChannels,
the exported reload owner, and the helper stays private.

* test(ui): answer the grants ledger request in approvals-page history tests

The approvals page now loads the standing-grant ledger next to history;
a method-aware stub answers it out of band so the ordered history mocks
keep their call counts. Adds coverage for the ledger render and the
revoke round-trip.

* chore(ui): record CI-observed startup-JS baseline for the grants surface

The e2e-real-gateway lane builds the same tree ~600 B larger than checks-ui
and local builds, past the 64 B variance allowance; record the CI-observed
value so the enforcement limit stops straddling cross-lane build variance.

* fix(cli): escape standing-grant ledger fields visibly; register grants methods in inventory tests

The grant ledger's revokedBy (client display name), automation label, and
agent-authored command now go through escapeApprovalTextForTerminal like the
pending-approvals table, so hostile control characters render as visible
\u{...} escapes instead of being silently stripped by the table renderer.
Regression test fails pre-fix. Also lists exec.approval.grants.list/revoke
in the 2026.8 release-train roster, classifies the approvals grants command
group for JSON output, and fixes the stubGrants mock typing.
2026-08-28 02:56:20 -07:00
Peter Steinberger 3fb0ba15e9 fix(gateway): reduce memory pressure with large session histories (#131653)
* fix(gateway): reduce transcript memory pressure and preserve heap controls

Avoid overlapping raw SQLite rows and transcript serialization copies while
preserving complete fenced snapshots, provenance, callbacks, and reset hashes.
Scale managed Node Gateway budgets with host capacity, preserve operator heap
ownership, and keep service repair and macOS ownership aware of native flags.

* fix(daemon): preserve heap controls after named preloads
2026-08-28 02:28:34 -07:00
Peter Steinberger 9fd5cba00f fix(macos): stop companion commands when their caller is cancelled (#131650)
Bind native exec-host requests to their accepted socket and process lifetime so cancellation, disconnect, and app shutdown stop the owned command tree. Preserve normal half-close responses and existing approval policy. Fixes #131642.
2026-08-28 01:48:54 -07:00
Peter Steinberger ae8ae2e846 refactor(macos): reuse daily usage cost totals serialization (#131618) 2026-08-28 00:57:59 -07:00
Peter Steinberger 54a5358356 fix(ui): open worktree sessions before setup finishes (#131559)
* fix(ui): open worktree sessions before setup finishes

Admit the first turn before naming, checkout, and repository setup; show
startup progress and keep failures retryable in the same session. Reuse the
accepted-run workspace owner, fence cancellation and setup authority, and
block sibling work until the workspace is ready.

Fixes #124966 (immediate worktree sessions and setup progress).

* test(ui): retain project picker capability in startup fixture

* fix(worktrees): fence checkout retries after cancellation

* test: align native phases and title fallback with admitted startup
2026-08-27 23:13:38 -07:00
Jason (Json) 4c1c4a4ae8 fix(ios): show sidebar sessions on multi-agent gateways (#131356)
* fix(ios): scope sidebar sessions to selected agent

* fix(ios): fence session roster ownership

* fix(ios): partition cached sessions by agent

* refactor(chat): remove unused session list overload

* fix(macos): scope session rosters to selected agent

* test(ios): guard canonical activity roster owner

* fix(chat): fail closed for legacy scoped caches
2026-08-28 00:03:49 -06:00
Peter Steinberger 1fce0459e0 fix(ios): avoid duplicate Markdown work while replies stream (#131513)
Reuse the prepared input snapshot in the existing streaming-state transition. Retained native-view proof reduces preparation from two or three calls per changed input to one without changing the settled bitmap. Related: #124759; thanks @VirPoe for the report.
2026-08-27 22:03:54 -07:00
Taksh KothariandPeter Steinberger 5c8db67a3b fix(camera): preserve landscape output on external macOS webcams (#116046)
* fix(camera): preserve landscape output on external macOS webcams

After photo-session startup, replace an external camera's portrait format
only with an advertised exact landscape counterpart using the same media
subtype. Preserve built-in, Continuity, already-landscape, and unmatched
formats; keep maxWidth as output-only sizing.

Replace the shared iOS/macOS width-ranking proposal in PR #116046 with this
bounded macOS repair. Add format-contract regressions and document the
best-effort limit. Related: #113068; affected C310 confirmation is pending.

Co-authored-by: Taksh <takshkothari09@gmail.com>

* fix(macos): start connectivity after app admission

Keep passive dashboard, health, and menu reads from implicitly starting endpoint observation and control-channel recovery. AppDelegate already starts the coordinator explicitly after primary-app admission.

* fix(macos): keep Talk phase updates from activating recovery

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-08-27 20:30:38 -07:00
openclaw-mantis[bot]andgithub-actions[bot] 7a2e4eb074 chore(i18n): refresh native locales (#131438)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-28 02:57:48 +00:00
Jason (Json) 5c6d7c2622 fix(ios): complete QR pairing in one step (#131267)
* fix(ios): complete QR pairing in one step

* fix(ios): harden QR pairing lifecycle

* fix(ios): scope TLS bypass to setup codes

* fix(ios): preserve gateway i18n ownership
2026-08-27 20:17:44 -06:00
Peter Steinberger f9b086351a fix: Claude session discovery stalls on stale Desktop metadata (#131237)
* fix: speed up Claude session discovery and allow cold scans

* fix(macos): isolate readiness tests and own probe deadlines
2026-08-27 16:23:54 -07:00
Peter Steinberger fd7e9bbace fix(android): serialize legacy gateway discovery (#131001)
* fix(android): serialize legacy gateway discovery resolution

* chore(android): avoid parallel changelog insertion conflict
2026-08-27 10:26:19 -07:00
Peter Steinberger 1c761b712e fix(android): preserve settings keyboard insets (#130995) 2026-08-27 09:20:15 -07:00
Peter Steinberger 3aaf13ca84 feat(ui): show activity cards for online people (#130664)
* feat(ui): show activity cards for online people

Record live person timing independently of heartbeat freshness and expose keyboard- and touch-accessible cards with visible session links. Preserve continuous online intervals across overlapping tabs without adding persistent activity history.

Closes #130649

* build(protocol): refresh generated presence timing fields

* fix(gateway): scope presence snapshots to read-access operators

Apply one recipient projection to hello, system-presence, and events. Keep person timing and time-zone details behind read access, and filter watched references with the canonical session-list policy without leaking hidden counts. Preserve idle-person metadata for readers and prevent non-reader activity-driven frames.

* fix(plugins): preserve Gateway capability load context

Carry the owning registry's metadata generation, workspace, install records, and built-artifact preference through capability discovery. Preserve standalone source loading and existing speech eligibility while avoiding synchronous source transforms on cold Talk catalog requests.

Fixes #130777

* test: align integrated presence and capability coverage

Keep the recipient matrix in its timing-aware owner, close the suite-owned Gateway for shutdown proof, and spy on the canonical install-record reader. Remove the retired private carrier's assertion allowance.

* fix(gateway): broadcast presence when clients connect

Publish completed connection rows through the canonical scoped broadcaster so established readers see first connections and reconnects without waiting for profile edits or activity. Preserve shared online intervals and reset them only after the final socket closes.

* fix(ci): align presence fixtures and sidebar type ownership

Reuse the canonical sidebar host type to remove the type-only lazy-runtime cycle. Assert omitted scopes through hello auth and denied presence reads, and supply presence version callbacks in the shared WebSocket context fixture. Retain startup admission and drain assertions without changing deadlines.

* fix(ui): retain latest scroll commands until their destination

Do not treat the virtualizer's idle debounce or a decreasing offset as reader takeover. Settle at the actual DOM end within one pixel, retaining the separate eight-pixel UI-follow policy and explicit input cancellation. Cover retargeted idle delivery and near-end precision with the real dependency, synchronize pointer baseline capture, and type the existing composer snapshot as its textarea contract.

Fixes #130892
2026-08-27 08:07:22 -07:00
Peter Steinberger c767298465 fix(android): keep question answers when reading earlier messages (#130821)
* fix(android): retain question drafts with their pending prompt

* fix(android): scope screenshot questions to fixture runtimes
2026-08-27 04:25:54 -07:00
Peter Steinberger 2ea5bf79c0 fix(android): keep Talk's speaking indicator active during reply replacement (#130868)
* fix(android): retain Talk playback ownership through cleanup

Keep local request leases and realtime playback facts in one synchronous state owner. Preserve the underlying Talk status across temporary playback phases, retire stale cleanup, and keep reported failures visible until a new action.

* fix(android): scope Talk playback ownership to speaking state

Keep the canonical local playback lease and realtime speaking fact so retiring playback cannot clear an active replacement. Restore the existing independent status flow and retain all five speaking-state regressions; status and turn correlation remain separate follow-up work.
2026-08-27 03:30:28 -07:00
Peter Steinberger 0dbd5c81d5 feat(plugins): one consent screen for plugin capabilities, bound to the reviewed artifact (#130168)
* feat(plugins): surface plugin capability consent in Control UI and CLI

Adds plugins.inspect (declared manifest surface, operator grants, install
provenance/integrity, ClawHub trust), a Control UI consent dialog on install
and external-plugin enable, a server-side acceptance gate persisted on the
install record, artifact-anchored widen diffing, and --accept-capabilities
for non-interactive CLI use.

NOT READY TO LAND: autoreview found critical gaps (see PR notes) — the
declared surface omits 20 of 21 contract families, native plugins always
report zero hooks, several install/enable paths bypass the gate, and the
acknowledgment is not bound to the reviewed surface.

* refactor(plugins): bind capability consent to the reviewed surface

Collapses the consent error payload to the fields the client cannot fetch
(reviewToken, widened, acceptedAt) and pulls identity/declared/grants/source/
trust from plugins.inspect, shrinking the registry-free protocol reader from
395 to 91 lines and removing its divergence from the closed schema.

Acknowledgment now carries the SHA-256 reviewToken of the surface the operator
saw; the server recomputes the final staged artifact's surface and rejects any
mismatch before persisting acceptance. That closes review-then-swap, laundering
of forged acceptance through an unchanged update, and cross-artifact replay.

All 22 manifest contract families are now declared, hashed and diffed, so a
privileged family such as gatewayMethodDispatch can no longer be added without
re-consent. Consent reads the manifest runtime discovery will execute, ambiguous
install ownership fails closed, integrity resolution has one owner and no longer
labels npm SHA-1 shasums as SHA-256, and code plugins disclose that hooks
register at runtime instead of rendering an empty "no hooks" row.

* fix(gateway): register plugins.inspect in method inventories and regenerate protocol

Adds plugins.inspect to the advertised-method inventories (widening the
fixed-size slice windows so older indices stay stable), regenerates the Kotlin
protocol bindings, drops an unused exported type, and replaces two nested
conditional spreads with a plain conditional.

* refactor(plugins): split oversized consent modules and clear lint findings

Extracts the MCP controller out of the plugins page, unchanged-install
reconciliation out of update-installed, and the install lifecycle suite out of
the management-service tests, bringing all three back under the max-lines limit
without suppressions. Also renames a shadowed binding, drops an unnecessary
generic, removes a spread-to-modify in a map, and types catch callbacks as
unknown.

* chore(protocol): regenerate Kotlin bindings after rebase

* feat(plugins): let chat /plugins install review and accept capabilities

The consent gate applies to chat installs too, but the command had no way to
give consent, so external installs dead-ended on a CLI-only flag. Chat now
replies with the plugin's declared capability surface and the exact command to
rerun, and accepts a trailing --accept-capabilities mirroring the existing
--force acknowledgement. ClawHub trust acknowledgement stays CLI-only.

Staged-artifact verification is unchanged: the reviewToken is still checked
against the final artifact before acceptance is recorded.

* refactor(plugins): single-source the declared-surface groups and manifest precedence

The ordered capability group list was defined independently in the consent
engine, the protocol error reader, the CLI formatter and the Control UI, so a
new contract family had to be added in four places with nothing enforcing it.
All four now derive from one canonical list in the protocol schema with a
compile-time exhaustiveness guard.

Native-versus-bundle manifest precedence is centralized in one helper that both
discovery and staged consent call, so the two cannot drift again — that
divergence was a real bug where consent read one manifest and the runtime
executed another.

Also documents that carrying acceptance forward requires pinned artifact
integrity, so integrity-less sources such as local paths ask on every install.

* fix(plugins): enforce reviewed consent across activation flows

Route setup, repair, linked installs, updates, and chat activation through artifact-bound capability consent. Reuse canonical package discovery and recheck staged activation before config publication. Invalidate stale Control UI review requests on reconnect.

Verified focused owner and sibling tests, runtime rebuild, and real isolated CLI/Gateway install, inspect, enable, widening, and stale-token rejection flows.

* test(plugins): cover beta installs through capability consent

* test(plugins): align consent fixtures with staged artifacts

* fix(ui): review staged plugin capabilities once

* test(ui): inline the remaining plugin consent confirmation

* test(plugins): verify consent with deferred install transactions

* refactor(setup): share inference execution plan construction

* test(ui): settle applied config before deferring refresh

* fix(plugins): protect consent provenance and reuse acceptance
2026-08-27 02:58:07 -07:00
Peter Steinberger 7dbd87d160 test(android): drain runtime fixtures before sandbox teardown (#130861) 2026-08-27 02:49:47 -07:00