<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-transcription-sentinel-helpers.el, 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-04-19T12:12:34+00:00</updated>
<entry>
<title>refactor(transcription): extract four sentinel side-effect helpers</title>
<updated>2026-04-19T12:12:34+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-19T12:12:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=7c7a1ea9da1b6020c4f0e34cc47b752f20d81ce8'/>
<id>urn:sha1:7c7a1ea9da1b6020c4f0e34cc47b752f20d81ce8</id>
<content type='text'>
Break cj/--transcription-sentinel's seven inline side-effects into named
helpers:
- cj/--write-transcript-on-success: writes process output to .txt on success
- cj/--append-to-log: appends event marker + process output to log
- cj/--update-transcription-status: marks tracking-list entry complete/error
- cj/--notify-completion: sends success or critical notification

Also: switch the tautological (cj/--should-keep-log t) to use the local
success-p (equivalent but matches the function signature), and rename
the unused audio-file sentinel arg to _audio-file.

Sentinel shrinks from 48 lines with 7 inline blocks to 14 lines of
straight-line helper calls. 10 tests cover the extracted helpers.
</content>
</entry>
</feed>
