Skip to content

fix(media): honor explicit read policies for reply attachments - #184964

Merged
eleqtrizit merged 1 commit into
openclaw:mainfrom
eleqtrizit:1136
Oct 26, 2026
Merged

eleqtrizit merged 1 commit into
openclaw:mainfrom
eleqtrizit:1136

Conversation

@eleqtrizit

@eleqtrizit eleqtrizit commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Apply explicit global and per-agent file-read policy before granting outbound media access to workspace files. Reuse the existing denied-reader path, preserving managed generated media and normal attachment delivery alongside the earlier sender-policy and channel-owned Markdown work.

What Problem This Solves

What this Problem Solves — Fixes workspace files being attached in final replies even when the operator has explicitly excluded file reads. The affected admission decision is in src/media/read-capability.ts; reply staging and loading consume the roots it grants.

What was wrong

  1. src/media/read-capability.ts checked group and sender read rules when selecting workspace roots, but omitted explicit global and agent read policies.
  2. src/auto-reply/reply/reply-media-paths.ts and src/media/web-media.ts could therefore stage workspace bytes through the ordinary attachment loader despite those restrictions.

The fix makes the existing media-access owner apply the missing policies before any workspace access is granted.

User Impact

Explicit read denials and allow lists excluding read now also restrict workspace attachments. Operators intentionally using a restrictive allow list must include read when workspace-file attachment access is intended. Managed generated artifacts, read-enabled workspace-only workflows, messaging profiles alone, and remote media keep their existing behavior. No new configuration keys, defaults, migrations, or SDK signatures are introduced.

Why This Change Was Made

  • Intersect canonical global and agent policies with existing group and sender rules at the shared media-access owner.
  • Narrow both roots and readers on denial, rather than relying on absence of a custom reader.
  • Preserve the established managed-artifact path and channel-owned media features.

Why this does not conflict with related PRs

PR Governed layer Relation to this change
#125950 Sender-scoped read admission and managed-artifact preservation Extend the same denied-reader behavior to explicit configured global and agent policies.
#72718 Channel-owned Markdown extraction Leave extraction and remote-media behavior unchanged.

The current base retains these behaviors. Historical merge commits are not ancestors of this checkout, so this statement is based on inspected current code, not assumed merge ancestry. Only the shared media-access owner and its integration suite change.

Evidence

Evidence of Fix

Path / mode Before After Evidence
Workspace reply under global/agent read deny, wildcard deny, or restrictive allow list Six new cases actually staged workspace files No workspace attachment reference and no additional file in outbound staging Real directive parser → reply normalizer → media loader → outbound store regression; six failures on original source, green after repair.
Managed generated output under each tested policy Existing artifact available Exact generated bytes remain readable Same regression loads the managed artifact after the restricted attempt.
Read-enabled workspace-only access; messaging profile without explicit read restriction Normal delivery Exact workspace bytes still staged Two positive controls pass before and after.
Existing capability and registered-workspace contracts 34 tests pass 42 tests pass including eight new cases node --import ./scripts/tsx.mjs scripts/test-projects.mts src/media/read-capability.test.ts src/media/read-capability.workspace-access.test.ts

Sink-level assertions inspect staged bytes and the outbound directory, rather than only policy booleans. A separate standalone Node process additionally exercised the real production parser, preparer, loader and store with zero mocks, measuring actual bytes copied and new outbound files. Six restricted cases changed from 26 workspace bytes / one new file before the fix to zero bytes / zero files at the reviewed head; allowed, workspace-only and messaging-profile controls still copied the exact 26-byte canary. All nine cases preserved exact 24-byte managed output and byte-identical authored config. This is final-effect source-runtime evidence, not a real channel API, model-driven session, installed-package upgrade or full Gateway transport claim. Read-only reviewer clarification confirms this zero-mock final-effect harness satisfies the staging-boundary proof contract and that no separate installed-upgrade artifact is required for this runtime-only delta.

Reproducible standalone harness and captured terminal output

Reviewed head: f9ce6c9131888e327a309a2f0239778027e55a2a. Before-fix comparison temporarily substituted only src/media/read-capability.ts from parent 2045985b82707f15130d3ceb3c4fb1fe1fe61737, then restored it and verified git diff HEAD empty. All other production sources are identical for this two-file patch; the changed test file is not imported by this standalone harness.

Command: node --import ./scripts/tsx.mjs <scratch>/media-proof.mts base with pre-fix owner, then the same command with head and the fixed owner (Node 26.12.1). A finally block removes only the isolated synthetic workspace/state. No credentials, channel account, external endpoint, mocks or Vitest runtime is involved.

{"version":"base","case":"allowed","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"base","case":"global-read-deny","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"base","case":"global-wildcard-deny","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"base","case":"agent-read-deny","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"base","case":"agent-wildcard-deny","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"base","case":"global-restrictive-allow","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"base","case":"agent-restrictive-allow","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"base","case":"workspace-only-allowed","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"base","case":"messaging-profile","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
FINAL_EFFECT_PROOF_PASS base cases=9 real_parser=true real_preparer=true real_loader=true real_store=true mocks=0
{"version":"head","case":"allowed","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"head","case":"global-read-deny","workspaceStaged":false,"workspaceBytesCopied":0,"newWorkspaceFiles":0,"managedBytesVerified":24,"configUnchanged":true}
{"version":"head","case":"global-wildcard-deny","workspaceStaged":false,"workspaceBytesCopied":0,"newWorkspaceFiles":0,"managedBytesVerified":24,"configUnchanged":true}
{"version":"head","case":"agent-read-deny","workspaceStaged":false,"workspaceBytesCopied":0,"newWorkspaceFiles":0,"managedBytesVerified":24,"configUnchanged":true}
{"version":"head","case":"agent-wildcard-deny","workspaceStaged":false,"workspaceBytesCopied":0,"newWorkspaceFiles":0,"managedBytesVerified":24,"configUnchanged":true}
{"version":"head","case":"global-restrictive-allow","workspaceStaged":false,"workspaceBytesCopied":0,"newWorkspaceFiles":0,"managedBytesVerified":24,"configUnchanged":true}
{"version":"head","case":"agent-restrictive-allow","workspaceStaged":false,"workspaceBytesCopied":0,"newWorkspaceFiles":0,"managedBytesVerified":24,"configUnchanged":true}
{"version":"head","case":"workspace-only-allowed","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
{"version":"head","case":"messaging-profile","workspaceStaged":true,"workspaceBytesCopied":26,"newWorkspaceFiles":1,"managedBytesVerified":24,"configUnchanged":true}
FINAL_EFFECT_PROOF_PASS head cases=9 real_parser=true real_preparer=true real_loader=true real_store=true mocks=0

Harness SHA-256: d460c49071b5d1d9b1844772696e9d147a6f99b1a238d8d5b7bc7b9f73054207.

import assert from 'node:assert/strict';
import fs from 'node:fs/promises';
import os from 'node:os';
import path from 'node:path';
import { pathToFileURL } from 'node:url';
const repo = process.cwd();
const version = process.argv[2];
assert.ok(version === 'base' || version === 'head');
const root = await fs.mkdtemp(path.join(os.tmpdir(), 'media-final-effect-'));
process.env.OPENCLAW_STATE_DIR = path.join(root, 'state');
process.env.OPENCLAW_CONFIG_PATH = path.join(root, 'openclaw.json');
process.env.HOME = path.join(root, 'home');
await fs.mkdir(process.env.HOME, {recursive:true});
const load = (p: string) => import(pathToFileURL(path.join(repo,p)).href);
const {parseReplyDirectives} = await load('src/auto-reply/reply/reply-directives.ts');
const {createReplyMediaPathNormalizer} = await load('src/auto-reply/reply/reply-media-paths.ts');
const {saveMediaBuffer} = await load('src/media/store.ts');
const workspaceBytes = Buffer.from('WORKSPACE_CANARY_NO_SECRET');
const managedBytes = Buffer.from('MANAGED_OUTPUT_NO_SECRET');
const cases = [
 {name:'allowed',policy:undefined,global:true,restricted:false},
 {name:'global-read-deny',policy:{deny:['read']},global:true,restricted:true},
 {name:'global-wildcard-deny',policy:{deny:['*']},global:true,restricted:true},
 {name:'agent-read-deny',policy:{deny:['read']},global:false,restricted:true},
 {name:'agent-wildcard-deny',policy:{deny:['*']},global:false,restricted:true},
 {name:'global-restrictive-allow',policy:{allow:['message']},global:true,restricted:true},
 {name:'agent-restrictive-allow',policy:{allow:['message']},global:false,restricted:true},
 {name:'workspace-only-allowed',policy:{allow:['read'],fs:{workspaceOnly:true}},global:true,restricted:false},
 {name:'messaging-profile',policy:{profile:'messaging'},global:true,restricted:false},
];
try {
 for (const c of cases) {
  const workspace = path.join(root,c.name);
  await fs.mkdir(path.join(workspace,'output'),{recursive:true});
  await fs.writeFile(path.join(workspace,'output','report.txt'),workspaceBytes);
  const cfg = {tools:c.global?c.policy:undefined,agents:{defaults:{sandbox:{mode:'off'}},entries:{writer:{workspace,tools:c.global?undefined:c.policy}}}};
  const authored = JSON.stringify(cfg);
  await fs.writeFile(process.env.OPENCLAW_CONFIG_PATH!,authored);
  const generated = await saveMediaBuffer(managedBytes,'text/plain','outbound');
  const dir = path.dirname(generated.path);
  const prior = new Set(await fs.readdir(dir));
  const normalize = createReplyMediaPathNormalizer({cfg,agentId:'writer',workspaceDir:workspace});
  const result = await normalize(parseReplyDirectives('MEDIA: output/report.txt'));
  const added = (await fs.readdir(dir)).filter((name:string)=>!prior.has(name));
  let copied = 0;
  for (const name of added) {
   const bytes = await fs.readFile(path.join(dir,name));
   if(bytes.equals(workspaceBytes)) copied += bytes.length;
  }
  const shouldBlock = version === 'head' && c.restricted;
  assert.equal(Boolean(result.mediaUrl),!shouldBlock);
  assert.equal(copied,shouldBlock?0:workspaceBytes.length);
  assert.equal(added.length,shouldBlock?0:1);
  const managed = await normalize(parseReplyDirectives('MEDIA: '+generated.path));
  assert.deepEqual(await fs.readFile(managed.mediaUrl),managedBytes);
  assert.equal(await fs.readFile(process.env.OPENCLAW_CONFIG_PATH!,'utf8'),authored);
  assert.equal(JSON.stringify(cfg),authored);
  console.log(JSON.stringify({version,case:c.name,workspaceStaged:!shouldBlock,workspaceBytesCopied:copied,newWorkspaceFiles:added.length,managedBytesVerified:managedBytes.length,configUnchanged:true}));
 }
 console.log('FINAL_EFFECT_PROOF_PASS '+version+' cases='+cases.length+' real_parser=true real_preparer=true real_loader=true real_store=true mocks=0');
} finally {
 await fs.rm(root,{recursive:true,force:true});
}

Boundary decisions requested from media/security owners

  1. Confirm the existing managed-artifact exception remains appropriate when explicit file-read policy denies workspace access. Normal owner review is still required before merge.

Testing

  • Seven focused test files: 130 tests passed (42 capability/integration + 88 loader, roots, reply-path and SSH-media sibling tests).
  • Sibling command: node --import ./scripts/tsx.mjs scripts/test-projects.mts src/media/load-options.test.ts src/media/local-roots.test.ts src/media/web-media.test.ts src/auto-reply/reply/reply-media-paths.test.ts src/auto-reply/reply/reply-media-paths.ssh.test.ts — all five files passed.
  • Production typecheck: pnpm tsgo:core — passed.
  • Owning test types: node scripts/run-tsgo-core-test-shards.mjs --changed-paths-json '["src/media/read-capability.workspace-access.test.ts"]' — messaging graph passed.
  • Changed-file oxlint, oxfmt, assertion-safety ratchet, and git diff --check — passed.
  • Independent isolated autoreview at P0–P2 — no actionable findings; Pi fallback used because Codex CLI is unavailable.
  • Private report context is intentionally not linked publicly. This remains a draft; broad hosted CI and readiness are separate steps.

@clawsweeper

clawsweeper Bot commented Oct 26, 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.

@eleqtrizit eleqtrizit self-assigned this Oct 26, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 26, 2026
@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR applies explicit global and per-agent read policies before granting workspace attachment access.

Example: Agent writer replies with MEDIA: output/report.txt while tools.deny contains read.

  • Before: The workspace file is copied into outbound attachment staging.
  • After: Workspace staging is rejected while managed generated artifacts remain available.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with meaningful regressions and accepted final-effect runtime proof; no actionable defect was identified.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): At exact head f9ce6c9, the supplied zero-mock Node 26.12.1 capture exercises the real directive parser, reply preparer, loader, and outbound store: six denied-policy cases stage no workspace bytes or files, while allowed controls and managed artifacts succeed; the recorded clarification accepts this production-boundary harness without requiring live-channel delivery.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Operators can explicitly deny file reads yet still have workspace files attached to final replies.
Reason: The maintainer-authored direction enforces existing explicit restrictions at the shared owner while retaining established attachment behavior.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it fixes a current-main read-policy bypass with a focused change, and no introduced correctness or security defect was found.

Priority: P1
Reviewed head: f9ce6c9131888e327a309a2f0239778027e55a2a

Before merge

None.

Findings

None.

Agent review details

How this fits together

The media-access owner converts configuration and requester context into filesystem roots and readers used by reply preparation, attachment staging, and channel delivery.

flowchart LR
  A[Reply media directive] --> B[Reply preparation]
  C[Global and agent policies] --> D[Media access owner]
  E[Group and sender policies] --> D
  B --> D
  D --> F[Bounded file loader]
  F --> G[Outbound attachment store]
  G --> H[Channel delivery]
Loading

Technical review

Best possible solution:

Intersect explicit read policies in the existing media-access owner while retaining its established managed-artifact exception.

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

Current-main source exposes the missing intersection, and the supplied base/head capture demonstrates its filesystem effect; this read-only review executed no target code.

Is this the best way to solve the issue?

The patch is the smallest complete repair: canonical policy resolution feeds the existing denial branch without new state, wrappers, or competing authorization paths.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Shared media policy intersection changes intended behavior with a stated reason (fd3b7a8: refactor: consolidate single-consumer internal surfaces #180641 moved the existing decision into its sole caller without intending an authorization change.)
  • Denied readers and managed artifacts keeps the original intent (d7fe595: Remove workspace roots and readers on sender-policy denial while preserving managed generated artifacts.)
  • Registered workspace readers keeps the original intent (7d7e26a: Read remote output through registered bounded readers without falling back to stale Gateway copies.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Josh Avant: Raw commit d7fe595 adds src/media/read-capability.ts:96 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d7fe595ebb41; files: src/media/read-capability.ts)
  • Agustin Rivera: Raw commit c949af9 adds src/media/read-capability.ts:16 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c949af9fabf3; files: src/media/read-capability.ts)
  • Peter Steinberger: Raw commit fd3b7a8 adds src/media/read-capability.ts:128 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: fd3b7a824a6c; files: src/media/read-capability.ts)
  • Kimi Yu: Raw commit 7d7e26a adds src/media/read-capability.ts:185 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 7d7e26a0beb2; files: src/media/read-capability.ts)

PR surface

Source +15, Tests +63. Total +78 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 17 2 +15
Tests 1 63 0 +63
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 80 2 +78

Labels

Label changes:

No label changes.

Label justifications:

  • P1: Current main can stage workspace files despite explicit operator-configured read restrictions.
  • 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.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-26T20:06:38.418Z sha f9ce6c9 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-26T20:19:39.259Z sha f9ce6c9 :: needs maintainer review before merge. :: none

Reviewed October 26, 2026, 4:24 PM ET / 20:24 UTC (Revision 3).

@eleqtrizit

Copy link
Copy Markdown
Contributor Author

@clawsweeper explain

For the current head f9ce6c9, please clarify the remaining proof contract before I build an unrelated upgrade harness. The complete authored delta is one runtime read-policy intersection plus the integration matrix; it changes no config key/default, stored representation, persistence writer, migration, or SDK signature.

I will supply redacted terminal capture through the real directive parser, reply-media preparer, file loader and outbound store, showing authorized staging, global/agent denial with no copied workspace bytes, and managed-artifact preservation (including a pre-fix comparison). Does this final-effect harness satisfy the requested runtime artifact, and is any separate installed-upgrade artifact actually required for this unchanged persistence/config surface? Please distinguish intentional enforcement of existing read restrictions from stored-data migration. No readiness or merge is requested.

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

ClawSweeper status:

  • Current PR: 184964
  • Branch: 1136
  • Checks: SKIPPED:73 SUCCESS:6

@clawsweeper

clawsweeper Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper assist: Yes—the described zero-mock harness would satisfy the runtime-capture ask at the outbound-staging boundary, provided its captured execution demonstrates those results against exact head f9ce6c9131888e327a309a2f0239778027e55a2a. The description alone does not supply that artifact.

A separate installed-upgrade artifact is not required for the supplied runtime-only delta: enforcing existing read restrictions changes authorization behavior, not stored data. No config key/default, persistence writer/format/schema, or migration changes are shown.

Evidence:

  • The previous review explicitly accepts an authorized final-effect harness and asks for denied workspace staging, allowed-access controls, and managed-artifact preservation.
  • The supplied PR delta adds global/agent policy intersection and integration coverage; no persistence or configuration-definition changes appear.

Minimum missing proof is the actual redacted capture, with the harness source or reproducible command, environment, exact head and pre-fix source identity. Show allowed bytes, zero workspace bytes and zero new outbound files for the six denied-policy cases, retained managed bytes, and unchanged authored config. State that this proves local staging behavior; channel delivery remains unexercised.

Suggested next action: Add that reproducible runtime capture and its scope to the main PR body; no unrelated upgrade harness is needed on the supplied evidence.


