Skip to content

Add Active Memory recall plugin - #63286

Merged
Takhoffman merged 35 commits into
mainfrom
codex/active-recall-v1
Apr 9, 2026
Merged

Takhoffman merged 35 commits into
mainfrom
codex/active-recall-v1

Conversation

@Takhoffman

@Takhoffman Takhoffman commented Apr 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds Active Memory, an optional plugin that runs a dedicated memory sub-agent before the main reply. The sub-agent searches memory on the user’s behalf and injects only compact, relevant context into the turn, so users can benefit from remembered preferences, routines, and personal facts without manually asking the main agent to search memory.

Why it matters

Active Memory makes conversations feel more continuous: the agent can proactively recall useful details like food preferences, travel habits, recurring routines, and prior context when they are relevant to the current message. It does this without relying on the main answering agent to remember to call memory tools or build its own recall strategy.

What changed

  • Adds the bundled active-memory plugin with configurable query modes, recall profiles, model fallback behavior, prompt overrides, and optional transcript persistence.
  • Adds /active-memory on|off controls for session-scoped toggles, plus --global config persistence for operator-controlled default behavior.
  • Adds verbose/status debug visibility for Active Memory results, now shown before the final reply when verbose mode is enabled.
  • Keeps recall scoped and configurable by chat type, with direct-message-style use as the default and opt-in expansion for other contexts.
  • Adds tests and docs covering configuration, copy-paste agent instructions, transcript persistence, chat-type gating, toggles, and debug output.

Validation

  • Focused Active Memory extension tests pass.
  • Focused reply-runner and Slack approval conflict-resolution tests pass.
  • Formatting, lint, diff checks, and full pre-commit pnpm check passed on the latest pushed branch.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XL maintainer Maintainer-authored PR labels Apr 8, 2026
@Takhoffman
Takhoffman marked this pull request as ready for review April 8, 2026 18:07
@greptile-apps

greptile-apps Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR introduces structured per-plugin debug plumbing: a new SessionPluginDebugEntry type and pluginDebugEntries field replaces the legacy flat pluginStatusLines on SessionEntry, with a backwards-compatible fallback resolver. The active-memory extension is refactored to write structured entries, clear stale state on skipped turns, and surface readable debug lines inline when verbose mode is on.

Confidence Score: 5/5

Safe to merge — all findings are minor style and edge-case observations that do not affect correctness in any real deployment scenario.

Both findings are P2: one is dead/redundant code (last line of filterWeakRecallCandidates is always false), the other is an edge-case gap in stale-entry clearing for non-standard session keys that never occur in production. The structured pluginDebugEntries plumbing, fallback resolver, and extension refactor are all well-implemented with matching test coverage across index.test.ts, status.test.ts, and the runReplyAgent integration test.

No files require special attention.

Vulnerabilities

No security concerns identified.

Prompt To Fix All With AI
This is a comment left during a code review.
Path: extensions/active-memory/index.ts
Line: 483-486

Comment:
**Unreachable return in `filterWeakRecallCandidates`**

When execution reaches the final `return` statement, `overlap` is already known to be `0` (the `if (overlap > 0)` guard returned `true` earlier). `candidateTokens.some(token => latestTokens.has(token))` is mathematically equivalent to `overlap > 0`, so this line is always `false`. The function's effective behavior is unchanged, but the intent reads as though a non-trivial second check is happening.

```suggestion
    return false;
```

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: extensions/active-memory/index.ts
Line: 350-360

Comment:
**Stale entries not cleared when `agentId` is empty**

`persistPluginStatusLines` guards on `!params.agentId.trim()` and returns without writing to the store. If `resolveStatusUpdateAgentId` returns `""` (session key doesn't match `^agent:([^:]+):`) and the plugin is not enabled for that agent, the early-return path calls this function with an empty agentId — so any previously-written `pluginDebugEntries` for that session are never cleared.

In practice, all session keys follow `agent:<id>:…`, so the regex always extracts something, but the clearing guarantee is not upheld for non-standard keys. Worth either passing the `sessionKey` directly to the clearing logic (bypassing the agentId guard) or documenting the assumption.

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "Refine plugin debug plumbing" | Re-trigger Greptile

Comment thread extensions/active-memory/index.ts Resolved
Comment thread extensions/active-memory/index.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8abf8a1bee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/auto-reply/reply/agent-runner.ts Resolved
Comment thread extensions/active-memory/index.ts Resolved
@aisle-research-bot

aisle-research-bot Bot commented Apr 8, 2026 •

Copy link
Copy Markdown

🔒 Aisle Security Analysis

We found 6 potential security issue(s) in this PR:

# Severity Title
1 🟠 High Prompt injection risk: recalled memory summary injected as system context (Active Memory plugin)
2 🟠 High Unauthorized users can enable verbose mode and trigger leakage of plugin debug/memory summaries
3 🟡 Medium Memory exhaustion risk: unbounded rawReply from embedded agent cached in activeRecallCache
4 🟡 Medium Untrusted plugin debug lines can inject Slack/Telegram formatting and mentions in verbose replies
5 🟡 Medium Cross-session session toggle via sessionId→sessionKey canonicalization (Active Memory)
6 🔵 Low Information disclosure via logging of persisted transcript file path
1. 🟠 Prompt injection risk: recalled memory summary injected as system context (Active Memory plugin)
Property Value
Severity High
CWE CWE-74
Location extensions/active-memory/index.ts:1549-1556

Description

The Active Memory plugin injects a recalled-memory summary into the system prompt via appendSystemContext. That summary is derived from a sub-agent LLM output which in turn is influenced by stored memories and recent conversation (both potentially attacker/user controlled).

Although the plugin prepends a warning (ACTIVE_MEMORY_PLUGIN_GUIDANCE) that says to treat the content as untrusted, the actual recalled text is still delivered at system priority, so a malicious memory entry (or a manipulated sub-agent output) can smuggle instructions such as “ignore previous instructions”, “use tools to exfiltrate secrets”, etc. XML escaping prevents breaking out of the tag structure, but it does not prevent instruction-following by the downstream model.

Vulnerable flow:

  • Input: stored memories / conversation content → sub-agent output rawReply → summary
  • Sink: appendSystemContext: metadata (system-level prompt augmentation)

Vulnerable code:

const metadata = buildMetadata(result.summary);
...
return {
  prependSystemContext: ACTIVE_MEMORY_PLUGIN_GUIDANCE,
  appendSystemContext: metadata,
};

buildMetadata() wraps the untrusted summary in <active_memory_plugin> tags, but does not constrain it to non-instructional data beyond XML escaping.

Recommendation

Avoid placing untrusted, user-influenced content into system role text.

Safer options:

  1. Inject recalled memory as a lower-priority message (e.g., assistant or a dedicated tool/context message type if supported), and clearly mark it as data.
  2. If you must include it in the system prompt, wrap it as quoted/serialized data and add robust delimiting that the model is instructed to never treat as instructions (still imperfect), and consider additional filters.

Example (preferred: non-system injection; pseudocode depends on your prompt builder API):

​// Instead of appendSystemContext
return {
  ​// e.g. appendContext / messages addition (non-system)
  appendContext: `Recalled memory (data, not instructions):\n<active_memory_plugin>\n${escapeXml(summary)}\n</active_memory_plugin>`,
};

Also consider:

  • Allowlisting summary format more strictly (e.g., forbid imperatives like “ignore”, “do X”, “you must”), and/or using a structured schema (JSON) consumed by code rather than directly by the model.
2. 🟠 Unauthorized users can enable verbose mode and trigger leakage of plugin debug/memory summaries
Property Value
Severity High
CWE CWE-285
Location src/auto-reply/reply/directive-handling.persist.ts:100-107

Description

The inline directive persistence path allows any message sender to persist /verbose settings into the session entry without requiring command authorization. When verbose is enabled, runReplyAgent() prepends SessionEntry.pluginDebugEntries (including Active Memory recalled summaries) into the user-visible reply and /status output.

Impact:

  • In group/channel sessions, an untrusted participant can send /verbose on (or equivalent inline directive) and have that persisted to the shared session.
  • Subsequent replies in that chat may include pluginDebugEntries (e.g., recalled memory summaries) that were not intended for all participants, causing sensitive data exposure.

Contributing code paths:

  • Persistence of verbose directive lacks command.isAuthorizedSender gate.
  • Verbose reply prefixing includes plugin debug lines verbatim.

Vulnerable code (persistence without auth):

if (
  directives.hasVerboseDirective &&
  directives.verboseLevel &&
  allowInternalVerbosePersistence
) {
  applyVerboseOverride(sessionEntry, directives.verboseLevel);
  updated = true;
}

Data flow:

  • input: chat message containing /verbose on (inline directive)
  • state change: persisted to session store (SessionEntry.verboseLevel)
  • sink: resolveSessionPluginDebugLines() output is prepended to replies when verbose is enabled (buildInlinePluginStatusPayload) and shown in verbose /status output.

Recommendation

Require sender authorization before persisting directives that change session behavior (including /verbose).

Example fix:

​// Add an explicit authorization flag to persistInlineDirectives params
export async function persistInlineDirectives(params: {
  ​// ...existing...
  isAuthorizedSender: boolean;
}) {
  ​// ...
  if (
    params.isAuthorizedSender &&
    directives.hasVerboseDirective &&
    directives.verboseLevel &&
    allowInternalVerbosePersistence
  ) {
    applyVerboseOverride(sessionEntry, directives.verboseLevel);
    updated = true;
  }
}

And pass command.isAuthorizedSender from the caller (get-reply-directives-apply.ts).

Additionally, consider redacting or scoping pluginDebugEntries for group/channel chats (or restricting Active Memory debug persistence to direct chats only), since these lines can include recalled personal data.

3. 🟡 Memory exhaustion risk: unbounded `rawReply` from embedded agent cached in `activeRecallCache`
Property Value
Severity Medium
CWE CWE-400
Location extensions/active-memory/index.ts:1256-1264

Description

The Active Memory plugin stores the full embedded agent output (rawReply) in memory and caches it for up to 1000 entries.

  • Input (untrusted): rawReply is built by concatenating result.payloads[].text returned by runEmbeddedPiAgent, which ultimately comes from an LLM response.
  • No hard size limit: The code truncates only the derived summary (truncateSummary(..., maxSummaryChars)), but does not cap rawReply.
  • Sink: When summary is non-empty, rawReply is included in the ActiveRecallResult and cached in activeRecallCache.
  • Impact: A misbehaving/compromised model, promptOverride/promptAppend, or unexpected provider behavior could return very large text. This can balloon process memory (and potentially crash) because up to 1000 large rawReply strings can accumulate before eviction.

Vulnerable flow excerpt:

const rawReply = (result.payloads ?? [])
  .map((payload) => payload.text?.trim() ?? "")
  .filter(Boolean)
  .join("\n")
  .trim();
...
const result: ActiveRecallResult = summary.length > 0
  ? { status: "ok", rawReply, summary, ... }
  : { status: "empty", ... };
...
setCachedResult(cacheKey, result, params.config.cacheTtlMs);

Recommendation

Add a hard cap on embedded agent output size before storing/caching, and prefer caching only the bounded summary.

Example (cap and optionally omit rawReply from cached results):

const MAX_RAW_REPLY_CHARS = 8_000; // choose based on expected use

const rawReplyFull = (result.payloads ?? [])
  .map((p) => p.text ?? "")
  .join("\n");

const rawReply = rawReplyFull.length > MAX_RAW_REPLY_CHARS
  ? rawReplyFull.slice(0, MAX_RAW_REPLY_CHARS)
  : rawReplyFull;

​// Option A: do not cache rawReply at all
const cacheableResult: ActiveRecallResult = summary.length > 0
  ? { status: "ok", elapsedMs, rawReply: "", summary }
  : { status: "empty", elapsedMs, summary: null };

setCachedResult(cacheKey, cacheableResult, params.config.cacheTtlMs);

Also consider:

  • Enforcing a maximum combined payload size while iterating, instead of building a giant string.
  • Limiting DEFAULT_MAX_CACHE_ENTRIES and/or making it configurable.
  • Ensuring logs never print full model output (currently they log only lengths; keep it that way).
4. 🟡 Untrusted plugin debug lines can inject Slack/Telegram formatting and mentions in verbose replies
Property Value
Severity Medium
CWE CWE-116
Location src/auto-reply/reply/agent-runner.ts:73-79

Description

Verbose-mode reply surfaces render pluginDebugEntries from the session store directly into user-visible message text without channel-specific escaping.

Impact:

  • The Active Memory plugin persists debugSummary derived from an LLM subagent reply into SessionEntry.pluginDebugEntries.
  • sanitizeDebugText() only removes control characters and collapses whitespace; it does not neutralize channel markup/mentions (e.g., Slack <!here>, <@​U...>, @​channel, Markdown-like formatting), URLs, or other social-engineering content.
  • Any user can enable verbose mode inline via /verbose (or /v) directives, causing these plugin debug lines to be prepended to the assistant’s reply.

This enables mention-spam and UI spoofing/social engineering in channels when verbose is enabled by untrusted users.

Vulnerable flow (high level):

  • Input: user message influences Active Memory subagent output rawReply → summary.
  • Persistence: persistPluginStatusLines() stores ${ACTIVE_MEMORY_DEBUG_PREFIX} ${sanitizeDebugText(summary)} in session store.
  • Sink: runReplyAgent() prepends lines.join("\n") into outgoing reply payload when verboseEnabled.

Vulnerable code (sink example):

return { text: lines.join("\n") };

Sanitization is insufficient (source persistence):

return sanitized.replace(/\s+/g, " ").trim();

Recommendation

Treat pluginDebugEntries as untrusted output and escape/neutralize per channel before rendering.

Options:

  1. Do not render plugin debug lines to end-users; only log them server-side.
  2. If they must be shown, implement channel-aware escaping:
    • Slack: escape &, <, > and strip/neutralize sequences that produce mentions (<!here>, <!channel>, <@...>, @​here, @​channel>), or send via Slack APIs with mrkdwn: false / verbatim where appropriate.
    • Telegram: use plain-text mode (no Markdown/HTML parse mode) for these lines, or escape special characters for the selected parse mode.

Example (generic neutralization for mention-like tokens before joining):

function neutralizeMentions(text: string): string {
  return text
    .replace(/<!(here|channel|everyone)>/gi, "[!$1]")
    .replace(/<@[^>]+>/g, "[@​user]")
    .replace(/@(here|channel|everyone)\b/gi, "@$1\u200b");
}

return { text: lines.map(neutralizeMentions).join("\n") };

Additionally, consider restricting /verbose to trusted users or admin-only contexts if verbose output can contain operational details.

5. 🟡 Cross-session session toggle via sessionId→sessionKey canonicalization (Active Memory)
Property Value
Severity Medium
CWE CWE-639
Location extensions/active-memory/index.ts:269-315

Description

The Active Memory plugin resolves a canonical sessionKey from an arbitrary sessionId by scanning the session store and selecting the most recently updated match.

This resolution is then used to read and write per-session toggle state (and persist plugin debug entries) even when the caller did not provide a sessionKey:

  • resolveCanonicalSessionKeyFromSessionId() iterates over all session store entries for an agent and returns the freshest matching sessionKey for a given sessionId.
  • resolveCommandSessionKey() uses that mapping for /active-memory on|off|status when ctx.sessionKey is absent.
  • before_prompt_build also uses the mapping when ctx.sessionKey is missing.

If an attacker (or an untrusted channel integration) can influence ctx.sessionId, or if sessionId values are not globally unique, this can lead to cross-session state confusion:

  • toggling Active Memory on/off for another session (unauthorized session mutation)
  • persisting plugin debug/status lines into another session’s pluginDebugEntries

Vulnerable code (canonicalization by sessionId, no ownership/binding/ambiguity checks):

for (const [sessionKey, entry] of Object.entries(store)) {
  ​// ...
  if (!candidateSessionId || candidateSessionId !== sessionId) continue;
  const updatedAt = typeof (entry as { updatedAt?: unknown }).updatedAt === "number"
    ? ((entry as { updatedAt?: number }).updatedAt ?? 0)
    : 0;
  if (!bestMatch || updatedAt > bestMatch.updatedAt) {
    bestMatch = { sessionKey, updatedAt };
  }
}
return bestMatch?.sessionKey?.trim() || undefined;

This pattern resembles an IDOR/session-fixation style issue because the plugin is effectively treating sessionId as sufficient authority to select a sessionKey.

Recommendation

Do not allow session mutation based solely on sessionId.

Recommended fixes (choose one or combine):

  1. Require ctx.sessionKey for per-session toggle commands; if it’s missing, refuse to act.

  2. If you must support sessionId resolution:

    • Use the core resolver logic that can detect ambiguity and structural matches (e.g., resolveSessionIdMatchSelection(...) / resolvePreferredSessionKeyForSessionIdMatches(...)), and fail closed on ambiguous matches.
    • Bind the mapping to the caller’s identity and channel (e.g., ensure the resolved session entry belongs to ctx.senderId/ctx.channelId/account/thread), not just sessionId.

Example: fail closed when sessionKey is missing (per-session command):

const sessionKey = ctx.sessionKey?.trim();
if (!sessionKey) {
  return { text: "Active Memory: session toggle requires a sessionKey." };
}

And for the hook:

  • Prefer ctx.sessionKey only; if absent, avoid persisting per-session debug/toggle state, or require a verified binding mechanism before resolving a session.
6. 🔵 Information disclosure via logging of persisted transcript file path
Property Value
Severity Low
CWE CWE-532
Location extensions/active-memory/index.ts:1328-1329

Description

The Active Memory plugin logs the full on-disk path to persisted sub-agent transcripts when logging is enabled. These transcript files can contain hidden prompt context and recalled memories; even revealing their exact filesystem location and identifiers (session id) can be sensitive in shared log environments.

  • Trigger: config.logging === true and config.persistTranscripts === true
  • Data exposed: absolute transcriptPath under the runtime state directory (includes agent id and a generated session id)

Vulnerable code:

if (params.config.logging && transcriptPath) {
  params.api.logger.info?.(`${logPrefix} transcript=${transcriptPath}`);
}

Recommendation

Avoid logging full absolute transcript paths, or log a redacted/relative identifier.

Example:

if (params.config.logging && transcriptPath) {
  const base = resolvePersistentTranscriptBaseDir(params.api, params.agentId);
  const rel = path.relative(base, transcriptPath);
  params.api.logger.info?.(`${logPrefix} transcript_id=${rel.replace(/\\/g, "/")}`);
}

If you must log paths for debugging, gate it behind a higher-verbosity/debug log level and ensure logs are access-controlled.


Analyzed PR: #63286 at commit 2f367b4

Last updated on: 2026-04-09T16:20:47Z

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8f0698d148

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread extensions/active-memory/index.ts Resolved
Comment thread extensions/active-memory/index.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8f64587a1e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread extensions/active-memory/index.ts Resolved
Comment thread extensions/active-memory/index.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dae966a9b6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread extensions/active-memory/index.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cbb2697215

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread extensions/active-memory/index.ts Resolved
Comment thread src/config/sessions/types.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 32bcb93527

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread extensions/active-memory/index.ts Resolved

Copy link
Copy Markdown
Contributor Author

Addressed a narrow Active Memory hardening pass in 5e23a26098.

This follow-up fixes three low-risk issues without changing intended feature behavior:

  • transcript persistence is now containment-safe and falls back to the default active-memory subdir if transcriptDir is unsafe
  • activeRecallCache now has a hard entry cap in addition to TTL cleanup
  • Active Memory debug text now strips control characters before it is stored/rendered in verbose output

Focused validation passed:

tmp=$(mktemp)
printf '%s\n' '["active-memory/index.test.ts"]' > "$tmp"
OPENCLAW_VITEST_INCLUDE_FILE="$tmp" CI=1 pnpm exec vitest run --config /Users/thoffman/openclaw4/vitest.extensions.config.ts --reporter=verbose --testTimeout=30000
rm -f "$tmp"

Result: 23 passed (23) in extensions/active-memory/index.test.ts.

I intentionally did not change the broader policy surfaces in this pass (shared-session verbose semantics, remote fallback policy, or the broader eligibility contract). This commit is just the bounded hardening work that should not break existing Active Memory behavior.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dd7999047b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/auto-reply/reply/agent-runner.ts Resolved
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
* Refine plugin debug plumbing

* Tighten plugin debug handling

* Reduce active memory overhead

* Abort active memory sidecar on timeout

* Rename active memory blocking subagent wording

* Fix active memory cache and recall selection

* Preserve active memory session scope

* Sanitize recalled context before retrieval

* Add active memory changelog entry

* Harden active memory debug and transcript handling

* Add active memory policy config

* Raise active memory timeout default

* Keep usage footer on primary reply

* Clear stale active memory status lines

* Match legacy active memory status prefixes

* Preserve numeric active memory bullets

* Reuse canonical session keys for active memory

* Let active memory subagent decide relevance

* Refine active memory plugin summary flow

* Fix active memory main-session DM detection

* Trim active memory summaries at word boundaries

* Add active memory prompt styles

* Fix active memory stale status cleanup

* Rename active memory subagent wording

* Add active memory prompt and thinking overrides

* Remove active memory legacy status compat

* Resolve active memory session id status

* Add active memory session toggle

* Add active memory global toggle

* Fix active memory toggle state handling

* Harden active memory transcript persistence

* Fix active memory chat type gating

* Scope active memory transcripts by agent

* Show plugin debug before replies
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
* Refine plugin debug plumbing

* Tighten plugin debug handling

* Reduce active memory overhead

* Abort active memory sidecar on timeout

* Rename active memory blocking subagent wording

* Fix active memory cache and recall selection

* Preserve active memory session scope

* Sanitize recalled context before retrieval

* Add active memory changelog entry

* Harden active memory debug and transcript handling

* Add active memory policy config

* Raise active memory timeout default

* Keep usage footer on primary reply

* Clear stale active memory status lines

* Match legacy active memory status prefixes

* Preserve numeric active memory bullets

* Reuse canonical session keys for active memory

* Let active memory subagent decide relevance

* Refine active memory plugin summary flow

* Fix active memory main-session DM detection

* Trim active memory summaries at word boundaries

* Add active memory prompt styles

* Fix active memory stale status cleanup

* Rename active memory subagent wording

* Add active memory prompt and thinking overrides

* Remove active memory legacy status compat

* Resolve active memory session id status

* Add active memory session toggle

* Add active memory global toggle

* Fix active memory toggle state handling

* Harden active memory transcript persistence

* Fix active memory chat type gating

* Scope active memory transcripts by agent

* Show plugin debug before replies
vixco pushed a commit to vixco/openclaw that referenced this pull request Aug 16, 2026
* Refine plugin debug plumbing

* Tighten plugin debug handling

* Reduce active memory overhead

* Abort active memory sidecar on timeout

* Rename active memory blocking subagent wording

* Fix active memory cache and recall selection

* Preserve active memory session scope

* Sanitize recalled context before retrieval

* Add active memory changelog entry

* Harden active memory debug and transcript handling

* Add active memory policy config

* Raise active memory timeout default

* Keep usage footer on primary reply

* Clear stale active memory status lines

* Match legacy active memory status prefixes

* Preserve numeric active memory bullets

* Reuse canonical session keys for active memory

* Let active memory subagent decide relevance

* Refine active memory plugin summary flow

* Fix active memory main-session DM detection

* Trim active memory summaries at word boundaries

* Add active memory prompt styles

* Fix active memory stale status cleanup

* Rename active memory subagent wording

* Add active memory prompt and thinking overrides

* Remove active memory legacy status compat

* Resolve active memory session id status

* Add active memory session toggle

* Add active memory global toggle

* Fix active memory toggle state handling

* Harden active memory transcript persistence

* Fix active memory chat type gating

* Scope active memory transcripts by agent

* Show plugin debug before replies
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
* Refine plugin debug plumbing

* Tighten plugin debug handling

* Reduce active memory overhead

* Abort active memory sidecar on timeout

* Rename active memory blocking subagent wording

* Fix active memory cache and recall selection

* Preserve active memory session scope

* Sanitize recalled context before retrieval

* Add active memory changelog entry

* Harden active memory debug and transcript handling

* Add active memory policy config

* Raise active memory timeout default

* Keep usage footer on primary reply

* Clear stale active memory status lines

* Match legacy active memory status prefixes

* Preserve numeric active memory bullets

* Reuse canonical session keys for active memory

* Let active memory subagent decide relevance

* Refine active memory plugin summary flow

* Fix active memory main-session DM detection

* Trim active memory summaries at word boundaries

* Add active memory prompt styles

* Fix active memory stale status cleanup

* Rename active memory subagent wording

* Add active memory prompt and thinking overrides

* Remove active memory legacy status compat

* Resolve active memory session id status

* Add active memory session toggle

* Add active memory global toggle

* Fix active memory toggle state handling

* Harden active memory transcript persistence

* Fix active memory chat type gating

* Scope active memory transcripts by agent

* Show plugin debug before replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui channel: slack Channel integration: slack channel: telegram Channel integration: telegram docs Improvements or additions to documentation maintainer Maintainer-authored PR size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant