aboutsummaryrefslogtreecommitdiff
path: root/claude-rules/triggers.md
diff options
context:
space:
mode:
Diffstat (limited to 'claude-rules/triggers.md')
-rw-r--r--claude-rules/triggers.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/claude-rules/triggers.md b/claude-rules/triggers.md
index a8d5e77..3c4ea6d 100644
--- a/claude-rules/triggers.md
+++ b/claude-rules/triggers.md
@@ -19,6 +19,7 @@ The `ai` script handles tmux session creation, window placement, and the per-pro
**Resolving X.** Match against project basenames discoverable by `ai` — directories under `~/code/`, `~/projects/`, and `~/.emacs.d` that contain `.ai/protocols.org`.
- Exact basename match (case-insensitive) → invoke `ai <path>` directly.
+- Dot-stripped match → a dotted basename is addressed with its dots removed, so `emacsd` matches `.emacs.d` and `dotfiles` matches `.dotfiles`. Strip dots from both the spoken name and each candidate basename when comparing; an exact match still wins over a dot-stripped one. (`inbox-send` resolves the same way, so the spoken name is consistent across both.)
- No match → list all available basenames, ask which to launch.
- Multiple partial matches (X is a substring of two or more candidates) → list the matching basenames, ask which.