<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/.claude/hooks, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-26T12:47:03+00:00</updated>
<entry>
<title>chore(claude): sync rules and hooks with the rulesets bundle</title>
<updated>2026-05-26T12:47:03+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-26T12:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=85fa5f6b3d52c0c18043144653aaafeeb4dcf4a3'/>
<id>urn:sha1:85fa5f6b3d52c0c18043144653aaafeeb4dcf4a3</id>
<content type='text'>
Bring .claude/hooks/validate-el.sh and .claude/rules/interaction.md back in line with the shared bundle, and add the new keybinding-display.md rule.
</content>
</entry>
<entry>
<title>chore: sync bundled claude rules and git hooks</title>
<updated>2026-05-25T18:16:30+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-25T18:16:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=e0f6b54f41384e8bfdc33810b370ca6eaca9298f'/>
<id>urn:sha1:e0f6b54f41384e8bfdc33810b370ca6eaca9298f</id>
<content type='text'>
Routine sync of the .claude/rules and git hooks distributed with the language bundle. Adds the cross-project, emacs, interaction, todo-format, triggers, and working-files rules; refreshes the elisp and elisp-testing rules, the elisp validation hook, and the pre-commit hook.
</content>
</entry>
<entry>
<title>build: add make benchmark target and skip :perf tests by default</title>
<updated>2026-05-12T05:09:15+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-12T05:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=cd0b90dc74996f7bd7b897834bac7038ffb7f5b8'/>
<id>urn:sha1:cd0b90dc74996f7bd7b897834bac7038ffb7f5b8</id>
<content type='text'>
`make test', `make coverage', and the editor's PostToolUse test runner all selected `(not (tag :slow))', which let the now-`:perf'-tagged benchmark suite run alongside the unit tests. Each of those three filters now also excludes `:perf', and a new `make benchmark' target runs the benchmark file on its own. `make test-file' and `make test-name' keep their old filters so the suite stays reachable for ad-hoc runs.

`COVERAGE_EXCLUDE' loses `test-lorem-optimum-benchmark.el'. The tag filter handles it now, so the only entry left is `test-all-comp-errors.el', which byte-compiles modules and can't run under undercover's instrumentation.
</content>
</entry>
<entry>
<title>chore(hooks): eval load-prefer-newer before byte-compile and test runs</title>
<updated>2026-05-11T12:20:50+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-11T12:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=6045ba72c893a5718639217e4c25b948e7505cee'/>
<id>urn:sha1:6045ba72c893a5718639217e4c25b948e7505cee</id>
<content type='text'>
The validate-el.sh hook loaded stale `.elc` files when the matching `.el` was newer (e.g. after a sed-driven rename where the byte-compile hook never fires). `make test` already sets this. The hook didn't, so I added `(setq load-prefer-newer t)` to all three emacs invocations: the parens check, the byte-compile, and the test run.
</content>
</entry>
<entry>
<title>chore(hooks): drop PROJECT_ROOT guard from validate-el.sh</title>
<updated>2026-05-09T21:52:49+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-09T21:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=caa94e4482572bb1f30a4c4e6d8166dba9f99448'/>
<id>urn:sha1:caa94e4482572bb1f30a4c4e6d8166dba9f99448</id>
<content type='text'>
The PROJECT_ROOT guard skipped any .el file outside the project on the theory that out-of-tree files are owned by their own project's hooks. In practice, when I edit an .el file in another repo from a Claude session in this one, the other project often doesn't have its own hook running, so the file was getting no validation at all. I dropped the guard so any .el file edited from a Claude session here gets validated, regardless of which repo it lives in.
</content>
</entry>
<entry>
<title>chore(hooks): skip out-of-tree .el files in validate-el.sh</title>
<updated>2026-04-29T08:11:45+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-29T08:11:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=c30c38a4e5a8ecc35640e45b27723c199e1d0ade'/>
<id>urn:sha1:c30c38a4e5a8ecc35640e45b27723c199e1d0ade</id>
<content type='text'>
This PostToolUse hook validates .el edits via check-parens and byte-compile-file. It was firing on edits to files outside the project root too, which meant byte-compiling without the foreign package's load-path set up and leaving .elc droppings in the wrong tree. Added a four-line PROJECT_ROOT guard so out-of-tree files exit silently.
</content>
</entry>
<entry>
<title>chore: sync validate-el.sh JSON channel + pairwise rule from rulesets</title>
<updated>2026-04-19T22:07:29+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-19T22:07:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=cf2d9d34be56c4cd19ad8775de4ce356b6a2295a'/>
<id>urn:sha1:cf2d9d34be56c4cd19ad8775de4ce356b6a2295a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: sync .claude/ bundle — package-initialize, flat-layout, generic testing</title>
<updated>2026-04-19T17:47:20+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-19T17:47:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=1ce2e7c14d41062edb85c84aef59645b5d7e9597'/>
<id>urn:sha1:1ce2e7c14d41062edb85c84aef59645b5d7e9597</id>
<content type='text'>
Re-installed the elisp ruleset from ~/code/rulesets, picking up three
upstream bundle fixes:

  - validate-el.sh now calls (package-initialize) so byte-compile can
    resolve external packages (dash, etc.) via ~/.emacs.d/elpa/.
  - validate-el.sh Phase 2 (test runner) now matches any .el file
    outside tests/, not just modules/*.el. Supports flat-layout
    projects (Elisp package repos where sources live at project root).
  - .claude/rules/testing.md is now generic TDD principles (was
    Python/TS specific); language-specific testing rules live in
    elisp-testing.md, python-testing.md, etc.

elisp-testing.md gained a line referencing testing.md as the base.
</content>
</entry>
<entry>
<title>chore: track CLAUDE.md and .claude/ bundle, narrow gitignore</title>
<updated>2026-04-19T17:14:54+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-19T17:14:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=1172e4ef1e2d5dbcf2274820ca7759e3aa54b6c6'/>
<id>urn:sha1:1172e4ef1e2d5dbcf2274820ca7759e3aa54b6c6</id>
<content type='text'>
Swap blanket /CLAUDE.md + /.claude/ gitignore rules for personal-only
overrides (.claude/settings.local.json, .claude/.cache/). Add the
tracked bundle content from ~/code/rulesets install-elisp:

  - CLAUDE.md                    (project instructions)
  - .claude/rules/elisp.md
  - .claude/rules/elisp-testing.md
  - .claude/rules/verification.md
  - .claude/hooks/validate-el.sh (portable via $CLAUDE_PROJECT_DIR)
  - .claude/settings.json        (allowlist + hook wiring)

Hooks now use $CLAUDE_PROJECT_DIR with script-relative fallback, so a
fresh clone of this repo works on any machine without path edits.

Project-local skills under .claude/skills/ were stale DeepSat-flavored
copies; deleted and replaced with symlinks into ~/.claude/skills/ via
the rulesets repo's global install.
</content>
</entry>
</feed>
