Skip to content

fix(agents): protect private memory in shared chats - #119198

Merged
vincentkoc merged 9 commits into
mainfrom
fix/shared-memory-bootstrap-privacy-20260804
Aug 4, 2026
Merged

vincentkoc merged 9 commits into
mainfrom
fix/shared-memory-bootstrap-privacy-20260804

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where shared group and channel sessions automatically loaded the workspace-root MEMORY.md, exposing private long-term context contrary to the documented behavior that this file is only loaded for the main private session.

Fixes #84466

Why This Change Was Made

The repair is applied at the bootstrap owner boundary. Bootstrap resolution uses an authoritative chatType when supplied, falls back to deriving the type from the session key, and re-filters the complete bootstrap list after all agent:bootstrap hook mutation so shared-chat, subagent, and cron policy cannot be bypassed by file relabeling or aliases.

Before initial session filtering, the resolver captures the root MEMORY.md source identity already returned by the pinned workspace open. Standard and extra-file loaders carry its canonical opened path plus stat identity in a module-private WeakMap keyed by the exact loaded file object; extra-file conversion transfers that identity explicitly to the returned bootstrap record. The session snapshot cache only reuses arrays when the exact opened identity still matches. The final resolver first reapplies existing lexical/session/allowlist policy, then removes remaining files that share the root-memory canonical path or sameFileIdentity result. This adds no request-time stat or realpath polling and does not change public bootstrap-file types or JSON.

The bundled bootstrap-extra-files hook appends loader results by reference; the final resolver owns policy once, with the authoritative chat type and complete post-hook list.

Threat model: trusted hooks can inject arbitrary bytes, so this is not a sandbox for hook code. It prevents OpenClaw-owned loaders and supported in-place relabeling from accidentally carrying the private root-memory source into non-private bootstrap context. Arbitrary cloning by trusted hook code is outside this contract. Missing, generated, or custom records without loader identity continue through the existing lexical fallback and do not throw.

Direct sessions continue to receive root MEMORY.md; genuine nested memory and unrelated symlinks remain available. Existing subagent and cron restricted allowlists remain unchanged.

The authoritative value is propagated through the affected embedded, primary attempt, CLI fallback, embedded-to-CLI, compaction, command-prompt, Codex, Copilot, and bundled bootstrap-hook bridges.

CLI preparation resolves one canonical runtimeChatType as current-turn chatType first, then stored sessionEntry.chatType as fallback, and passes that same prepared fact to both bootstrap resolution and system-prompt construction.

This credits Peter Steinberger (@steipete) and extracts the narrow bootstrap privacy boundary from #99225 without importing that conflicted 273-file context-engine and session-policy expansion.

User Impact

Operators can use group and channel chats without private root memory being silently injected into shared model context, including after bootstrap hooks load a symlink alias or relabel a valid loader-produced record in place. Hooks also cannot relabel root private memory as an allowlisted subagent or cron bootstrap file. Direct/private sessions retain the existing memory behavior.

Compatibility ownership: optional chatType propagation is additive. An undefined value preserves the existing session-key derivation fallback, all affected bundled and internal bridges carry the authoritative value when available, and this requires no config migration or operator action. The source-identity metadata is module-private and does not expand the Plugin SDK surface.

