Skip to main content

parse_mission_markdown

Function parse_mission_markdown 

Source
pub fn parse_mission_markdown(slug: &str, markdown: &str) -> Result<Ticket>
Expand description

Parse a ticket-shaped plan file into a Ticket. The slug is derived from the file stem (like Ticket::load), so the folded Ticket::mission_goal carries the goal, scoping answers, acceptance hints, and context verbatim.

Pure over (slug, markdown) so the parse path is unit-tested without touching the filesystem; [read_mission_file] is the thin I/O wrapper exec calls.