-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
[Bug]: Missing daily memory file read logs ENOENT noise #82928
Copy link
Copy link
Closed
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.maintainerMaintainer-authored PRMaintainer-authored PR
Metadata
Metadata
Assignees
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.maintainerMaintainer-authored PRMaintainer-authored PR
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Reading an optional first-run daily memory file before it exists emits a scary
read failed: ENOENTtool error and raw params in logs.Steps to reproduce
memory/2026-05-15.md.read failed: ENOENTfor the missing workspace memory file.Expected behavior
Missing date-only daily memory files are optional first-run state, so reading one before it exists should return quiet not-found context instead of logging a generic tool failure.
Actual behavior
The read tool failure is logged as
read failed: ENOENT, including raw read params, even though the missing daily memory file is harmless optional state.OpenClaw version
NOT_ENOUGH_INFO
Operating system
NOT_ENOUGH_INFO
Install method
NOT_ENOUGH_INFO
Model
NOT_ENOUGH_INFO
Provider / routing chain
NOT_ENOUGH_INFO
Additional provider/model setup details
NOT_ENOUGH_INFO
Logs, screenshots, and evidence
Trace/proof: - gateway-dev.log:1632 "[tools] read failed: ENOENT: no such file or directory, access '[redacted workspace path]/memory/2026-05-15.md' raw_params={\"path\":\"memory/2026-05-15.md\"}"Impact and severity
Affected: Agent/tool flows that try to read daily memory before the file exists.
Severity: Low; the failure is usually harmless but pollutes logs and can confuse the agent or user.
Frequency: 7 observed lines matching
read failed: ENOENTin the captured evidence.Consequence: Optional first-run memory state appears as a failed tool read.
Additional information
No existing issue or PR was found with live GitHub searches for
missing daily memory ENOENT read failedormemory/2026 ENOENT.