Evidence

  • Exact base: 1aedd8f37e0bd40e2a71f50824896e24f24b21d4.
  • Exact head: 79031eac36f760243d440ae96dcb4916a2f6a45e.
  • Entire branch product/runtime delta: +193/-36 (net +157).
  • Entire branch focused-test delta: +643/-53.
  • Generated SDK baseline: +1/-1, reflecting the additive optional runtime parameter; this CI repair did not modify it.
  • Source-identity P2 commit: production +122/-28 (net +94); focused tests +221/-63.
  • CI repair commit: production +5/-9 (net -4); focused tests and relocation +138/-109.
  • CLI runtime-chat-type P2 commit: production +3/-2; focused tests +78/-0.
  • Exact-head focused proof: 82 tests passed across:
    • src/agents/bootstrap-files.test.ts: 46
    • src/agents/workspace.bootstrap-privacy.test.ts: 9
    • src/agents/workspace.load-extra-bootstrap-files.test.ts: 10
    • src/agents/bootstrap-cache.test.ts: 8
    • src/hooks/bundled/bootstrap-extra-files/handler.test.ts: 3
    • src/agents/system-prompt-stability.test.ts: 4
    • src/infra/fs-safe-import-boundary.test.ts: 2
  • Regressions cover direct preservation; authoritative group/channel filtering of root-memory directory symlink/junction aliases loaded through the extra-file loader; nested memory and unrelated symlink preservation; allowed-name subagent/cron in-place relabels; exact cache replacement after inode changes with identical bytes; strict extra-file equality; prompt stability; the fs-safe import boundary; and missing records without identity.
  • Prior affected bridge validation: 372 tests passed across seven suites.
  • CLI runtime-chat-type proof: 110 tests passed across src/agents/cli-runner/prepare.test.ts and src/auto-reply/reply/agent-runner-execution-runtime.test.ts. Regressions cover opaque group/channel session keys with explicit current-turn metadata, bundled message-tool-only etiquette, current-turn precedence over stale stored direct metadata, and stored-session fallback.
  • git diff --check: passed.
  • Targeted oxfmt and run-oxlint checks for all five changed files: passed.
  • CLI P2 targeted oxfmt and run-oxlint: passed.
  • node scripts/check-changed.mjs -- <changed files>: remote routing had no ready provider. Trusted-source local fallback passed conflict-marker, environment, max-lines, formatting, SDK API baseline, deprecated-API, plugin-boundary, package-patch, deadcode, and temp-directory gates before stopping on unrelated shared-install type errors in packages/terminal-core/src/ansi.ts and a missing generated @openclaw/session-url-contract/parse; no changed-file type error was reported.
  • Plugin SDK surface check: passed.
  • Generated Plugin SDK API baseline check: passed.
  • Scoped repository autoreview: clean (0.98); CLI P2 autoreview: clean (0.99), with no actionable findings.
  • Real QA Lab request-snapshot proof: 1 passed, 0 failed through qa-channel, a real gateway child, and mock-openai.
    • Redacted details: { directInitialRequestCount: 1, sharedInitialRequestCount: 1, directRootMemoryPresent: true, sharedRootMemoryPresent: false }.
    • Blacksmith Testbox was unavailable and not authenticated, so trusted-source heavy proof ran locally under repository policy.
    • Local proof artifacts are retained under .artifacts/qa-e2e/privacy-bootstrap-7e356dc/ and are not committed.
  • Direct @openclaw/fs-safe contract inspection:
    • dist/root-file.js resolves the canonical path before the pinned open and returns that opened path.
    • dist/file-identity.js supplies sameFileIdentity, including number/bigint and Windows dev=0 handling.
  • Direct source-contract inspection against openai/codex commit 1669c2403f793d0230065397dfc25f52b844244e:
    • codex-rs/core/src/session/turn.rs:149-220 and codex-rs/core/src/session/turn.rs:293-352
    • codex-rs/core/src/session/turn_context.rs:107-153
    • OpenClaw owns bootstrap filtering before Codex invocation. The Codex turn/session contract consumes already-prepared turn context and does not add a competing chat-type or bootstrap-file policy.

@vincentkoc vincentkoc self-assigned this Aug 4, 2026
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling extensions: codex extensions: copilot size: S maintainer Maintainer-authored PR labels Aug 4, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. 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: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. labels Aug 4, 2026
@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 4, 2026, 10:26 AM ET / 14:26 UTC.

ClawSweeper review

What this changes

This PR keeps workspace-root MEMORY.md out of shared-session bootstrap context, including hook-added aliases, while propagating authoritative chat type through agent runtimes.

Merge readiness

⚠️ Ready for maintainer review - 5 items remain

Keep open: the exact head still has the prior P2 where opaque shared CLI runs lose their shared-chat prompt guidance. The root-memory filter is otherwise coherently placed at the bootstrap owner boundary, but this maintainer PR also needs the required direct Codex contract check before merge.

