Skip to content

fix(heartbeat): stop cron wakes from forcing the main session over heartbeat.session - #116373

Closed
sloptop-the-terrible wants to merge 11 commits into
openclaw:mainfrom
sloptop-the-terrible:fix/heartbeat-session-forced-key
Closed

sloptop-the-terrible wants to merge 11 commits into
openclaw:mainfrom
sloptop-the-terrible:fix/heartbeat-session-forced-key

Conversation

@sloptop-the-terrible

@sloptop-the-terrible sloptop-the-terrible commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

agents.*.heartbeat.session is ignored for recurring monitor/task heartbeats. The system-owned monitor is intentionally scheduled with sessionTarget: "main", but its execution request carries only source: "interval" plus agentId. The Gateway cron adapter resolved that agent-only request to an explicit main-session key, and the heartbeat runner treated it as caller-forced before consulting the configured heartbeat session.

Fixes #116205.

Root Cause and Full Route

  1. src/cron/heartbeat-monitor.ts keeps sessionTarget: "main" as scheduling metadata.
  2. src/cron/service/timer-execution.ts turns heartbeat monitor/task payloads into source: "interval" wake requests with agentId and no caller session.
  3. src/gateway/server-cron.ts previously synthesized the agent's main session and forwarded it into the wake bus.
  4. Wake coalescing preserved that key. The heartbeat scheduler then saw a targeted session and the runner resolved it before agents.*.heartbeat.session.
  5. That selection controls the session entry/transcript, pending system-event queue, agent SessionKey, delivery route, and durable send.

The repair stays at the ownership boundary where absence became a forced value: only a sessionless interval request now reaches the wake bus with sessionKey: undefined. The downstream runner then applies heartbeat.session (or its existing default). Caller-explicit sessions remain forced.

Non-interval cron event wakes are deliberately unchanged. They keep the resolved main/session key because the system event was queued in that session and must be consumed from the same queue. runHeartbeatOnce is also unchanged for that reason.

Evidence

The boundary regression was first run against pre-fix main:

scheduled monitor:
  expected adapter session: undefined
  expected resolved session: agent:primary:ops-heartbeat
  received adapter/resolved: agent:primary:main  (FAIL)

explicit user wake:
  adapter/resolved: agent:primary:user-session  (PASS)

At exact head 5128a65885700e6bd033dbefb0a6c274db5a8b07 on base bafa32fd544b5ad8ac0cba75ebb76bef2250e1d7:

scheduled monitor:
  adapter session: undefined
  resolved session: agent:primary:ops-heartbeat

explicit user wake:
  adapter/resolved: agent:primary:user-session

Exact-head command:

node scripts/run-vitest.mjs src/gateway/server-cron.test.ts \
  -t "defaults monitor wakes to heartbeat.session without overriding explicit wake sessions"

Test Files  2 passed (2)
Tests       2 passed | 142 skipped (144)

Additional focused proof on the patch-equivalent stack:

node scripts/run-vitest.mjs src/cron/service.heartbeat-payload.test.ts src/cron/service/wake.test.ts
# 9 passed

node scripts/run-vitest.mjs src/infra/heartbeat-runner.returns-default-unset.test.ts \
  -t "resolves configured and forced session key overrides"
# 2 passed

node scripts/run-vitest.mjs src/cron/service.wake-now-real-heartbeat.test.ts
# 4 passed

node scripts/check-changed.mjs -- src/gateway/server-cron.ts src/gateway/server-cron.test.ts
# passed: type checks, lint, format, import cycles, and repository guards

git range-diff confirms all four commits are patch-equivalent after the final current-main rebase. Contributor authorship is preserved on the original three commits.

Review and Surface

  • Production: +4/-1 (src/gateway/server-cron.ts)
  • Tests: +93/-0 (src/gateway/server-cron.test.ts)
  • Total: +97/-1, 2 files
  • Structured autoreview: clean, no accepted/actionable findings (gpt-5.6-sol, high)
  • Independent read-only Codex review: CLEAN; confirmed the Gateway adapter as the smallest correct boundary and no material residual test gap

User Impact

  • Recurring monitor/task heartbeats honor configured non-main heartbeat.session values.
  • Heartbeat transcript and delivery routing follow that configured session instead of synthetic main.
  • Explicit user session wakes remain explicitly targeted.
  • Cron system-event wakes continue consuming the event from the session where it was queued.
  • Configurations without heartbeat.session retain the existing downstream default.

@sloptop-the-terrible
sloptop-the-terrible marked this pull request as ready for review July 30, 2026 10:57
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Jul 30, 2026
@clawsweeper clawsweeper Bot added 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. P2 Normal backlog priority with limited blast radius. 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. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 21, 2026, 5:55 AM ET / 09:55 UTC.

