Skip to content

fix(agents): heartbeat always targets main session — prevent routing to active subagent sessions - #61526

Closed
100yenadmin wants to merge 220 commits into
openclaw:mainfrom
electricsheephq:fix/58878-heartbeat-main-routing
Closed

100yenadmin wants to merge 220 commits into
openclaw:mainfrom
electricsheephq:fix/58878-heartbeat-main-routing

Conversation

@100yenadmin

@100yenadmin 100yenadmin commented Apr 5, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #58878

Summary

  • stop inferring the heartbeat agent/session lane from a forced session key
  • keep heartbeat runs anchored to the configured main agent session even if subagent sessions are active
  • add a regression test proving subagent-scoped session overrides still route heartbeat through agent:main:main

Fixes #58878

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: M size: S and removed agents Agent runtime and tooling size: M labels Apr 5, 2026
@100yenadmin
100yenadmin marked this pull request as ready for review April 5, 2026 22:20
Copilot AI review requested due to automatic review settings April 5, 2026 22:20

Copilot AI 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.

Pull request overview

This PR aims to ensure the built-in heartbeat always runs against the configured main agent session (typically agent:main:main), preventing accidental routing into active subagent sessions that can corrupt subagent task results.

Changes:

  • Removes agentId inference from opts.sessionKey in runHeartbeatOnce.
  • Replaces prior “session override routing” coverage with a regression test intended to prove subagent-scoped session overrides still run heartbeats through the main session.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
src/infra/heartbeat-runner.ts Changes how agentId is derived for a heartbeat run (no longer inferred from sessionKey).
src/infra/heartbeat-runner.returns-default-unset.test.ts Adds/rewrites a regression test asserting heartbeats remain anchored to the main session even with subagent session keys present.

Comment on lines 592 to 596
}): Promise<HeartbeatRunResult> {
const cfg = opts.cfg ?? loadConfig();
const explicitAgentId = typeof opts.agentId === "string" ? opts.agentId.trim() : "";
const forcedSessionAgentId =
explicitAgentId.length > 0 ? undefined : parseAgentSessionKey(opts.sessionKey)?.agentId;
const agentId = normalizeAgentId(
explicitAgentId || forcedSessionAgentId || resolveDefaultAgentId(cfg),
);
const agentId = normalizeAgentId(explicitAgentId || resolveDefaultAgentId(cfg));
const heartbeat = opts.heartbeat ?? resolveHeartbeatConfig(cfg, agentId);

Copilot AI Apr 5, 2026

Copy link

Choose a reason for hiding this comment

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

This change stops deriving agentId from opts.sessionKey, but opts.sessionKey is still forwarded into resolveHeartbeatPreflight as forcedSessionKey (and resolveHeartbeatSession will prefer it when it matches the agent). That means a subagent session key like agent:main:subagent:... can still become the heartbeat sessionKey/lane and corrupt subagent runs, so this doesn’t actually implement the PR’s stated goal by itself. Consider explicitly ignoring/overriding subagent-scoped session keys (e.g., via isSubagentSessionKey) for heartbeat session resolution so heartbeats always use the agent main session key.

Copilot uses AI. Check for mistakes.
const agentId = normalizeAgentId(
explicitAgentId || forcedSessionAgentId || resolveDefaultAgentId(cfg),
);
const agentId = normalizeAgentId(explicitAgentId || resolveDefaultAgentId(cfg));

Copilot AI Apr 5, 2026

Copy link

Choose a reason for hiding this comment

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

By removing the fallback parseAgentSessionKey(opts.sessionKey)?.agentId, callers that pass only sessionKey (no agentId) to target a non-default agent will now silently run the heartbeat under the default agent’s config/session. If this is an intentional API change, it should be enforced explicitly (e.g., require agentId when sessionKey belongs to a different agent, or log/throw) to avoid surprising plugin/runtime callers.

Suggested change
const agentId = normalizeAgentId(explicitAgentId || resolveDefaultAgentId(cfg));
const normalizedExplicitAgentId = explicitAgentId ? normalizeAgentId(explicitAgentId) : "";
const sessionAgentId =
typeof opts.sessionKey === "string" && opts.sessionKey.trim()
? normalizeAgentId(
resolveAgentIdFromSessionKey(opts.sessionKey) ??
parseAgentSessionKey(opts.sessionKey)?.agentId ??
"",
)
: "";
if (
normalizedExplicitAgentId &&
sessionAgentId &&
normalizedExplicitAgentId !== sessionAgentId
) {
throw new Error(
`runHeartbeatOnce received mismatched agentId "${normalizedExplicitAgentId}" and sessionKey for agent "${sessionAgentId}"`,
);
}
const agentId = normalizeAgentId(
normalizedExplicitAgentId || sessionAgentId || resolveDefaultAgentId(cfg),
);

Copilot uses AI. Check for mistakes.
Comment on lines +812 to +815
const subagentSessionKey = `agent:${agentId}:subagent:test-heartbeat-routing`;
if (cfg.agents?.defaults?.heartbeat) {
cfg.agents.defaults.heartbeat.session = subagentSessionKey;
}

Copilot AI Apr 5, 2026

Copy link

Choose a reason for hiding this comment

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

This test configures cfg.agents.defaults.heartbeat.session to a subagent session key (agent:...:subagent:...). With the current resolveHeartbeatSession logic, that value is treated as a valid session override and will be selected as the heartbeat session, so the later expectations that SessionKey is the main session key won’t hold unless production code is also updated to reject subagent keys for heartbeat session overrides.

Copilot uses AI. Check for mistakes.
});
await runHeartbeatOnce({
cfg,
sessionKey: subagentSessionKey,

Copilot AI Apr 5, 2026

Copy link

Choose a reason for hiding this comment

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

This call passes sessionKey: subagentSessionKey, but the assertions below expect the heartbeat to run and reply under mainSessionKey. As implemented, resolveHeartbeatSession prefers the forced session key when provided (and same-agent), so this will continue to route the heartbeat through the subagent session unless the runner filters/normalizes subagent session keys before preflight.

Suggested change
sessionKey: subagentSessionKey,
sessionKey: mainSessionKey,

Copilot uses AI. Check for mistakes.
every: "5m",
target: "last",
},
it("keeps heartbeat runs on the main session even when heartbeat.session targets a peer session", async () => {

Copilot AI Apr 5, 2026

Copy link

Choose a reason for hiding this comment

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

The test description says "peer session" but the override used is a subagent session key. Either the test name should reflect subagent routing explicitly, or the setup should use an actual peer session key (e.g. a channel/group session) to match the wording.

Suggested change
it("keeps heartbeat runs on the main session even when heartbeat.session targets a peer session", async () => {
it("keeps heartbeat runs on the main session even when heartbeat.session targets a subagent session", async () => {

Copilot uses AI. Check for mistakes.

@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: 558d7d1577

ℹ️ 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 on lines +854 to +855
"[email protected]",
"Main alert",

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.

P1 Badge Assert the session chosen by heartbeat preflight

This test now expects heartbeat delivery to stay on mainSessionKey, but the implementation still honors same-agent sessionKey / heartbeat.session overrides via resolveHeartbeatSession in src/infra/heartbeat-runner.ts, so runHeartbeatOnce({ sessionKey: subagentSessionKey, ... }) resolves to the subagent session entry instead. That makes this expectation inconsistent with runtime behavior and causes the regression test to fail rather than validate the intended fix.

Useful? React with 👍 / 👎.

@greptile-apps

greptile-apps Bot commented Apr 5, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes the inferred-agentId-from-sessionKey path in runHeartbeatOnce so that heartbeat runs always resolve the agent from config rather than from a caller-supplied session key. The intent is correct, but two issues prevent this from landing cleanly.

Key changes:

  • src/infra/heartbeat-runner.ts: removes three lines that extracted agentId from opts.sessionKey via parseAgentSessionKey
  • src/infra/heartbeat-runner.returns-default-unset.test.ts: replaces a two-case it.each (config-level and arg-level overrides) with a single regression test asserting main-session routing when both heartbeat.session config and sessionKey arg point to a subagent key

Issues found:

  • parseAgentSessionKey is now an unused import — Oxlint will flag it and pnpm check will fail
  • The forcedSessionKey: opts.sessionKey forwarding in resolveHeartbeatPreflight is left intact, and the forcedSessionKey block in resolveHeartbeatSession (lines 202–225) still returns a subagent session key when the agentId matches — so heartbeat routing to the subagent session is not actually prevented, and the new regression test will likely fail as written

Confidence Score: 1/5

Not safe to merge: a confirmed unused import will break the lint gate, and the routing fix appears incomplete — the new regression test likely fails as written.

Score of 1 reflects two concrete issues found during review: (1) removing the parseAgentSessionKey usage leaves it as an unused import that will break pnpm check with Oxlint; (2) forcedSessionKey: opts.sessionKey is still forwarded to resolveHeartbeatSession where subagent session keys pass the agentId equality guard and return the subagent session — the fix removes only the agentId-extraction half of the bug but not the session-routing half, causing the new regression test to fail.

src/infra/heartbeat-runner.ts — lines 44-49 (unused import) and lines 617-624 (incomplete routing fix); src/infra/heartbeat-runner.returns-default-unset.test.ts — the regression test assertion at line 860 will not hold with the current implementation

Comments Outside Diff (2)

  1. src/infra/heartbeat-runner.ts, line 44-49 (link)

    P1 Unused import after the fix

    After removing the only call to parseAgentSessionKey from runHeartbeatOnce, this symbol is no longer referenced anywhere else in the file (verified — it appears only in this import block). Oxlint will flag it as an unused import and break the pnpm check gate.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: src/infra/heartbeat-runner.ts
    Line: 44-49
    
    Comment:
    **Unused import after the fix**
    
    After removing the only call to `parseAgentSessionKey` from `runHeartbeatOnce`, this symbol is no longer referenced anywhere else in the file (verified — it appears only in this import block). Oxlint will flag it as an unused import and break the `pnpm check` gate.
    
    
    
    How can I resolve this? If you propose a fix, please make it concise.
  2. src/infra/heartbeat-runner.ts, line 617-624 (link)

    P1 Incomplete fix — forcedSessionKey still routes heartbeat to subagent sessions

    Even after removing the agentId-from-sessionKey extraction, opts.sessionKey is still forwarded unchanged as forcedSessionKey into resolveHeartbeatPreflight → resolveHeartbeatSession. In the forcedSessionKey block at lines 202–225 of resolveHeartbeatSession, a subagent key like agent:main:subagent:test-heartbeat-routing passes every guard:

    • toAgentStoreSessionKey returns it unchanged (it is already a fully-qualified agent session key; parseAgentSessionKey parses it as { agentId: "main", rest: "subagent:test-heartbeat-routing" } and the function reconstructs the same string)
    • canonicalizeMainSessionAlias returns it unchanged (not a main alias)
    • resolveAgentIdFromSessionKey returns "main", which equals normalizeAgentId(resolvedAgentId)

    The function therefore returns the subagent session key rather than the main session key, so heartbeat still targets the subagent session when a subagent key is passed as opts.sessionKey. The forcedSessionKey block (lines 202–225) takes precedence over the heartbeat.session config handling at line 227.

    This means the regression test added at line 846 — which passes sessionKey: subagentSessionKey and asserts SessionKey: mainSessionKey on line 860 — will likely fail as written.

    To close the gap, guard the early return in resolveHeartbeatSession against subagent keys. isSubagentSessionKey is already exported from src/routing/session-key.ts, so this would require a small targeted change:

    // lines 214-224 in resolveHeartbeatSession
    if (forcedCanonical !== "global") {
      const sessionAgentId = resolveAgentIdFromSessionKey(forcedCanonical);
      if (sessionAgentId === normalizeAgentId(resolvedAgentId) && !isSubagentSessionKey(forcedCanonical)) {
        return {
          sessionKey: forcedCanonical,
          storePath,
          store,
          entry: store[forcedCanonical],
        };
      }
    }
    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: src/infra/heartbeat-runner.ts
    Line: 617-624
    
    Comment:
    **Incomplete fix — `forcedSessionKey` still routes heartbeat to subagent sessions**
    
    Even after removing the `agentId`-from-`sessionKey` extraction, `opts.sessionKey` is still forwarded unchanged as `forcedSessionKey` into `resolveHeartbeatPreflight` → `resolveHeartbeatSession`. In the `forcedSessionKey` block at lines 202–225 of `resolveHeartbeatSession`, a subagent key like `agent:main:subagent:test-heartbeat-routing` passes every guard:
    
    - `toAgentStoreSessionKey` returns it unchanged (it is already a fully-qualified agent session key; `parseAgentSessionKey` parses it as `{ agentId: "main", rest: "subagent:test-heartbeat-routing" }` and the function reconstructs the same string)
    - `canonicalizeMainSessionAlias` returns it unchanged (not a main alias)
    - `resolveAgentIdFromSessionKey` returns `"main"`, which equals `normalizeAgentId(resolvedAgentId)`
    
    The function therefore **returns the subagent session key** rather than the main session key, so heartbeat still targets the subagent session when a subagent key is passed as `opts.sessionKey`. The `forcedSessionKey` block (lines 202–225) takes precedence over the `heartbeat.session` config handling at line 227.
    
    This means the regression test added at line 846 — which passes `sessionKey: subagentSessionKey` and asserts `SessionKey: mainSessionKey` on line 860 — will likely fail as written.
    
    To close the gap, guard the early return in `resolveHeartbeatSession` against subagent keys. `isSubagentSessionKey` is already exported from `src/routing/session-key.ts`, so this would require a small targeted change:
    
    ```typescript
    // lines 214-224 in resolveHeartbeatSession
    if (forcedCanonical !== "global") {
      const sessionAgentId = resolveAgentIdFromSessionKey(forcedCanonical);
      if (sessionAgentId === normalizeAgentId(resolvedAgentId) && !isSubagentSessionKey(forcedCanonical)) {
        return {
          sessionKey: forcedCanonical,
          storePath,
          store,
          entry: store[forcedCanonical],
        };
      }
    }
    ```
    
    How can I resolve this? If you propose a fix, please make it concise.
Prompt To Fix All With AI
This is a comment left during a code review.
Path: src/infra/heartbeat-runner.ts
Line: 44-49

Comment:
**Unused import after the fix**

After removing the only call to `parseAgentSessionKey` from `runHeartbeatOnce`, this symbol is no longer referenced anywhere else in the file (verified — it appears only in this import block). Oxlint will flag it as an unused import and break the `pnpm check` gate.

```suggestion
import {
  normalizeAgentId,
  resolveAgentIdFromSessionKey,
  toAgentStoreSessionKey,
} from "../routing/session-key.js";
```

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

---

This is a comment left during a code review.
Path: src/infra/heartbeat-runner.ts
Line: 617-624

Comment:
**Incomplete fix — `forcedSessionKey` still routes heartbeat to subagent sessions**

Even after removing the `agentId`-from-`sessionKey` extraction, `opts.sessionKey` is still forwarded unchanged as `forcedSessionKey` into `resolveHeartbeatPreflight` → `resolveHeartbeatSession`. In the `forcedSessionKey` block at lines 202–225 of `resolveHeartbeatSession`, a subagent key like `agent:main:subagent:test-heartbeat-routing` passes every guard:

- `toAgentStoreSessionKey` returns it unchanged (it is already a fully-qualified agent session key; `parseAgentSessionKey` parses it as `{ agentId: "main", rest: "subagent:test-heartbeat-routing" }` and the function reconstructs the same string)
- `canonicalizeMainSessionAlias` returns it unchanged (not a main alias)
- `resolveAgentIdFromSessionKey` returns `"main"`, which equals `normalizeAgentId(resolvedAgentId)`

The function therefore **returns the subagent session key** rather than the main session key, so heartbeat still targets the subagent session when a subagent key is passed as `opts.sessionKey`. The `forcedSessionKey` block (lines 202–225) takes precedence over the `heartbeat.session` config handling at line 227.

This means the regression test added at line 846 — which passes `sessionKey: subagentSessionKey` and asserts `SessionKey: mainSessionKey` on line 860 — will likely fail as written.

To close the gap, guard the early return in `resolveHeartbeatSession` against subagent keys. `isSubagentSessionKey` is already exported from `src/routing/session-key.ts`, so this would require a small targeted change:

```typescript
// lines 214-224 in resolveHeartbeatSession
if (forcedCanonical !== "global") {
  const sessionAgentId = resolveAgentIdFromSessionKey(forcedCanonical);
  if (sessionAgentId === normalizeAgentId(resolvedAgentId) && !isSubagentSessionKey(forcedCanonical)) {
    return {
      sessionKey: forcedCanonical,
      storePath,
      store,
      entry: store[forcedCanonical],
    };
  }
}
```

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

Reviews (1): Last reviewed commit: "fix(agents): force heartbeat to always t..." | Re-trigger Greptile

…agent sessions

Fixes #58878

runHeartbeatOnce() was inferring the heartbeat agent from opts.sessionKey,
causing heartbeat turns to route into active subagent sessions instead of
the main session. Now anchored to the configured/default main agent.

Test added: seeds both main and subagent sessions, verifies heartbeat
stays on main even when given a subagent session key.

@100yenadmin 100yenadmin left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Subagent session keys are never valid heartbeat targets. Stripping them is intentional and safe.

@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: d105922f64

ℹ️ 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".


const forced = forcedSessionKey?.trim();
if (forced) {
if (forced && !isSubagentSessionKey(forced)) {

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.

P1 Badge Reject subagent heartbeat.session overrides too

This change only blocks subagent keys in the forcedSessionKey path, but heartbeat.session is still resolved through the same-agent canonicalization path below, which continues to accept agent:<id>:subagent:*. In that configuration, heartbeat preflight still binds to the subagent session entry and routes/delivers from that lane instead of the agent main session, so the fix does not actually enforce main-session routing and the new regression scenario remains broken.

Useful? React with 👍 / 👎.

mbelinky and others added 15 commits April 6, 2026 16:35
* memory: add REM preview and safe promotion replay thanks @mbelinky

* changelog: note REM preview and promotion replay

---------

Co-authored-by: Vignesh <[email protected]>
Fixes #60555

- resolveSessionKeyForRequest() called with sessionId only (not agentId)
- consolidated to single early backfill path
- whitespace normalization for sessionKey
- warn log on backfill failure
- e2e test for resolver failure fallback
- SSE seq assertion corrected after NO_REPLY
…eplay splitting

Fixes #61476

Untagged text blocks in mixed assistant messages were forced to undefined
phase when any sibling had an explicit textSignature phase. Now they
correctly inherit the message-level assistantMessagePhase, preventing
commentary leaks during history replay.

Removes the hasExplicitBlockPhase scan — untagged blocks always inherit
m.phase. Blocks with explicit textSignature.phase still use their own.

94/94 tests pass. Regression test added for mixed explicit/untagged blocks.
@openclaw-barnacle openclaw-barnacle Bot added channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core cli CLI command changes scripts Repository scripts commands Command implementations agents Agent runtime and tooling channel: feishu Channel integration: feishu channel: irc extensions: openai extensions: minimax extensions: fal extensions: qa-lab extensions: memory-wiki size: XL and removed size: S labels Apr 6, 2026
@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@openclaw-barnacle openclaw-barnacle Bot closed this Apr 6, 2026
@openclaw-barnacle

Copy link
Copy Markdown

Closing this PR because it looks dirty (too many unrelated or unexpected changes). This usually happens when a branch picks up unrelated commits or a merge went sideways. Please recreate the PR from a clean branch.

@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: 7a497f0b72

ℹ️ 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 on lines +99 to +103
channel:
entry.deliveryContext?.channel ??
entry.lastChannel ??
entry.channel ??
entry.origin?.provider,

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.

P1 Badge Keep last-session fields as primary announce origin

This extracted deliveryContextFromSession now prioritizes entry.deliveryContext over lastChannel/lastTo/lastThreadId, which reverses the previous behavior from src/utils/delivery-context.ts where last* fields were the primary route and deliveryContext was fallback. When those fields diverge (for example legacy or partially migrated session rows), subagent completion announces can be routed to an older channel/thread instead of the most recent conversation, causing user-visible misdelivery.

Useful? React with 👍 / 👎.

return requesterTarget !== entryTarget;
}
}
return false;

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.

P1 Badge Preserve plugin thread-strip hook in announce origin

The new shouldStripThreadFromAnnounceEntry implementation only handles Telegram and then unconditionally returns false, so channel plugins' conversationBindings.shouldStripThreadFromAnnounceOrigin callback is no longer consulted. That regresses the public channel-plugin contract (see src/channels/plugins/types.adapters.ts) and can keep stale thread IDs for non-Telegram channels, causing subagent announce messages to post into the wrong thread/conversation.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui channel: bluebubbles Channel integration: bluebubbles channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: imessage Channel integration: imessage channel: irc channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser cli CLI command changes commands Command implementations docs Improvements or additions to documentation extensions: fal extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-wiki extensions: minimax extensions: openai extensions: qa-lab gateway Gateway runtime scripts Repository scripts size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(agents): heartbeat routes to subagent session instead of main — corrupts subagent task results