Skip to content

fix: explain rejected shared-list reminder moves - #108

Merged
steipete merged 1 commit into
mainfrom
fix/round13-shared-list-moves
Oct 20, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/round13-shared-list-moves

Conversation

@steipete

Copy link
Copy Markdown
Collaborator

When edit --list or edit --list-id crosses a shared-list boundary, EventKit can reject the save with only com.apple.reminderkit error -3002. Explain that limitation and direct the user to move the reminder in Reminders.app before retrying other edits.

The diagnostic applies only when the calendar identifier actually changes and the save fails with that exact domain/code. Other save errors retain their original identity. Keep the public EventKit path and avoid a copy/delete fallback that cannot preserve all Reminders.app metadata. Document the limitation in the README and command guide, and thank @paulchiu in Unreleased.

Validation: the synthetic NSError regression failed with the old pass-through behavior and passes with the diagnostic; parameterized tests cover non-move errors, other domains/codes, and successful saves. swift test --jobs 2 --filter ReminderUpdateSaveTests, make lint, make docs-site, and git diff --check pass. Independent Codex autoreview found no actionable P0–P2 findings. Live shared-iCloud-list behavior was not exercised; the regression verifies error handling without modifying real reminders.

Fixes #104.

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T00:16:32.417783Z b0afda4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 20, 2026
@clawsweeper

clawsweeper Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codex review: needs maintainer review before merge.

What this changes

Explain rejected reminder moves with recovery guidance while preserving unrelated save errors.

Example: Run remindctl edit 1A827CE7 --list Apps when EventKit rejects moving a reminder from the shared Shopping list.

  • Before: The command reports only com.apple.reminderkit error -3002.
  • After: The command explains the possible shared-list limitation and directs the user to move the reminder in Reminders.app before retrying other edits.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is narrow and source-correct, with useful error-preservation coverage but only helper-level behavioral evidence.
Proof confidence 🦐 gold shrimp (3/6) This collaborator-authored PR is outside the ordinary contributor proof gate; supplied evidence exercises the diagnostic helper with synthetic NSError values, and the body explicitly states that live shared-list behavior was not exercised.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Rejected list moves expose an opaque platform error without recovery guidance.
Reason: The collaborator-authored direction satisfies the report's explicit diagnostic alternative without changing reminder identity or adding unsupported metadata handling.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it provides a focused, maintainer-approved diagnostic improvement absent from main, with no actionable correctness or security findings.

Priority: P2
Reviewed head: b0afda499f5510f12f489bec5222667256592bf6

Before merge

None.

Findings

None.

Tests

  • Low-value test Tests/RemindCoreTests/ReminderUpdateSaveTests.swift: Remove successfulSave: it counts calls to the supplied closure without exercising calendar-change detection or the shipped save path.
  • Missing end-to-end proof: Live CLI output for a rejected shared-list move and the unchanged reminder was not supplied; the body reports the synthetic regression failing before and passing after the fix.
Agent review details

How this fits together

The edit command passes reminder changes to RemindCore, which saves through EventKit and returns either the updated reminder or an error rendered on stderr.

flowchart LR
  A[Edit command] --> B[RemindersStore]
  B --> C[ReminderUpdateSave]
  C --> D[EventKit save]
  D --> E[Move error classification]
  E --> F[CLI diagnostic]
Loading

Technical review

Best possible solution:

Keep the narrow diagnostic and documented Reminders.app recovery without introducing an identity-changing fallback.

Do we have a high-confidence way to reproduce the issue?

The linked report supplies a controlled v0.3.8 reproduction, and main's save and CLI error paths explain the bare diagnostic; this review did not run EventKit.

Is this the best way to solve the issue?

The exact domain/code filter and actual calendar-change check provide the requested minimum repair while preserving unrelated failures and the existing public-EventKit contract.

AGENTS.md: not found in the target repository.

Codex review notes: model internal, reasoning medium; reviewed against f4ef24ba3d86.

Provenance checked

  • EventKit reminder update save changes intended behavior with a stated reason (d8f9510: The initial CLI saved updates directly through EventKit; no separate rationale for raw error wording is recorded in the supplied complete provenance evidence.)
  • Public EventKit and metadata preservation boundary keeps the original intent (cd0ab4c: The README documents public EventKit limitations and unavailable Reminders.app metadata.)

Testing

Proof path: unit tests only.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 3bc45c3 adds Sources/RemindCore/EventKitStore.swift:178 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3bc45c3bba93; files: Sources/RemindCore/EventKitStore.swift)
  • Sebastien Tardif: Raw commit 0e5b9ab adds Sources/RemindCore/EventKitStore.swift:185 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 0e5b9ab537fc; files: Sources/RemindCore/EventKitStore.swift)

Labels

Label changes:

  • add P2: The diagnostic improves a reproducible, limited-scope move failure while ordinary reminder workflows remain usable.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: The diagnostic improves a reproducible, limited-scope move failure while ordinary reminder workflows remain usable.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Capture redacted CLI output from a rejected shared-list move showing the new diagnostic and the original reminder remaining intact.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 19, 2026, 8:23 PM ET / October 20, 2026, 00:23 UTC.

@steipete
steipete merged commit 98bba46 into main Oct 20, 2026
15 checks passed
@steipete
steipete deleted the fix/round13-shared-list-moves branch October 20, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

edit --list / --list-id fails with ReminderKit error -3002 when a shared list is on either end of the move

1 participant