Skip to content

feat!: drop Task.planned_start and planned_end - #66

Merged
tobixen merged 2 commits into
mainfrom
drop-planned-times
Nov 25, 2026
Merged

tobixen merged 2 commits into
mainfrom
drop-planned-times

Conversation

@tobixen

@tobixen tobixen commented Nov 25, 2026

Copy link
Copy Markdown
Member

Disclaimer: code and text below the line are AI-generated, by Claude Opus 5.5 (reviewed by a second Claude Opus 5.5 instance), from the prompts:

[pick from the task list: "calendaring: drop planned_start/planned_end from Task"]
(on a review comment about X-PYCAL-PLANNED-* now being dropped silently) What is the X-PYCAL-PLANNED-* for? We should start building a [registry].


Task.planned_start, Task.planned_end and the task.planned capability are removed, along with the X-PYCAL-PLANNED-START/-END mapping and its memory, CalDAV and conformance entries. No calendar client reads a planned start or end on a VTODO; time planned for a task belongs in a VEVENT linked to it with RELATED-TO, which every client shows as an event. The properties came in with the first API design draft without a deliberate decision.

Tasks written by 0.1.0 that still carry the properties keep them as ordinary X- properties, and where a backend drops X- properties that is now planned as a loss, like for any other X- property (previously, every X-PYCAL- name was exempt from that).

The second commit starts the registry of X-PYCAL- properties promised in API_DESIGN §3.6, as docs/x-properties.md: the time-tracking properties, plus the planned times listed as retired.

Tested: full suite (3504 passed), mypy, ruff, lychee.

🤖 Generated with Claude Code

No calendar client reads a planned start or end on a VTODO; time
planned for a task belongs in a VEVENT linked to it with RELATED-TO,
which every client shows as an event. The properties came in with the
first draft of the API design without a deliberate decision.

Removes Task.planned_start/planned_end, the X-PYCAL-PLANNED-START/-END
mapping and the task.planned capability, with its memory, CalDAV and
conformance entries, and the design document's mentions of them.

Prompt: [pick from the task list: "calendaring: drop
  planned_start/planned_end from Task"]

Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
API_DESIGN §3.6 promised a registry of the X- properties the library
writes, each with the standard property that would replace it, for the
user documentation of roadmap 4.1. That does not exist yet, so the
table starts as docs/x-properties.md, and lists the retired planned
times as well, so data written by 0.1.0 can be explained.

Prompts:
> (on a review comment about X-PYCAL-PLANNED-* now being dropped
> silently) What is the X-PYCAL-PLANNED-* for?  We should start building
> a [registry].

Assisted-By: Claude Opus 5.5
Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
@tobixen
tobixen merged commit 83c5f1b into main Nov 25, 2026
8 checks passed
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