Priority: P1
Reviewed head: 40b88a01fb074a0ee8f31347976f5a99b266ce97

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The bootstrap privacy repair is focused and well-covered, but the continuing P2 leaves the exact head short of merge-ready.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored PR is not subject to the external-contributor proof gate; its body nevertheless reports focused tests and a prior gateway-harness result.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored PR is not subject to the external-contributor proof gate; its body nevertheless reports focused tests and a prior gateway-harness result.
Evidence reviewed 8 items Documented contract: Current docs say MEMORY.md auto-loads only in private/DM sessions, not shared or group contexts.
Bootstrap owner boundary: The branch captures loader-owned root-memory identity, reapplies session policy after hooks, and removes records sharing that source identity.
Continuing CLI prompt defect: The new authoritative chat type reaches bootstrap resolution, but CLI prompt construction still reads only sessionEntry?.chatType; embedded-to-CLI and fallback callers can provide no session entry.
Findings 1 actionable finding [P2] Propagate chat type into the CLI prompt
Security None None.

How this fits together

Workspace bootstrap files become model context before an agent run. Chat classification determines whether private root memory is eligible, and the prepared context then flows through embedded, CLI, Codex, and Copilot runtimes.

flowchart LR
  A[Workspace bootstrap files] --> B[Safe file loader]
  C[Session chat classification] --> D[Bootstrap privacy policy]
  B --> D
  E[Bootstrap hooks] --> D
  D --> F[Prepared agent context]
  F --> G[CLI or embedded runtime]
  G --> H[Model prompt and response]
Loading

Before merge

  • Propagate chat type into the CLI prompt (P2) - The branch forwards params.chatType to bootstrap resolution, but prompt construction still reads only params.sessionEntry?.chatType. Embedded-to-CLI and fallback callers can supply an authoritative type without a session entry, so opaque shared runs lose the group/channel message guidance. Use the supplied type before the session-entry fallback and add a prompt-level regression. This is the continuing prior P2 finding.
  • Resolve merge risk (P1) - Opaque group or channel CLI runs can filter private memory correctly yet miss the shared-chat message_tool_only guidance because the prompt ignores the authoritative chatType.
  • Resolve merge risk (P2) - The generated Plugin SDK baseline changes for one optional runtime parameter; its additive fallback behavior needs exact-head compatibility review.
  • Resolve merge risk (P1) - Direct Codex and fs-safe dependency-contract inspection is incomplete because the required local sources are unavailable in this read-only environment.
  • Complete next step (P2) - The remaining repair is mechanical, but this MEMBER-authored PR has a protected maintainer label and requires an exact-head review after the author updates it.

Findings

  • [P2] Propagate chat type into the CLI prompt — src/agents/cli-runner/prepare.ts:1424
Agent review details

Security

None.

PR surface

Source +156, Tests +512, Generated 0. Total +668 across 23 files.

View PR surface stats
Area Files Added Removed Net
Source 14 191 35 +156
Tests 8 565 53 +512
Docs 0 0 0 0
Config 0 0 0 0
Generated 1 1 1 0
Other 0 0 0 0
Total 23 757 89 +668

Review metrics

Metric Value Why it matters
Production versus test delta production +191/-35 (net +156); tests +565/-53 The production growth is justified by the privacy owner boundary and is accompanied by substantial focused regression coverage.
Public runtime contract 1 optional chatType parameter added; 1 Plugin SDK baseline entry changed External harness callers can now carry authoritative session classification, so additive compatibility must remain intentional.

Stored data model

Persistent data-model change detected: serialized state: src/agents/workspace.bootstrap-cache.test.ts, serialized state: src/agents/workspace.bootstrap-privacy.test.ts, serialized state: src/hooks/bundled/bootstrap-extra-files/handler.test.ts, vector/embedding metadata: src/auto-reply/reply/agent-runner-execution-runtime.test.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Repair authoritative prompt propagation (recommended)
    Carry the supplied chat type into CLI prompt construction and prove opaque shared sessions retain both bootstrap privacy and shared-chat delivery guidance.
  2. Pause for dependency-contract evidence
    Do not merge until a checkout with sibling Codex and fs-safe sources can verify that the final bootstrap boundary matches those contracts.

