openclaw - 💡(How to fix) Fix [Bug]: archiveAfterMinutes config key not found at agents.defaults.subagents.archiveAfterMinutes [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#77693Fetched 2026-05-06 06:22:54
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
2
Timeline (top)
commented ×1

Code Example

openclaw config get agents.defaults.subagents.archiveAfterMinutes
# Config path not found: agents.defaults.subagents.archiveAfterMinutes

openclaw config get agents.defaults.subagents
# {
#   "maxConcurrent": 4,
#   "maxSpawnDepth": 1,
#   "maxChildrenPerAgent": 3,
#   "runTimeoutSeconds": 600
# }
# No archiveAfterMinutes key present

---

OpenClaw: 2026.5.3-1 (2eae30e)
OS: Linux 6.8.0-110-generic (x64, Ubuntu)
Install: npm global
RAW_BUFFERClick to expand / collapse

Describe the bug

The archiveAfterMinutes config key, documented in official OpenClaw subagents docs (https://docs.openclaw.ai/tools/subagents), does not resolve at the expected path agents.defaults.subagents.archiveAfterMinutes.

To Reproduce

openclaw config get agents.defaults.subagents.archiveAfterMinutes
# Config path not found: agents.defaults.subagents.archiveAfterMinutes

openclaw config get agents.defaults.subagents
# {
#   "maxConcurrent": 4,
#   "maxSpawnDepth": 1,
#   "maxChildrenPerAgent": 3,
#   "runTimeoutSeconds": 600
# }
# No archiveAfterMinutes key present

Expected behavior

agents.defaults.subagents.archiveAfterMinutes should resolve to a value (e.g., 60), or the docs should clarify the correct config path.

Actual behavior

Config path not found. The key may have been renamed, moved to a different config section, or replaced by a different cleanup mechanism.

Related

  • #71716 (closed): "Subagent sessions not cleaned up after archiveAfterMinutes"
  • #41530 (closed): "Regression: subagent archiveAfterMinutes silently deletes session transcripts"

These suggest the feature existed previously but may have changed.

System Information

OpenClaw: 2026.5.3-1 (2eae30e)
OS: Linux 6.8.0-110-generic (x64, Ubuntu)
Install: npm global

extent analysis

TL;DR

The archiveAfterMinutes config key is not found at the expected path, suggesting a potential rename, move, or replacement in the config section.

Guidance

  • Review the official OpenClaw subagents documentation for any updates or changes to the archiveAfterMinutes config key.
  • Check the OpenClaw configuration files for any similar keys or sections that may have replaced archiveAfterMinutes.
  • Investigate the related issues (#71716 and #41530) to see if they provide any clues about the change or replacement of the archiveAfterMinutes feature.
  • Consider reaching out to the OpenClaw community or support team for further assistance, as the issue may be specific to the version (2026.5.3-1) or installation method (npm global).

Notes

The issue may be specific to the version of OpenClaw or the installation method, so it's essential to verify the configuration and documentation for that particular setup.

Recommendation

Apply workaround: Try to find an alternative configuration key or section that achieves the same functionality as archiveAfterMinutes, or reach out to the OpenClaw community for assistance.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

agents.defaults.subagents.archiveAfterMinutes should resolve to a value (e.g., 60), or the docs should clarify the correct config path.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: archiveAfterMinutes config key not found at agents.defaults.subagents.archiveAfterMinutes [1 comments, 2 participants]