# Statusline Gotchas ## set-topic.sh errors "No session ID found" on first message Symptom: `set-topic.sh` always fails on the first assistant message because `/tmp/claude-session-id-` doesn't exist yet — `statusline.sh` hasn't run to create it. Fix: Implemented pending-topic queue. `set-topic.sh` writes to `/tmp/claude-pending-topic-` when session ID is missing. `statusline.sh` picks it up on next run. ## md5sum hash inconsistency between scripts Symptom: Hash mismatch between `statusline.sh` and `set-topic.sh` when computing the cwd-based filename. Fix: Both scripts must use `echo -n "$CWD" | md5sum` — the `-n` flag (no trailing newline) is critical for consistent hashes.