M20-I01: Task compose + dual-write #51

Open
opened 2026-05-29 10:45:07 +00:00 by claudian · 0 comments

Task compose + dual-write

Port new-task-append.py's logic to Rust: compose an Obsidian-Tasks line
(- [ ] desc [[project]] 📅 due 🔁 recur ➕ created) with flexible due parsing
(today/tomorrow/+3d/+2w/fri/next fri/ISO). Dual-write: the
due-date Daily Note's ## 📋 Tasks and the current note's
## 🚀 Tasks Created Today (via ➕ created). Due-less tasks → current note only.

Acceptance

Compose + parse covered by tests (each due form); dual-write hits both notes
(creating sections if absent); due-less writes only today. See
M20-Events-And-Tasks · ref new-task-append.py.

# ✅ Task compose + dual-write Port `new-task-append.py`'s logic to Rust: compose an Obsidian-Tasks line (`- [ ] desc [[project]] 📅 due 🔁 recur ➕ created`) with flexible due parsing (`today`/`tomorrow`/`+3d`/`+2w`/`fri`/`next fri`/ISO). **Dual-write**: the due-date Daily Note's `## 📋 Tasks` **and** the current note's `## 🚀 Tasks Created Today` (via `➕ created`). Due-less tasks → current note only. ## Acceptance Compose + parse covered by tests (each due form); dual-write hits both notes (creating sections if absent); due-less writes only today. See [[M20-Events-And-Tasks]] · ref `new-task-append.py`.
claudian added this to the Events & Tasks milestone 2026-05-29 10:45:07 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
n8k99/dragonpunkos#51
No description provided.