ClawSweeper review

What this changes

The PR lets sessionless interval heartbeat monitor wakes use the configured heartbeat session while retaining explicit and cron-event session targets.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

The PR addresses a current-main session-routing bug at the Gateway adapter and has no blocking correctness finding. Keep it open for current-base merge validation because the adapter changed around it after the branch base.

Priority: P1
Reviewed head: 46626554072f948759ab44635b718819d1e6af77

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Strong real-Gateway proof and a narrowly scoped owner-boundary repair support a high-quality review outcome.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): A maintainer-linked exact-head hosted run exercised the real Gateway/RPC/session/delivery path and recorded a passing after-fix result.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): A maintainer-linked exact-head hosted run exercised the real Gateway/RPC/session/delivery path and recorded a passing after-fix result.
Evidence reviewed 4 items Current-main fault path: Current main emits interval monitor wakes with an agent ID but no session, then the Gateway adapter resolves and forwards a main-session key; the heartbeat resolver gives a forced key priority over heartbeat.session.
Owner-boundary repair: The patch drops only a sessionless interval key after target resolution, leaving explicit interval and non-interval cron wakes targeted.
Real Gateway proof: The added E2E starts an in-process Gateway, drives public cron and wake RPCs, and verifies provider input, event consumption, transcript isolation, and delivery destination; the maintainer-linked exact-head hosted run passed.
Findings None None.
Security None None.

Live Verification

Command: OPENCLAW_E2E_SKIP_BUILD=1 node scripts/run-vitest.mjs test/e2e/qa-lab/runtime/gateway-heartbeat-session-routing.e2e.test.ts

Result: PASS (completed)

OPENCLAW_E2E_SKIP_BUILD=1 node scripts/run-vitest.mjs test/e2e/qa-lab/runtime/gateway-heartbeat-session-routing.e2e.test.ts
runner@runnervm76f27:/tmp/clawsweeper-live-proof-116373-nlnRnq/target$ OPENCLAW_E2E_SKIP_BUILD=1 node scripts/run-vitest.mjs test/e2e/qa-lab/runtime/gateway-hea
rtbeat-session-routing.e2e.test.ts
[test] starting test/vitest/vitest.e2e.config.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-116373-nlnRnq/target

 ✓ test/e2e/qa-lab/runtime/gateway-heartbeat-session-routing.e2e.test.ts › Gateway heartbeat session routing › routes monitor wakes through heartbeat.session wh
ile preserving explicit wake sessions 22745ms

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Start at  09:56:07
   Duration  29.47s (transform 23.96s, setup 714ms, import 5.73s, tests 22.75s, environment 0ms)

[test] passed 1 Vitest shard in 30.01s
runner@runnervm76f27:/tmp/clawsweeper-live-proof-116373-nlnRnq/target$


































Assertions:

  • PASS expect_output: Tests 1 passed (1)
  • PASS expect_output: [test] passed 1 Vitest shard

How this fits together

Cron timer execution emits heartbeat wakes, and the Gateway adapter resolves their agent and session before the heartbeat runner consumes queued events. The selected session controls transcript ownership and outbound delivery routing.

flowchart LR
  A[Heartbeat monitor] --> B[Cron timer execution]
  B --> C[Gateway cron adapter]
  C --> D[Heartbeat wake queue]
  D --> E[Heartbeat session resolver]
  E --> F[Transcript and delivery route]
Loading

Before merge

  • Resolve merge risk (P1) - The branch is behind current main, whose scheduler-context refactor touches the same adapter; rerun the exact merge-result Gateway routing proof before merge.
  • Resolve merge risk (P1) - The intentional route correction changes existing configured heartbeat runs from main to their configured session, affecting transcript ownership and delivery destination.
  • Resolve merge risk (P1) - Production code grows by three net lines; the source-specific adapter gate is justified because this is the point where an omitted interval session becomes a synthetic main key.
  • Complete next step (P2) - No discrete repair finding remains; obtain current merge-result validation before landing.
Agent review details

Security

None.

PR surface

Source +3, Tests +694. Total +697 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 1 4 1 +3
Tests 2 694 0 +694
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 698 1 +697

Review metrics

Metric Value Why it matters
Production versus test LOC production +3/-1; tests +694/-0 The small routing guard is backed by a full Gateway session/transcript/delivery regression proof.

Merge-risk options

Maintainer options:

  1. Validate the current merge result (recommended)
    Rebase or use GitHub's merge result, then rerun the Gateway routing E2E to confirm configured, explicit, and cron-event session ownership remains intact.
  2. Pause until current-base proof is available
    Keep the PR open if exact merge-result validation cannot be obtained, since the affected adapter changed after the proofed base.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Revalidate the current merge result with the Gateway heartbeat session-routing E2E before merge.

Technical review

Best possible solution:

Retain the narrow Gateway-adapter gate, validate it on the current three-way merge result, and preserve the existing explicit-session and cron-event routing contracts.

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

Yes—current main’s timer emits a sessionless interval wake, the Gateway forwards a resolved main key, and the resolver honors that forced key before heartbeat.session.

Is this the best way to solve the issue?

Yes—the adapter is the narrow owner boundary where a missing caller session becomes a forced main key; changing the runner would alter the general explicit-session contract.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 225aa5a17823.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. A maintainer-linked exact-head hosted run exercised the real Gateway/RPC/session/delivery path and recorded a passing after-fix result.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): A maintainer-linked exact-head hosted run exercised the real Gateway/RPC/session/delivery path and recorded a passing after-fix result.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: Scheduled heartbeats currently ignore configured session routing, affecting active agent delivery workflows.
  • merge-risk: 🚨 session-state: The patch changes which session owns heartbeat queue consumption and transcript persistence.
  • merge-risk: 🚨 message-delivery: The selected heartbeat session determines the outbound delivery route.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): A maintainer-linked exact-head hosted run exercised the real Gateway/RPC/session/delivery path and recorded a passing after-fix result.
  • proof: sufficient: Contributor real behavior proof is sufficient. A maintainer-linked exact-head hosted run exercised the real Gateway/RPC/session/delivery path and recorded a passing after-fix result.

Evidence

What I checked:

  • Current-main fault path: Current main emits interval monitor wakes with an agent ID but no session, then the Gateway adapter resolves and forwards a main-session key; the heartbeat resolver gives a forced key priority over heartbeat.session. (src/gateway/server-cron.ts:783, 225aa5a17823)
  • Owner-boundary repair: The patch drops only a sessionless interval key after target resolution, leaving explicit interval and non-interval cron wakes targeted. (src/gateway/server-cron.ts:770, 46626554072f)
  • Real Gateway proof: The added E2E starts an in-process Gateway, drives public cron and wake RPCs, and verifies provider input, event consumption, transcript isolation, and delivery destination; the maintainer-linked exact-head hosted run passed. (test/e2e/qa-lab/runtime/gateway-heartbeat-session-routing.e2e.test.ts:215, 46626554072f)
  • Current-main adjacency: Current main has since refactored scheduler-owned Gateway context in the same adapter, so the merge result should revalidate this routing hunk against that change. (src/gateway/server-cron.ts:783, 9feb1db00d62)

Likely related people:

  • steipete: Recent current-main history includes cron-service maintenance in the affected adapter. (role: recent Gateway cron contributor; confidence: medium; commits: 872048000b10; files: src/gateway/server-cron.ts)
  • Marvinthebored: Authored the current-main scheduler-context refactor touching the same Gateway cron adapter after this PR base. (role: adjacent refactor author; confidence: high; commits: 9feb1db00d62; files: src/gateway/server-cron.ts)

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 (20 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-17T16:22:11.739Z sha caa4bb62aeb41f7b18a8f4e1035606a47e4d2741 :: needs changes before merge. :: [P1] Preserve main targeting for agent-only cron event wakes
  • reviewed 2026-08-19T22:06:23.612Z sha ec5b87fa55f3fc582b0a1810f8234458b05159d9 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-21T03:17:17.512Z sha 5128a65 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-21T07:55:01.739Z sha ee4fc7f :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-21T08:21:16.545Z sha 5754ef3 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-21T08:32:18.594Z sha 5754ef3 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-21T09:01:10.979Z sha 07dec8f :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-21T09:13:11.946Z sha 4662655 :: needs maintainer review before merge. :: none

@sloptop-the-terrible
sloptop-the-terrible force-pushed the fix/heartbeat-session-forced-key branch 2 times, most recently from 3942aa8 to a478f42 Compare July 30, 2026 20:40
@sloptop-the-terrible

Copy link
Copy Markdown
Contributor Author

Focused rank-up proof on current head a478f4228ad830be93964aa9948ebe22c6ad12d0:

  • Added a gateway cron regression that exercises the actual session resolver after the cron wake adapter.
  • Agent-targeted interval wake: adapter emits sessionKey: undefined, then agents.defaults.heartbeat.session: ops-heartbeat resolves to agent:primary:ops-heartbeat.
  • Explicitly targeted wake: adapter preserves manual-wake as agent:primary:manual-wake, and the session resolver keeps that explicit session instead of the configured heartbeat session.
  • Full focused suite: src/gateway/server-cron.test.ts passed 61/61.
  • git diff --check and targeted oxfmt --check passed.
  • Rebased onto current origin/main before final proof and push.
  • Manual bounded review covered both changed adapter calls, cron target resolution, the heartbeat session resolver, and adjacent queued/direct wake tests; no remaining findings.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@sloptop-the-terrible

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The PR body now includes no-mock before/after runtime evidence from the real gateway cron adapter and heartbeat wake path, covering both configured non-main selection and explicit-session preservation.

@clawsweeper

clawsweeper Bot commented Jul 30, 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. 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. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 30, 2026
@sloptop-the-terrible
sloptop-the-terrible force-pushed the fix/heartbeat-session-forced-key branch 2 times, most recently from 7250b02 to fb98ac8 Compare July 30, 2026 22:21
@sloptop-the-terrible

Copy link
Copy Markdown
Contributor Author

Rebased onto current main (4c331166c40c), 0 behind, cleanly mergeable — and added the coverage the review identified as missing.

The untargeted-caller gap is now proven, not assumed. The earlier proof exercised only the requestHeartbeat adapter. resolveHeartbeatWakeSessionKey() is shared with runHeartbeatOnce, so that second path carried the same contract change with no test behind it. Added applies the same wake-session rule to the runHeartbeatOnce adapter, which pins both caller shapes on that adapter:

  • agent-only caller (no sessionKey) → wake carries sessionKey: undefined, so resolveHeartbeatSession lands on the configured agent:primary:ops-heartbeat
  • explicit caller → still forced to agent:primary:manual-wake

src/gateway/server-cron.test.ts — 62 passed. Reverting only server-cron.ts to current main fails both wake-session tests, so each covers a real behavior difference on both adapters:

× uses heartbeat.session for monitor wakes while preserving explicit sessions
× applies the same wake-session rule to the runHeartbeatOnce adapter
Tests  2 failed | 60 passed (62)

The compatibility contract is still a maintainer decision — I have documented the change rather than decided it. Concretely, for any caller that supplies an agent ID and omits sessionKey on either adapter:

before after
agent ID, no sessionKey resolved main session configured agents.*.heartbeat.session
explicit sessionKey that session that session (unchanged)

That is the intended repair for the linked bug — the main-session fallback was shadowing heartbeat.session for monitor ticks — but it applies to every untargeted caller of both adapters, including plugin and manual wakes, not only the cron interval path in the report. If untargeted callers are meant to keep landing on main, the fix needs to be scoped to the interval path instead of the shared resolver. The tests above encode the current answer either way, so a maintainer choosing the other contract will get a failing test rather than a silent regression.

@sloptop-the-terrible

sloptop-the-terrible commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Hoping this lands soon. Cron wakes no longer pull the main session off the heartbeat lane.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Aug 3, 2026

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 21, 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 exact_review_queue).
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 rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Aug 21, 2026

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 21, 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 exact_review_queue).
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 merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 21, 2026

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 21, 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 exact_review_queue).
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 removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Aug 21, 2026

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 21, 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 exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 21, 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 exact_review_queue).
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. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Aug 21, 2026

Copy link
Copy Markdown
Contributor

Superseded by the workflow-only same-repository replacement #127153, now landed on main as verified squash 02bba8ee847460e1579e0a3c8f4d1d13c1e728b7.

The accepted source head, replacement head, and landed commit all have stable patch ID 3b68023c0cee004478eacfa28348747bf28d8b16; canonical ancestry and the landed tree were verified after merge. Thank you @sloptop-the-terrible for the original patch and @QQSHI13 for the report in #116205. The canonical squash retains @sloptop-the-terrible via Co-authored-by and credits both contributors in its message.

Closing this external source PR only after the equivalent replacement landed successfully.

Copy link
Copy Markdown
Contributor

Superseded by the repo-native same-repository replacement #127153, now landed on canonical main as 02bba8ee847460e1579e0a3c8f4d1d13c1e728b7.

The landed squash preserves this PR's reviewed patch exactly:

source head:       46626554072f948759ab44635b718819d1e6af77
replacement head:  6c211938c2555a2ffc71de625d3d5374ce1ca427
landed squash:     02bba8ee847460e1579e0a3c8f4d1d13c1e728b7
stable patch-id:   3b68023c0cee004478eacfa28348747bf28d8b16 (all three)

The canonical squash credits @sloptop-the-terrible in both the commit message and Co-authored-by trailer. It also closes #116205. Thank you for the original implementation and the sustained review/proof work.

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

Labels

gateway Gateway runtime merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. 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. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: L 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.

heartbeat: agents.*.heartbeat.session is ignored because cron monitor passes forcedSessionKey=main

3 participants