Technical review

Best possible solution:

Use params.chatType ?? params.sessionEntry?.chatType for CLI runtime prompt metadata, add an opaque shared-session prompt regression, then complete the direct Codex and fs-safe contract checks before merge.

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

Yes, from source: invoke a CLI or embedded-to-CLI run with an opaque session key, chatType: "group" or "channel", and no session entry; bootstrap filtering receives the type while the resulting prompt does not.

Is this the best way to solve the issue?

No: final bootstrap filtering is the right owner-boundary repair, but the same authoritative chat type must also reach CLI prompt construction before this is the best complete fix.

Full review comments:

  • [P2] Propagate chat type into the CLI prompt — src/agents/cli-runner/prepare.ts:1424
    The branch forwards params.chatType to bootstrap resolution, but prompt construction still reads only params.sessionEntry?.chatType. Embedded-to-CLI and fallback callers can supply an authoritative type without a session entry, so opaque shared runs lose the group/channel message guidance. Use the supplied type before the session-entry fallback and add a prompt-level regression. This is the continuing prior P2 finding.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 52954a1fa8f4.

Labels

Label justifications:

  • P1: The PR addresses private long-term context crossing into shared conversations and still leaves one shared-run prompt path incorrect.
  • merge-risk: 🚨 compatibility: An exported harness-runtime resolver gains an optional chat-type input and changes bootstrap eligibility for existing run paths.
  • merge-risk: 🚨 session-state: The patch relies on persisted or live session chat classification to select bootstrap files and prompt guidance.
  • merge-risk: 🚨 security-boundary: The central behavior separates private root memory from shared model context.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: This MEMBER-authored PR is not subject to the external-contributor proof gate; its body nevertheless reports focused tests and a prior gateway-harness result.

Evidence

What I checked:

Likely related people:

  • vincentkoc: Authored all eight commits in this PR and is the current-main blame author for the bootstrap session-policy block. (role: recent area contributor and current bootstrap-policy owner; confidence: high; commits: 0dc99706243e, df3c53a2983e, 40b88a01fb07; files: src/agents/workspace.ts, src/agents/bootstrap-files.ts, src/agents/cli-runner/prepare.ts)
  • steipete: Co-authored the initial PR commit and owns the broader related privacy proposal. (role: adjacent privacy-boundary contributor; confidence: medium; commits: df3c53a2983e; files: src/agents/workspace.ts)

Rank-up moves

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

  • Use authoritative chatType for CLI runtime prompt information and add the opaque-key regression.
  • Repeat the direct Codex and fs-safe contract inspection from a checkout where those sources are available.

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 (7 earlier review cycles)
  • reviewed 2026-08-04T11:39:40.858Z sha 8c142ce15a13aca62902dc7a9c7c28aaf821ab74 :: found issues before merge. :: [P1] Propagate authoritative chat type across execution bridges | [P1] Preserve configured nested memory files in shared sessions
  • reviewed 2026-08-04T12:09:48.873Z sha 7e356dc31aca76c7e091a801e5c9351ba5ff5223 :: found issues before merge. :: [P1] Filter hook-added root memory by path
  • reviewed 2026-08-04T12:31:00.132Z sha 01b4e56 :: found issues before merge. :: [P1] Exclude root memory before non-primary allowlists
  • reviewed 2026-08-04T13:05:39.536Z sha d776e91 :: found issues before merge. :: [P2] Resolve filesystem aliases before filtering root memory
  • reviewed 2026-08-04T13:13:14.666Z sha d776e91 :: found issues before merge. :: [P2] Resolve filesystem aliases before filtering private root memory
  • reviewed 2026-08-04T14:06:35.624Z sha c10afec :: needs maintainer review before merge. :: none
  • reviewed 2026-08-04T14:13:12.318Z sha c10afec :: found issues before merge. :: [P2] Preserve fallback chat type in CLI prompt construction

