Fix remaining-task semantics for completed parent chains#37
Draft
deverman wants to merge 3 commits into
Draft
Conversation
The bridge plugin returns dates from OmniFocus in formats that Swift's built-in .iso8601 JSONDecoder strategy cannot parse (e.g., dates without fractional seconds, date-only strings, or timestamps without timezone). This caused "Expected date string to be ISO8601-formatted" errors and 45-second bridge timeouts when requesting any date field (dueDate, plannedDate, deferDate, completionDate, lastReviewDate, nextReviewDate) on list-tasks or list-projects. Replace the strict .iso8601 decoder with a .custom strategy that tries multiple formats in order: 1. ISO8601 with fractional seconds 2. ISO8601 standard (withInternetDateTime) 3. Date-only (yyyy-MM-dd) 4. ISO8601 without timezone Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
|
Merge-order note: this PR is intentionally independent from issue #28. Issue #28 was branched from |
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.
Summary
Fix remaining/default task semantics so children of completed or dropped parent tasks are no longer treated as remaining.
Change
Why
Issue #27 is about read trust before write support. A task should not appear actionable if an ancestor task has already been completed or dropped.
Validation
swift testbenchmark-gate-check --tool task-countsbenchmark-gate-check --tool list-taskslist-taskstask-countsNotes
The semantic gates are slow on this machine and database, but they passed cleanly once run with a sufficient timeout budget.