Claude Code Claude Opus 4.6 commited on
Commit
0abdf8e
·
1 Parent(s): c652463

Claude Code: Fix Cain entrypoint.sh - add missing memory/cain_status.json path

Browse files

The entrypoint.sh cleanup was missing the memory/cain_status.json path
that app.py cleans. This could cause stale "unknown" errors to persist
in the deployed Space.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. entrypoint.sh +2 -0
entrypoint.sh CHANGED
@@ -58,6 +58,8 @@ status_files = [
58
  Path('/app/.openclaw/agents/cain_status.json'), # Legacy flat structure
59
  Path('/app/cain_status.json'), # App root
60
  Path('/app/data/cain_status.json'), # App data subdirectory
 
 
61
  ]
62
 
63
  cleaned = 0
 
58
  Path('/app/.openclaw/agents/cain_status.json'), # Legacy flat structure
59
  Path('/app/cain_status.json'), # App root
60
  Path('/app/data/cain_status.json'), # App data subdirectory
61
+ Path('/app/memory/cain_status.json'), # Memory directory (CRITICAL: was missing!)
62
+ Path('/data/memory/cain_status.json'), # Data memory directory
63
  ]
64
 
65
  cleaned = 0