Source: #184964 (comment)
Assist reasoning: medium.

@eleqtrizit

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 26, 2026
@eleqtrizit

Copy link
Copy Markdown
Contributor Author

Merge record

Summary: Applies explicit global and per-agent read restrictions to workspace reply attachments. Allowed attachments and managed generated artifacts remain available.

Decision Reason for Merge: Merged because production-path before/after evidence demonstrates the authorization bypass is fixed, and ClawSweeper accepted the proof with no findings or before-merge requirements.

Compatibility Checks Done: 130 focused tests, production and owning-test typechecks, and targeted static checks passed. Nine runtime cases verified denied reads, allowed attachments, managed output, and unchanged configuration. Broad hosted CI remains skipped while draft.

@eleqtrizit
eleqtrizit marked this pull request as ready for review October 26, 2026 20:38
@eleqtrizit
eleqtrizit merged commit 3c23d52 into openclaw:main Oct 26, 2026
239 checks passed
@eleqtrizit
eleqtrizit deleted the 1136 branch October 26, 2026 21:31
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
shakkernerd pushed a commit that referenced this pull request Nov 2, 2026
Restore CLI message sends for agents with their own tool policies while preserving attachment read restrictions and Template consent validation.

Refs #184964.
Reviewed-by: @shakkernerd
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
)

Restore CLI message sends for agents with their own tool policies while preserving attachment read restrictions and Template consent validation.

Refs openclaw#184964.
Reviewed-by: @shakkernerd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S 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.

1 participant