Sequential cleanup commands fixed the VHS parse error but exposed
a deeper issue: the test runner was blind to Hide/Show blocks,
so cleanup commands ran as tests and could delete jobs mid-sequence.
- test-tapes.sh now reads tapes line-by-line tracking Hide/Show state;
only Type lines in visible (Show) blocks are executed as tests
- Pre-clean named jobs from each tape at start of run_tape to handle
leftovers from previously failed runs (mirrors what the Hide cleanup
does when VHS records the tape)
- 19 tape commands tested (cleanup commands correctly excluded)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Resets the countdown for timer jobs and restarts the process for
service jobs. Disabled jobs are refused with a clear error message.
Accepts hex ID or name like all other management operations.
- restartJob() function with disabled-job guard
- getopts R:, manage_count, mutual-exclusion error messages updated
- 9 new tests in test.sh (112 total), 1 new tape command (24 total)
- README options table, names prose, and future-ideas checklist updated
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add -X <id|name> to stop, disable, and remove a job's unit files;
mutually exclusive with all other management options; 13 new tests
- Add demo/test-tapes.sh to verify all VHS tape commands run cleanly;
wired into pre-commit hook alongside test.sh (combined badge count)
- Rename demo job names to *_home variants to avoid clashing with real
user jobs; add per-tape preflight cleanup via -X
- Consolidate four demo GIFs into quickstart + all-features + editmode
screenshot; remove notifications/services tapes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 new tests for -l: service job presence, timer job presence, pipe
alignment, and mutual exclusivity checks. Fix | service | pattern in
edit mode test to handle alignment padding. Add -l demo step to
editmode.tape before opening the editor.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Introduces a new job type for long-running systemd user services alongside
the existing timer-based jobs. Services use Type=simple with Restart=on-failure
and WantedBy=default.target — no .timer unit is created.
- New -s flag creates a service job; mutually exclusive with -t/-i/-m/-o
- Service jobs tagged with # SYSTAB_TYPE=service in their unit file
- enable/disable (-E/-D) start/stop the service in addition to toggling
the enabled state, mirroring timer behaviour
- -S status shows ActiveState/SubState from systemd directly (avoids
false "Inactive" for services in activating state)
- -L logs, -e edit mode, -D/-E disable/enable all handle service jobs
- Edit mode represents service jobs with 'service' as the schedule column
(e.g. new:s,n=name | service | /path/to/cmd)
- daemon-reload runs before enable/start during service creation so
systemd registers the new unit file first
- 22 new tests covering unit file contents, active state, disable/enable,
named services, edit mode representation, and flag conflict errors
- New demo/services.tape and regenerated demo GIFs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Annotations use demo/note.sh (gum style with clear) wrapped in
Hide/Show so only the styled box appears. Long output commands
pipe through less with search to highlight key fields.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>