Skip to content

calternal_notes_core::tasks

Shared Task models, parsers and writers for Notes (#430, DESIGN §40).

Markdown stays authoritative. These modules expose byte-stable projections and Bases helpers so API and UI code can read and edit the same identities. Task models, extraction, and byte-preserving Markdown edits (#917; DESIGN §9). Re-export the shared Task API here. The projector reads the crate-private line parser directly; callers use the public extraction and edit helpers.

Source: crates/calternal-notes-core/src/tasks/mod.rs

Module Summary
model Task projection and write-input types for #430.
base Lossless reader and canonical writer for Task view definitions in Views/*.base.
status Project status rollup — rollup_status (spec §7, contract §5–§6).
extract extract_task_index — the read-only Task and Checkbox projector for #430.
frontmatter Byte-stable, line-scoped YAML frontmatter field reader + writer.
build build_task_file + append_inbox_line — canonical Task Note writers.
line Inline checkbox lines: read-only parser and the byte-stable status writer.