Skip to content

RemCTL 1.4.0

Choose a tag to compare

@viticci viticci released this 03 Jul 17:37
· 213 commits to main since this release

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 --private validates 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-run edit — never re-run add — so retries no longer duplicate reminders.
  • The edit due-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-tag can no longer resurrect a tag deleted moments earlier in Reminders.app: hashtag reads now exclude soft-deleted tag links everywhere.
  • --new-section preserves the list's existing section ordering instead of clobbering it.
  • add and list-create check whether a write actually landed before using the AppleScript fallback, preventing duplicates after transient bridge errors. list-create hard-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

  • stats overdue now matches overdue and today: 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/--flag sets the real flagged state via AppleScript instead of the lossy EventKit priority proxy that could no-op or clobber priorities.
  • info text 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, matching today/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 error entry instead of crashing; --filter-json payloads with invalid date strings are rejected before writing; smart-list-edit explains that --match/--tag-match need accompanying filter options; smart-list-create validates before opening the database.

Hardening

  • New remctl-private protocol handshake (protocol 1). remctl doctor reports 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-eventkit reads 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.sh prints 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 --help text, and the splash version updated to match.