Skip to content

fix(agents): require human approval for actual permission changes - #158142

Closed
obviyus wants to merge 4 commits into
mainfrom
feat/owner-permission-floor
Closed

obviyus wants to merge 4 commits into
mainfrom
feat/owner-permission-floor

Conversation

@obviyus

@obviyus obviyus commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: Full Access delegated setup can change the rules governing agents and Gateway clients without an explicit human decision. At the same time, a path-only approval floor unnecessarily interrupts harmless edits merely because they sit beside permission settings.

Split out of #158120 so the setup-usability changes and this approval boundary can be reviewed independently. This refinement keeps the user in control without treating every nearby config write as self-escalation.

User Impact

Full Access applies ordinary delegated changes automatically. Approval depends on the actual validated before/after authority change, not just the config path:

  • Automatic: writing the same policy value; replacing a parent while preserving policy; changing operational exec timeouts, background/cleanup timing, highlighting, or notifications; unrelated model, memory/search, logging, and outgoing credential edits.
  • Human decision: actual tool/exec, sandbox/filesystem, channel conversation/sender admission and tool policy, owner/sender allowlist, approval, security, Workshop approval, or Gateway authorization changes (including browser origins, Host-header fallback and embed trust). This includes tightening and removals that change inherited policy, not only expansion. Inbound Gateway credentials and their configured reference dependencies affect who can authenticate and remain protected.
  • Invalid input: normal config validation errors, without creating an unnecessary approval request.

The existing approval card or /approve flow remains available. An authorized human can approve the less restrictive choice and it is applied; this is not a blanket refusal. Restricted sessions retain their existing approval behavior. The existing authorized-human contract is intentional: owners may designate channel approvers, including nonowners, and authorized approval clients retain their scoped/device-bound access. This introduces neither an owner-only restriction nor a broader reviewer set.

No new config option, config schema, or wire-protocol change. The boundary concerns delegated config operations; it is not a sandbox for an otherwise unrestricted host process.

Why This Change Was Made

The canonical config-set runner now exposes a host-only admission callback over validated before/after values. Proposal inspection uses that same parser, roster mapping, environment/topology preparation, and validator without committing a write. The permission comparison resolves known exec inheritance and sandbox/filesystem defaults while preserving meaningful explicit policy layers. Unresolved host exec defaults are not assumed to mean Full Access; this is not a universal privilege-ranking algorithm.

An automatically admitted operation carries the comparison into the actual write snapshot as well. A concurrent policy tightening cannot turn an earlier no-op decision into automatic restoration of old authority. Existing snapshot-conflict, live-run, cancellation, and human-approval checks remain in place.

Contributor: @obviyus. Follow-up commits preserve the verified co-author credits.

Work sessions

The original discussion session also contains the follow-up implementation and verification.

Evidence

Follow-up candidate 9f8790c53c6b78bf4afb513ed9f22215ed0495d4

The revision-3 review accepted the real reviewer-to-writer proof, but identified missing sender-admission and embed-trust settings. This follow-up repairs those comparisons rather than adding a blanket channel/config approval rule:

  • Channel policies and account overrides, explicit empty allowlists, conversation membership, supported user/role/bot admission, and canonical nested DM/group-DM settings are included. The comparison preserves the actual wildcard inheritance difference between Slack, Telegram, Discord and Matrix; ordinary prompt edits stay automatic when they preserve authority.
  • Browser embed sandbox/external-URL trust comes from the canonical UI bootstrap resolver. Explicit safe defaults, model-routing metadata and token-only setup remain automatic.
  • A real human approval still applies the requested trusted-embed or sender-allowlist change. No owner-only restriction, new credential approval, permission default change or new configuration flag was added.

The original omission was reproduced with ten failing real config-evaluation cases. Additional review findings were checked against actual owners and repaired with regression cases, including Matrix's admitted conflicting legacy/canonical fields and its shipped room alias. An unsupported Telegram topics.*.tools hypothesis was rejected by the strict schema and the real evaluator; no unsupported policy surface was invented.

Final frozen-candidate verification: 160 tests passed in 89.43s wrapper wall time across policy comparison (32), real canonical config evaluation/writing (69), and registered Gateway approval integration (59). The Gateway file took 67.90s. Core production and affected services/Gateway-method test type graphs passed, as did changed-file lint, formatting, assertion/line-cap/max-lines ratchets, runtime cycles and all 14,620 internal doc links. The completed independent staged-source review found no actionable P0/P1 defect. Commit creation preserved the exact validated tree. Earlier whole-core/extension checks below remain tied to their earlier revision; no fresh full repository suite or live/socket replay is claimed.

The existing Full Access default and unattended wait/expiry behavior are unchanged from the proposal. Maintainer acceptance of that release/upgrade tradeoff remains explicit; this code update does not fabricate that decision. The author's published direction remains trusting owners with keys and a separately reviewed small floor.

Earlier candidate and authority proof at 8fb5a6ac26821fe501cfc8470a928079239b1ef8

The comparison now covers validated channel group/direct/channel/room/guild/team tool policies and account overrides, meaningful empty overrides and Telegram direct-entry shadowing, subagent tool restrictions, and effective Control UI allowed origins (including gateway.publicOrigin inheritance) plus Host-header fallback. Ordinary prompts/display settings and policy-preserving writes remain automatic. Unsupported Telegram topic tools paths are rejected by the strict schema, not invented as a new policy surface.

