Add question-reframing guidance to CLAUDE.md; commit accumulated project files
- 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>
This commit is contained in:
11
memory/gotchas-statusline.md
Normal file
11
memory/gotchas-statusline.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user