- CLAUDE.md: add "Question the question" and "One clarifying question" rules to Tone and Interaction — XY problem detection, false premise checks, and explicit reframe pattern before answering - Add claude/ detail-file directory (topic docs referenced from CLAUDE.md) - Add ABOUT.md, FUTURE.md - Update memory/, scripts/, settings.yaml with accumulated session changes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
703 B
Markdown
12 lines
703 B
Markdown
# 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-<hash>` 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-<hash>` 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.
|