Roadmap
Available format: turns a story into a roadmap:
one lane per scene, one item per task-list line of the lane, and milestones for the
releases. The same file is shown in three views — now / next / later (the default, which needs no
date), a timeline and a board — filtered by tag, owner or status, and exported to a calendar, a feed
and a PDF (Exports).
The examples are roadmap- (two languages, with a companion) and roadmap- (its own
statuses, a kanban); roadmap.recit.dev shows the first, and the roadmap of Récit, written in the
format.
A minimal roadmap
product.md
Bash
| Written | What it is |
|---|---|
--- id=… | a lane. Its first heading is its title, the prose before the list its description |
a list line ending in {…} | an item: id (required), status, horizon, start, end, quarter, owner, tags, link, feedback, depends. A line without {…} is prose |
[x] | the item is done (the done status, shipped by default); [ ] without status= takes the first status |
:::item{id= | the long description of an item, full Markdown (images, links, code) |
--- id= | a milestone, on the timeline and in the calendar; its body is its description. milestone= while it has no date |
feedback= names the form that collects feedback on the item: its anchor on the page (#form-idea
for :::form{#: a form's anchor is form- and its id), a path or an address. The item's
dialog then shows « Give feedback », whose link adds ?recit-; the form sends that
id as meta.about (Form submission API).
The attributes in braces follow the grammar of the scene separator: the same quotes, lists separated
by commas (tags=, depends=). Dates are civil dates, 2026-11-02, and a
quarter is written 2026-Q3: a roadmap never promises an hour, and a date without a time zone does
not change day from one country to another.
The three views
- Now / next / later reads
horizon=of each item, else the column of its status. It never depends on the date: a public roadmap that promises no date reads the same every day. - Timeline: the items with dates or a quarter, the milestones on top, the line of today from the
build clock (
SOURCE_when it is set, for reproducible builds).DATE_ EPOCH - Board: one column per status.
The view and the filters live in the address (?view=): a
filtered view is a link. Every control is a link or a form first, so the page reads without
JavaScript.
Settings
In the front matter, or for every roadmap of a folder in the roadmap: section of recit.config
(the front matter wins):
| Setting | Default | What it does |
|---|---|---|
view | now- | the view shown first: now-, timeline or kanban |
period | quarter | the ticks of the timeline: month, quarter, half |
statuses | [planned, in- | the statuses, in order; the first one is the status of a bare [ ] |
done | shipped | the status of [x], of the changelog and of the feed |
statusLabels | the words of the page's language | the label of each status, one string or one per language |
horizons | now:, next:, later: | the statuses of each column of now / next / later, for an item without horizon= |
url | none | the address of the published page: the links of the feed, the ids of the calendar |
ics.items | false | also the dated items in the calendar, not only the milestones |
pdf | A4 landscape, the timeline | the options of recit export --: view, the page box |
The pdf key takes the PDF options of
every paginated format (page, toc, header, footer, colorMode, output…), plus view.
recit.config.ts
The JSON twin
The twin (kind:) is the same roadmap in JSON, checked by
https:// and converted both ways by recit convert: each lane has
its title, its body and its items, each with its typed fields; a milestone has
milestone: and its date. Beside a product.md, a product.json is either its twin or its
companion, told apart by kind.
product.json
Alongside scenes.id and scenes.body (see
Scenes › In the JSON twin) and the lane, milestone
and scenes.items (items.id, items.title, items.status, items.start, items.end,
items., items.owner) keys shown above, scenes and scenes.items accept:
| Key | Type / values | Effect |
|---|---|---|
scenes.notes | string or Record<string, string> | Optional author notes in Markdown (:::notes; Scenes). |
scenes.attrs | Record<string, string | number | boolean> | Optional separator attributes (--- key=) other than id and milestone (Scenes). |
items. | "now" | "next" | "later" | Column in the now- view ({horizon=…} in Markdown); derived from items.status and settings. when omitted. |
items.tags | string[] (non-empty strings) | Tags on the item ({tags=a,b} in Markdown), used to filter the views (?tag=…). |
items.link | string (URI) | External link of the item ({link=…} in Markdown). |
items. | string (non-empty) | The feedback form of the item ({feedback=# in Markdown): « Give feedback » opens it with ?recit-. |
items. | string[] (non-empty strings) | Ids of prerequisite items in the same roadmap ({depends= in Markdown; unknown ids and cycles are errors). |
items. | string or Record<string, string> | Long Markdown description of the item (:::item{id= block in Markdown). |
The companion
The companion (kind:, product.json beside product.md) completes the items by
their id, without ever adding or removing one. It is the place a tool writes: a script that reads
an issue tracker rewrites the companion, never the Markdown.
product.json
Languages
product. beside product.md is its French variant. Titles, descriptions and status labels
are translated; ids, statuses, dates, owners, tags, links and dependencies are the same in every
language, and recit i18n check refuses an item present in one language only.
Commands
| Command | What it does |
|---|---|
recit dev product.md | the roadmap with live reload |
recit build product. | the three views, prerendered (-o, --output, default ./dist) |
recit validate product.md | the story against its schema and the rules below |
recit convert product. | the JSON twin on standard output; --to md goes back to Markdown (--locale fr) |
recit export product. | one all-day event per dated milestone (and dated item with ics.items) |
recit export product. | the feed of what shipped; needs url |
recit export product. | the printable view, the timeline on one A4 landscape page (light or dark) |
-o, --output names the file (a folder for build); without it the export is written beside the
story and listed in exports.json (--no- leaves the manifest alone). What each file
holds, and how a site serves it, is on Exports; every flag is in
the CLI reference.
The rules
recit validate and the build check each roadmap; every message carries the file and the line (or
the JSON path in a twin).
| Code | Severity | When |
|---|---|---|
roadmap- | error | an item without id, or an id used twice |
roadmap- | error | a status not in statuses |
roadmap- | error | depends on an unknown id |
roadmap- | error | a cycle of dependencies (its path is in the message) |
roadmap- | error | end before start, or outside the quarter given |
roadmap- | error | a date or a quarter badly written (2026-13-01, 2026-Q5, 2027) |
roadmap- | error | a list of items in a milestone |
roadmap- | warning | a done item without end: it is in neither the changelog nor the feed |
roadmap- | warning | an item not done whose end is past, never an error |
roadmap- | warning | prose after the list of a lane (moved before it) |
sidecar- | error | an item id of the companion that the lane does not have |
Bridges
| From → to | How |
|---|---|
| roadmap → calendar | include: of the roadmap in a calendar |
A calendar lists the roadmap in its front matter, and the roadmap's dated milestones become
all-day events, tagged milestone, their ids prefixed with the roadmap's slug (product.v1); with
ics:, its dated items too, over their days. An undated milestone or item does not
cross, without an error. The calendar owns this bridge, so that the roadmap does not depend on the
calendar it feeds (Bridges).
course.md
In a site
A Récit site publishes a roadmap like any story (publish:), at /<routePrefix>/, with its
.ics and .rss beside the page (Exports). In an MDX page:
MDX
On a page whose own title already names the list (a « Changelog » page),
<RoadmapChangelog slug= keeps the list's title for screen readers only.
Packages
TypeScript
| Import | Contents |
|---|---|
@recit/ | storyToRoadmap, roadmapIcs, roadmapRss (the RSS feed), the filters, the model |
@recit/ | the views (Roadmap, NowNextLater, Timeline, Kanban, Changelog…) |
@recit/ | mountRoadmap, the page of recit dev and recit build |
@recit/ | the stylesheet of the views |
MCP
describe_ explains the format and validate_ checks a roadmap. The guide is
recit://.