Scheduled/cron session exit message prints customTitle as if it were a resume ID
Resolved 💬 1 comment Opened Apr 17, 2026 by g-hartmann-kanguro Closed May 25, 2026
Bug
When a scheduled/cron-triggered session (created via /schedule / CronCreate) exits, the CLI prints a resume hint in the form cron:<skill-name> — which is the session's customTitle, not a usable resume identifier.
Env
Claude Code 2.1.112, Linux.
Repro
- Create a scheduled trigger that runs a skill, e.g.
/morning-review. - When the cron fires, the session writes
{"type":"custom-title","customTitle":"cron:morning-review",...}and"entrypoint":"sdk-cli"to the JSONL. - On exit, the CLI prints
cron:morning-reviewas the resume hint. - Neither
claude --resume cron:morning-reviewnorclaude -p --resume cron:morning-reviewaccepts it — it's not a UUID.
Expected
Print the actual sessionId (UUID) in the exit hint, or a form accepted by --resume. Ideally with the correct invocation for SDK sessions, i.e. claude -p --resume <uuid> (per #42311, SDK sessions are intentionally hidden from the interactive picker).
Actual
The printed hint looks like an identifier but can't be used. Users have to grep ~/.claude/projects/<slug>/*.jsonl for the matching customTitle to discover the real UUID.
Related
- #42311 — docs gap: SDK sessions hidden from interactive
--resumepicker (intentional since v2.1.90)
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