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

  1. Create a scheduled trigger that runs a skill, e.g. /morning-review.
  2. When the cron fires, the session writes {"type":"custom-title","customTitle":"cron:morning-review",...} and "entrypoint":"sdk-cli" to the JSONL.
  3. On exit, the CLI prints cron:morning-review as the resume hint.
  4. Neither claude --resume cron:morning-review nor claude -p --resume cron:morning-review accepts 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 --resume picker (intentional since v2.1.90)

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