The final composed-tree run passed 114 tests in 137.92s: permission comparison 20, canonical config validation 41, and registered Gateway approval integration 53. The Gateway file used 81.78s wall / 73.90s summed test time; its existing fixture is reused, without per-case Gateway process boots. The extension test facade exposes the real Telegram approval capability for the boundary proof.

Actual reviewer-to-config effects

The fixture uses production openclaw.chat and approval.resolve handlers, real Telegram authorization/custody resolution, the real approval manager and SQLite decision owner, and the canonical config writer. Inference and client identities are synthetic; this is in-process production-boundary proof, not live Telegram or socket-Gateway proof.

Case Durable approval Final config effect
Explicitly configured nonowner delegate Allowed Requested less restrictive Host-header-origin setting is saved
Unconfigured reviewer Remains pending Original config bytes unchanged
Delegate revoked after custody preparation, before decision consumption Remains pending Original config bytes unchanged
Revoked requesting run Cannot apply Original config bytes unchanged
No reachable approver, then cancellation Settles without approval Original config bytes unchanged

A valid consumed approval is distinct from an attempt made after reviewer revocation; this proof does not invent retroactive revocation semantics. Current requester liveness and write-time effect guards remain in force. Existing saved Full Access modes need no schema migration. An unattended protected proposal waits or expires/cancels rather than silently writing or granting itself authority.

Reviewer-authority disposition

Configured approval delegation is existing documented behavior, not a new privilege grant: docs/tools/exec-approvals-advanced.md defines operator.approvals as deliberately granted remote-execution-grade authority and explicitly permits configured channel approvers who are not command owners. extensions/telegram/src/exec-approvals.ts resolves explicit approvers before the owner fallback. approval-channel-custody.ts and approval.ts recheck current actor/account custody and decision authority. The title/docs therefore say authorized human, not owner-only. The positive delegate and negative unauthorized/revoked cases prove that boundary without taking authority away from user-configured delegates.

Fresh staged-tree automated review completed; one reported group-wildcard finding was independently disproven against the registered production resolver. Telegram groups resolve through resolveTelegramGroupToolPolicy → resolveScopeToolsPolicy, which retains wildcard tools for a prompt-only exact entry. Actual resolver execution returned identical deny: [exec] policy before/after and requiresApproval: false. Telegram direct-entry selection differs and is separately protected. Adding the proposed group restriction would unnecessarily gate an operational edit.

The current-main conflict was resolved by merging pinned c817021248a9 without rewriting published ancestry. Core production, all 25 core test type graphs, extension production/test types, changed core/extension lint, formatting, docs links/baseline, doctor-contract guards, dead exports, import cycles and remaining selected guards passed. Broader checks found fixture-only type/import/manager-constructor issues and an unbound spy assertion; these were fixed against the real contracts without suppressions or weaker assertions. The Gateway file was replayed after the constructor fix (53 passed, 80.81s wrapper), and the five reviewer cases were replayed after the spy-handle fix (5 passed, 48 deliberately filtered, 21.53s wrapper), with affected type graphs rechecked. Successful earlier stages were retained; failed aggregate commands are not presented as green full-wrapper runs. The only changes after independent semantic review were those fixture-contract corrections. The committed tree was verified equal to the validated staged tree.

Socket-QA limitation

An isolated QA Gateway started, but its synthetic local QA-bus poll received a non-JSON host-proxy response, and mock-provider calls saw connection resets. Proxy controls were not bypassed; task-owned processes and temporary Gateway state were cleaned up. The expanded socket scenario is present but has no passing socket-QA receipt. The production-boundary matrix above is completed substitute evidence; no full repository test run or live channel replay is claimed.

Original-revision channel evidence

The following Telegram Test Server evidence belongs to the initial 23e0666d1165 revision (Convex-leased userbot, isolated Gateway, QA mock provider, Full Access owner). The live channel scenario has not been rerun for the effect-based refinement.

Screenshot
Full Access approvals.exec.enabled change waits for the owner Native approval card: OpenClaw change requires approval, set config approvals.exec.enabled to true, Allow Once and Deny
After Allow Once Card edited to OpenClaw change approved and applied

This remains a draft. Earlier screenshots are historical evidence, not a claim of current-head live-channel execution.


View the OpenClaw team session

@clawsweeper

clawsweeper Bot commented Sep 25, 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 docs Improvements or additions to documentation gateway Gateway runtime agents Agent runtime and tooling extensions: qa-lab size: M labels Sep 25, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. 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. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 25, 2026
@clawsweeper

clawsweeper Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 26, 2026, 1:14 AM ET / 05:14 UTC (Revision 4).

ClawSweeper review

What this changes

The branch compares validated configuration before and after a delegated change, requires human approval when permission authority changes, rechecks automatic writes, and adds documentation and approval tests.

Merge readiness

⛔ Blocked before merge - 4 items remain

The current head addresses both findings from the previous review, and current main still automatically applies Full Access delegated changes. No concrete new patch defect emerged. The intentional change to existing Full Access workflows needs an explicit maintainer upgrade decision.

