Repository navigation
A re-run never duplicates captions.
Install
curl -L https://github.com/jbenhart44/captioner/releases/download/v0.5.0/captioner-0.5.0.zip -o captioner.zip \
&& unzip -o captioner.zip && cd captioner-0.5.0 \
&& pip install -r requirements.txt && bash install.shChanged
apply_captions.pyrefuses a deck that already holds captioner shapes unless--update-existingis passed. It names the shape count and the flag, writes no deck and no audit CSV for that deck, and exits 4. Before, the same run silently added a second set of captions.
Fixed
--update-existingnow strips in-picture band captions (captioner_capband_), which were left behind and duplicated on every update. A band caption a person edited is kept.- The mutation check now counts a check as caught only where it is reported failing. It used to pass on the exit code alone.
- SKILL.md now says what happens to a video (its poster frame is captioned like a picture).
Tests
New tests/test_rerun.py (10 checks) runs the real extract → apply chain twice on the bundled deck. Three new mutants; 7/7 caught. CI on Linux and macOS, Python 3.9 and 3.12.