@vincentkoc
vincentkoc force-pushed the fix/shared-memory-bootstrap-privacy-20260804 branch from 8c142ce to 5966efb Compare August 4, 2026 11:58
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc
vincentkoc force-pushed the fix/shared-memory-bootstrap-privacy-20260804 branch from 5966efb to 7e356dc Compare August 4, 2026 12:02
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 4, 2026
@vincentkoc
vincentkoc force-pushed the fix/shared-memory-bootstrap-privacy-20260804 branch from 7e356dc to ce9a663 Compare August 4, 2026 12:16
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 4, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc
vincentkoc force-pushed the fix/shared-memory-bootstrap-privacy-20260804 branch from 40b88a0 to 79031ea Compare August 4, 2026 14:38
@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer landing note: every durable ClawSweeper move from reviewed head 40b88a01fb074a0ee8f31347976f5a99b266ce97 was applied; none was skipped. One current-turn-first runtimeChatType now drives both bootstrap resolution and CLI prompt construction, with opaque group/channel and stale-session precedence regressions. Direct source checks covered openai/codex 1669c2403f793d0230065397dfc25f52b844244e (codex-rs/core/src/session/turn.rs, codex-rs/core/src/session/turn_context.rs) and @openclaw/fs-safe pinned-open/file-identity implementations. Exact head 79031eac36f760243d440ae96dcb4916a2f6a45e passed 120/120 checks with no failures: https://github.com/openclaw/openclaw/actions/runs/30920022348

@vincentkoc
vincentkoc merged commit d06fc25 into main Aug 4, 2026
128 checks passed
@vincentkoc
vincentkoc deleted the fix/shared-memory-bootstrap-privacy-20260804 branch August 4, 2026 15:01
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main:
  fix(agents): protect private memory in shared chats (#119198)
  perf(cli): skip absent gateway workspace dotenv (#119227)
  fix(agents): observe native provider prompt egress (#119219)
  fix(feishu): report bot identity retry failures (#102185)
  fix(memory): load configured providers for CLI search (#119186)
  fix(discord): count retained speech bytes
  test(discord): isolate exact speech overflow
  test(discord): cover exact speech overflow
  fix(discord): bound realtime exact speech
vincentkoc added a commit that referenced this pull request Aug 4, 2026
* origin/main:
  fix(agents): protect private memory in shared chats (#119198)
  perf(cli): skip absent gateway workspace dotenv (#119227)
  fix(agents): observe native provider prompt egress (#119219)
  fix(feishu): report bot identity retry failures (#102185)
  fix(memory): load configured providers for CLI search (#119186)
  fix(discord): count retained speech bytes
  test(discord): isolate exact speech overflow
  test(discord): cover exact speech overflow
  fix(discord): bound realtime exact speech
vincentkoc added a commit that referenced this pull request Aug 4, 2026
…licy-config-20260804

* origin/main:
  fix(agents): protect private memory in shared chats (#119198)
  fix(discord): count retained speech bytes
  test(discord): isolate exact speech overflow
  test(discord): cover exact speech overflow
  fix(discord): bound realtime exact speech
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 5, 2026
* fix(agents): protect private memory in shared chats

Fixes openclaw#84466

Co-authored-by: Peter Steinberger <[email protected]>

* fix(agents): propagate shared chat type across runtimes

* fix(agents): enforce bootstrap privacy after hooks

* test(agents): cover final bootstrap filtering

* fix(agents): filter private memory before allowlists

* fix(agents): preserve bootstrap source identity

* refactor(agents): simplify bootstrap source identity

* fix(agents): keep bootstrap source identity private

* fix(agents): unify CLI runtime chat type

---------

Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
* origin/main:
  fix(agents): protect private memory in shared chats (openclaw#119198)
  perf(cli): skip absent gateway workspace dotenv (openclaw#119227)
  fix(agents): observe native provider prompt egress (openclaw#119219)
  fix(feishu): report bot identity retry failures (openclaw#102185)
  fix(memory): load configured providers for CLI search (openclaw#119186)
  fix(discord): count retained speech bytes
  test(discord): isolate exact speech overflow
  test(discord): cover exact speech overflow
  fix(discord): bound realtime exact speech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation extensions: codex extensions: copilot maintainer Maintainer-authored PR 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. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: L status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] MEMORY.md loads in Discord guild channels despite documentation stating otherwise

1 participant