flow-id-mismatch
What it catches
Section titled “What it catches”A flow whose front matter id is not its file name without .md. The flow
in flows/add-activity.md must have id: add-activity.
Why it matters
Section titled “Why it matters”A flow is found by its ID, and its file by its name; when they differ, a reader, an agent or a link going by one will not find the other. It usually happens when a flow file is renamed or copied. This is a correctness rule: it is always an error.
How to fix
Section titled “How to fix”Change the id to the file name, or rename the file to the id.
Example
Section titled “Example”The flow starts on the timeline:
screens: trip.timeline: title: Timeline area: trip presentation: rootThe file is docs/flows/flows/add-activity.md:
---id: new-activitytitle: Add an activitystatus: proposedentry: trip.timeline------id: add-activitytitle: Add an activitystatus: proposedentry: trip.timeline---