Skip to content

Generate date-or-datetime task planning schemas - #9

Merged
callumalpass merged 1 commit into
mainfrom
agent/accept-task-datetimes
Jul 31, 2026
Merged

Generate date-or-datetime task planning schemas#9
callumalpass merged 1 commit into
mainfrom
agent/accept-task-datetimes

Conversation

@callumalpass

Copy link
Copy Markdown
Owner

What changed

  • generate due and scheduled as date-or-datetime unions
  • sync the portable TaskNotes schema with the corrected contract
  • cover both implementing-type and portable-contract schemas

Why

The mdbase generator hardcoded these fields through its date-only helper even though the model already preserves and operates on timed values. Generated collections could reject records the model itself creates.

Impact

Newly generated TaskNotes mdbase types accept both date-only planning values and canonical RFC 3339 instants. Day-only roles such as completedDate remain date-only.

Validation

  • npm test (26 tests)

@callumalpass
callumalpass merged commit a3ee721 into main Jul 31, 2026
3 checks passed
@callumalpass
callumalpass deleted the agent/accept-task-datetimes branch July 31, 2026 11:53
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