Repository navigation
Conversation
[High impact] The PR appears safe to merge; no blocking issues were found. SummaryPreserves legacy Voxtype choices by leaving the missing dictation default for the ordered migration to create.
No actionable new issues were found in the changes since the previous review. No previous review threads were supplied. This review did not run the tests.
|
|
Small thing on |
|
The heredoc is byte-for-byte identical to the hook at commit I extracted the historical Git blob and compared all 302 bytes to the heredoc, including the final newline: they match exactly (SHA-256 |
House style quotes string literals compared inside [[ ]]. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
v4.0.0 shipped install-voxtype.hook with the --exec command quoted as one argument; v4.0.1-v4.0.4 shipped it unquoted. First run copies the hook once and nothing replaces it, so machines installed from v4.0.0 still carry the quoted copy, which the exact match missed. Match both stock texts, byte for byte, and keep leaving edited copies and links alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Reviewed and verified on a disposable Omarchy worker. The bug is real on Reproduction. A standalone script runs the upgrade's real Tests. Pushed two commits:
A leftover copy of the old hook does little harm: once Second opinion. Codex Medium reviewed the original change and then the two commits above. It agreed the bug is real and that the deferral is correct whether the backend migration is pending or done, with a custom Next: waiting on the maintainer. Nothing is left for the author. |
A legacy Quattro upgrade copies missing defaults before running migrations. That seeded Superwhisper before the ordered backend migration could preserve an existing Voxtype user's selection. Upgrades also left the exact old install-voxtype invitation hook pointing at a command that no longer exists.
Defer only the missing dictation default when Voxtype is installed and its packaged backend migration is still pending. Use the same per-user migration state/default path as the real queue, so completed migrations cannot defer forever. Existing explicit selections and links remain intact, including dangling links; users without Voxtype and older packaged trees keep normal default copying. Migration ordering and failure/retry behavior stay intact.
A separate idempotent migration removes only the byte-identical obsolete invitation hook. User-edited hooks and symlinks are preserved.
Validation at fa692a5: 38 upgrade and 15 dictation checks pass, plus Bash syntax and diff checks. The upgrade fixtures execute the actual copy function and actual migration queue, covering pending/completed/custom markers, a failed earlier migration and retry, explicit backend choices, links, non-Voxtype users and older sources. The new regression check fails before the source correction. These isolated tests do not establish a full live legacy upgrade or physical audio capture.