Skip to content

fix(gateway): match verified users in command allowlists - #144601

Merged
obviyus merged 41 commits into
openclaw:mainfrom
JamesY023:lane/oc-command-owner
Sep 11, 2026
Merged

obviyus merged 41 commits into
openclaw:mainfrom
JamesY023:lane/oc-command-owner

Conversation

@JamesY023

@JamesY023 JamesY023 commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where Control UI users could be denied commands even when their verified profile was explicitly listed in the command allowlists.

Why This Change Was Made

Match the profile established by verified login while keeping its command authority bound to the current connection. Shared owner attribution and synthetic callers do not gain that human authority. Preserve existing non-UI application-ID allowlists, including cli, and retain the original connection through Talk's client copy.

User Impact

Operators can allow a verified Gateway user by profile ID without breaking existing CLI allowlists or granting owner commands to a lower-scoped fallback profile.

Evidence

  • Reproduced on pinned main 6fb8b2e4b77d: real proxy login, served Control UI, exact profile policy, and /debug show reached command authorization and was denied. The original driver's terminal-event timeout is retained; completed denial was independently verified from Gateway diagnostics and public session history.
  • Tested runtime 9333b49fd18b: real UI shows Debug overrides: (none) for the matching human and denial for a different human. Fresh source-blind validation independently repeated the public UI and protocol controls.
  • Real signed-device controls reject fallback-owner attribution, the shipped synthetic suggestion flow, read-only callers, and commands after actual role or device-token revocation. Existing stored cli policies work before and after the repair; the same human's UI cannot borrow cli.
  • 171 focused tests passed: 99 Talk cases in their original order and 72 Gateway identity/ingress/injection and command-owner cases. This includes invalidation of the original client after Talk copies it. Formatting, syntax lint, native commit hook, docs checks and applicable ratchets passed. Full type and CI checks run on GitHub.
  • Test-only CI corrections supply a required assertion context, retain public-field checks around the private context carrier, and release the new test’s own voice binding. The complete Talk file and native checks pass; production, dependency and product-fixture inputs remain identical to the tested runtime.
  • All live proof used isolated synthetic state and harmless commands, with no model inference or external delivery. Source review covers queued/Talk/injection/session/audit preservation; no live voice or audit-persistence claim is made.

A pre-existing UI activity indicator can remain active after a settled command; the correct reply is visible and a normal reload clears the indicator. That observation and all fixture failures remain recorded separately from command authorization.

@clawsweeper

clawsweeper Bot commented Sep 11, 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.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: S labels Sep 11, 2026
@JamesY023
JamesY023 marked this pull request as ready for review September 11, 2026 02:58
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 11, 2026
@clawsweeper

clawsweeper Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed September 10, 2026, 11:04 PM ET / September 11, 2026, 03:04 UTC.

ClawSweeper review

What this changes

Uses connection profile IDs for Gateway command allowlists, excludes synthetic callers from sender attribution, and adds identity and command-authorization regression tests.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 10 items remain

The reported mismatch remains on current main and v2026.9.3, so this PR remains useful. The patch needs authorization and compatibility repairs, plus real Gateway proof, before merge.

