<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/.claude, branch load-graph-classify-end</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-12T05:09:15+00:00</updated>
<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: symlink claude rules to rulesets canonical</title>
<updated>2026-05-07T23:25:33+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-07T23:25:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=3efaf9b5218fa769a297df5821ec89837207e57d'/>
<id>urn:sha1:3efaf9b5218fa769a297df5821ec89837207e57d</id>
<content type='text'>
The .claude/rules/ files (commits.md, testing.md, verification.md) were local copies that drifted from the canonical at ~/code/rulesets. I replaced them with absolute symlinks pointing at the canonical files. This repo now picks up rule updates automatically.

The symlinks are absolute. Cloning this repo on a new machine needs ~/code/rulesets at the same path. Otherwise the symlinks dangle.
</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 testing rules — pyramid, overmocking, refactor-for-testability, interactive/internal split</title>
<updated>2026-04-19T18:16:18+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-19T18:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=e111f068622b626e312faba50b6d52ba1ba88245'/>
<id>urn:sha1:e111f068622b626e312faba50b6d52ba1ba88245</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: sync elisp-testing.md (testutil pattern generalized)</title>
<updated>2026-04-19T18:09:54+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-19T18:09:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=d914986a59a66cf2284ea13cf5af29c58da2ff2b'/>
<id>urn:sha1:d914986a59a66cf2284ea13cf5af29c58da2ff2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: sync bundle — add commits.md rule, attribution suppression</title>
<updated>2026-04-19T18:06:57+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-19T18:06:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=ff747056a05792d6212ff05a9f5343fd804cbff0'/>
<id>urn:sha1:ff747056a05792d6212ff05a9f5343fd804cbff0</id>
<content type='text'>
Picks up upstream bundle changes:
- New .claude/rules/commits.md: no AI attribution, conventional prefixes.
- settings.json: attribution.commit and attribution.pr empty strings
  (suppresses Claude Code default attribution).
- CLAUDE.md: Git Workflow references commits.md instead of the
  (gitignored) docs/protocols.org.
</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>
</feed>
