* 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.
* 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>
* 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>
* 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
* 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.
* 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
* 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
* 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>
* 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.
* 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.
* 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
* 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
* 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
* 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.
* 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
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.
* 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
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.
* 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>
* 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
* 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.
* 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