Repository navigation
Add private ReminderKit features: tags, sections, subtasks, smart lists and more - #361
Closed
oliverames wants to merge 3 commits into
Closed
oliverames wants to merge 3 commits into
oliverames wants to merge 3 commits into
Conversation
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
marked this pull request as ready for review
November 18, 2026 11:38
This was referenced Nov 18, 2026
Contributor
Author
|
Replaced by #378, the same change cut as one PR so it can merge on its own. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ReminderKitBridge.m. It loads the framework lazily, guards every selector withrespondsToSelector:, and catches Objective-C exceptions so a changed API becomes an error message instead of a crash. Nothing writes the Reminders database directly.actionargument 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_templatesandreminders_restore.verified, with a warning when it is false.Testing
RemindersPrivateTestsadds 24 unit tests. The suite passes (229 tests, 1 skipped).--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.Not verified:
verifiedis ReminderKit's own read-back, so it shows the save took effect inremindd, 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.