Priority: P1
Reviewed head: 9f8790c53c6b78bf4afb513ed9f22215ed0495d4
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The branch has strong boundary coverage and no supported code finding, while the upgrade choice and current-head Telegram demonstration remain open.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The branch routes validated delegated config changes through production Gateway approval handlers and the canonical writer. The PR records configured-delegate success and unchanged config for unauthorized, revoked, and cancelled decisions, with current-head focused cases for sender admission and embed trust. Client identities are synthetic; current-head Telegram Test Server coverage remains a separate visible-channel gap. No stored-data model changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The branch routes validated delegated config changes through production Gateway approval handlers and the canonical writer. The PR records configured-delegate success and unchanged config for unauthorized, revoked, and cancelled decisions, with current-head focused cases for sender admission and embed trust. Client identities are synthetic; current-head Telegram Test Server coverage remains a separate visible-channel gap. No stored-data model changes.
Evidence reviewed 9 items Current-main behavior: Current main applies every fresh Full Access delegated proposal automatically, including config writes, so the central approval floor is still absent.
Current-head admission: The proposed Gateway path evaluates config changes before choosing automatic application and carries a policy check into that application.
Final write boundary: The canonical config runner validates the candidate and invokes admission against its write snapshot before persistence.
Findings None None.
Security None None.

How this fits together

A regular agent can delegate a configuration request to OpenClaw's system agent. The Gateway decides whether to apply it automatically or request approval, and the config writer saves an authorized change.

flowchart LR
A[Delegated config request] --> B[Canonical config evaluation]
B --> C[Permission comparison]
C --> D[Automatic or human approval]
D --> E[Final write check]
E --> F[Saved config or no change]
Loading

Decision needed

Question Recommendation
Should existing Full Access users now wait for human approval on permission-changing delegated requests, including unattended requests that expire without a reachable approver? Accept the approval floor: Keep the proposed default and explicitly accept the documented wait and expiry behavior for existing Full Access setups.

Why: This intentionally changes an established automatic workflow. The related owner-trust comment endorses a small floor but does not settle the unattended upgrade case.

Before merge

  • Resolve merge risk (P1) - After upgrade, a previously automatic Full Access permission-change request can wait until expiry when no approver is reachable. The related owner-trust decision does not explicitly accept that operator impact.
  • Resolve merge risk (P1) - The current-head approval-card behavior has no passing Telegram Test Server receipt; the posted screenshots show an earlier implementation, and the new socket QA scenario has no passing receipt.
  • Complete next step (P2) - Record the maintainer decision on Full Access upgrade behavior and obtain current-head Telegram Test Server proof of the approval round trip before merge.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Source +528, Tests +1092, Docs +55, Other +156. Total +1831 across 20 files.

View PR surface stats
Area Files Added Removed Net
Source 13 554 26 +528
Tests 4 1096 4 +1092
Docs 2 59 4 +55
Config 0 0 0 0
Generated 0 0 0 0
Other 1 156 0 +156
Total 20 1865 34 +1831

Review metrics

Metric Value Why it matters
Code and proof growth production +551/-26 lines; tests and QA +1255/-4 lines The authority projection adds substantial production code, with broader boundary coverage as its stated justification.
Focused validation 160 reported cases; 89.43 s wrapper wall The Gateway approval suite is costly, so its real reviewer-to-writer coverage matters to the merge decision.

Merge-risk options

Maintainer options:

  1. Accept and prove the floor (recommended)
    A decision owner accepts the Full Access wait behavior, then current-head Telegram proof confirms the visible approval path.
  2. Keep automatic upgrades
    Add an explicit strict setting while preserving the existing Full Access default, with coverage for both modes.

Technical review

Best possible solution:

Keep the effect-based gate and final-write recheck, obtain explicit acceptance of the Full Access upgrade behavior, and demonstrate the current approval round trip on Telegram's Test Server.

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

Yes, current-main source shows the Full Access branch applying delegated config proposals automatically, and the branch includes focused cases for the changed boundary. This read-only review did not execute a current-main reproduction.

Is this the best way to solve the issue?

Yes, comparing validated effects and rechecking the final write snapshot is a focused way to distinguish authority changes from harmless neighboring edits. Acceptance of the changed default remains a product choice.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The branch routes validated delegated config changes through production Gateway approval handlers and the canonical writer. The PR records configured-delegate success and unchanged config for unauthorized, revoked, and cancelled decisions, with current-head focused cases for sender admission and embed trust. Client identities are synthetic; current-head Telegram Test Server coverage remains a separate visible-channel gap. No stored-data model changes.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: The branch addresses delegated changes to agent and Gateway authority, a consequential active workflow.
  • merge-risk: 🚨 compatibility: Existing Full Access requests that changed permission settings automatically may now wait or expire.
  • merge-risk: 🚨 security-boundary: The new comparison decides whether a delegated authority change reaches the config writer without human approval.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The branch routes validated delegated config changes through production Gateway approval handlers and the canonical writer. The PR records configured-delegate success and unchanged config for unauthorized, revoked, and cancelled decisions, with current-head focused cases for sender admission and embed trust. Client identities are synthetic; current-head Telegram Test Server coverage remains a separate visible-channel gap. No stored-data model changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The branch routes validated delegated config changes through production Gateway approval handlers and the canonical writer. The PR records configured-delegate success and unchanged config for unauthorized, revoked, and cancelled decisions, with current-head focused cases for sender admission and embed trust. Client identities are synthetic; current-head Telegram Test Server coverage remains a separate visible-channel gap. No stored-data model changes.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. The change determines whether a Telegram chat receives an approval request for a delegated permission change.

Evidence

What I checked:

Likely related people:

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

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Capture a current-head Telegram Test Server approval request, authorized decision, and final saved setting.
  • Record explicit maintainer acceptance of the unattended Full Access upgrade behavior.

Rating scale

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

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

Workflow

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

History

Review history (3 earlier review cycles)
  • reviewed 2026-09-25T14:06:16.832Z sha 23e0666 :: needs real behavior proof before merge. :: [P1] Guard the Gateway IP-fallback authorization setting | [P1] Bind protected approvals to the selected owner authority
  • reviewed 2026-09-25T17:08:36.476Z sha 83ecbfb :: needs real behavior proof before merge. :: [P1] Include channel tool restrictions in the permission comparison | [P1] Guard Gateway browser-origin authorization settings | [P1] Bind protected decisions to the chosen owner authority
  • reviewed 2026-09-26T03:38:39.086Z sha 8fb5a6a :: blocked before merge. :: [P1] Gate channel sender admission changes | [P1] Protect Control UI embed trust changes

Compare canonical validated config effects instead of path proximity. Keep no-op and operational edits automatic, reserve real authority changes for human decisions, and recheck automatic admission against the final write snapshot.

Co-authored-by: obviyus <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added cli CLI command changes size: L and removed size: M labels Sep 25, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 25, 2026
Complete the effect-based approval comparison for channel tool policies, subagent tools, and effective browser origins. Preserve intentionally configured human delegates and prove allowed, unauthorized, revoked, and unattended final config effects. Merge pinned main c817021 to resolve the existing conflict without rewriting published ancestry.

Co-authored-by: obviyus <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added channel: telegram Channel integration: telegram size: XL and removed size: L labels Sep 26, 2026
@roboclaw-bot roboclaw-bot changed the title fix(agents): hold Full Access permission-policy changes for the owner fix(agents): require human approval for actual permission changes Sep 26, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

Updated head: 8fb5a6ac26821fe501cfc8470a928079239b1ef8. The main conflict is resolved without rewriting the published branch.

The missing channel tool-policy and browser-origin comparisons are implemented, including account overrides, meaningful empty overrides, Telegram direct-entry shadowing, effective public-origin inheritance, and subagent tool policy. No-op, operational, and policy-preserving writes remain automatic.

The reviewer-authority contract is intentionally the existing authorized-human contract, not a new owner-only restriction. Owners can designate nonowner approvers; operator.approvals is documented as remote-execution-grade authority. The title/docs/body now say this accurately. New production-boundary tests use real Telegram custody, Gateway handlers, the durable approval manager and canonical config writer: configured delegate succeeds and writes; unauthorized/revoked delegate fails with unchanged config; revoked requester and unattended cancellation have no final effect. Inference and connection identities are synthetic.

The PR body includes the exact final-effect matrix, source-contract references and measured results: 114 selected cases; a 53-case Gateway replay and a final five-case reviewer replay after fixture-contract corrections; core/all core-test and extension type graphs, changed lint and remaining selected guards passed. The isolated socket-QA attempt was blocked by the host proxy; it is not claimed as completed or live Telegram proof. The completed production-handler evidence is distinguished explicitly.

A local review’s group-wildcard hypothesis was checked against the registered group resolver and disproven: a prompt-only exact group retains the wildcard deny list. Direct-message selection differs and is protected. Adding that group gate would unnecessarily restrict ordinary edits.

Please assess the current code and evidence. This is review-only, not a merge request.

@clawsweeper

clawsweeper Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed the rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. label Sep 26, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Sep 26, 2026
Include sender and conversation admission, account inheritance, canonical nested DM policies, and browser embed privileges in the existing human-decision floor. Preserve channel-specific wildcard semantics, legacy Matrix room admission, automatic token setup and operational edits. Prove approved risky choices still reach the real config writer.

Co-authored-by: obviyus <[email protected]>
Co-authored-by: fuller-stack-dev <[email protected]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

New head: 9f8790c53c6b78bf4afb513ed9f22215ed0495d4. The revision-3 sender-admission and browser-embed omissions are repaired. The updated body records the scope, authority effects and exact-head evidence.

Final frozen candidate: 160 focused cases passed (89.43s), relevant type/lint/format/ratchet/cycle/docs checks passed, and completed independent P0/P1 review found no actionable defect. Account inheritance, conversation membership, real wildcard-selection differences, canonical nested/group-DM policies and shipped Matrix compatibility were checked against their actual owners. Strict Telegram topic-tool rejection is retained rather than inventing unsupported settings.

Token-only setup, model-routing metadata and authority-preserving operational edits remain automatic. A valid human approval still applies the requested less restrictive setting, and intentionally configured nonowner approvers retain their authority. The proposed Full Access default is unchanged; release acceptance is not fabricated. No new live/socket proof or full repository test run is claimed.

Please assess this current revision; no merge or manual rating-label change is requested.

@clawsweeper

