Add formatters, hooks, memory entries and context-load improvements

- formatters/js, md, yaml: new/updated formatter scripts
- hooks/set-wezterm-profile.sh: new hook for WezTerm profile switching
- scripts/context-load: improvements from recent sessions
- HOOKS.md, MEMORY.md: updated documentation and index entries
- memory/log, memory/reference-infrastructure-docs.md: session logs and reference

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Paul O'Reilly
2026-03-19 10:54:49 +13:00
parent 9d747199fc
commit c3557a3d97
9 changed files with 200 additions and 3 deletions

View File

@@ -80,6 +80,16 @@ if [[ ${#claude_dirs[@]} -eq 0 ]]; then
echo "# Searched from: $PWD" >&2
fi
# --- Output: Claude profile ---
profile_dir="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"
profile_name="$(basename "$profile_dir")"
if [[ "$profile_name" == ".claude" ]]; then
emit_header "CLAUDE PROFILE: default (~/.claude)"
else
emit_header "CLAUDE PROFILE: $profile_name ($profile_dir)"
fi
# --- Output: CLAUDE.md files (top-down) + tree from each ---
# Track files we've already emitted to avoid duplicates