Repository navigation
RemCTL 1.4.0
RemCTL 1.4.0 fixes 24 verified bugs from a deep two-pass code review, spanning data integrity, read correctness, and native helper reliability. It also introduces a protocol handshake for the private helper.
After updating, re-run ./install.sh. RemCTL now checks a remctl-private protocol version on first --private use; a stale helper refuses to run until rebuilt.
Data integrity
add --privatevalidates section, assignee, and URL inputs before creating the reminder. If a private metadata step still fails after creation, JSON output is{"status": "partial", "id", "numericId", "failed", "error"}and text output says to re-runedit— never re-runadd— so retries no longer duplicate reminders.- The
editdue-date sync workaround (CloudKit double-tap nudge) now rolls the date back if the main update fails after the nudge, and warns with the reminder ID if the rollback also fails. Nudge failures warn instead of silently defeating the workaround. --remove-tagcan no longer resurrect a tag deleted moments earlier in Reminders.app: hashtag reads now exclude soft-deleted tag links everywhere.--new-sectionpreserves the list's existing section ordering instead of clobbering it.addandlist-createcheck whether a write actually landed before using the AppleScript fallback, preventing duplicates after transient bridge errors.list-createhard-fails on bridge timeouts instead of falling back.- Private create flows (lists, groups, smart lists, templates) only accept iCloud (CloudKit) accounts on the default-account fallback; non-syncing local accounts are rejected with
No active iCloud Reminders account found.
Correctness
statsoverdue now matchesoverdueandtoday: display dates for all-day reminders, start-of-day cutoff, and orphaned reminders excluded.- Natural-language date-only inputs parsed by parsedatetime (
March 30,next week) now create all-day reminders, honoring the documented date-only promise. - Date-only subtask dues create all-day subtasks instead of timed-at-midnight.
add -f/--flagsets the real flagged state via AppleScript instead of the lossy EventKit priority proxy that could no-op or clobber priorities.infotext output shows Early Reminders on macOS 27 via the normalized-table fallback (JSON already did).- Orphaned reminders (deleted list rows) are excluded from
show,export, and ID lookups, matchingtoday/upcoming. - Repeated location-alarm writes replace the previous location alarm instead of stacking duplicates, on both the bridge and private helper paths.
- Smart lists: malformed keyed-archive filter blobs decode to an
errorentry instead of crashing;--filter-jsonpayloads with invalid date strings are rejected before writing;smart-list-editexplains that--match/--tag-matchneed accompanying filter options;smart-list-createvalidates before opening the database.
Hardening
- New
remctl-privateprotocol handshake (protocol 1).remctl doctorreports the helper protocol version and flags outdated builds with a rebuild hint. - Private helper actions that could silently report success on unavailable ReminderKit contexts (
assign_section, tag/URL attachment writes,set_flagged,set_urgent,assign_sharee) now fail loudly. - The EventKit bridge times out after 30 seconds waiting for Reminders authorization instead of hanging;
--via-eventkitreads without a list target are iCloud-scoped; force-unwrap crash points removed. - The permissions helper reports honest per-target status for non-Python targets (
Store readable (helper check)) since macOS TCC cannot be probed per app. install.shprints compiler errors when helper builds fail instead of discarding them.- Fixed a test-isolation escape that could read the real Reminders store during the suite.
Tests and docs
- Test suite grows from 241 to 278, all passing, with regression coverage for every fix.
- README, SKILL.md, all docs, CLI
--helptext, and the splash version updated to match.