clawsweeper Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 26, 2026
obviyus added a commit that referenced this pull request Sep 26, 2026
…agent in chat (#158120)

## What Problem This Solves

Fixes: owners who ask their agent in chat to change a key, a config value, or one of their own skills get refused, sent to a dashboard, or told to file a Workshop proposal. Examples: "you can't post API keys here", switching the embeddings provider routed to the web-search wizard, only proposals for handwritten skills.

## User Impact

An owner can hand the agent an API key or token in chat, ask it to change config such as the embeddings provider, and have it edit skills they own. Session permission modes are unchanged: Full Access applies, restricted sessions ask.

- **Keys from chat.** Masked setup flows still keep keys out of model context and remain the default. If the user already pasted a key or token, the agent stores it in the shared secret store and points the config key at it with a `store` SecretRef instead of refusing. It never echoes the value back. The pasted message already reached the model provider and transcript; redaction covers later logs and output only, and the docs say so.
- **Existing store entries are never touched.** Each save inserts a new entry named after the config key plus a random suffix (`GATEWAY_REMOTE_TOKEN_9B139B5E231299BC`). Nothing is overwritten, revived, or deleted, and a new name can never match anything already pointing into the store, including a stale reference to a removed and purged entry. Replacing a key leaves its previous entry for `openclaw secrets store rm`. Rotating a key keeps its configured store provider alias, and the audit records the alias actually used.
- **Embeddings.** The agent now treats the memory embeddings provider, model, and key as `memory.search.*` config, not the web-search setup wizard.
- **Skills.** When the user asks, the agent edits skills they own directly: repository skill source, workspace `skills/`, project `.agents/skills/`, and configured extra skill directories. Bundled, ClawHub-installed, and plugin-provided skills are replaced by their owners' updates. For those, the agent says so and offers to capture the change as a Workshop skill.
- **Tone.** The "never request / paste credentials in chat" lines are gone from the `openclaw` tools and system-agent prompts. "Never echo secret values" stays, and so do factual pointers for flows that genuinely need a UI: channel sign-in, provider OAuth/accounts, and model onboarding.

No config option, schema, or protocol change. The Full Access permission-policy floor from the first revision moved to #158142 for its own security review.

## Why This Change Was Made

After #149870, approved config writes may target any path. What still blocked owners was model-facing text telling the agent to refuse credentials, plus the missing ability to store a chat-provided value anywhere but plaintext config.

`config_set_ref` gains an optional `secret` argument (read without trimming; only emptiness is checked). With it, the system agent:

1. registers the value for redaction when the proposal is built;
2. keeps the key's existing store provider alias when it has one;
3. sends one `secrets.writeForConfigRef` command to the SQLite state worker with the requester's live-authority guard. The host re-checks that guard at the worker's transaction and commit admission (`createSqliteWorkerWriteAdmission`), so a run stopped while the command is queued writes nothing. The transaction inserts a new row under a freshly minted `NAME_<16 random hex>`;
4. writes the ref through the existing config writer, which re-checks authority. If that write fails (before or after the writer commits), OpenClaw rereads the config and the error says the key was saved as `<NAME>` and whether the config key points at it. There is no automatic delete: another consumer may have linked the fresh entry, or the writer may have committed before failing;
5. the normal config reload picks up the new ref, since its id always changes.

Nothing new runs SQLite on the Gateway main thread.

<details>
<summary>Out of scope / follow-ups</summary>

- Found while proving this: in Full Access, after a delegated change applies, the next agent turn in the same chat fails with `SQLite database already belongs to another worker backend`. It reproduces on unmodified `origin/main` (`71bb516`) with a `logging.level` change followed by one more message. This PR does not fix it.
- Built-in provider sign-in and model onboarding stay handoffs; they own live verification of the active inference route.
- Other secret-store set/delete paths remain synchronous migration debt, as `worker-access.md` already records.

</details>

## Evidence

Real Telegram Test Server (Convex-leased userbot, fresh Gateway, QA mock provider, Full Access, tester is owner), first revision:

| | Screenshot |
|---|---|
| Token given in chat, applied with no approval prompt and no refusal (synthetic QA token) | ![User sends a remote Gateway token and asks to save it; the agent replies without refusing or asking for approval](https://github.com/user-attachments/assets/4f68f3db-225c-4047-984d-ed0cff79cd0c) |

### Final effects at this head

qa-channel scenario `system-agent-owner-trust` passes through a real Gateway and state worker. The Gateway is seeded with an unrelated `GATEWAY_REMOTE_TOKEN` entry, then:

1. A command-allowed **non-owner** (`bob`) sends the key. The `openclaw` tool is owner-only.
2. The **owner** (`alice`, Full Access) sends it.

Captured step details (redacted by the Gateway; the store ref id prints as `__OPENCLAW_REDACTED__`):

```json
{
  "nonOwnerEntryNames": ["GATEWAY_REMOTE_TOKEN"],
  "storedRef": { "source": "store", "provider": "default", "id": "__OPENCLAW_REDACTED__" },
  "storeEntryNames": ["GATEWAY_REMOTE_TOKEN", "GATEWAY_REMOTE_TOKEN_9B139B5E231299BC"]
}
```

- After the non-owner turn: only the seeded entry exists and `gateway.remote.token` is unset.
- After the owner turn: `gateway.remote.token` is a `store` SecretRef, the token is in its own minted entry (`GATEWAY_REMOTE_TOKEN_9B139B5E231299BC`), and the seeded entry's `updatedAt`/`updatedBy` are unchanged. No approval prompt was posted, and the token is absent from chat, config, and the store listing.

**Revoked request**, through the production worker (Node main thread, real broker, `writeSecretStoreEntryForConfigRef`). The requester's guard passes the caller's check, then reports the run stopped:

```text
seeded: [ 'GATEWAY_REMOTE_TOKEN (cli)' ]
revoked request rejected: requesting run is no longer active
after revoked request: [ 'GATEWAY_REMOTE_TOKEN (cli)' ]
owner request saved as: GATEWAY_REMOTE_TOKEN_F1657B971F691824
after owner request: [ 'GATEWAY_REMOTE_TOKEN (cli)', 'GATEWAY_REMOTE_TOKEN_F1657B971F691824 (openclaw)' ]
seeded value intact: true
```

Tests (each fails without the behavior it covers):
- production worker path (`secret-store-config-ref.worker.test.ts`, forked database-worker lane with the real broker): a chat secret gets its own minted entry beside a live `GATEWAY_REMOTE_TOKEN` without touching it; a requester revoked after the caller's check writes nothing;
- store kernel: a refusal at commit admission rolls the transaction back; each save mints a new `NAME_<hex>` and leaves the key's previous entry unchanged; a stale name whose entry was removed and purged still resolves to nothing after a chat save;
- operations: stored and referenced with no value in output or audit; authority gone before the store write writes nothing; a failed config write names the saved entry and leaves it in place; rotating a key keeps its configured store provider alias, and the audit records it;
- tool: proposes a store write without repeating the key, preserving leading and trailing whitespace.

Measured single-worker wall time per new or materially changed test file at this head (`node scripts/run-vitest.mjs run <file>`, local M-series; vitest Duration includes import and setup):

| File | Tests | Wall | Vitest duration |
|---|---:|---:|---:|
| `src/secrets/store/secret-store-config-ref.worker.test.ts` (new, database-worker lane) | 2 | 14 s | 2.05 s |
| `src/secrets/store/secret-store.test.ts` | 32 | 16 s | 13.37 s |
| `src/system-agent/operations.test.ts` | 43 | 18 s | 15.30 s |
| `src/agents/tools/system-agent-tool.test.ts` | 36 | 15 s | 12.89 s |

QA scenarios: `system-agent-owner-trust` (mock-openai) runs in about 27 s after build; `skill-owner-direct-edit-live` is live-frontier only and took about 3 min with `claude-cli/claude-sonnet-4-6`.

Wording pins for the removed lecture text were deleted. The focused store, worker, exclusivity, operations, tool, approval, and delegate suites pass. `node scripts/check-changed.mjs` passes every gate except core lint, which fails only on three files this PR does not touch (`server-chat-metadata-lifecycle.integration.test.ts`, `session-companion-ask.ts`, `app-sidebar-session-list-render.ts` over `max-lines` on the base); oxlint on the changed files is clean.

Security decision: a Full Access owner's pasted key goes to the Gateway-wide team store without a separate approval. Maintainer (@obviyus) accepted this in the PR conversation.

**Rotation with a second consumer**, through the production worker (Node main thread, real broker). A second consumer references the key's first entry before the next save lands; value fingerprints only:

```text
owner saves key #1 -> MODELS_PROVIDERS_OPENAI_API_KEY_6D96F6E92B59E935 (sha256:4a5c5a4aa8de)
second consumer now references MODELS_PROVIDERS_OPENAI_API_KEY_6D96F6E92B59E935 (e.g. linked while the next save is queued)
owner saves key #2 -> MODELS_PROVIDERS_OPENAI_API_KEY_4066F18ABAAE6903 (sha256:28bc4e3fe10d)
second consumer's entry MODELS_PROVIDERS_OPENAI_API_KEY_6D96F6E92B59E935 after rotation: sha256:4a5c5a4aa8de
unchanged: true
```

**Config write fails after the save, with a second consumer on the fresh entry**, through the production worker and the system-agent apply path (fingerprints only):

```text
owner result: Saved the secret as GATEWAY_REMOTE_TOKEN_6B68C031E571F81C, but could not point gateway.remote.token at it: config write failed after commit (rollbackStatus: not-restored). Retry, or remove the entry with `openclaw secrets store rm GATEWAY_REMOTE_TOKEN_6B68C031E571F81C`.
config gateway.remote.token: null
second consumer's entry GATEWAY_REMOTE_TOKEN_6B68C031E571F81C: sha256:09ae5b4fd36b
second consumer keeps the credential: true
```

**Stale reference to a removed and purged entry**, production worker for purge and save:

```text
purged rows: 1
stale ref GATEWAY_REMOTE_TOKEN after purge: SECRET_STORE_NOT_FOUND
chat save -> GATEWAY_REMOTE_TOKEN_8F698B5396990ADD resolves (value hidden)
stale ref GATEWAY_REMOTE_TOKEN after chat save: SECRET_STORE_NOT_FOUND
```

**Owned-skill edit with a live model.** New scenario `skill-owner-direct-edit-live` (live-frontier; run with `claude-cli/claude-sonnet-4-6`, subscription auth) passes at this head. It seeds workspace skill `qa-owner-greeting` replying `OWNER-GREETING-V1`, and the owner asks in plain words: "Please change my qa-owner-greeting skill so it replies OWNER-GREETING-V2 instead of OWNER-GREETING-V1." Captured result:

Skill file after the turn:

```markdown
---
name: qa-owner-greeting
description: Greets the owner with a fixed marker
---
When the user asks for the owner greeting, reply with exactly: OWNER-GREETING-V2
```

Agent reply: "Let me find the skill file. Done. The `qa-owner-greeting` skill now replies `OWNER-GREETING-V2` instead of `OWNER-GREETING-V1`."

The model edited the skill file in place and confirmed it; it did not refuse or file a Workshop proposal.

Co-authored-by: Ayaan Zaidi <[email protected]>
@obviyus

obviyus commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator Author

Closing. A Full Access agent can already change its config through shell and file tools, so gating only the openclaw tool path adds friction for owners without stopping a capable agent. Delegated changes stay audited. The path list and tests remain on feat/owner-permission-floor if a sandboxed Full Access setup ever needs a real floor.

@obviyus obviyus closed this Sep 26, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
…agent in chat (openclaw#158120)

## What Problem This Solves

Fixes: owners who ask their agent in chat to change a key, a config value, or one of their own skills get refused, sent to a dashboard, or told to file a Workshop proposal. Examples: "you can't post API keys here", switching the embeddings provider routed to the web-search wizard, only proposals for handwritten skills.

## User Impact

An owner can hand the agent an API key or token in chat, ask it to change config such as the embeddings provider, and have it edit skills they own. Session permission modes are unchanged: Full Access applies, restricted sessions ask.

- **Keys from chat.** Masked setup flows still keep keys out of model context and remain the default. If the user already pasted a key or token, the agent stores it in the shared secret store and points the config key at it with a `store` SecretRef instead of refusing. It never echoes the value back. The pasted message already reached the model provider and transcript; redaction covers later logs and output only, and the docs say so.
- **Existing store entries are never touched.** Each save inserts a new entry named after the config key plus a random suffix (`GATEWAY_REMOTE_TOKEN_9B139B5E231299BC`). Nothing is overwritten, revived, or deleted, and a new name can never match anything already pointing into the store, including a stale reference to a removed and purged entry. Replacing a key leaves its previous entry for `openclaw secrets store rm`. Rotating a key keeps its configured store provider alias, and the audit records the alias actually used.
- **Embeddings.** The agent now treats the memory embeddings provider, model, and key as `memory.search.*` config, not the web-search setup wizard.
- **Skills.** When the user asks, the agent edits skills they own directly: repository skill source, workspace `skills/`, project `.agents/skills/`, and configured extra skill directories. Bundled, ClawHub-installed, and plugin-provided skills are replaced by their owners' updates. For those, the agent says so and offers to capture the change as a Workshop skill.
- **Tone.** The "never request / paste credentials in chat" lines are gone from the `openclaw` tools and system-agent prompts. "Never echo secret values" stays, and so do factual pointers for flows that genuinely need a UI: channel sign-in, provider OAuth/accounts, and model onboarding.

No config option, schema, or protocol change. The Full Access permission-policy floor from the first revision moved to openclaw#158142 for its own security review.

## Why This Change Was Made

After openclaw#149870, approved config writes may target any path. What still blocked owners was model-facing text telling the agent to refuse credentials, plus the missing ability to store a chat-provided value anywhere but plaintext config.

`config_set_ref` gains an optional `secret` argument (read without trimming; only emptiness is checked). With it, the system agent:

1. registers the value for redaction when the proposal is built;
2. keeps the key's existing store provider alias when it has one;
3. sends one `secrets.writeForConfigRef` command to the SQLite state worker with the requester's live-authority guard. The host re-checks that guard at the worker's transaction and commit admission (`createSqliteWorkerWriteAdmission`), so a run stopped while the command is queued writes nothing. The transaction inserts a new row under a freshly minted `NAME_<16 random hex>`;
4. writes the ref through the existing config writer, which re-checks authority. If that write fails (before or after the writer commits), OpenClaw rereads the config and the error says the key was saved as `<NAME>` and whether the config key points at it. There is no automatic delete: another consumer may have linked the fresh entry, or the writer may have committed before failing;
5. the normal config reload picks up the new ref, since its id always changes.

Nothing new runs SQLite on the Gateway main thread.

<details>
<summary>Out of scope / follow-ups</summary>

- Found while proving this: in Full Access, after a delegated change applies, the next agent turn in the same chat fails with `SQLite database already belongs to another worker backend`. It reproduces on unmodified `origin/main` (`e51d576`) with a `logging.level` change followed by one more message. This PR does not fix it.
- Built-in provider sign-in and model onboarding stay handoffs; they own live verification of the active inference route.
- Other secret-store set/delete paths remain synchronous migration debt, as `worker-access.md` already records.

</details>

## Evidence

Real Telegram Test Server (Convex-leased userbot, fresh Gateway, QA mock provider, Full Access, tester is owner), first revision:

| | Screenshot |
|---|---|
| Token given in chat, applied with no approval prompt and no refusal (synthetic QA token) | ![User sends a remote Gateway token and asks to save it; the agent replies without refusing or asking for approval](https://github.com/user-attachments/assets/4f68f3db-225c-4047-984d-ed0cff79cd0c) |

### Final effects at this head

qa-channel scenario `system-agent-owner-trust` passes through a real Gateway and state worker. The Gateway is seeded with an unrelated `GATEWAY_REMOTE_TOKEN` entry, then:

1. A command-allowed **non-owner** (`bob`) sends the key. The `openclaw` tool is owner-only.
2. The **owner** (`alice`, Full Access) sends it.

Captured step details (redacted by the Gateway; the store ref id prints as `__OPENCLAW_REDACTED__`):

```json
{
  "nonOwnerEntryNames": ["GATEWAY_REMOTE_TOKEN"],
  "storedRef": { "source": "store", "provider": "default", "id": "__OPENCLAW_REDACTED__" },
  "storeEntryNames": ["GATEWAY_REMOTE_TOKEN", "GATEWAY_REMOTE_TOKEN_9B139B5E231299BC"]
}
```

- After the non-owner turn: only the seeded entry exists and `gateway.remote.token` is unset.
- After the owner turn: `gateway.remote.token` is a `store` SecretRef, the token is in its own minted entry (`GATEWAY_REMOTE_TOKEN_9B139B5E231299BC`), and the seeded entry's `updatedAt`/`updatedBy` are unchanged. No approval prompt was posted, and the token is absent from chat, config, and the store listing.

**Revoked request**, through the production worker (Node main thread, real broker, `writeSecretStoreEntryForConfigRef`). The requester's guard passes the caller's check, then reports the run stopped:

```text
seeded: [ 'GATEWAY_REMOTE_TOKEN (cli)' ]
revoked request rejected: requesting run is no longer active
after revoked request: [ 'GATEWAY_REMOTE_TOKEN (cli)' ]
owner request saved as: GATEWAY_REMOTE_TOKEN_F1657B971F691824
after owner request: [ 'GATEWAY_REMOTE_TOKEN (cli)', 'GATEWAY_REMOTE_TOKEN_F1657B971F691824 (openclaw)' ]
seeded value intact: true
```

Tests (each fails without the behavior it covers):
- production worker path (`secret-store-config-ref.worker.test.ts`, forked database-worker lane with the real broker): a chat secret gets its own minted entry beside a live `GATEWAY_REMOTE_TOKEN` without touching it; a requester revoked after the caller's check writes nothing;
- store kernel: a refusal at commit admission rolls the transaction back; each save mints a new `NAME_<hex>` and leaves the key's previous entry unchanged; a stale name whose entry was removed and purged still resolves to nothing after a chat save;
- operations: stored and referenced with no value in output or audit; authority gone before the store write writes nothing; a failed config write names the saved entry and leaves it in place; rotating a key keeps its configured store provider alias, and the audit records it;
- tool: proposes a store write without repeating the key, preserving leading and trailing whitespace.

Measured single-worker wall time per new or materially changed test file at this head (`node scripts/run-vitest.mjs run <file>`, local M-series; vitest Duration includes import and setup):

| File | Tests | Wall | Vitest duration |
|---|---:|---:|---:|
| `src/secrets/store/secret-store-config-ref.worker.test.ts` (new, database-worker lane) | 2 | 14 s | 2.05 s |
| `src/secrets/store/secret-store.test.ts` | 32 | 16 s | 13.37 s |
| `src/system-agent/operations.test.ts` | 43 | 18 s | 15.30 s |
| `src/agents/tools/system-agent-tool.test.ts` | 36 | 15 s | 12.89 s |

QA scenarios: `system-agent-owner-trust` (mock-openai) runs in about 27 s after build; `skill-owner-direct-edit-live` is live-frontier only and took about 3 min with `claude-cli/claude-sonnet-4-6`.

Wording pins for the removed lecture text were deleted. The focused store, worker, exclusivity, operations, tool, approval, and delegate suites pass. `node scripts/check-changed.mjs` passes every gate except core lint, which fails only on three files this PR does not touch (`server-chat-metadata-lifecycle.integration.test.ts`, `session-companion-ask.ts`, `app-sidebar-session-list-render.ts` over `max-lines` on the base); oxlint on the changed files is clean.

Security decision: a Full Access owner's pasted key goes to the Gateway-wide team store without a separate approval. Maintainer (@obviyus) accepted this in the PR conversation.

**Rotation with a second consumer**, through the production worker (Node main thread, real broker). A second consumer references the key's first entry before the next save lands; value fingerprints only:

```text
owner saves key #1 -> MODELS_PROVIDERS_OPENAI_API_KEY_6D96F6E92B59E935 (sha256:4a5c5a4aa8de)
second consumer now references MODELS_PROVIDERS_OPENAI_API_KEY_6D96F6E92B59E935 (e.g. linked while the next save is queued)
owner saves key #2 -> MODELS_PROVIDERS_OPENAI_API_KEY_4066F18ABAAE6903 (sha256:28bc4e3fe10d)
second consumer's entry MODELS_PROVIDERS_OPENAI_API_KEY_6D96F6E92B59E935 after rotation: sha256:4a5c5a4aa8de
unchanged: true
```

**Config write fails after the save, with a second consumer on the fresh entry**, through the production worker and the system-agent apply path (fingerprints only):

```text
owner result: Saved the secret as GATEWAY_REMOTE_TOKEN_6B68C031E571F81C, but could not point gateway.remote.token at it: config write failed after commit (rollbackStatus: not-restored). Retry, or remove the entry with `openclaw secrets store rm GATEWAY_REMOTE_TOKEN_6B68C031E571F81C`.
config gateway.remote.token: null
second consumer's entry GATEWAY_REMOTE_TOKEN_6B68C031E571F81C: sha256:09ae5b4fd36b
second consumer keeps the credential: true
```

**Stale reference to a removed and purged entry**, production worker for purge and save:

```text
purged rows: 1
stale ref GATEWAY_REMOTE_TOKEN after purge: SECRET_STORE_NOT_FOUND
chat save -> GATEWAY_REMOTE_TOKEN_8F698B5396990ADD resolves (value hidden)
stale ref GATEWAY_REMOTE_TOKEN after chat save: SECRET_STORE_NOT_FOUND
```

**Owned-skill edit with a live model.** New scenario `skill-owner-direct-edit-live` (live-frontier; run with `claude-cli/claude-sonnet-4-6`, subscription auth) passes at this head. It seeds workspace skill `qa-owner-greeting` replying `OWNER-GREETING-V1`, and the owner asks in plain words: "Please change my qa-owner-greeting skill so it replies OWNER-GREETING-V2 instead of OWNER-GREETING-V1." Captured result:

Skill file after the turn:

```markdown
---
name: qa-owner-greeting
description: Greets the owner with a fixed marker
---
When the user asks for the owner greeting, reply with exactly: OWNER-GREETING-V2
```

Agent reply: "Let me find the skill file. Done. The `qa-owner-greeting` skill now replies `OWNER-GREETING-V2` instead of `OWNER-GREETING-V1`."

The model edited the skill file in place and confirmed it; it did not refuse or file a Workshop proposal.

Co-authored-by: Ayaan Zaidi <[email protected]>
@RomneyDa
RomneyDa deleted the feat/owner-permission-floor branch October 22, 2026 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: telegram Channel integration: telegram cli CLI command changes docs Improvements or additions to documentation extensions: qa-lab 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. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants