Skip to content

fix(agents): preserve run-mode keep subagents past session sweep TTL (#83132)#83226

Merged
clawsweeper[bot] merged 2 commits into
mainfrom
clawsweeper/automerge-openclaw-openclaw-83168
May 17, 2026
Merged

fix(agents): preserve run-mode keep subagents past session sweep TTL (#83132)#83226
clawsweeper[bot] merged 2 commits into
mainfrom
clawsweeper/automerge-openclaw-openclaw-83168

Conversation

@clawsweeper

@clawsweeper clawsweeper Bot commented May 17, 2026

Copy link
Copy Markdown
Contributor

Makes #83168 merge-ready for the ClawSweeper automerge loop.
The edit pass should inspect the live PR diff, review comments, and failing checks; rebase if needed; keep the contributor branch credited; and stop only when validation is green or an external blocker is proven.

ClawSweeper 🐠 replacement reef notes:

  • Repair fallback: GitHub rejected the repair branch push because it updates workflow files and the ClawSweeper app token does not have workflows permission

Co-author credit kept:

fish notes: model gpt-5.5, reasoning high; reviewed against 32faf5c.

yetval and others added 2 commits May 17, 2026 18:14
The sweeper applied SESSION_RUN_TTL_MS (5 minutes) to any registry entry
without archiveAtMs. Run-mode subagents spawned with cleanup:"keep" also
have archiveAtMs=undefined by design, so they were pruned five minutes
after cleanup completed — directly contradicting the keep semantic the
user requested.

Gate the absolute-TTL prune on spawnMode === "session" so run-mode
keep entries stay registered. Session-mode runs retain the existing
five-minute window.

Refs #83132
@clawsweeper clawsweeper Bot added agents Agent runtime and tooling size: XS clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge proof: supplied External PR includes structured after-fix real behavior proof. proof: sufficient ClawSweeper judged the real behavior proof convincing. P1 High-priority user-facing bug, regression, or broken workflow. impact:session-state Session, memory, transcript, context, or agent state can drift or corrupt. impact:message-loss Channel message delivery can be lost, duplicated, or misrouted. clawsweeper Tracked by ClawSweeper automation labels May 17, 2026
@openclaw-barnacle openclaw-barnacle Bot removed proof: supplied External PR includes structured after-fix real behavior proof. proof: sufficient ClawSweeper judged the real behavior proof convincing. labels May 17, 2026
@clawsweeper

clawsweeper Bot commented May 17, 2026

Copy link
Copy Markdown
Contributor Author

Codex review: passed.

Workflow note: Future ClawSweeper reviews update this same comment in place.

How this review workflow works
  • 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 maintainer comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors can comment @clawsweeper re-review or @clawsweeper re-run on their own 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.

Summary
The PR exempts run-mode cleanup: "keep" subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.

Reproducibility: yes. Current main source shows a run-mode keep entry has no archiveAtMs and then matches the no-archive sweep TTL; the linked source PR also provides before/after terminal proof against a real persisted runs.json path.

Real behavior proof
Sufficient (terminal): The linked source PR supplies after-fix terminal proof from a real persisted registry repro, including the current-main failure and patched success.

Next step before merge
No ClawSweeper repair job is needed; this automerge replacement has no blocking review findings and should be handled by normal check and merge gates.

Security
Cleared: The diff only changes agents registry retention logic, a regression test, and changelog text; it adds no dependencies, workflows, secrets handling, or new code-execution path.

Review details

Best possible solution:

Land this focused agents fix once the normal automerge checks pass; no new config knob or broader registry migration is needed.

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

Yes. Current main source shows a run-mode keep entry has no archiveAtMs and then matches the no-archive sweep TTL; the linked source PR also provides before/after terminal proof against a real persisted runs.json path.

Is this the best way to solve the issue?

Yes. The PR changes the smallest implicated branch by exempting non-session keep entries before the session TTL logic, while leaving delete-mode archive cleanup and session-mode TTL behavior intact.

What I checked:

Likely related people:

  • @steipete: Current blame and shortlog show substantial recent work on the subagent registry files, including the subagent announce/archive implementation and later registry refactors. (role: recent area contributor; confidence: high; commits: 75c66acfd828, f862685ed8e4, f0fc8c27d397; files: src/agents/subagent-registry.ts, src/agents/subagent-registry-run-manager.ts, src/agents/subagent-registry.test.ts)
  • @Takhoffman: Recent current-main commits changed deferred subagent cleanup and expiry behavior adjacent to cleanupCompletedAt and registry sweep handling; this PR was also automerge-requested by this account. (role: recent cleanup contributor; confidence: medium; commits: 5e9ea804d4e4, c3744fbfc468; files: src/agents/subagent-registry.ts, src/agents/subagent-registry.test.ts)
  • XING: The no-archive session sweep TTL was added in the TTL cleanup commit that made completed no-archive registry entries eligible for pruning after five minutes. (role: introduced adjacent TTL behavior; confidence: medium; commits: 820dc3852530; files: src/agents/subagent-registry.ts)

Codex review notes: model gpt-5.5, reasoning high; reviewed against 800a0d316636.

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label May 17, 2026
@clawsweeper clawsweeper Bot merged commit 3e76526 into main May 17, 2026
185 of 202 checks passed
@clawsweeper clawsweeper Bot deleted the clawsweeper/automerge-openclaw-openclaw-83168 branch May 17, 2026 18:27
@clawsweeper

clawsweeper Bot commented May 17, 2026

Copy link
Copy Markdown
Contributor Author

🦞✅
ClawSweeper merged this PR after the passing review.

Source: clawsweeper[bot]
Feedback: structured ClawSweeper verdict: pass (sha=32faf5cf329f41a5aa00bff25eda8904dfca231b)
Merge status: merged by ClawSweeper automerge
Merged at: 2026-05-17T18:27:54Z
Merge commit: 3e765263dd6a

What merged:

  • The PR exempts run-mode cleanup: "keep" subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
  • Reproducibility: yes. Current main source shows a run-mode keep entry has no archiveAtMs and then matches ... ; the linked source PR also provides before/after terminal proof against a real persisted runs.json path.

Automerge notes:

  • PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

The automerge loop is complete.

Automerge progress:

  • 2026-05-17 18:27:41 UTC review passed 32faf5cf329f (structured ClawSweeper verdict: pass (sha=32faf5cf329f41a5aa00bff25eda8904dfca2...)
  • 2026-05-17 18:27:56 UTC merged 32faf5cf329f (merged by ClawSweeper automerge)

woodygreen pushed a commit to woodygreen/openclaw that referenced this pull request May 18, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
markfietje pushed a commit to markfietje/openclaw that referenced this pull request May 20, 2026
…(#83132) (#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5cf329f41a5aa00bff25eda8904dfca231b.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5cf329f41a5aa00bff25eda8904dfca231b
Review: openclaw/openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
markfietje pushed a commit to markfietje/openclaw that referenced this pull request May 20, 2026
…(#83132) (#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5cf329f41a5aa00bff25eda8904dfca231b.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5cf329f41a5aa00bff25eda8904dfca231b
Review: openclaw/openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
galiniliev pushed a commit to galiniliev/openclaw that referenced this pull request May 20, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
galiniliev pushed a commit to galiniliev/openclaw that referenced this pull request May 25, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
SYU8384 pushed a commit to SYU8384/openclaw that referenced this pull request Jun 3, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
…penclaw#83132) (openclaw#83226)

Summary:
- The PR exempts run-mode `cleanup: "keep"` subagent registry entries from the session-mode sweep TTL, adds focused regression coverage, and records the fix in the changelog.
- Reproducibility: yes. Current main source shows a run-mode keep entry has no `archiveAtMs` and then matches  ... ; the linked source PR also provides before/after terminal proof against a real persisted `runs.json` path.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(agents): preserve run-mode keep subagents past session sweep TTL …

Validation:
- ClawSweeper review passed for head 32faf5c.
- Required merge gates passed before the squash merge.

Prepared head SHA: 32faf5c
Review: openclaw#83226 (comment)

Co-authored-by: yetval <yetvald@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling clawsweeper:automerge Maintainer opted this PR into bounded ClawSweeper-reviewed automerge clawsweeper Tracked by ClawSweeper automation impact:message-loss Channel message delivery can be lost, duplicated, or misrouted. impact:session-state Session, memory, transcript, context, or agent state can drift or corrupt. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant