diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-28 12:24:59 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-28 12:24:59 -0400 |
| commit | 9753d03a33aed124cf23573a09dec36695815dde (patch) | |
| tree | c3f488ba7a5b8e6144bd9e42753ffb214fff4bd9 /claude-rules | |
| parent | 92dfc355d2292c6d6c17a51cf2f83b8ba033596a (diff) | |
| download | rulesets-9753d03a33aed124cf23573a09dec36695815dde.tar.gz rulesets-9753d03a33aed124cf23573a09dec36695815dde.zip | |
feat(inbox-send): resolve dot-stripped project names
.emacs.d resolves as emacsd and .dotfiles as dotfiles, in both inbox-send and the launch trigger. An exact basename match still wins, and --list shows the stripped name. triggers.md documents the same resolution so the spoken name is consistent across both.
Diffstat (limited to 'claude-rules')
| -rw-r--r-- | claude-rules/triggers.md | 1 |
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. |
