Skip to content

Add shared mutation core preview pipeline#40

Draft
deverman wants to merge 1 commit into
masterfrom
issue-29-shared-mutation-core
Draft

Add shared mutation core preview pipeline#40
deverman wants to merge 1 commit into
masterfrom
issue-29-shared-mutation-core

Conversation

@deverman
Copy link
Copy Markdown
Owner

Summary

Add the shared mutation core that later task/project write tools can build on without bespoke transport code.

Change

  • add shared typed mutation request/response models in OmniFocusCore
  • extend OmniFocusService with a common performMutation entry point
  • add preview-only mutation transport support in both bridge and JXA backends
  • add cache invalidation hooks to CatalogCache
  • invalidate cached project/tag catalog pages after successful non-preview mutations
  • add model validation/round-trip tests and cache invalidation tests

Scope Notes

This PR intentionally stops at plumbing:

  • no public write MCP tools yet
  • no field-specific task/project mutation execution yet
  • preview-only mutation flow validates IDs and shared request shape

Validation

  • swift test

Why

Issue #29 is about creating one shared mutation pipeline for CLI and MCP before the field-specific write issues begin. This PR gives later issues a stable transport and result envelope without mixing in task/project write behavior.

@deverman
Copy link
Copy Markdown
Owner Author

Merge-order note: PR #40 should merge before issue #30 / the future update_tasks PR. #30 is intentionally stacked on this shared mutation core so task updates reuse the common mutation models, preview/verify flow, and cache invalidation path.

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