aboutsummaryrefslogtreecommitdiff
path: root/.ai/protocols.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-06 23:39:21 -0500
committerCraig Jennings <c@cjennings.net>2026-05-06 23:39:21 -0500
commit47a739d25644647296c676cd28c71166f953bf7d (patch)
tree595d4ad71261e2f61111e2175fdbf9786b0cc715 /.ai/protocols.org
parent87204f1dd6e1aa4c320a7d5ea1ab7455245fc8c0 (diff)
downloadrulesets-47a739d25644647296c676cd28c71166f953bf7d.tar.gz
rulesets-47a739d25644647296c676cd28c71166f953bf7d.zip
chore(ai): sync template updates from claude-templates
I added a "Shell aliases (=ls= → =exa=)" note to protocols.org so future sessions know to use \ls when capturing ls output programmatically. exa prints nothing to non-TTY pipes, so the symptom looks like an empty directory. I hit this earlier in the session when a sweep came back blank for a directory I knew was populated. I also fixed three stale ~/projects/career/ examples in cross-agent-comms/ docs that didn't get updated when career was renamed to work, and the daily-prep.org path leak from last session (~/code/deepsat/... → ~/projects/work/deepsat/code/...). The authoritative edits live in claude-templates. These rulesets snapshots landed via the standard rsync from upstream.
Diffstat (limited to '.ai/protocols.org')
-rw-r--r--.ai/protocols.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/.ai/protocols.org b/.ai/protocols.org
index 75cb7a8..d820073 100644
--- a/.ai/protocols.org
+++ b/.ai/protocols.org
@@ -237,6 +237,13 @@ Craig runs a pure Wayland setup (Hyprland) and avoids XWayland/Xorg apps.
- The =&>/dev/null &= is required to detach the process and suppress output
- Without it, the command may appear to hang or produce no result
+*** Shell aliases (=ls= → =exa=)
+Craig's shell aliases =ls= to =exa=, which prints nothing to non-TTY pipes (e.g. when capturing =ls= output in a Bash tool call). The result looks like the directory is empty when it isn't.
+
+- Always use =\ls= (or =command ls=) when capturing output. The backslash bypasses the alias.
+- Applies to =ls -la=, =ls -t=, glob expansions piped through =ls=, and any =ls= invocation whose output gets read programmatically.
+- Symptom if forgotten: the Bash tool returns empty output and you mistakenly conclude the directory is empty.
+
** Miscellaneous Information
- Craig currently lives in New Orleans, LA
- Craig's phone number: 510-316-9357