Document exclamation mark escaping workaround for Claude Code

Add symlink CLAUDE.md -> AGENTS.md for Claude Code compatibility.
This commit is contained in:
Peter Steinberger
2025-12-02 06:52:56 +00:00
parent e86b507da7
commit e881b3c5de
2 changed files with 17 additions and 0 deletions

View File

@@ -36,3 +36,19 @@
## Agent-Specific Notes
- If the relay is running in tmux (`warelay-relay`), restart it after code changes: kill pane/session and run `pnpm warelay relay --verbose` inside tmux. Check tmux before editing; keep the watcher healthy if you start it.
- Also read the shared guardrails at `~/Projects/oracle/AGENTS.md` and `~/Projects/agent-scripts/AGENTS.MD` before making changes; align with any cross-repo rules noted there.
## Exclamation Mark Escaping Workaround
The Claude Code Bash tool escapes `!` to `\!` in command arguments. When using `warelay send` with messages containing exclamation marks, use heredoc syntax:
```bash
# WRONG - will send "Hello\!" with backslash
warelay send --provider web --to "+1234" --message 'Hello!'
# CORRECT - use heredoc to avoid escaping
warelay send --provider web --to "+1234" --message "$(cat <<'EOF'
Hello!
EOF
)"
```
This is a Claude Code quirk, not a warelay bug.

1
CLAUDE.md Symbolic link
View File

@@ -0,0 +1 @@
AGENTS.md