Priority: P2
Reviewed head: b17522e13c7a3246b3c0a60a683fb2d4246dc836

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The focused repair and regression tests are useful, but authorization and upgrade defects remain and runtime proof is absent.
Proof confidence 🦪 silver shellfish (2/6) Needs real behavior proof before merge: Authority-chain proof required: supplied tests inject profiles into chat preparation and evaluate authorization, but do not exercise authenticated connection admission or command effects. Show a real Gateway accepting the intended verified profile and rejecting another profile, a lower-scoped fallback-owner connection, synthetic callers, and revoked authority before effects. Include fresh and existing-allowlist behavior. Redacted terminal output or logs are suitable; screenshots or recordings help when they show the result. Remove credentials, IP addresses, and private endpoints. Updating the PR body should trigger review; otherwise ask a maintainer for @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦪 silver shellfish (2/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: Authority-chain proof required: supplied tests inject profiles into chat preparation and evaluate authorization, but do not exercise authenticated connection admission or command effects. Show a real Gateway accepting the intended verified profile and rejecting another profile, a lower-scoped fallback-owner connection, synthetic callers, and revoked authority before effects. Include fresh and existing-allowlist behavior. Redacted terminal output or logs are suitable; screenshots or recordings help when they show the result. Remove credentials, IP addresses, and private endpoints. Updating the PR body should trigger review; otherwise ask a maintainer for @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 9 items Introduced change: The verified merge-base-to-head delta changes only the sender projection and its two test files; unrelated endpoint drift is excluded from this review.
Current-main necessity: Fetched main still omits sender identity for operator UI clients and otherwise uses client application metadata.
Released compatibility baseline: v2026.9.3 contains the same application-ID projection, establishing that existing non-UI command allowlists can depend on those IDs.
Findings 2 actionable findings [P1] Exclude attribution-only owner profiles from command authority
[P1] Handle existing application-ID allowlists during the transition
Security Needs attention Fallback owner attribution becomes command authorization: A lower-scoped paired UI client can receive the same fallback owner profile as other operator connections and newly match ownerAllowFrom, reaching owner-only effects such as enabled runtime debug overrides.

How this fits together

Gateway chat ingress translates authenticated connections into sender context consumed by command authorization. The same projection also feeds Talk consults, affecting which callers match command and owner allowlists.

flowchart LR
  A[Authenticated connection] --> B[Connection profile]
  B --> C[Sender identity projection]
  D[Synthetic caller check] --> C
  C --> E[Command and owner allowlists]
  E --> F[Execute or reject command]
  C --> G[Talk consult context]
Loading

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: Authority-chain proof required: supplied tests inject profiles into chat preparation and evaluate authorization, but do not exercise authenticated connection admission or command effects. Show a real Gateway accepting the intended verified profile and rejecting another profile, a lower-scoped fallback-owner connection, synthetic callers, and revoked authority before effects. Include fresh and existing-allowlist behavior. Redacted terminal output or logs are suitable; screenshots or recordings help when they show the result. Remove credentials, IP addresses, and private endpoints. Updating the PR body should trigger review; otherwise ask a maintainer for @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Exclude attribution-only owner profiles from command authority (P1) - authenticatedUserProfile is not exclusively a verified human identity. With no configured roles, a non-ephemeral device-token operator without a verified login receives the shared owner profile through shouldUseGatewayOwnerProfile and resolveGatewayConnectUserProfile. If that profile is in commands.ownerAllowFrom, this change makes a write-only Control UI connection an owner. For example, with commands.debug enabled, /debug set reaches runtime config mutation through the owner-only gate without an admin-scope check. Previously this UI connection had no sender ID and failed ownership. Distinguish verified identity from fallback attribution before projecting command authority.
  • Handle existing application-ID allowlists during the transition (P1) - For an identity-authenticated non-UI client, an existing configuration such as commands.allowFrom: { "*": ["cli"] } passes on v2026.9.3 but fails after this change: the only sender candidate becomes the profile ID. The profileless fallback does not preserve this existing setup, and admin scope does not bypass an explicit command allowlist. Provide a narrow compatibility or migration path with upgrade coverage instead of silently invalidating stored allowlists.
  • Resolve security concern: Fallback owner attribution becomes command authorization - A lower-scoped paired UI client can receive the same fallback owner profile as other operator connections and newly match ownerAllowFrom, reaching owner-only effects such as enabled runtime debug overrides.
  • Resolve merge risk (P1) - Connection profiles include a shared attribution-only owner identity; treating every profile as verified command authority can grant owner-only effects to a lower-scoped paired client.
  • Resolve merge risk (P1) - Existing application-ID allowlists can stop matching authenticated non-UI clients after upgrade; no compatibility transition or upgrade proof is supplied.
  • Complete next step (P2) - Repair the profile-authority and allowlist-upgrade findings, then supply real Gateway evidence covering allowed and forbidden callers before merge.
  • Improve patch quality - Separate verified human identity from fallback owner attribution and demonstrate rejection before owner-only effects.
  • Improve patch quality - Add an explicit compatibility transition and regression coverage for existing application-ID allowlists.
  • Improve patch quality - Provide redacted after-fix Gateway evidence for permitted, forbidden, and revoked callers.

Findings

  • [P1] Exclude attribution-only owner profiles from command authority — src/gateway/server-methods/gateway-client-identity.ts:71-73
  • [P1] Handle existing application-ID allowlists during the transition — src/gateway/server-methods/gateway-client-identity.ts:80-82
  • [high] Fallback owner attribution becomes command authorization — src/gateway/server-methods/gateway-client-identity.ts:73
Agent review details

Security

Needs attention: The patch can turn a shared attribution profile into owner-command authority; no dependency or supply-chain changes are present.

PR surface

Source +5, Tests +95. Total +100 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 1 12 7 +5
Tests 2 96 1 +95
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 108 8 +100

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Repair identity admission and upgrade handling (recommended)
    Distinguish verified human profiles from fallback attribution, retain scope restrictions, and validate existing allowlists alongside the new profile behavior.
  2. Pause the authority expansion
    Hold the PR until the connection-identity owner can establish a safe profile-to-command authorization contract.

Technical review

Best possible solution:

Project only authority-backed human identity, preserve Gateway scope boundaries, and provide an explicit, tested transition for existing application-ID allowlists.

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

Yes, source establishes the original mismatch: an allowlisted profile is absent from Control UI sender context on current main. The introduced authorization and compatibility cases are also source-traceable; no runtime tests were executed during this read-only review.

Is this the best way to solve the issue?

No, the existing projection is the right repair location, but profile presence alone does not establish verified human authority, and replacing shipped application IDs needs upgrade handling.

Full review comments:

  • [P1] Exclude attribution-only owner profiles from command authority — src/gateway/server-methods/gateway-client-identity.ts:71-73
    authenticatedUserProfile is not exclusively a verified human identity. With no configured roles, a non-ephemeral device-token operator without a verified login receives the shared owner profile through shouldUseGatewayOwnerProfile and resolveGatewayConnectUserProfile. If that profile is in commands.ownerAllowFrom, this change makes a write-only Control UI connection an owner. For example, with commands.debug enabled, /debug set reaches runtime config mutation through the owner-only gate without an admin-scope check. Previously this UI connection had no sender ID and failed ownership. Distinguish verified identity from fallback attribution before projecting command authority.
    Confidence: 0.91
  • [P1] Handle existing application-ID allowlists during the transition — src/gateway/server-methods/gateway-client-identity.ts:80-82
    For an identity-authenticated non-UI client, an existing configuration such as commands.allowFrom: { "*": ["cli"] } passes on v2026.9.3 but fails after this change: the only sender candidate becomes the profile ID. The profileless fallback does not preserve this existing setup, and admin scope does not bypass an explicit command allowlist. Provide a narrow compatibility or migration path with upgrade coverage instead of silently invalidating stored allowlists.
    Confidence: 0.96

Overall correctness: patch is incorrect
Overall confidence: 0.91

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded command-allowlist repair with no demonstrated urgent production outage.
  • merge-risk: 🚨 security-boundary: The patch promotes connection profile attribution into owner-command authority, including profiles assigned without verified human identity.
  • merge-risk: 🚨 compatibility: Profile-bearing non-UI clients cease matching existing application-ID command allowlists.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: Authority-chain proof required: supplied tests inject profiles into chat preparation and evaluate authorization, but do not exercise authenticated connection admission or command effects. Show a real Gateway accepting the intended verified profile and rejecting another profile, a lower-scoped fallback-owner connection, synthetic callers, and revoked authority before effects. Include fresh and existing-allowlist behavior. Redacted terminal output or logs are suitable; screenshots or recordings help when they show the result. Remove credentials, IP addresses, and private endpoints. Updating the PR body should trigger review; otherwise ask a maintainer for @clawsweeper re-review. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Security concerns:

  • [high] Fallback owner attribution becomes command authorization — src/gateway/server-methods/gateway-client-identity.ts:73
    A lower-scoped paired UI client can receive the same fallback owner profile as other operator connections and newly match ownerAllowFrom, reaching owner-only effects such as enabled runtime debug overrides.
    Confidence: 0.91

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

Patrick-Erichsen and others added 18 commits September 10, 2026 20:17
* fix(ui): load plugin catalog home from one snapshot

* fix(ui): preserve bounded plugin catalog browsing

* fix(ui): reconcile plugin catalog continuation

* fix(ui): align plugin overview lifecycle tests

* test(ui): satisfy plugin overview lint rules
Observe the accessible status, visible plugin row, expected text, and exact count together so the post-mutation reconnect cannot invalidate a separate count assertion.
… (openclaw#144599)

## What Problem This Solves

Fixes an issue where Gateway startup fails after plugin auto-enable when a bundled provider has credentials or settings but no custom `models` array. This addresses an operator report of a regression introduced by openclaw#143837.

The reported provider-level `enabled` keys are not accepted by the current schema. The valid credentials-only form reproduces the crash when startup automatically enables a configured channel.

## Why This Change Was Made

The catalog composition owner now maps custom rows only when they exist. Existing merge logic keeps inherited catalog rows and routes, and the provider loop still applies current request credentials and headers. No schema or configuration keys change.

## User Impact

Operators can start the Gateway with provider settings that omit custom models, including when a channel is automatically enabled. Bundled models remain available to catalog browsing.

## Evidence

- Pinned main `a48c47a09c86`: real isolated Gateway startup exits 1 with `TypeError: Cannot read properties of undefined (reading 'map')` at `ModelRegistry.loadModels`, introduced in openclaw#143837.
- Both new regression tests fail on the original code at that same call. The composition test verifies inherited rows, routes, token limits, and current credentials/headers. The Gateway test waits for full startup and then requests public readiness.
- Fixed code passes 61 focused tests across catalog composition, the model-catalog sibling, the Gateway catalog-startup suite, and the neighboring WebSocket contract.
- Real CLI proof: Gateway reaches readiness; explicit catalog refresh exposes 10 bundled OpenAI models; the following list without refresh retains those rows. Credential status reports the synthetic sources. Fake keys leave models unavailable and provider discovery incomplete; no successful upstream authentication is claimed.
- The exact reported `enabled` shape remains rejected before startup on both revisions. The channel token is synthetic, and channel connections are disabled; this is startup proof, not message-delivery proof.
- Changed-file formatter, lint, line-count and assertion checks pass. Typechecks and full suites run in GitHub CI.

Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…aw#133421)

* feat(line): let a LINE tap answer the question an agent asked

* refactor(line): share the reply-then-push path both LINE handlers use

* docs(line): describe the native ask_user controls and their four-control bound

* fix(line): let an ask_user notification say what is being asked

* fix(line): answer a question tap that did not resolve the question

* docs(line): correct what the native question controls do

* test(line): type the question resolver double from the resolver it stands in for

* fix(line): open the composer when the ask_user free-text control is tapped

* fix(line): fall back to text when two options share a truncated control label

* docs(line): describe the question controls LINE actually draws

* fix(line): leave the ask_user free-text route to the words the card already carries

* docs(line): say why the free-text control is not drawn

* docs(line): keep the reason for omitting the control inside what LINE decides

* docs(line): give the omitted control a reason that does not depend on a runtime

* fix(line): name the omitted free-text control on every question card

* style(line): reflow the question-card fixture reader

* fix(line): defer question gateway runtime until postback resolution

* fix(line): render question controls only for direct chats

* fix(line): recheck access before recording question answers

* fix(line): preserve question text for button-only presentations

* fix(line): recheck question notice access for every send attempt

* test(line): await webhook registration through the public API

---------

Co-authored-by: Patrick Erichsen <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ions (openclaw#143501)

* fix(sandbox): authorize canonical destinations before pinned fs mutations

* fix(sandbox): separate policy namespace from pinned mutation targets

* fix(sandbox): satisfy lint, deadcode, and test-type gates on pinned frames

* test(sandbox): prove canonical authorization through RPC

* test(sandbox): prove legacy bridge upgrade compatibility

* fix(sandbox): reject canonical descendant copies

* test(sandbox): cover legacy bridge mutation contracts
* feat(plugins): expand product category taxonomy

* docs(plugins): define single-purpose category selection

* feat(plugins): add agent runtimes category

* perf(ui): defer plugin category icons

* test(ui): wait for the requested plugin catalog filter

* test(ui): select first full plugin catalog page

* style(test): format plugin category fixture
…penclaw#142760)

* feat(plugins): reclassify bundled plugin manifests

* feat(plugins): assign one purpose category per bundled plugin

* feat(plugins): classify native agent execution runtimes
…#142798)

* fix(gateway): serve plugin marketplace document route

* fix(gateway): serve generated plugin catalog detail routes
Display the Gateway’s inferred extended-stable channel on Settings > Updates when update policy is absent. Derive the option list and automatic-update eligibility from that same channel while preserving authored and drafted choices.

Verified with matched synthetic installed packages, real Gateway/browser red-green, configuration-write observations, focused control tests, independent acceptance and exact-head CI.

Co-authored-by: Ayaan Zaidi <[email protected]>
…tion (openclaw#140989)

## What Problem This Solves

Fixes an issue where `openclaw backup create` failed before producing an archive when state contained AppleDouble metadata named `._cron.sqlite`.

## Why This Change Was Made

Exclude signature-confirmed `._*.sqlite` metadata after the existing state/agent inventory checks. The probe uses the existing safe file opener and closes its descriptor after every read outcome. Real databases and hardlink aliases retain verified snapshots, compaction, and canonical sanitization.

## User Impact

Backups can include state copied from macOS without treating AppleDouble metadata as a database. Ordinary workspace files remain included, and corrupt SQLite databases still stop backup creation.

## Evidence

- Pinned-main public `backup create --verify --json` failed actual SQLite validation for a 163-byte metadata fixture and produced no archive.
- Independent candidate public create and separate verify passed. Extracted archives exclude state/agent metadata, retain workspace metadata and ordinary files, and preserve real same-name databases and canonical aliases with their ownership and sanitization.
- 63 distinct focused backup and verifier cases passed, including real hardlinks, canonical WAL data, corruption, inventory scope, replacement symlinks, and descriptor cleanup.
- Native formatting, lint, source guards, and the normal commit hook passed. Independent source review is clean.

The exploratory generic hardlink/live-WAL case failed identically on pinned main and the candidate; it remains tracked separately in openclaw#144585. The passing canonical and closed-generic controls do not turn that existing failure into a pass.

Proof uses synthetic files on Linux; it does not claim a macOS filesystem test. All four contributor commits are retained.

Closes openclaw#140193.

Co-authored-by: Ayaan Zaidi <[email protected]>
…openclaw#144313)

* refactor(test): centralize worker declaration metadata

Replay the reviewed first tooling layer on the current frozen main base. Keep package activation declarations reserved for the later owning layers; preserve the inherited main build graph and test coverage.

* test: stabilize auth discovery and onboarding checks

Pair synthetic OAuth refresh with capability discovery. Retain the Android test synchronization landed upstream in commit 1237e64. No production code or timeout changes.

* test: isolate yielded session reset runtime

* test: align isolated Gateway inventory assertions

* fix(ui): let plain tooltips yield pointer actions

* test: preserve loose objects in Git corruption fixtures

* fix: keep tooltips lean and metadata snapshots refreezable

* test(android): pin approval reconciliation handler entry

---------

Co-authored-by: Jason (Json) <[email protected]>
@obviyus

obviyus commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

landpr-approve-unrelated-red
pr: 144601
head: efbeabe
run: 34570425450 attempt: 1
failed: checks-node-changed-extensions-config-49 job=103171296397 conclusion=failure
check: openclaw/ci-gate

@obviyus

obviyus commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Thanks @JamesY023!

Proof: A verified, explicitly allowlisted user receives the expected /debug show reply through the served Control UI. Different users, fallback-owner attribution, the real synthetic suggestion flow, and revoked callers remain denied. Existing stored cli allowlists still work, and UI callers cannot borrow that identity.

  • Bug: Verified user profiles were absent from command matching. The initial proposal also risked granting fallback-owner authority and breaking existing application-ID policies.
  • Fix: Supply the current verified profile to the existing matcher, preserve application identities, and retain the original connection authority through Talk copies.
  • Validation: 171 focused cases, independent public UI/protocol acceptance, and a fresh exact-head ClawSweeper review passed. CI found a missing assertion context and two Talk test-boundary defects; those are corrected, and all 99 Talk cases pass in their original order. Hosted test types and the Talk shard also passed. The complete CI run has one separately diagnosed memory test failure, handled through the guarded exception below.
Before After
Explicitly allowlisted verified UI user was denied The same command succeeds for the intended human
Existing cli policy worked It still works; UI, fallback and synthetic callers gain no borrowed identity

The pre-existing UI activity indicator can remain after a settled command; a normal reload clears it. Live voice and full release-package upgrade coverage are not claimed. All runtime proof used isolated synthetic state with no inference or external delivery.

Unrelated CI exception: Run 34570425450, attempt 1 completed with 141 successful jobs, 16 skipped jobs, and the memory shard plus its dependent aggregate failing. The sole test failure is manager-temporal-ranking.test.ts:156, where the “FTS unavailable” fixture receives available: true.

The tested merge 2d67a2304141 inherits this from main parent 0cc49ef4aee1. PR #144641, commit 2575d0d63565, replaced the unconditional write with row-count comparison and conditional rebuild. That change was authored by @jinliyl and committed by GitHub. A view selecting all canonical rows has equal counts, so initialization avoids the invalid view write and reports full-text search available. This happens before any Gateway command or Talk path. The relevant memory, fixture, SDK, and dependency sources are unchanged by this PR.

No separate main-only failing job is claimed; the causal evidence is the actual tested merge, its main-parent source, the introducing diff, and the complete failed execution path. The memory issue remains a separate follow-up. The merge used the exact-head standing approval through the normal guarded dry run and merge. Earlier attributable Talk failures were corrected, not exempted.

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: android App: android app: macos App: macos app: web-ui App: web-ui channel: a2a channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: line Channel integration: line channel: matrix Channel integration: matrix channel: qa-channel Channel integration: qa-channel channel: reef Channel integration: reef channel: slack Channel integration: slack channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalouser Channel integration: zalouser cli CLI command changes commands Command implementations docs Improvements or additions to documentation extensions: acpx extensions: admin-http-rpc extensions: amazon-bedrock extensions: anthropic extensions: browser extensions: byteplus extensions: canvas extensions: clickclack extensions: codex extensions: comfy extensions: copilot extensions: crabbox extensions: deepgram extensions: deepinfra extensions: device-pair extensions: diagnostics-otel Extension: diagnostics-otel extensions: diagnostics-prometheus extensions: diffs extensions: document-extract extensions: elevenlabs extensions: fal extensions: firecrawl extensions: github-copilot extensions: google extensions: groq extensions: litellm extensions: llama-cpp extensions: llm-task Extension: llm-task extensions: lmstudio extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb extensions: memory-wiki extensions: microsoft-foundry extensions: minimax extensions: mistral extensions: moonshot extensions: oc-path extensions: ollama extensions: onepassword 1Password plugin extensions: openai extensions: opencode extensions: opencode-go extensions: policy extensions: qa-lab extensions: qwen extensions: senseaudio extensions: talk-voice extensions: tavily extensions: together extensions: tokenjuice Changes to the bundled tokenjuice extension extensions: vault Extension: vault extensions: volcengine extensions: vydra extensions: web-readability extensions: webhooks extensions: xiaomi gateway Gateway runtime 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. P2 Normal backlog priority with limited blast radius. plugin: beam Beam session sharing plugin plugin: bonjour Plugin integration: bonjour plugin: cua-computer plugin: file-transfer plugin: geolocation Geolocation plugin (IP to coarse city) plugin: google-meet plugin: imap plugin: linux-node plugin: logbook Logbook automatic work journal plugin plugin: migrate-claude plugin: migrate-hermes plugin: mxc plugin: team-reports plugin: teams-meetings Teams Meetings plugin plugin: visitor-access plugin: workboard plugin: zoom Zoom plugin rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.