Skip to content

Implement update_tasks for Homogeneous Bulk Field Patches #30

@deverman

Description

@deverman

Summary

Implement update_tasks / focusrelay update-tasks for homogeneous bulk task field patches.

One request applies one patch set to many task IDs.

Scope

Supported v1 task patches:

  • name
  • note replace
  • note append
  • flagged
  • estimatedMinutes
  • dueDate set/clear
  • deferDate set/clear
  • tag add
  • tag remove
  • tag set
  • tag clear

Out of scope:

Public Behavior

  • input is a list of task IDs plus one shared patch
  • default output is compact summary data
  • returnFields can request selected post-write fields
  • previewOnly validates and resolves without mutating
  • verify reads back and confirms the final state

Acceptance Criteria

  • same patch applies to all provided task IDs
  • invalid IDs fail deterministically
  • clear-date behavior is explicit and tested
  • tag operations are deterministic and documented
  • CLI and MCP use the same mutation path and output model

Test Plan

  • success cases for each supported patch type
  • invalid ID handling
  • preview-only behavior
  • verify readback behavior
  • homogeneous bulk update across multiple task IDs

Notes

Keep completion and move semantics out of this tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions