Skip to content

Add private ReminderKit features: tags, sections, subtasks, smart lists and more - #361

Closed
oliverames wants to merge 3 commits into
mattt:mainfrom
oliverames:feat/reminders-private
Closed

oliverames wants to merge 3 commits into
mattt:mainfrom
oliverames:feat/reminders-private

Conversation

@oliverames

@oliverames oliverames commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Review guide. This builds on #359, so the diff includes its commit. The change here is the commits after #359. Merge #359 first, then this. To try it: turn on Private Reminders features under Reminders, then ask a client to tag, flag and sort a reminder into a section on a throwaway list.


This adds the Reminders features that EventKit can't reach, using Apple's private ReminderKit framework, with no helper app and no Shortcuts. viticci/remctl was the design reference for what to cover. None of its code is used.

I want to be upfront that ReminderKit is unsupported and can change in any macOS update, so you may not want this in iMCP. If so, I'm glad to keep it in my fork. I checked first that it works from iMCP's App Sandbox: it loads, reaches remindd, and writes, with no extra entitlement or mach-lookup exception.

What changed

  • All private calls live in ReminderKitBridge.m. It loads the framework lazily, guards every selector with respondsToSelector:, and catches Objective-C exceptions so a changed API becomes an error message instead of a crash. Nothing writes the Reminders database directly.
  • New tools, each with an action argument where it fits: reminders_tags, reminders_add_link (public web links only; local, private and file-style schemes are refused), reminders_flag (flagged and urgent), reminders_get_private, reminders_sections, reminders_subtasks, reminders_list_appearance (icon or emoji), reminders_groups, reminders_smart_lists, reminders_templates and reminders_restore.
  • Every write reads back through ReminderKit and returns verified, with a warning when it is false.
  • The tools sit behind a new "Private Reminders features" switch under Reminders, off by default, which also gates reads. When Add an Allow writes setting for each service #342 lands, this should move onto its Allow writes setting and gate only the write actions.

Testing

  • RemindersPrivateTests adds 24 unit tests. The suite passes (229 tests, 1 skipped).
  • Live self-test: a DEBUG-only launch argument, --reminders-private-selftest, ran 48 steps against real ReminderKit from a signed build on macOS 27.3 with no failures, and all 28 writes read back as verified. It creates and deletes a throwaway list, and nothing was left behind.
  • Through a Claude connector on my Mac, I also called the tools and they worked.
  • CI: both jobs (macOS 26 with Xcode 26.0, macOS 27 with Xcode 27.0) pass. One extra "Rerun CI" commit is on the branch.

Not verified: verified is ReminderKit's own read-back, so it shows the save took effect in remindd, not that Reminders.app drew it or that iCloud synced it.

Not covered: taking a reminder out of a section without deleting the section (no working call found), a listing of Recently Deleted (ReminderKit has no read API; restore needs the pre-deletion id and the list to restore into), Early Reminders, shared-list assignment, images, Groceries lists, manual ordering and pins.

Oliver Ames added 2 commits November 17, 2026 20:10
…larms, list colors

Adds reminders_today, reminders_upcoming, reminders_overdue, reminders_search,
reminders_get, reminders_lists_get, reminders_lists_update, reminders_complete,
reminders_delete_batch, and reminders_resolve_location. Extends create/update
with all-day and timed due strings, priority numbers, recurrence strings,
alarm strings, address-based location alarms, and completion_date. Pure logic
lives in RemindersQuery.swift with unit tests.

Behavior follows viticci/remctl (MIT).
…lags, sections, subtasks, icons, groups, smart lists, templates, restore)

All private calls live in ReminderKitBridge.m: lazy dlopen, selector guards, exceptions caught.
Behind a Private Reminders features setting, off by default. Writes verify by reading back.
DEBUG self-test: --reminders-private-selftest.
@oliverames
oliverames marked this pull request as ready for review November 18, 2026 11:38
@oliverames

Copy link
Copy Markdown
Contributor Author

Replaced by #378, the same change cut as one PR so it can merge on its own.

@oliverames oliverames closed this Nov 18, 2026
@oliverames
oliverames deleted the feat/reminders-private branch November 18, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant