DSL
DSL reference
The .nowline language — keywords, syntax, validation rules.
Ce contenu n’est pas encore disponible dans votre langue.
Overview
Section titled “Overview”The Nowline DSL is an indentation-significant, human-readable language for defining roadmaps. It is designed to feel like writing a structured outline — keywords read as plain English, and the file is meaningful without a rendering tool.
Parser: Langium (TypeScript-native, generates typed AST, provides LSP for free).
File extension: .nowline
MIME type: text/vnd.nowline
Fenced code block: ````nowline`
Design Rules
Section titled “Design Rules”- ~20 keywords (currently 24). If the keyword count grows beyond ~20, the language is too complex. The
symboldeclaration was added to support custom-named symbols foricon:andcapacity-icon:, thewavedeclaration to support barriers that span swimlanes (seespecs/waves.md§ 4.8 for its justification), and thenon-workingandworkingdeclarations to take days out of the schedule and put them back, so weekends, holidays and closures are data rather than code (seespecs/working-calendar.md§ 4.1 and the handoff’s decision 1 for the justification: they are one mechanism with one name, and no existing keyword can carry a dated or recurring list of days); further additions should stay rare. - Indentation-significant. Two-space or one-tab indent defines nesting. Spaces and tabs must not be mixed within a file — the parser rejects mixed indentation with a clear error identifying the first offending line. No braces, brackets, or explicit block delimiters.
- Strings are double-quoted.
"Auth refactor", notAuth refactoror'Auth refactor'. - Properties are key:value pairs on the same line as the entity. All key-value pairs use
:as the single separator — the DSL does not use=. Values containing spaces must be double-quoted. - Built-in DSL names are kebab-case. Property names (
capacity-icon,days-per-week), section keywords, and built-in values (in-progress,at-risk) all use kebab-case. Author-chosen identifiers may use any combination of letters, digits, underscores, and dashes (must start with a letter or underscore) —auth-refactor,authRefactor, andauth_refactorare all valid. - Order matters. Items render and execute sequentially in source order within a swimlane.
- Comments use
//for single-line and/* */for multi-line. - Line continuation uses
\at the end of a line. The next line continues the same declaration. Indentation on the continuation line is cosmetic. Use\\for a literal backslash. - String escapes. Inside a double-quoted string,
\nis a line break,\\is a literal backslash and\"is a literal double quote, so"Technology\nSelection"is a two-line title,"a\\nb"shows the four charactersa\nb, and"Say \"hi\""showsSay "hi". A\nbreak is honored in item titles, where the title paints on separate lines (seespecs/rendering.md“Item Bars”); everywhere else it behaves as whitespace: other chart text (lane, group and milestone titles) shows a single space, and the Mermaid and MS Project exports collapse it to one space (an.xlsxTitle cell keeps it as an in-cell line break). These escapes are distinct from rule 8: the end-of-line\continuation sits outside strings, while the escapes are only recognized inside them.
File Structure
Section titled “File Structure”A .nowline file has four sections in strict order:
**nowlinedirective** — DSL version declaration (optional but recommended, must be first line if present)- Includes —
includedeclarations (optional) - Config —
configmarker followed by rendering configuration (optional) - Roadmap —
roadmapmarker followed by content declarations (required)
The nowline directive declares which version of the DSL the file targets. It must be the very first non-comment, non-blank line in the file:
nowline v1The DSL version is an integer-only major (v1, v2, v3, …) and is independent of the package version. The packages (@nowline/cli, the VS Code extension, etc.) ship under SemVer (MAJOR.MINOR.PATCH, see specs/releasing.md); the DSL major exists separately to express format-stability. Within a DSL major, the parser must accept every valid file written for that major: new syntax may be added between package minor/patch releases, but no breaking change to an existing valid nowline v1 file ships without bumping the directive to v2. When the parser encounters a version newer than it supports, it emits an error identifying the required version. When the directive is omitted, the parser assumes the latest version it supports.
The directive line accepts optional file-level properties after the version:
nowline v1 locale:fr-CAThe only directive property today is locale:, a BCP-47 tag controlling localized rendering and validator messages. Unknown directive keys are an error so typos surface immediately. See specs/localization.md for the full locale model, precedence chain, and bundle structure.
config and roadmap are section markers, not indent-containers. Config keywords (scale, style, symbol, default, calendar, non-working, working) appear at the top level after config. Roadmap keywords (person, team, anchor, label, size, status, wave, swimlane, milestone, footnote) appear at the top level after roadmap. Indentation is used where nesting is real: style properties under style, scale and calendar block properties under their keyword, team members under team, and swimlane contents under swimlane.
Full Example
Section titled “Full Example”nowline v1
include "shared/teams.nowline"
config
style enterprise "Enterprise readiness" bg: blue fg: navy text: white border: solid icon: shield
style risky border: dashed fg: orange
style subtle bg: gray
style concurrent bracket: solid
default item status:planned shadow:subtledefault label style:subtledefault swimlane padding:sm spacing:nonedefault roadmap padding:md header-height:md font:sansdefault parallel bracket:none
roadmap platform-2026 "Platform 2026" author:"Acme Engineering" logo:"./brand/acme.svg" start:2026-01-06 scale:2w calendar:business
person sam "Sam Chen" link:https://github.com/samchenperson jen "Jennifer Wu"
team engineering "Engineering" team platform "Platform Team" person sam person jen team mobile "Mobile Team"
anchor kickoff date:2026-01-06anchor code-freeze "Code Freeze" date:2026-05-01anchor ga-date "GA Date" date:2026-06-01
size xs "Extra Small" effort:1dsize s "Small" effort:3dsize m "Medium" effort:1wsize l "Large" effort:2wsize xl "Extra Large" effort:1m
status awaiting-review "Awaiting Review"status in-review "In Review"
label enterprise "Enterprise readiness" style:enterpriselabel security "Security hardening" style:enterpriselabel low-confidence style:risky
swimlane platform owner:platform capacity:5 item auth-refactor "Auth refactor" size:l after:kickoff \ status:done owner:sam labels:enterprise capacity:3 \ link:https://github.com/acme/auth/issues/123 parallel after:auth-refactor group audit-track "Audit Track" labels:security item audit-log "Audit log v2" size:xl before:code-freeze \ remaining:30% labels:[enterprise, security] capacity:2 \ link:https://notion.so/acme/audit-log-spec description "Comprehensive audit trail for all admin actions" item audit-ui "Audit UI" size:m capacity:1 item sso "SSO plugins" size:m labels:[enterprise, low-confidence] capacity:50% item platform-qa "Platform QA" size:s capacity:2
swimlane mobile owner:mobile capacity:2 item offline "Offline mode" size:l after:kickoff owner:jen status:at-risk remaining:60% capacity:3 link:https://github.com/acme/mobile/pull/87 item push-v2 "Push notifications v2" size:m owner:mobile capacity:1
milestone beta "Beta" after:auth-refactormilestone v1-ga "v1 GA" after:[auth-refactor, audit-log]milestone ga-launch "GA launch" date:2026-06-01 after:[auth-refactor, audit-log]
footnote "Vendor dependency" on:audit-log description "Blocked until vendor contract is signed. Expected March resolution."footnote capacity-risk "Team capacity risk" on:[mobile, platform] description "Mobile team is down to 2 engineers through Q2."Keywords
Section titled “Keywords”Directives
Section titled “Directives”| Keyword | Purpose | Notes |
|---|---|---|
nowline |
DSL version declaration | nowline v1. Optional but recommended. Must be the first non-comment, non-blank line. Accepts optional locale:<bcp47> (see localization.md). |
Section Markers
Section titled “Section Markers”| Keyword | Purpose | Notes |
|---|---|---|
config |
Section marker for rendering configuration | Optional. Must appear before roadmap. Config keywords follow at the top level (not indented). |
roadmap |
Section marker for content declarations | [id] ["title"]. Optional author:"string", start:YYYY-MM-DD, scale:<duration>, calendar:business|full|custom, logo:"path", logo-size:<preset>. One per file. Roadmap keywords follow at the top level. |
Config Keywords (after config, before roadmap)
Section titled “Config Keywords (after config, before roadmap)”| Keyword | Purpose |
|---|---|
scale |
Display settings for the timeline axis (properties indented beneath). Optional. |
style |
Named visual definition (properties indented beneath). |
symbol |
Named declaration of a custom symbol for use by icon: and capacity-icon: style properties. [id] ["title"] unicode:"..." (required) plus optional ascii:"..." fallback and universal properties. |
default |
Default property values for a given entity type. One default <entity> <properties> declaration per entity type. |
calendar |
Day-arithmetic overrides (properties indented beneath). Only valid when roadmap declares calendar:custom. |
non-working |
Days that consume no work: weekends, holidays, closures. [id] ["title"] plus exactly one of date: (a date or a list), start: and end: (an inclusive range), or every: (weekdays, with optional start: and end: bounds). Both id and title are optional. A declaration named weekend replaces the business preset’s Saturday and Sunday. See “Non-working Declaration” below. |
working |
Days that work again after a non-working declaration took them: a crunch Saturday, a make-up day. Same shape and properties as non-working. A working declaration wins a tie. See “Non-working Declaration” below. |
Roadmap Keywords (after roadmap)
Section titled “Roadmap Keywords (after roadmap)”| Keyword | Purpose | Notes |
|---|---|---|
swimlane |
Groups items by team/area/stream | [id] ["title"]. Optional owner:id, capacity:N, utilization-warn-at:N%, utilization-over-at:N%. Items indented beneath. See “Capacity” below. |
person |
Individual contributor declaration | [id] ["title"]. May be declared at roadmap top level or nested inside a team. Bare person <id> inside a team is a membership reference. Declared at most once per merged scope. |
team |
Team/group declaration | [id] ["title"]. Nested teams/persons indented beneath. |
anchor |
Named date on the timeline | [id] ["title"] date:YYYY-MM-DD. date: is required. |
label |
Semantic tag / chip vocabulary | [id] ["title"]. Optional style:id plus universal properties (labels:, link:, description). Raw style properties are not allowed — declare a style in config and reference it. |
size |
Named effort budget calibrated to single-engineer scale | [id] ["title"]. Required effort:<duration literal> (decimal-aware: 0.5d, 2w, 1m). Universal properties (description, link:) also allowed. Must be declared before any entity referencing size:NAME. An item with size: derives its duration as effort ÷ item_capacity (item capacity: defaults to 1 when absent). |
status |
Custom status value | [id] ["title"]. Extends the built-in set (planned, in-progress (alias active), done (alias completed), at-risk, blocked). Universal properties (description, link:) also allowed. Must be declared before any entity referencing status:NAME. |
wave |
Barrier that spans every swimlane | id ["title"] (the id is required). Optional after: start floor (anchor, dated milestone, or one ISO date) plus universal properties. Declaration order is time order: no item in wave k+1 starts before every item in wave k ends. Work joins a wave with wave:<id> on item, group, or parallel. Must be declared before any entry referencing wave:NAME. See “Wave Declaration” below. |
milestone |
Achievement marker | [id] ["title"]. At least one of date: or after: is required. after: accepts a single id or a list of item/milestone/anchor/wave ids. |
item |
Work item inside a swimlane | [id] ["title"]. Indented under a swimlane. |
parallel |
Parallel execution block | [id] ["title"]. Children run in parallel. Implicit join on dedent. |
group |
Sequential item bundle | [id] ["title"]. Children run sequentially. Works inside swimlanes and parallel blocks. |
footnote |
Attachable annotation | [id] ["title"] on:id or on:[id1, id2]. Attaches to one or more entities. |
Include Keyword (before config and roadmap)
Section titled “Include Keyword (before config and roadmap)”| Keyword | Purpose | Notes |
|---|---|---|
include |
Include another .nowline file |
Path string with optional config: and roadmap: mode. include "teams.nowline" |
Items (inside a swimlane)
Section titled “Items (inside a swimlane)”Items are indented under a swimlane, prefixed with the item keyword. Each item follows the universal keyword [id] ["title"] [properties] pattern. Items execute in document order within a swimlane.
swimlane platform item auth-refactor "Auth refactor" size:l status:done item "Quick cleanup" size:s item sso size:mParallel and Group
Section titled “Parallel and Group”parallel — parallel execution
Section titled “parallel — parallel execution”parallel is a block inside a swimlane (or group) that runs its children in parallel. Children can be bare items or groups.
swimlane platform item auth "Auth refactor" size:l parallel item api-v2 "API v2" size:m item sdk-update "SDK update" size:s item integration "Integration" size:sapi-v2andsdk-updatestart at the same time (afterauthfinishes).- Implicit join on dedent — when the parallel block ends, the next sibling (
integration) waits for all parallel children to complete. - Parallel with no subsequent sibling: parallel tracks float to completion independently.
- Parallel follows the universal
[id] ["title"]pattern (both optional). - Drawing — a parallel is drawn like a group (below), above and around its tracks, which stack top to bottom in its body; its header bracket is
dashedby default. Seespecs/rendering.md“Parallel and Group Rendering”.
group — sequential item bundle
Section titled “group — sequential item bundle”group bundles items into a named sequential track. It works inside swimlanes, parallel blocks, or other groups.
swimlane platform group api-work "API Work" labels:enterprise item api-v2 "API v2" size:m item api-docs "API docs" size:s item deploy "Deploy" size:s- Items inside a group execute sequentially (same as swimlane behavior). The renderer uses the same row-pack engine swimlanes use, so an item whose desired start collides with a sibling’s logical right edge, an upstream caption’s spill reservation, or a slack-arrow corridor bumps to a new inner row inside the group’s content area, never above the previous child. The group’s body grows vertically to encompass every populated row.
- Inside a swimlane (outside a parallel block), the group is sequential with respect to its siblings —
deploystarts afterapi-docsfinishes. - Drawing — a group is drawn above and around its items, never beside them: a header (its title over a bracket spanning exactly its dates) over a body shaded with its
bg, padded above and below.style:changes only the colours;bracket:styles the header bracket (solidby default,nonehides it). Seespecs/rendering.md“Parallel and Group Rendering”. Exception: in a roadmap with waves, a group with no title (an id alone is not one), nostyle:, and nolabels:that carrieswave:draws nothing at all; it only assigns membership (see “Wave Declaration”).
parallel with group — parallel sequential tracks
Section titled “parallel with group — parallel sequential tracks”Combine parallel and group for parallel tracks where each track has its own sequential items.
swimlane platform item kickoff-work "Kickoff" size:s parallel streams "Parallel Streams" group api-track "API Track" item api-v2 "API v2" size:m item api-docs "API docs" size:s group sdk-track "SDK Track" item sdk-update "SDK update" size:s item sdk-tests "SDK tests" size:m item sdk-release "SDK release" size:s item integration "Integration testing" size:sapi-trackandsdk-trackstart in parallel afterkickoff-work.- Within each group, items are sequential (
api-v2thenapi-docs;sdk-updatethensdk-teststhensdk-release). integrationstarts after both groups finish (implicit join).
Parallel and Group Properties
Section titled “Parallel and Group Properties”Both parallel and group support universal properties (labels, style, link, description) plus:
| Property | Type | Description |
|---|---|---|
status |
enum or string | Aggregate/override status for the block as a whole. |
owner |
person or team ref | Accountable owner for the block. |
after |
identifier, ISO date, or list | The entire block starts after the referenced entity finishes (or after the inline ISO date). Single id: after:kickoff. Single date: after:2026-03-15. List: after:[a, b, 2026-03-15] — starts after the latest of all elements. Accepts item, milestone, anchor, parallel, or group ids. At most one inline date per direction; multiple dates are a validation error. See “Inline date pins” below. |
before |
identifier, ISO date, or list | The entire block must finish before the referenced entity starts (or before the inline ISO date). List form finishes before the earliest of all elements. At most one inline date per direction. See “Inline date pins” below. |
wave |
wave ref | The block and every descendant belong to the referenced wave (wave:build), and the block’s own start is held at the wave’s start. A descendant may repeat the value; a different value is an error. A block without wave: may hold children in different waves. Only in a roadmap with waves. See “Wave Declaration” below. |
Not supported on parallel/group (computed from children):
duration— derived from children’s durations (sum for group, max for parallel).remaining— derived from children’s progress.capacity— derived from children (sum at each timestep across parallel; pass-through for group).
Nesting Rules
Section titled “Nesting Rules”parallelis valid inside: swimlane, group.groupis valid inside: swimlane, parallel, group (nesting allowed).itemis valid inside: swimlane, parallel, group.- Bare items inside a parallel block are each their own parallel track (single-item groups, effectively).
Required Properties
Section titled “Required Properties”Some entity types require specific keyed properties. Omitting a required property is a validation error; the error names the entity by id or title and the missing property.
| Entity | Required property |
|---|---|
item |
size: or duration: (at least one) |
milestone |
date: or after: (at least one) |
anchor |
date: |
footnote |
on: |
All required fields are keyed properties — the language has no “positional required field” concept. Positional slots on entities are only id and title; at least one of the two must be present (see Universal Declaration Pattern).
Universal Properties (all entities)
Section titled “Universal Properties (all entities)”These properties and directives are valid on every entity type: items, swimlanes, parallel blocks, groups, milestones, anchors, persons, teams, and footnotes.
| Property / Directive | Type | Description |
|---|---|---|
labels |
list | Tags for filtering and display. labels:[enterprise, security]. On an item, each label renders as an atomic chiclet inside the bar; chips that don’t fit on a single row wrap to additional rows and the bar grows downward. See specs/rendering.md “Labels” for the wrapping contract. |
link |
URL | Single URL to external content. |
style |
identifier | Single reference to a named style declared in config. style:enterprise. This is the only visual property allowed on an entity. |
description |
sub-directive | Indented under the entity. Longer explanatory text. description "Details here" |
Content vs. rendering separation. Entities in the roadmap section carry only semantic information (identity, ownership, sequencing, sizing, state, categorisation) plus an optional single style:id reference. Raw style properties (bg, fg, text, border, icon, shadow, font, weight, italic, text-size, padding, spacing, header-height, corner-radius, bracket, header-position, capacity-icon, timeline-position, minor-grid, non-working) may only appear in style blocks and default <entity> lines — both of which live in config. To flag an item in red, declare a named style in config (style flagged with bg: red properties indented beneath) and reference it (item blocked-work style:flagged).
Item Properties
Section titled “Item Properties”These properties are specific to items. status, owner, after, and before are also valid on swimlanes, parallel blocks, and groups. wave is also valid on parallel blocks and groups, but not on swimlanes.
| Property | Type | Description |
|---|---|---|
status |
enum or string | Built-in: planned, in-progress (alias active), done (alias completed), at-risk, blocked. Custom values allowed: status:awaiting-review. |
owner |
person or team ref | References a person or team. owner:sam or owner:platform. Singular — one accountable owner. |
after |
identifier, ISO date, or list | This item starts after the referenced entity finishes (or after the inline ISO date). Single id: after:auth-refactor. Single date: after:2026-03-15. List: after:[auth-refactor, audit-log, 2026-03-15] — starts after the latest of all elements. Accepts item, milestone, anchor, parallel, or group ids. An item, group, or parallel with after: in a swimlane or group starts once both the previous item in its lane and every referenced entity have finished, so after: only ever delays. At most one inline date per direction; multiple dates are a validation error. See “Inline date pins” below. |
before |
identifier, ISO date, or list | This item must finish before the referenced entity starts (or before the inline ISO date). List form (before:[code-freeze, 2026-05-01]) finishes before the earliest of all elements. At most one inline date per direction. See “Inline date pins” below. |
size |
size alias | References a size roadmap declaration (size:l). The item’s duration is calculated as effort ÷ item_capacity (capacity: defaults to 1 when absent). Overridden by an explicit duration: literal — see “Sizing precedence” below. Items only — not valid on parallel or group. |
duration |
duration literal | Raw duration literal only (duration:2w, duration:3m, duration:0.5d). No alias names; size: is the alias mechanism. When set alongside size:, this wins for bar width and meta-line driver (size chip omitted). Items only — not valid on parallel or group. |
remaining |
percentage or literal | Work remaining. Two equivalent forms — author picks whichever reads naturally: percent (remaining:30%) or single-eng effort literal (remaining:1w, remaining:0.5d). When a literal is given, the system computes remaining_literal ÷ total_effort to derive the percent (capacity divides the literal: total_effort = size.effort for sized items, or duration × item_capacity for duration-literal’d items). Both forms render identically — a percent of the bar. status:done takes priority. Items only — not valid on parallel or group. |
capacity |
number | Concurrent capacity consumed by this item while it runs. Positive integer (capacity:2), decimal (capacity:0.5), or percent literal (capacity:50%) which parses to a decimal. Items only — not valid on parallel or group. See “Capacity” below. |
wave |
wave ref | The single wave this item belongs to (wave:build). Must name a wave declared earlier in the roadmap section (Validation Rule 15). Inherited from the nearest enclosing group or parallel that carries wave:; never from a swimlane. An item with no effective wave is background work. See “Wave Declaration” below. |
Pinning is not supported
Section titled “Pinning is not supported”An item cannot be pinned to a fixed start date: date: and start: are not item properties. On an item, a group or a parallel they draw the unknown-property warning NL.W0700 with the hint after:<date>, and layout ignores them. A pin that lands before the work ahead of it in its lane has finished would overlap the lane’s order (Design Rule 6), and drawing that needs resource-level splits of the lane: resource contention and Gantt-chart scheduling, which principles.md excludes. Use after:<date> for “not before this date” (like every after:, it only ever delays), and an anchor or a milestone for a named date. Pinning may be revisited in the future.
Capacity
Section titled “Capacity”capacity: is an optional annotation that models per-timestep throughput. Both swimlanes and items may declare it, and the two annotations are fully independent — neither requires the other.
swimlane platform capacity:5 item auth size:l capacity:2 parallel item api size:m capacity:2 item sdk size:m capacity:1 item qa size:s capacity:50%The unit is opaque to the DSL — the same way size:l is opaque until a size declaration gives it meaning. Authors decide whether 5 means engineers, story points, FTE, hours, story budget, or any other measure.
Where it can appear:
swimlane— integer or decimal only (no percent form). The lane’s per-timestep budget.item— integer, decimal, or percent literal. The item’s concurrent consumption.- Not valid on
parallelorgroup— derived from children (sum at each timestep across parallel; pass-through for group), same exclusion family assize,duration, andremaining.
Numeric formats:
- Integer (
\d+):capacity:2,capacity:5 - Decimal (
\d+\.\d+, leading and trailing digit required):capacity:0.5,capacity:1.5 - Percent literal (
\d+(\.\d+)?%):capacity:50%,capacity:12.5%. Authoring sugar only — the parser converts50%to0.5at lex time, and the DSL stores a single decimal value with no record of which form the author wrote. There is no resolution step against the lane’s capacity.
All values must resolve to a positive number (> 0).
Independence: an item may declare capacity: whether or not its swimlane does, and vice versa. There is no validation rule coupling them.
Default capacity:
- Sized items (
size:declared, no explicitcapacity:): capacity defaults to1in both duration derivation (duration = effort ÷ 1 = effort) and overload accounting (the item contributes1to the per-timestep load). - Duration-literal items (
duration:declared, nosize:, no explicitcapacity:): capacity stays unset and the item contributes0to overload (uncounted). The literal duration is the bar width regardless. - Explicit
capacity:Nalways wins for both purposes.
Lifetime: capacity is constant for the item’s full duration. No ramps in v1.
Utilization thresholds. Swimlanes that declare capacity: paint a tri-state utilization underline (green / yellow / red) along the bottom of the band based on the per-timestep load function f(x) = Σ items[i].capacity for items active at x. Two thresholds gate the colors and accept either a percent literal or a decimal in the same value family as capacity::
utilization-warn-at:N%(default80%) — at or above this fraction ofcapacity:, the segment paints yellow.utilization-over-at:N%(default100%) — at or above this fraction ofcapacity:, the segment paints red.
Below warn-at (including segments with zero load), segments paint green — the underline reads as a continuous health bar wherever the lane has capacity: declared. Both thresholds accept the literal value none to opt out of that color band: utilization-warn-at:none collapses to a binary green/red indicator; utilization-over-at:none removes red entirely; setting both to none suppresses the underline outright. Use default swimlane utilization-over-at:none to disable utilization indicators globally; individual lanes can re-enable by setting their own threshold.
Removed in this release:
overcapacity:show|hide. Suppression is now expressed viautilization-over-at:none(and/orutilization-warn-at:none); the binaryshow|hideform is no longer accepted.
Cross-reference: lane capacity renders inside the frame tab; item capacity renders as a N[glyph] suffix after the meta line’s driver token (duration literal or size chip). When size: drives, the suffix follows the chip (m 2×, or M 2× when the size declares title:"M"); when duration: drives, it follows the literal (2w 2×). The glyph is controlled by the capacity-icon: style property (default: multiplier, rendering as ×). The tri-state utilization underline is described in rendering.md § Lane utilization underline. See also rendering.md § Swimlane Capacity and § Item size chip.
Examples — switching the glyph:
// People-based capacity (uses default people-icon SVG from the renderer's library)default swimlane capacity-icon:person
swimlane platform capacity:5 item auth size:l capacity:2 // renders as: l 2 [person] (effort 2w ÷ capacity 2 = 1w bar; meta driver is chip; suffix uses person glyph)// Story-points-based capacitydefault swimlane capacity-icon:points
swimlane backend capacity:13 item rewrite size:l capacity:8 // renders as: l 1.25d 8 ★ (effort 2w ÷ capacity 8 = 1.25d; folds to days when no whole-week match)Example — custom symbol and inline literal:
config
symbol budget "Budget" unicode:"💰" ascii:"$"
style finance capacity-icon:budgetstyle adhoc capacity-icon:"⚙"
default swimlane style:finance
roadmap ops "Operations"
swimlane payroll capacity:50000 item q1-payroll size:m capacity:12000swimlane tooling style:adhoc capacity:5 item ci-revamp size:l capacity:2Example — tri-state utilization underline:
roadmap r "Utilization demo" start:2026-01-05 length:6w
size m effort:2w
// Default thresholds (warn:80%, over:100%) — three lanes show the// three colors side by side at the same horizontal position.swimlane healthy capacity:5 item a size:m capacity:2 // load 2/5 = 40% → green underlineswimlane stressed capacity:5 item b size:m capacity:4 // load 4/5 = 80% → yellow underlineswimlane overloaded capacity:5 parallel item c size:m capacity:4 item d size:m capacity:2 // load 6/5 = 120% → red underline// Custom thresholds — tighter warn band, slack on over.default swimlane utilization-warn-at:60% utilization-over-at:120%
swimlane backend capacity:8 item rebuild size:l capacity:5 // load 5/8 = 62.5% → yellow// Opt out of the underline on a specific lane.swimlane research capacity:3 utilization-warn-at:none utilization-over-at:none item explore size:m capacity:5 // no underline; capacity badge still shows "3×"
// Opt out globally; re-enable per lane.default swimlane utilization-over-at:noneswimlane critical capacity:5 utilization-over-at:100% item ship size:l capacity:6 // global default suppresses; lane override re-enables → redSizing precedence
Section titled “Sizing precedence”When an item declares both size: and duration:, the explicit duration: literal wins for bar width and for the meta line: the size chip is not shown (only the literal appears as the driver token). When only size: is declared, the item’s duration is calculated as effort ÷ item_capacity (item capacity: defaults to 1 when absent); the meta line shows the size chip only — calendar span reads from the bar width. When only duration: is declared, the bar width is the literal value with no derivation and the meta line shows that literal.
size: |
duration: |
capacity: |
Resulting duration |
|---|---|---|---|
l |
— | — | size.l.effort ÷ 1 (e.g. 2w) |
l |
— | 2 |
size.l.effort ÷ 2 (e.g. 1w) |
l |
2w |
2 |
2w (literal wins; meta line shows 2w only — no chip) |
| — | 2w |
2 |
2w (capacity does not divide a literal duration) |
| — | — | — | Validation error — item needs at least one of size:/duration: |
Anchor Declaration
Section titled “Anchor Declaration”An anchor is a named date on the timeline. Items reference anchors via after and before to pin their position.
anchor kickoff date:2026-01-06anchor code-freeze "Code Freeze" date:2026-05-01anchor "Project Kickoff" date:2026-01-06Anchors are the only place absolute dates appear in the DSL (milestones optionally have dates too). The date: property is required on every anchor. See rendering.md for visual treatment.
Label Declaration
Section titled “Label Declaration”A label is a semantic tag / chip vocabulary item. Labels are declared in the roadmap section so that content and vocabulary live together; their visual defaults live in config via default label and referenced style blocks.
label enterprise "Enterprise readiness" style:enterpriselabel security "Security hardening" style:enterprise-redlabel low-confidence style:risky-dottedA label line follows the universal [id] ["title"] pattern and accepts:
style:id— reference to a named style declared in config. Styles the label’s own chip/badge.- Universal properties —
labels:,link:, and thedescriptionsub-directive.
The id is the lookup key on entities (labels:enterprise). The chip renders the label’s optional title when provided, falling back to the id verbatim, the same rule as size and status chips. That lets the id carry a prefix it needs to stay unique in the file’s one namespace (label team-web "web" alongside team web) while the chip reads web. Chip width follows the text, so authors who want compact chips keep titles short or omit them.
Raw style properties (bg, fg, text, border, etc.) are not allowed on a label line. When an author wants a variant — e.g. a red-background security chip, or a dotted-border low-confidence chip — they declare a fresh named style in config (style enterprise-red with bg: red indented beneath, etc.) and reference it from the label.
A label’s style applies only to the label’s own chip/badge as rendered on a host entity — it never styles the host entity itself. If an author wants every entity tagged enterprise to appear blue, they set style:enterprise-look on those entities directly or via default item style:enterprise-look.
Labels used on items without a matching label declaration are valid (see Validation Rule 16). They render with chip defaults from default label (if declared in config) or system defaults otherwise.
Size Declaration
Section titled “Size Declaration”A size declaration maps a named t-shirt size to a single-engineer effort budget. Items reference a size via size:NAME; the system divides the effort by the item’s capacity: to derive the bar’s calendar duration. Sizes live in the roadmap section so vocabulary co-locates with content.
size xs "Extra Small" effort:0.5dsize s "Small" effort:3dsize m "Medium" effort:1wsize l "Large" effort:2wsize xl "Extra Large" effort:1mA size line follows the universal [id] ["title"] pattern and accepts:
effort:<duration literal>— required. The single-eng effort budget. Decimal-aware (0.5d,1.5w); positive non-zero.- Universal properties —
description,link:.
The id is the identifier used as the lookup key (size:xs, size:l). On items, the on-bar size chip renders the size’s optional title when provided, falling back to the id verbatim (case as typed). Authors who want the classic uppercased t-shirt look pin it explicitly: size m "M" effort:1w renders M, size m effort:1w renders m, size med effort:1w renders med. The title also surfaces in legends, tooltips, and elsewhere — see rendering.md § Item size chip. Changing a size declaration’s effort: later rescales every sized item that hasn’t pinned an explicit duration: literal.
size declarations must appear in the roadmap section before any swimlane or item that references them.
Effort vs. duration. A size carries effort calibrated to a single engineer; an item’s calendar duration falls out of effort ÷ capacity:. An item that overrides with an explicit duration:LITERAL ignores the derivation entirely for both bar width and meta-line display (no size chip on the meta line). See “Sizing precedence” under Capacity for the full table.
Status Declaration
Section titled “Status Declaration”A status declaration extends the built-in set of item/swimlane/parallel/group status values (planned, in-progress / active, done / completed, at-risk, blocked). The aliases active (= in-progress) and completed (= done) canonicalize at the layout boundary — both spellings are valid input. Custom statuses are declared in the roadmap section so that vocabulary lives with the content that uses it.
status awaiting-review "Awaiting Review"status in-review "In Review"status deferred "Deferred"A status line follows the universal [id] ["title"] pattern and accepts:
- Universal properties —
description,link:.
The id is the identifier used as the lookup key on entities via status:NAME. The optional title is for rendering in legends, chips, and status displays; when absent, renderers fall back to the id.
status declarations must appear in the roadmap section before any entity that references them.
Custom statuses have no inherent semantics beyond what renderers assign — the DSL only guarantees the value resolves and can carry a display title. Renderers may map custom statuses to visual treatments via default item style:… or entity-level style: overrides.
Wave Declaration
Section titled “Wave Declaration”A wave is a strict, sequential barrier that spans every swimlane: no item in wave k+1 starts before every item in wave k has ended. A wave opens for every lane at the instant the previous wave’s slowest member ends, so lanes that finish early wait at the boundary. Waves are declared once, in order, in the roadmap section, and work joins a wave through the wave: property on item, group, or parallel. The rationale, the layout algorithm, and 21 worked examples live in specs/waves.md.
anchor fy-budget "FY budget" date:2026-03-02
wave discover "Discover"wave build "Build"wave launch "Launch" after:fy-budget
swimlane web "Web" item research "UX research" duration:2w wave:discover group wave:build item checkout "Checkout v2" duration:3w item a11y "Accessibility pass" duration:1w item launch-page "Launch page" duration:1w wave:launchswimlane ops "Ops" item on-call "On-call and KTLO" duration:10w
milestone beta "Beta" after:buildA wave line accepts:
| Slot or key | Status | Meaning |
|---|---|---|
| id (positional) | required (NL.E1100) |
The wave’s identity. It joins the single shared id namespace (Structural Rule 2). |
| title (positional) | optional | The strip label. Falls back to the id. |
after: |
optional; one value or a list | Start floor. The wave cannot open before the latest of its elements. Each element must be an anchor id, the id of a milestone that has date:, or an ISO date (at most one date). Any other kind of entity is NL.E1106. Inline dates follow Validation Rules 24b, 27 and 28. |
style: |
optional (universal) | Wave colours: bg opts the wave into a column tint, fg colours its boundary line, text its strip label, border sets the boundary dash (solid, dashed, dotted). See specs/rendering.md “Waves”. |
labels:, link:, description |
optional (universal) | Carried in the AST, JSON and XLSX, and shown in LSP hover. Not painted. |
footnote: |
error | Waves host footnotes through on:. |
before:, date:, start:, length:, duration:, size:, capacity:, remaining:, wave: |
error (NL.E1105) |
A wave’s span comes from its items. To give a wave a deadline, add a dated milestone after:<wave>; it turns red when the wave runs late. |
| any other key | warning (NL.W0700) |
Ignored. |
| raw style properties | error (Validation Rule 20) | — |
Membership and inheritance. The wave: value is exactly one declared wave id (wave:[w1] is the same as wave:w1; a list of two or more is an error). The effective wave of an item is its own wave: value, else that of its nearest enclosing group or parallel that carries one; swimlanes never contribute.
wave:is allowed onitem,group, andparallelonly. On aswimlaneit is an error (a lane spans every wave; wrap its items ingroup wave:<id>instead), and so it is onmilestone(useafter:<wave>to mark the end of a wave) and every other entity (NL.E1104).- A descendant may repeat its container’s
wave:value. A different value is an error (NL.E1102), so a descendant cannot opt out of its container’s wave. - A
grouporparallelwith nowave:may hold children in different waves. That is how a group spans waves and how parallel tracks sit in different waves. group wave:<id>is the idiom for a run of a lane’s work. When it has no title, nostyle:, and nolabels:, it draws nothing; it only assigns membership. Prefer per-itemwave:for one to three items.
Background work. An item whose effective wave is empty is background work (on-call, KTLO, ongoing support). It produces no diagnostic. A barrier never holds it back and its own end never extends a wave, but it still follows lane order and its own after:, so it can delay a later member of its own lane. The renderer draws it hatched.
Scheduling. Each wave spans [S_k, E_k] on the time axis. S_1 is the roadmap start (or the wave’s floor, if later); E_k is the later of S_k and the latest end of any member (so an empty wave has zero width); S_{k+1} is E_k, or the wave’s floor if that is later, which leaves a gap. Inside a wave every lane schedules exactly as it does today; an item in wave k simply cannot start before S_k. A wave id is a valid after:, before:, and on: target (see “Dependencies and Anchoring”).
Ordering. Wave order is declaration order (Design Rule 6). A wave: property must name a wave declared earlier in the roadmap section than the top-level entry that contains it, the same forward-declaration rule size: and status: follow (Validation Rule 15). after:, before:, and on: may name waves from anywhere in the file, like any other id. Recommended style: declare all waves together, after sizes and statuses and before the first swimlane. There is no default wave, and wave is not allowed on any default <entity> line (see “Banned on default”).
A roadmap “has waves” when its file declares at least one wave with a valid id. In a roadmap without waves, every wave: key (including one on a default line) is ignored with the warning NL.W0702, so v1 files that already carry a stray wave: key keep rendering. The bare word wave stays a valid identifier and value (item wave, after:wave, labels:[wave]); waves, wave-1, and wavefront are ordinary identifiers.
Milestone Properties
Section titled “Milestone Properties”| Property | Type | Description |
|---|---|---|
date |
ISO date | Fixed date for the milestone. Optional if after: is present; required if after: is absent. |
after |
identifier or list | after:id or after:[id1, id2] — the milestone is met when all referenced entities finish (i.e. after the latest of them). A wave id means the end of that wave (milestone beta after:build). Optional if date: is present; required if date: is absent. |
At least one of date: or after: is required on every milestone. Three valid forms:
- Date-fixed —
milestone v1-ga "v1 GA" date:2026-06-30. Pinned to a specific date. - Dependency-driven —
milestone v1-ga "v1 GA" after:[core-api, audit-log]. Occurs when dependencies finish; the date is derived by the renderer. - Both —
milestone v1-ga "v1 GA" date:2026-06-30 after:[core-api, audit-log]. Thedate:is an intended target, not a hard cap. Slippage (dependencies not converging by the target date) is a rendering concern, not a validation error.
See rendering.md for visual treatment.
Roadmap start: and absolute dates
Section titled “Roadmap start: and absolute dates”The roadmap declaration accepts an optional start:YYYY-MM-DD property that anchors the timeline baseline:
roadmap platform-2026 "Platform 2026" start:2026-01-06Rules:
- If the file contains any
anchordeclaration, or anymilestonewith adate:property,start:is required on the roadmap. - Every such anchor date and every dated milestone’s date must be on or after
start:. - A roadmap with no absolute dates (schedules expressed purely with
duration:andafter:) does not needstart:.
Renderers treat start: as the left edge of the timeline. A roadmap with no start: and no dates is purely relative — renderers choose their own reference date (e.g. the day of rendering).
Roadmap logo: and logo-size:
Section titled “Roadmap logo: and logo-size:”The roadmap declaration accepts an optional company logo. The logo renders left of the title and author inside the roadmap header card, in both header-position:beside and above.
roadmap platform-2026 "Platform 2026" author:"Acme Engineering" logo:"./brand/acme.svg"logo:"path"— path to the logo file, resolved relative to the.nowlinefile’s directory. Forward slashes on all platforms (same rule asinclude). Only local paths are supported. URLs (http://,https://,file://,data:) are not special-cased: they validate, are treated as a path, fail to resolve, and draw the missing-file warning at render time. Absolute paths are discouraged but allowed for authoring tools that resolve against a known root.logo-size:<preset>— size preset (xs | sm | md | lg | xl). Defaults tomd. Sets the drawn logo height (18 to 72 px); the width follows the logo’s own aspect ratio, so the logo fills its slot whether the source is larger or smaller. A logo taller than the title and author grows the header card. Seerendering.md§ Company Logo Size Presets.
Supported formats. The renderer accepts .svg, .png, .jpg / .jpeg, and .webp. Format is determined by file extension; content-type is not sniffed. Any other extension draws a render-time warning (below), not a validation error.
Asset resolution. Logo resolution happens at render time, not at parse time, so a .nowline file referencing a missing logo is still a valid document (nowline <input> --dry-run does not require the asset to exist). At render time, when the asset is missing, has an unsupported extension, or cannot be parsed, the renderer emits a warning and renders as if no logo were declared; nowline <input> --strict (and the equivalent renderer option) promotes warnings to errors. See rendering.md § Company Logo Error Handling.
Portability. Because logo: is a path, a .nowline file is not self-contained. To ship a self-contained artifact, inline the logo at export time (the renderer embeds SVG inline and raster formats as base64 data: URIs; see rendering.md § Roadmap Header). The DSL has no inline data: form, to keep the text readable; a data: value is just a path that will not resolve.
Footnote Declaration
Section titled “Footnote Declaration”A footnote is an annotation that attaches to one or more entities via on:.
footnote "Vendor dependency" on:audit-log description "Blocked until vendor contract is signed."
footnote capacity-risk "Team capacity risk" on:[mobile, platform] description "Both teams are understaffed through Q2."The on: property is required and references one or more identifiers (item, swimlane, anchor, milestone, wave, person, team). When referencing multiple entities, use bracket notation: on:[id1, id2]. Footnotes follow the universal [id] ["title"] pattern — a footnote with an id can itself be referenced.
Footnotes are numbered sequentially by document order: the file’s own footnotes as declared, then each merged include’s in include order (an isolated include’s continue after those; see Include Declaration). The id does not affect the number. A superscript number appears in the upper-right corner of every entity the footnote is attached to. The full footnote text renders in a footnote section below the roadmap. See rendering.md for visual treatment.
Include Declaration
Section titled “Include Declaration”include pulls another .nowline file into the current file. Two optional properties — config: and roadmap: — control how the included file’s content is handled. They operate on two independent categories:
What each mode controls
Section titled “What each mode controls”| Category | What it contains | Examples |
|---|---|---|
| Config (rendering configuration) | scale block, calendar block, styles, symbols, defaults, non-working and working declarations |
Everything between config and roadmap in the included file |
| Roadmap (content) | roadmap declaration, persons, teams, anchors, labels, sizes, statuses, waves, swimlanes (+ contained items/parallel/groups), milestones, footnotes |
Everything after roadmap in the included file. Waves never merge: every participating file declares the same waves (Include Rule 12). |
config: mode
Section titled “config: mode”| Mode | Behavior |
|---|---|
config:merge (default) |
The child’s config items are merged into the parent’s config. On name collision, the parent wins and the parser emits a warning per collision identifying the shadowed definition and its source file. A non-working or working declaration collides only with a parent declaration of the same keyword and name; unnamed ones never collide and always merge. Config is always merged before roadmap content is processed. |
config:ignore |
The child’s config items are dropped entirely. If the child’s roadmap content is merged (roadmap:merge), it resolves styles from the parent’s post-merge config. |
config:isolate |
The child’s config items are only available within the child file. The parent’s config is only available in the parent file (and to any already-merged roadmap items in the parent). Neither side’s config bleeds into the other. |
roadmap: mode
Section titled “roadmap: mode”| Mode | Behavior |
|---|---|
roadmap:merge (default) |
The child’s content entities are merged into the parent. On name collision, the parent wins and the parser emits a warning. If a swimlane collides, its contained items are also dropped. Merged content resolves styles from the post-merge config. References still stay inside a file: the child’s after:, before: and on: name only its own ids (Reference rule 1, NL.E0302). |
roadmap:ignore |
The child’s content entities are dropped. Only the child’s config is processed (subject to config: mode). Use for shared style libraries. Shared label, status, and size vocabulary — since they are all roadmap content — uses roadmap:merge instead. |
roadmap:isolate |
The child’s content stays scoped to the child file. The child uses only the child’s config. The child must contain a roadmap declaration (needed for the region label). The isolated content renders as a visually distinct region — see rendering.md. |
In all cases, the result renders as a combined drawing as if it were one file.
Processing Order
Section titled “Processing Order”Includes are processed in file order, depth-first. When the processor encounters an include, it immediately processes that child file (and the child’s includes recursively) before continuing with the next declaration in the parent. Config is merged before roadmap content at each level.
1. Process includes (depth-first, recursive)2. Merge/resolve config (per config: mode)3. Merge/resolve roadmap content (per roadmap: mode, using post-merge config)Collision Handling
Section titled “Collision Handling”On merge, when the parent and child both declare an entity with the same identifier:
- Config items (styles, symbols): parent wins, child’s definition is dropped, warning emitted.
- Calendar declarations (
non-working,working): collisions are per keyword, sonon-working handworking hcoexist. A child’s named declaration is dropped with the shadowing warning when the parent already held one with the same keyword and name; the warning readsNon-working "h" from child.nowline is shadowed by the parent's definition.(orWorking "h" …) and has no code. Unnamed declarations never collide, so they all merge, and the order they merge in changes nothing (see “Non-working Declaration”). A child’s own duplicate id isNL.E0907in the child, not a collision. - Roadmap entities (swimlanes, persons, teams, labels, sizes, statuses, anchors, milestones, footnotes, etc.): parent wins, child’s entity is dropped, warning emitted. If a swimlane collides, its contained items are also dropped.
- Defaults:
default <entity>lines can be declared in both parent and child. On collision of entity type, the parent’sdefault <entity>wins and a warning is emitted. - Waves are exempt from parent-wins merge. A child’s waves are never merged and never draw a shadow warning: Include Rule 12 requires every participating file to declare the same waves (same ids, order and resolved start floors), so the parent’s list is the list. Title and other presentation differences are a warning (
NL.W0701), and the parent’s definition is used.
Diamond Includes (same file via multiple paths)
Section titled “Diamond Includes (same file via multiple paths)”When the same file is reachable from multiple parents:
- Duplicate include in the same file — error. Writing
include "teams.nowline"twice in one file is a mistake. - Diamond (A includes B and C, both B and C include D) — valid. D is processed once on first encounter (depth-first). Each parent independently controls whether D’s config merges into its own scope. Entities from D are not duplicated.
- Circular includes — error. Detected when a file appears in the currently-resolving stack (not the completed set).
Examples
Section titled “Examples”// Shared style library — pull config only, no contentinclude "brand-styles.nowline" roadmap:ignore
// Shared team definitions — merge everything (default)include "teams.nowline"
// Strip foreign styling, keep contentinclude "snippet.nowline" config:ignore
// Fully self-contained foreign roadmapinclude "partner.nowline" config:isolate roadmap:isolate
config
roadmap platform-2026 "Platform 2026" scale:1w
swimlane platform owner:platform item auth-refactor "Auth refactor" size:l after:kickoffCommon patterns
Section titled “Common patterns”**include "brand.nowline" roadmap:ignore**— shared style library. Pull in styles/labels, no content.**include "teams.nowline"**— merge config and content (both defaults). Brings in team/person declarations and any styles they define.**include "snippet.nowline" config:ignore**— strip foreign styling. Content merges but resolves against parent’s config.**include "partner.nowline" config:isolate roadmap:isolate**— embed a foreign roadmap as a self-contained visual region with its own styling.
Scoping rules for config:isolate
Section titled “Scoping rules for config:isolate”- Config items (styles, symbols, defaults) from the isolated file are not visible to the parent or other includes.
- Config items from the parent are not visible to the isolated file’s entities.
- Identifiers (items, swimlanes, anchors, etc.) are governed by
roadmap:mode, notconfig:mode.
Scoping rules for roadmap:isolate
Section titled “Scoping rules for roadmap:isolate”- The child’s content stays scoped to the child file and uses only the child’s config.
- The child’s swimlanes, items, anchors and milestones render inside a dashed-border region labeled with the child’s roadmap title. Its anchors and milestones take the region’s own marker row, under the label, and their cut lines stop at the region’s last lane.
- The child’s footnotes join the chart’s one footnote panel, under the region’s title, numbered on after the parent’s (and after any isolated include before it).
- References stay inside a file: the child’s
after:,before:andon:resolve against its own ids, and the parent cannot name the child’s (or the reverse). Either one isNL.E0302in the file that holds the reference (Reference rule 1). - The region includes an indicator (icon or badge) to distinguish it from native content.
- Timeline scale is shared — the child’s content aligns to the parent’s scale/axis.
- Waves are shared like the time axis: the child must declare the same waves (Include Rule 12), and its lanes take part in the global barriers. Its
wave:values map to the parent’s waves by id; its other ids stay invisible to the parent. - The child must contain a
roadmapdeclaration (error if missing).
General rules
Section titled “General rules”Includes are resolved relative to the including file’s directory. Paths use forward slashes on all platforms. Includes must appear before config and roadmap — they are the first declarations in a file.
Included files can themselves contain include declarations (transitive includes). Circular includes are a validation error.
Config Section
Section titled “Config Section”The optional config section marker must appear before roadmap. Config keywords follow at the top level (not indented under config). It defines:
Scale — column width and axis labels are configured in two places:
- The
roadmapdeclaration sets the column width withscale:<duration>(e.g.scale:2w,scale:1q). This is a raw duration literal; it defaults to1wwhen omitted. Items with durations finer thanscale:remain valid and draw at their true width inside the column, down to a 1 px floor (seerendering.md“Item Bars”). - Axis display settings live in an optional
scaleconfig block. Every property is optional; anything unspecified is chosen by the renderer.
config
scale name: sprints label-every: 2 label: "Sprint {n}"name— display label for the scale unit (e.g. “sprint”). Defaults to an auto-generated name based on the roadmap’sscale:duration.label-every— show an axis label every Nth column. Defaults to the renderer’s choice.label— axis label format.{n}is the column index.
The scale config block is optional. A file can declare scale:2w on its roadmap with no scale block and the renderer picks all display defaults.
Calendar — day-arithmetic configuration (how many days per week, month, quarter, year). Selected via the calendar: property on the roadmap declaration. All three modes resolve to the same internal shape — four integer fields — so the rest of the system treats them uniformly.
roadmap platform-2026 "Platform 2026" start:2026-01-06 scale:2w calendar:businesscalendar:business(default) — engineering working-day arithmetic.days-per-week:5,days-per-month:22,days-per-quarter:65,days-per-year:260.calendar:full— calendar-day arithmetic including weekends.days-per-week:7,days-per-month:30,days-per-quarter:91,days-per-year:365.calendar:custom— author-supplied values via thecalendarconfig block below.
The default is business because engineering roadmaps almost always count working days when sizing work.
Non-working and working days — non-working and working declarations, beside calendar, say which dates consume no work and which are exceptions to that. They have their own section, “Non-working Declaration” below.
Under calendar:business the date axis counts working days and hides weekends, so a duration:1m bar (22 working days) spans about one month column. Month, quarter, and year ticks still sit on real month / quarter / year starts, and a boundary that falls on a weekend sits at the seam (see rendering.md § Timeline Scale). Under calendar:full and calendar:custom the axis counts calendar days and nothing is hidden.
No-transitivity rule. Each days-per-* field is independently defined. A duration like 1y resolves to days-per-year directly — not by multiplying through months or weeks. This is why business mode’s 1y = 260d, not 12 × 22d = 264d. Likewise a quarter is 13 weeks in both presets (business 1q = 65d, full 1q = 91d), not three months (3 × 30d = 90d). Year, quarter, month, week, and day are each first-class units with their own conversion to days.
Preset reference — the values baked into calendar:business and calendar:full, written in the same shape as a custom calendar block. These live hardcoded in the runtime; authors cannot and need not write them in a .nowline file:
// calendar:business (hardcoded in the runtime; not valid DSL)calendar days-per-week: 5 days-per-month: 22 days-per-quarter: 65 days-per-year: 260
// calendar:full (hardcoded in the runtime; not valid DSL)calendar days-per-week: 7 days-per-month: 30 days-per-quarter: 91 days-per-year: 365Custom calendars — when the roadmap declares calendar:custom, supply all four days-per-* fields in a calendar config block:
config
calendar days-per-week: 6 days-per-month: 26 days-per-quarter: 78 days-per-year: 312
roadmap rotating-shift "Rotating Shift Schedule" calendar:customAll four entries are required and must be positive integers. There is no partial form — custom means fully specified. Mixing calendar:business or calendar:full (or the default) with a calendar config block is an error.
Styles — named visual definitions. Each style follows [id] ["title"] and has properties indented beneath it:
config
style enterprise "Enterprise readiness" bg: blue fg: navy text: white border: solid icon: shield
style risky border: dashed fg: orange
style subtle bg: gray text: white
style elevated shadow: soft bg: white
style code-task font: mono bg: gray
style heading weight: bold text-size: lg
style concurrent bracket: solidStyle properties:
| Property | Type | Description |
|---|---|---|
bg |
color or none |
Background/fill color. Named (red, blue, yellow, green, orange, purple (alias violet), gray (alias grey), navy, white), hex (#2563eb), or none (transparent). |
fg |
color or none |
Border/outline color. Named, hex, or none (no border). |
text |
color or none |
Text color. Named, hex, or none (hides text). |
border |
enum | Border/line style: solid, dashed, dotted. |
icon |
identifier or string | Named icon displayed on the entity. Built-in identifiers (rendered from a curated SVG library, identical across platforms): shield, warning, lock, plus the capacity-icon vocabulary. Custom: any identifier declared by a symbol declaration in config. Inline: a double-quoted Unicode literal ("💰", "\u{1F464}") — font-dependent. |
shadow |
enum | Drop shadow: none (default), subtle, soft, hard. |
font |
enum | Font family preset: sans (default), serif, mono. |
weight |
enum | Font weight: thin, light, normal (default), bold. |
italic |
boolean | Italic text: true or false (default). |
text-size |
enum | Text size preset: xs, sm, md (default), lg, xl. System owns the absolute pixel mapping. |
padding |
enum | Inset padding: none, xs, sm, md (default), lg, xl. |
spacing |
enum | Space between children: none, xs, sm, md, lg, xl. Default varies by entity. |
header-height |
enum | Timeline date-strip height. Roadmap-only (NL.W0703 on another entity’s default): none (no date strip, top or bottom; with timeline-position:bottom or both it draws the warning NL.W0704), xs 16 px, sm 20 px, md 24 px (default), lg 32 px, xl 40 px. |
corner-radius |
enum | Corner rounding: none, xs, sm, md, lg, xl, full. |
bracket |
enum | The header bracket over a group’s or parallel’s dates: none, solid (group default), dashed (parallel default). Containers only. |
capacity-icon |
identifier or string | Glyph used as the suffix to capacity numbers on lanes and items. Built-in identifiers (rendered from the same curated SVG library as icon:): none, multiplier (default — ×), person, people, points (★), time (⏱). Custom: any identifier declared by a symbol declaration in config. Inline: a double-quoted Unicode literal — font-dependent. |
header-position |
enum | Where the roadmap header card (title and author) sits. Roadmap-only (NL.W0703 on another entity’s default): beside (default) puts it in a column left of the chart, 120 to 240 px wide, with the title wrapping to fit and the chart starting to its right; above puts it in a full-width 72 px band above the chart, which then spans the whole canvas width. |
timeline-position |
enum | Where the timeline date strip is rendered. Roadmap-only (NL.W0703 on another entity’s default): top (default), bottom, both. both mirrors the strip at the chart bottom so dates stay readable on tall canvases. header-height:none removes every strip, so bottom or both with it draws no dates and warns NL.W0704. |
minor-grid |
boolean | When true, draws faint dotted grid lines at every tick boundary in addition to the standard major-tick grid. Roadmap-only (NL.W0703 on another entity’s default): true or false (default). |
non-working |
enum | How non-working days appear under a calendar that has them (calendar:business). Roadmap-only (NL.W0703 on another entity’s default): hide (default) collapses them to a seam; show draws them at full width as shaded bands. Set it on default roadmap; the render-time --non-working option (and its equivalent on each surface) overrides it. See working-calendar.md § 4.2. |
All style properties are optional. Unset properties inherit from the system defaults.
Roadmap-only keys (header-height, header-position, timeline-position, minor-grid, non-working) are read only from the roadmap’s style. Set them on default roadmap, or in a style block the roadmap references. On any other entity’s default line they do nothing and draw the warning NL.W0703 (rule 20). A style block is not checked, because one block can serve the roadmap and other entities alike.
capacity-icon follows the same value-form contract as icon: — a built-in identifier, a custom name from a symbol config declaration, or a double-quoted Unicode literal — but applies to the capacity number rendered on lanes and items, not as an entity-leading badge. Default is multiplier because it has the cleanest ASCII fallback (5x) and reads as a quantity in every context without presupposing a unit type. Roadmaps measuring capacity in people switch via default swimlane capacity-icon:person; story-points roadmaps use capacity-icon:points; etc. The none value renders just the bare number with no glyph.
Built-in icon names are rendered from a curated SVG library shipped with the renderer, not from Unicode emoji codepoints. This guarantees consistent visual output across every platform (web, CLI, exports) — emoji rendering otherwise varies dramatically by OS and font (Apple, Google, Microsoft, Linux). Authors who want platform-default emoji rendering can use an inline literal (capacity-icon:"👤") instead of the named person icon.
Symbols — declare custom named symbols for use by icon: and capacity-icon:. Each symbol line follows the universal [id] ["title"] pattern.
symbol budget "Budget" unicode:"💰" ascii:"$"symbol fte unicode:"\u{1F464}" ascii:"@"symbol star unicode:"⭐"A symbol line accepts:
unicode:"<string>"— required. The Unicode character (literal or escape, e.g."\u{1F464}"). May be a multi-codepoint grapheme cluster (flag emoji, ZWJ sequences, etc.).ascii:"<string>"— optional. Short ASCII fallback for terminals/exports that lack the Unicode glyph. Length ≤ 3 ASCII characters. Defaults to?when omitted.- Universal properties —
description,link:.
The id is the lookup key used by icon:my-symbol and capacity-icon:my-symbol. Custom symbol ids cannot shadow built-in icon names (none, multiplier, person, people, points, time, shield, warning, lock) — the renderer’s built-in vocabulary is reserved.
symbol declarations must precede any reference. Authors use the inline Unicode-literal form (capacity-icon:"💰") for one-off symbols; symbol declarations are for reusable named ones.
Defaults — set default property values for an entity type. Each line declares one default. Supported entity types: item, label, swimlane, roadmap, parallel, group, milestone, footnote, anchor.
default item status:planned shadow:subtledefault label style:subtle corner-radius:fulldefault swimlane padding:sm spacing:nonedefault roadmap padding:md header-height:md font:sansdefault milestone weight:bolddefault footnote style:subtle shadow:subtledefault anchor style:subtledefault parallel bracket:nonedefault group padding:xs spacing:xsdefault is always flat — one declaration per line, one declaration per entity type. When an entity omits a property, the matching default applies. Explicit values on the entity always override defaults. For long default lines, use line continuation (\).
Banned on default — identity-defining, sizing, sequencing, reference, and prose properties cannot be defaulted because they must be explicit on each entity:
| Entity | Cannot default | Rationale |
|---|---|---|
default item |
size, duration, after, before, remaining, link, description, owner |
size/duration are sizing properties — at least one is required per item, and they are intentionally explicit. Sequencing creates invisible dependencies. remaining is transient progress. link/description are unique. |
default milestone |
date, after, link, description |
date/after are identity/sizing properties — at least one is required per milestone. |
default anchor |
date, link, description |
date is required and anchor-specific. |
default footnote |
on, link, description |
on is the attachment target — identity-defining. |
wave is banned on every default <entity> line, for the same reason as after: (sequencing creates invisible dependencies). The check depends on the roadmap: when it has waves, default <entity> wave:… is an error with the Validation Rule 23 message; when it has none, it is the warning NL.W0702, because v1 files may already carry the key. There is no default wave.
Allowed on every default <entity>: presentation properties (style: and raw style properties — see next paragraph), bulk-state (status:, labels:), plus any non-banned entity-specific property.
capacity is allowed on default item (e.g. default item capacity:1). It is not allowed on default swimlane because each lane’s budget is intentionally explicit at its declaration site. utilization-warn-at:, utilization-over-at:, and capacity-icon: (the capacity-adjacent properties), in contrast, are allowed on default swimlane and default item per the usual presentation-property rule.
Raw style properties are allowed on default as a catch-all escape hatch (e.g. default item shadow:subtle padding:md). default lives in config, which is the presentation section, so the ban on raw style properties applies to roadmap-section entities, not to default lines.
All config entries are optional. If config is omitted, all built-in defaults apply.
Non-working Declaration
Section titled “Non-working Declaration”A non-working declaration takes days out of the schedule, and a working declaration puts them back. Durations count working days only, so an item that spans a non-working day ends later, and an item that spans a working exception ends sooner. Both keywords are config entries, declared in the config section beside calendar, and both share one shape. The rationale, the layout and the worked examples live in specs/working-calendar.md.
config
non-working weekend "Weekend" every:[fri, sat]non-working new-year "New Year's Day" date:2027-01-01non-working summit "Company summit" start:2026-09-14 end:2026-09-16non-working shutdown "Year-end shutdown" date:[2026-12-24, 2026-12-25, 2026-12-28]non-working fridays every:fri start:2026-07-01 end:2026-08-31working crunch "Crunch Saturday" date:2026-01-10
roadmap r "Platform" start:2026-01-05 calendar:businessA declaration accepts:
| Slot or key | Status | Meaning |
|---|---|---|
| id (positional) | optional | Needed only to be the file’s weekend or to tell two declarations apart in an include collision. It joins no shared namespace: non-working x and working x are fine together, and NL.E0907 reports a duplicate within one keyword and one file. |
| title (positional) | optional | The label the chart draws for the day. A dated non-working declaration with a title (date:, or start: with end:, without every:) is labelled on the chart as its titles joined with , , then · Nd, where N is the number of working days it removes (Thanksgiving · 2d; the suffix is dropped when N is 0). Under hide the label sits on a thin cut line at the seam, under show at the band’s left edge, both in the marker row. A dated working declaration with a title is labelled at the days it turns from non-working to working, as its titles, then · +Nd for the N days (Release crunch · +1d), in the marker row with no cut line in either view; a weekday make-up day inside a dated closure counts. A title on a bounded recurrence (every: with start: or end:) is not drawn on the chart, and the editor’s hover on such a declaration says so. MS Project names an exception with the titles of the dated declarations behind it, working ones included. |
date: |
one ISO date, or a list | The dates the declaration covers. Each element is a real calendar day (NL.E0405). |
start: |
one ISO date | Inclusive. The first day of a range, or the day a recurrence begins. |
end: |
one ISO date | Inclusive. The last day of a range, or the day a recurrence stops. Not before start: (NL.E0903; equal is fine). |
every: |
one weekday or a list of sun, mon, tue, wed, thu, fri, sat |
A weekly recurrence. A name that is not a weekday is NL.E0904, and a weekday listed twice is NL.E0905. |
| any other key | error (NL.E0901) |
Including style:, labels:, link:, wave: and raw style properties such as bg:. The declaration checks its own keys, so Rule 20 does not apply. |
Three shapes (NL.E0900). A declaration is exactly one of:
- dates:
date:alone; - a range:
start:andend:withoutevery:, the same as listing every date between them; - a recurrence:
every:, withstart:andend:both optional. With neither it is open-ended: it holds in every week of the file. With one it is open on the other side, and with both it holds only inside the window.
Anything else is NL.E0900, once on the declaration: no properties, date: with any other key, or a lone start: or end:. start: and end: take one date each; a list of two or more is NL.E0902 (a one-element bracket is that date).
Precedence. On a given day the most specific declaration decides, and a working declaration wins a tie:
- a dated declaration (
date:, or a range); - a bounded recurrence (
every:withstart:and/orend:); - the open-ended week.
Order never matters: the declarations in any order in the file, or merged from includes in any order, give the same schedule. calendar:business supplies non-working weekend "Weekend" every:[sat, sun] at level 3; calendar:full and calendar:custom supply nothing.
The weekend. A non-working declaration named weekend replaces the preset’s Saturday and Sunday (for any preset), so a Friday and Saturday week is non-working weekend every:[fri, sat], with no custom calendar. A declaration with any other name adds to the preset. The replacement counts every non-working named weekend, malformed ones included.
The open-ended week must keep a working day. Take the open-ended recurrences of the file, plus the business weekend unless the file replaces it, minus the open-ended working … every:. If that covers all seven days, NL.E0906 is reported on each open-ended non-working declaration. A recurrence with exactly one bound that would close the last open weekday is reported too. A recurrence bounded on both sides may close all seven days. days-per-week should agree with the working weekdays that remain; when it does not, the warning is NL.W0705 (a custom calendar with days-per-week: 6 and no every:, or business with working every:sat). Business, calendar:full and the Friday and Saturday week above are quiet.
Diagnostics. The kind in a message is non-working or working, verbatim in every language.
| Code | Severity | Meaning |
|---|---|---|
NL.E0900 |
error | Not one of the three shapes. |
NL.E0901 |
error | A key other than date, start, end and every. |
NL.E0902 |
error | start: or end: given a list. |
NL.E0903 |
error | end: is before start:. |
NL.E0904 |
error | An every: value that is not a weekday name. |
NL.E0905 |
error | A weekday listed twice in one every:. |
NL.E0906 |
error | The open-ended week leaves no working day. |
NL.E0907 |
error | Duplicate id within one keyword in one file. |
NL.W0705 |
warning | days-per-week differs from the working days the open-ended week leaves. |
NL.E0405 |
error | A date that is not a real calendar day (2026-02-30), on a calendar declaration as on every other entity’s date:, start: or end:, and in an inline date pin (after:2026-02-30). |
NL.W0700 |
warning | end: or every: on any other entity: the key is ignored. |
Includes. Calendar declarations follow config: modes (see “Include Declaration”). On config:merge they merge, a named child declaration is shadowed by the parent’s of the same keyword and name, and unnamed ones always merge. config:ignore merges none. On config:isolate the child’s declarations stay in its region’s config and have no effect on the chart yet: an isolated region is laid out on the host’s calendar, and per-region calendars are not part of this release. The validator reads only its own file, so a non-working weekend or an open-ended recurrence in an include is not counted by NL.E0906 and NL.W0705; the calendar falls back to the preset if an included file closes the whole week. A malformed declaration in an include is skipped.
Bare words. non-working and working are keywords where a declaration starts, but stay valid as identifiers and values (item non-working, after:working, labels:[working]). non-working-team, working-group, nonworking and workings are ordinary identifiers. A bare style, symbol, non-working or working line takes the next line’s keyword as its id, as with wave.
Person & Team Declarations
Section titled “Person & Team Declarations”person and team declarations provide metadata for person and team references. A person can be declared either at the roadmap top level or nested inside a team; either form is valid. team declarations can nest other teams and reference persons as members.
Declaration vs. reference — the parser rule for person:
person <id>alone (no title, no keyed properties) — a reference. Inside ateamit denotes membership; at the roadmap top level it is a no-op (the parser may emit a warning).person <id> ["title"] [properties]— a declaration. Creates the person. If nested inside ateam, the declaration also establishes membership of that person in the enclosing team.
Identity and scoping. Person identifiers are global within the merged file scope regardless of where they are declared — a person declared inside team platform is still a valid target for owner:sam anywhere in the roadmap. Team-nesting the declaration does not scope the id.
A person may be declared at most once in the merged scope. Duplicate declarations of the same person id are a validation error, even if the metadata matches. Authors must pick a single canonical declaration location.
Three ergonomic patterns:
// Multi-team member — declare once at top level, reference in each teamperson sam "Sam Chen" link:https://github.com/samchenteam platform "Platform Team" person samteam mobile "Mobile Team" person sam
// Single-team member — declare inline under the teamteam platform "Platform Team" person sam "Sam Chen" link:https://github.com/samchen
// Reference-only, no declaration anywhere — valid, renders as the bare idteam platform "Platform Team" person samteam nesting inside another team is always a declaration (as today). Teams cannot be referenced with a bare team <id> line.
Declarations are optional. If owner:sam or owner:platform appears without a matching declaration, the reference is still valid — just without a display name or metadata. The link property and description directive are supported on both person and team.
Grammar Notes
Section titled “Grammar Notes”nowline Directive
Section titled “nowline Directive”The nowline directive is a simple two-token line: the keyword nowline followed by a version string matching v\d+ (e.g., v1, v2). It does not follow the universal declaration pattern — no identifier, no title, no properties. It must be the first non-comment, non-blank line in the file if present.
Universal Declaration Pattern
Section titled “Universal Declaration Pattern”Every entity declaration (item, anchor, label, duration, status, wave, milestone, footnote, swimlane, parallel, group, person, team, roadmap) follows the same pattern:
keyword [id] ["title"] [key:value ...]- Positional slots are only
idandtitle. At least one of the two must be present. Awavemust have an id, because work references it withwave:<id>(WV1). - Identifier — unquoted, matches
[a-zA-Z_][a-zA-Z0-9_-]*. Used for referencing. Optional — auto-generated from the title (kebab-cased) if omitted. - Title — a double-quoted string. Human-readable display name. Optional. Titles are always double-quoted, even single-word titles (the quote is how the parser distinguishes id from title).
- The parser distinguishes them by format: unquoted = identifier, quoted = title.
- Every other input (
date:,duration:,status:,after:,before:,on:,owner:,style:,labels:,link:, etc.) is a keyed property usingkey:value. - Required-ness is enforced by validation (see Required Properties), not by grammar shape.
Examples:
item auth-refactor "Auth refactor" size:l— both id and titleitem "Auth refactor" size:l— title only, auto-id:auth-refactoritem auth-refactor size:l— id only, display name:auth-refactor
The nowline directive is the only construct without an id or title; every other declaration follows the Universal Declaration Pattern. The directive accepts optional key:value properties after the version (currently just locale:) using the same BlockProperty shape as the indented scale and calendar blocks.
Identifiers
Section titled “Identifiers”Identifiers match [a-zA-Z_][a-zA-Z0-9_-]* — letters, digits, underscores, and dashes, starting with a letter or underscore. Idiomatic Nowline uses kebab-case (auth-refactor, push-v2, ga-launch), but authRefactor, auth_refactor, and MED are equally valid; pick what reads best for your team. They must be unique across the merged result (the file and all its includes).
When omitted, the parser generates one by slugifying the title to kebab-case: "Audit log v2" becomes audit-log-v2. Auto-generated ids are always kebab-case for stability across reruns. These internal keys make title-only declarations render and participate in include merge maps, but they are not referenceable — declare an explicit id on an entity before using it in after:, before:, or on:. An explicit id always claims its key ahead of any auto-derived slug (regardless of source order), and two title-only entities whose titles slugify to the same key de-dupe silently (platform, platform-2, …) without a shadowing warning. Id-less parallel and title-less group blocks receive internal positional handles (parallel-1, group-1, …) for layout flow segmentation only; likewise not referenceable. An id-less item that itself declares after:/before: still renders its own dependency arrow — layout gives it an internal, non-referenceable handle so it registers as a dependency-edge target — but, being non-referenceable, it cannot be the target of another entity’s after:/before:/on: until you give it an explicit id.
Any list-typed property accepts a single value without brackets or multiple values with bracket notation. Both forms are equivalent when there is one item:
- Single:
labels:enterprise - Multiple:
labels:[enterprise, security]
No quotes around identifiers in lists. Comma-separated, optional spaces.
The link property takes a bare URL (no quotes). One link per entity. The URL is absolute and its scheme is http or https, or it is a mailto: URL, which has to be quoted (link:"mailto:ops@acme.example") because the bare URL token only matches http(s)://. Any other value, such as a javascript: or data: URL, a relative path or a bare identifier, is NL.E0414 (Validation Rule 16a).
Dependencies and Anchoring
Section titled “Dependencies and Anchoring”Both after: and before: accept a single identifier, a single ISO date literal, or a bracketed list mixing both. References may target items, milestones, anchors, parallel blocks, groups, or waves.
after:id— this entity starts after the referenced entity finishes (or after the referenced anchor date).after:2026-03-15— inline date pin. This entity starts on the given date with noanchordeclaration required. See “Inline date pins” below.after:[id1, id2, ...]— this entity starts after all referenced entities finish (i.e. after the latest of them). List elements may be ids, an ISO date literal, or a mix.before:id— this entity must finish before the referenced entity starts (or before the referenced anchor date).before:2026-05-01— inline date pin. This entity must finish on or before the given date. See “Inline date pins” below.before:[id1, id2, ...]— this entity must finish before the earliest of the referenced entities starts. List elements may be ids, an ISO date literal, or a mix.after:<wave>— this entity starts no earlier than the end of the wave (for a wave with no members, its start). Use it for background work and milestones that wait for a whole wave; a floatingmilestone … after:<wave>sits exactly on the wave’s closing boundary. On work in the same wave or an earlier one it is an error (NL.E1103).before:<wave>— this entity should finish before the start of the wave. Like everybefore:, it is soft: nothing moves, and a miss paints the existing red overflow.
An item, group, or parallel with after: in a swimlane or group starts once both the previous item in its lane and every referenced entity have finished, so after: only ever delays: it never starts a lane child before the item that precedes it in the lane.
Wave references draw no dependency arrow. A wave’s own after: accepts only constants (an anchor, a dated milestone, or one ISO date); see “Wave Declaration”.
Circular dependencies across the full graph (including every element of list-form references) are a validation error. Inline date literals are not graph nodes and do not participate in cycle detection, and neither are a wave’s own after: edges (their targets are constants).
Inline date pins
Section titled “Inline date pins”An inline date literal pins the entity directly without a named anchor declaration. The form is intentionally lightweight — useful for one-off date constraints that don’t deserve a named, chart-spanning anchor.
item ship "Ship release" size:m after:2026-03-15item code-review size:s before:2026-05-01item integration size:l after:[auth-refactor, 2026-04-01]group api-track after:2026-02-01parallel rollouts before:2026-06-30Rules:
- Inline dates are valid on
item,parallel, andgroup, and on a wave’safter:(a start floor). They are not valid onmilestone(which already has its owndate:),swimlane,anchor,footnote,person, orteam. Using an inline date on those entity types is a validation error. (A wave’sbefore:is rejected outright byNL.E1105.) - At most one inline date per direction.
after:[2026-03-15, 2026-04-01]is a validation error — collapse to a single binding date instead. Mixing one date with any number of id references in the same list (after:[kickoff, 2026-03-15]) is allowed. - The roadmap must declare
start:whenever the file contains any inline date (same rule as foranchordeclarations and datedmilestones — see Validation Rule 27). - Every inline date must be on or after the roadmap’s
start:(Validation Rule 28). - ISO 8601 format only (
YYYY-MM-DD); the date literal terminal already enforces this. The date must also name a real calendar day:after:2026-02-30isNL.E0405(Validation Rule 1), and the layout ignores it.
Visual treatment. Each inline-date pin renders as a small calendar glyph on the entity’s left (after) or right (before): in an item bar’s top-left / top-right decoration row, joining the existing status-dot / footnote-indicator family, and in a group’s or parallel’s title row, beside its title. There is no inline date caption next to the glyph and no chart-spanning vertical cut line — the lightweight form deliberately stays quiet. The ISO date is available as a tooltip and lives in the source. Authors who want a louder, chart-spanning visual should declare a real anchor. See specs/rendering.md “Inline-date glyph” for full geometry.
Line Continuation
Section titled “Line Continuation”A \ at the end of a line means the next line continues the same declaration. Indentation on the continuation line is cosmetic (ignored by the parser). Only valid at the end of a property line — not inside strings or comments. Use \\ for a literal backslash. Inside a string, \ starts an escape instead (\n, \\, \"); see Design Rule 9.
item auth "Auth refactor" duration:2w status:in-progress \ owner:sam labels:[security,enterprise] \ link:https://github.com/acme/auth/issues/123 \ style:flaggedComments
Section titled “Comments”// This is a single-line comment
/* This is a multi-line comment */Validation Rules
Section titled “Validation Rules”The parser enforces these rules and produces clear error messages with file position and suggestions (e.g., fuzzy-match “did you mean X?”).
Structural rules
Section titled “Structural rules”- Exactly one
roadmapdeclaration per file. Included files’roadmapdeclarations are governed by theroadmap:mode. - All identifiers are unique across the merged result (items, parallel blocks, groups, anchors, persons, teams, milestones, footnotes, waves share one namespace). On merge collision, parent wins and a warning is emitted (waves excepted; see Include Rule 12).
- Every entity must have at least an identifier or a title (or both).
- File structure must follow the section order:
nowlinedirective (optional), includes,config,roadmap. Thenowlinedirective, if present, must be the first non-comment, non-blank line. - The
nowlinedirective version must matchv\d+. If the version is newer than the parser supports, emit an error identifying the required version. - At least one swimlane is required in the merged result (
NL.E0004, on theroadmapdeclaration). Swimlanes fromroadmap:mergeincludes and fromroadmap:isolateregions count, so a file whose only content comes from includes is valid;roadmap:ignoreincludes do not. The validator reads only its own file, so it applies the rule only to a file with no includes or onlyroadmap:ignoreones; for any other fileresolveIncludesapplies it after every include is resolved, and stays silent when it has already reported an error (an unreadable or unparsable include may be the one that holds the swimlane). - Indentation must be consistent within a file — either spaces or tabs, not both. Mixed indentation is a parse error identifying the first offending line.
labeldeclarations must appear in the roadmap section, not underconfig. Alabelline placed beforeroadmapis an error. The error message should suggest moving the declaration underroadmap.sizedeclarations must appear in the roadmap section, not underconfig. Asizeline placed beforeroadmapis an error. The error message should suggest moving the declaration underroadmap.statusdeclarations must appear in the roadmap section, not underconfig. Astatusline placed beforeroadmapis an error. The error message should suggest moving the declaration underroadmap.wavedeclarations must appear in the roadmap section, likelabel,size, andstatus. Awaveline placed beforeroadmapmakes the followingroadmapline a parse error.
Reference rules
Section titled “Reference rules”- All elements of
after:,before:, andon:properties (whether single or list) resolve to identifiers declared in the same file. An element that does not isNL.E0302. References never cross a file boundary, in either direction and in any include mode: a parent cannot name a child’s ids, a child cannot name its parent’s or a sibling include’s, androadmap:mergedoes not change that, even though the merged content shares one timeline. The validator reads only its own file and an included file is parsed without validation, soresolveIncludesapplies this rule to every file it reaches through amergeorisolateinclude, each file once, and reportsNL.E0302in that file, at the same line, column and span as the file’s own validation (the whole property), with the same message. A file reached only throughroadmap:ignoreis not checked (its content is dropped), and neither is one that failed to parse (its syntax errors are reported instead, Include rule 13). - No circular dependencies in
after/beforechains. Detection operates on the full dependency graph, including every element of list-form references.
Value rules
Section titled “Value rules”Dates, durations, sizes, scales
date:,start:andend:values (on the roadmap, an anchor, a milestone or a calendar declaration; on an item they are unknown keys, see “Pinning is not supported”), and inline date pins inafter:/before:(on an item, group or parallel, and a wave’safter:), are ISO 8601 dates that name a real calendar day:2026-02-30isNL.E0405, not March 2, and the layout reads it as no date. An impossible inline pin is checked by this rule only, not by Rules 27 and 28, and layout ignores it: it neither moves nor caps the entity and draws no glyph.duration:property values must match the raw duration pattern (\d+(\.\d+)?[dwmqy]) — literal only, no alias name lookup.scale:property values use the same raw duration pattern.size:property values must reference asizedeclaration in the roadmap section. Forward references are an error (rule 15 applies tosize:the same way it applied toduration:).- A
sizedeclaration’s id must not match the raw duration pattern\d+(\.\d+)?[dwmqy]and must not be a bared,w,m,q, ory. This avoids ambiguity at the call site. - Every
sizedeclaration must specify aneffort:property, and its value must match the raw duration pattern\d+(\.\d+)?[dwmqy](positive, non-zero). Asizedeclaration withouteffort:is a validation error. Duplicatesizedeclaration ids within a single file are an error (same rule as duplicatestatusorlabelids).
Calendar
calendar:onroadmapmust be one ofbusiness,full, orcustom. Omitted defaults tobusiness.- A
calendarconfig block is only meaningful when the roadmap declarescalendar:custom. Presence of acalendarconfig block when the roadmap declarescalendar:business,calendar:full, or the default is an error. - When
calendar:customis declared, thecalendarconfig block must be present and must declare all four entries:days-per-week,days-per-month,days-per-quarter,days-per-year. Missing any entry is an error. Empty or absent block is an error. days-per-week,days-per-month,days-per-quarter,days-per-yearvalues must be positive integers. 9a. Anon-workingorworkingdeclaration is exactly one of three shapes:date:alone;start:andend:withoutevery:; orevery:with optionalstart:andend:(NL.E0900). Its only keys aredate,start,endandevery(NL.E0901), andstart:andend:take one date each (NL.E0902). 9b. Every date on a calendar declaration is a real calendar day (NL.E0405), andend:is not beforestart:(NL.E0903). 9c.every:values aresun,mon,tue,wed,thu,friorsat(NL.E0904), each at most once perevery:(NL.E0905). The open-ended week keeps at least one working weekday (NL.E0906), anddays-per-weekagrees with the weekdays it leaves working (NL.W0705, a warning). 9d. Anon-workingorworkingid is unique within its keyword in one file (NL.E0907). The two keywords do not share a namespace.
Required properties per entity
itemdeclarations must include at least one ofsize:orduration:. Omitting both is an error that identifies the item by id/title and line number. Declaring both is valid; the explicitduration:literal wins for bar width and meta-line display (size chip omitted; see Sizing Precedence in the Capacity section).anchordeclarations must include adate:property.milestonedeclarations must include at least one ofdate:orafter:.footnotedeclarations must include anon:property referencing one or more valid identifiers. Single:on:id. Multiple:on:[id1, id2].
Status, labels, remaining
statusvalues are a built-in value (planned,in-progress(aliasactive),done(aliascompleted),at-risk,blocked) or a value declared by astatusdeclaration in the roadmap section.- A
size:,status:, orwave:property reference must resolve to a declaration that appears earlier in the file (or in an earlier include, perconfig:/roadmap:mode). Forward references are a validation error. The error message should point to both the reference site and suggest the declaration location. Forwave:, “earlier” means earlier in the roadmap section of the same file than the top-level entry that contains the reference (includes never contribute waves; see Include Rule 12), and the error isNL.E1101(WV6). labelsvalues are identifiers (rule 5). Undeclared labels are valid (no config entry required). 16a. Alink:value, on any entity, is an absolutehttp://orhttps://URL, or a quotedmailto:URL (NL.E0414). Quoted or bare, the scheme is what counts:link:"javascript:alert(1)",link:"./spec.md"andlink:specare errors. The rendered link is a live<a href>in the embed, the preview and the HTML export, so the layout and the renderer also drop a non-web link when a caller skips validation.remainingvalues are either a percentage (0%–100%) or a single-eng effort literal (\d+(\.\d+)?[dwmqy], e.g.1w,0.5d). Both forms normalize to a percent of the item’s total effort during layout:percent = remaining_literal ÷ total_effort, wheretotal_effort = size.effortfor sized items, orduration_literal × item_capacityfor duration-literal’d items (item_capacitydefaults to1). When the literal exceeds total effort (computed percent> 100%), the layout step emits a soft warning and clamps the painted bar to 100% remaining; rendering is never blocked.
Capacity
17a. capacity: on a swimlane must match a positive number literal (integer \d+ or decimal \d+\.\d+). Percent form is not allowed on swimlanes.
17b. capacity: on an item must match a positive number literal or percent literal (\d+(\.\d+)?%). The percent literal is parsed to its decimal equivalent (50% → 0.5).
17c. capacity: is not valid on parallel or group (same exclusion as size, duration, and remaining).
17d. utilization-warn-at: and utilization-over-at: on a swimlane (or default swimlane) must each match either a positive percent literal (\d+(\.\d+)?%), a positive decimal (\d+(\.\d+)?, interpreted as a fraction — 0.8 ≡ 80%), or the bareword none. Defaults: utilization-warn-at:80%, utilization-over-at:100%. When both numeric thresholds are present on the same lane (or merged from a default swimlane), utilization-warn-at must be ≤ utilization-over-at; otherwise it is a validation error. Not valid on any other entity type.
17e. capacity-icon: value must be a built-in identifier (none, multiplier, person, people, points, time), an identifier matching a symbol declaration in scope, or a double-quoted Unicode literal. Like all raw style properties, it is only valid inside style blocks and default <entity> lines — not inline on entities. Defaults to multiplier when omitted. The same value-form rule applies to icon:.
Non-rules (intentionally not validated):
- Item and swimlane capacity are independent. An item declaring
capacity:without its swimlane declaring one is valid and produces no diagnostic. - A lane declaring
utilization-warn-at:orutilization-over-at:without acapacity:value is valid but produces no underline (the load function has no denominator). Renderer treats it as a silent no-op; consider addingcapacity:to make the threshold meaningful. - A lane being over capacity — concurrent item capacity exceeding swimlane capacity at any timestep — is not a validation error and produces no parser output. It is rendered visually per
rendering.md. utilization-warn-at:noneand/orutilization-over-at:noneon a swimlane that has nocapacity:(or no items contributing load) is valid and a no-op — there is nothing to color.
Symbol declarations
17f. Every symbol declaration must specify a unicode:"<string>" property. Missing unicode: is a validation error (NL.E0806).
17g. unicode: value must be a non-empty quoted string. May contain Unicode escapes (\u{...}) or literal Unicode characters. May be a multi-codepoint grapheme cluster. An empty value is NL.E0807.
17h. ascii: value, if present, must be a quoted string of length ≤ 3 ASCII characters (NL.E0808). A symbol line takes only unicode:, ascii:, link:, and description; any other property is NL.E0809.
17i. A symbol id must not match any built-in icon name (none, multiplier, person, people, points, time, shield, warning, lock, calendar, plus any other built-ins the renderer reserves). Shadowing is an error (NL.E0805).
17j. Duplicate symbol declaration ids within a single file are an error (same rule as duplicate status or label ids), reported as NL.E0810.
17k. A symbol reference (icon:NAME or capacity-icon:NAME) must resolve to either a built-in or an earlier symbol declaration. A name that is neither is NL.E0811; forward references are an error (NL.E0812).
Styles and content/rendering separation
style:references on entities and labels must resolve to a style declared in the applicableconfigscope.- Style property values must be valid for their type: color properties (
bg,fg,text) must be named colors (including aliasesgreyforgrayandvioletforpurple), hex values, ornone;bordermust besolid,dashed, ordotted;shadowmust benone,subtle,soft, orhard;fontmust besans,serif, ormono;weightmust bethin,light,normal, orbold;italicmust betrueorfalse;text-size,padding,spacing,header-heightmust benone,xs,sm,md,lg, orxl;corner-radiusmust benone,xs,sm,md,lg,xl, orfull;bracketmust benone,solid, ordashed;header-positionmust bebesideorabove;capacity-iconmust benone,multiplier,person,people,points,time, a customsymbolid, or a double-quoted Unicode literal;timeline-positionmust betop,bottom, orboth;minor-gridmust betrueorfalse;non-workingmust behideorshow(any other value isNL.E0800, one error per value). An invalid color isNL.E0801and a value outside an enumerated key’s list isNL.E0802, in astyleblock or on adefaultline; a key in astyleblock that is not a style property isNL.E0803. - Raw style properties (
bg,fg,text,border,icon,shadow,font,weight,italic,text-size,padding,spacing,header-height,corner-radius,bracket,header-position,capacity-icon,timeline-position,minor-grid,non-working) may only appear instyleblocks anddefault <entity>lines (both in config). Using them on any roadmap-section entity is an error (NL.E0804), includingnon-workingon theroadmapline itself: writedefault roadmap non-working:showin config. The roadmap-only keys (header-height,header-position,timeline-position,minor-grid,non-working) are ignored on another entity’sdefaultline, which draws the warningNL.W0703(default item minor-grid:true); the file still validates.default roadmaptakes them without a warning, andstyleblocks are not checked, since one block can be referenced by the roadmap and by other entities. When the roadmap’s resolved style (itsdefault roadmapline, then the style of each label on theroadmapline with the first label winning, then its ownstyle:, a later key winning) setsheader-height:nonetogether withtimeline-position:bottomorboth, no date strip is drawn at all, which draws the warningNL.W0704on thetimeline-positionvalue. The check reads only styles and labels the file declares: a roadmapstyle:or label from an include could reset either key, so it stays silent then.
Defaults
- The first positional argument after
defaultmust be one of the supported entity types:item,label,swimlane,roadmap,parallel,group,milestone,footnote,anchor. - Duplicate
default <entity>declarations for the same entity type within a single file are an error. On include withconfig:merge, the parent’sdefault <entity>wins over the child (existing merge semantics apply). - A
default <entity>declaration that sets a banned property (see the “Banned ondefault” table) is an error. The error names the banned property, the entity type, and points to the table.waveis banned on everydefault <entity>line when the roadmap has waves; when it has none, the key draws the warningNL.W0702instead (WV8 and WV9).
Dependencies
after:andbefore:on any entity accept a single identifier, a single ISO date literal, or a bracketed list mixing both. Each non-date element must resolve to an item, milestone, anchor, parallel, group, or wave identifier declared in the same file (NL.E0302, Reference rule 1). A wave’s ownafter:is narrower: see WV4. 24a. Inline date pins are valid only onitem,parallel, andgroup, and on a wave’safter:. An ISO date literal inafter:orbefore:onmilestone,swimlane,anchor,footnote,person, orteamis a validation error (NL.E0411: “Allowed only on item, parallel, and group, and on a wave’s after:”). A wave’sbefore:is reported only byNL.E1105, never byNL.E0411. 24b. At most one inline date per direction. A list with two or more ISO date literals in the sameafter:or the samebefore:property is a validation error (NL.E0410). Mixing one date with any number of id references in the same list is allowed.- Circular dependency detection operates on the full graph across all
after:/before:references (including every element of list-form references). Inline date literals are not graph nodes and do not participate in cycle detection. A wave’s ownafter:edges are skipped: their targets are constants, sowave w2 after:gatetogether withmilestone gate date:… after:w2(the wave-deadline idiom) is not a cycle. Cycles that run through wave barriers are WV10.
Roadmap start:
roadmapstart:values are valid ISO 8601 dates (formatYYYY-MM-DD, calendar-valid).- If a file contains any
anchordeclaration, anymilestonewith adate:property, anyitem/parallel/groupwith an inline date literal inafter:orbefore:, or anywavewith an inline date literal inafter:, theroadmapdeclaration must also declarestart:. One error is emitted per offending dated entity (NL.E0412for inline-date offenders). - Every
anchordate, every datedmilestone’sdate:, and every inline date literal inafter:/before:(including a wave’safter:) must be on or after the roadmap’sstart:. One error is emitted per offender (NL.E0413for inline dates). - If
start:is present but fails the date-format rule, the two rules above are suppressed for that file — the user sees only the format error until they fix it.
Persons and teams
- A
personmay be declared at most once in the merged file scope. A declaration is identified by the presence of a title or any keyed property on thepersonline. Multiple declarations of the same person id (regardless of whether metadata matches) are an error that identifies both declaration locations. - A bare
person <id>inside ateamdenotes membership and is valid with or without a separate declaration. - A bare
person <id>at roadmap top level with no matching declaration anywhere is a no-op; the parser may emit a warning suggesting the author either add properties or remove the line.
Include rules
Section titled “Include rules”Every include error is coded and reported on the path of the include line that names it, in the including file, so every surface reports it like a validator error (CLI exit 1): rules 1, 2, 4, 10, 11 and 14 to 16 below.
includepaths must resolve to an existing.nowlinefile relative to the including file’s directory. A path that does not end in.nowline, or a file that cannot be found or read, isNL.E0203; the message names the reason (not found, a directory, permission denied, not a.nowlinefile) and never the absolute path. The file is not read when its extension is wrong.- No circular includes (A includes B includes A). Detected when a file appears in the currently-resolving stack, before that file is read again:
NL.E0204on theincludethat closes the cycle, with the chain. includedeclarations must appear beforeconfigandroadmap(after thenowlinedirective if present).- Duplicate
includeof the same file in a single file is an error (NL.E0205). Diamond includes (same file via different parents) are valid — the file is processed once. config:onincludemust bemerge,ignore, orisolate.roadmap:onincludemust bemerge,ignore, orisolate.- On
config:merge, if a child config entry collides with a parent entry, the parent wins and the parser emits a warning with the source file path and shadowed name. Anon-workingorworkingdeclaration collides only with a parent declaration of the same keyword and name; an unnamed declaration never collides and always merges. - On
roadmap:merge, if a child entity collides with a parent entity, the parent wins and the parser emits a warning. Swimlane collisions also drop contained items. - On
config:isolate,style:references within the isolated file must resolve within that file’s own config. References to parent config are a validation error. Label, size, and status references are governed byroadmap:isolate, notconfig:isolate, because labels, sizes, and statuses are roadmap content. - On
roadmap:isolate, the included file must contain aroadmapdeclaration (needed for the region label;NL.E0206). A child that failed to parse (rule 13) is not checked. - For any
includewhoseroadmap:mode is notignore(i.e.mergeorisolate), if the child file declares aroadmap, the parent and child must agree onstart:: both absent, or both present with identical values. A mismatch is an error (NL.E0207) reported on the parent’sincludeline. This is an explicit exception to rule 8’s “parent wins with warning” merge behaviour.start:defines the shared timeline baseline, so silently shadowing a child’sstart:would cause rendered dates to drift from what the author wrote.roadmap:ignoreis exempt because the child’s roadmap content is dropped entirely. A child that failed to parse (rule 13) is not compared: the parser may have lost itsstart:. - For any
includewhoseroadmap:mode is notignore(i.e.mergeorisolate), if the child participates (it declares aroadmap, has at least one swimlane, or declares at least one wave), the parent and child must declare the same waves: the same ids, in the same order, with the same resolved start floors. Floors are compared by the date they resolve to, not by how they are written (after:fy-budgetandafter:2026-02-02agree when the anchor is on that date); a wave with no floor matches only a wave with no floor. Both directions are errors (NL.E0202), reported on the parent’sincludeline: a parent with waves and a participating child without them (its work would silently become background work), and a child with waves and a parent without them (its waves would vanish in the merge). Two files with no waves pass. Like rule 11, this is an explicit exception to rule 8’s “parent wins with warning” merge behaviour. Waves are barriers across the whole canvas, so a silently shadowed wave list would move every lane’s columns. When ids, order and floors agree, a differing title,style:,labels:,link:, ordescriptionis a warning (NL.W0701) and the parent’s definition is used. Each edge is compared against its direct parent, so by induction every file agrees with the root, and the check runs after all of a file’s includes, so include order does not matter. A vocabulary-only child (persons, teams, labels, sizes, statuses, anchors; no roadmap, no swimlanes, no waves) does not participate.roadmap:ignoreis exempt because the child’s roadmap content is dropped entirely. A child that failed to read or to parse (rule 13), or whose waves lack ids (NL.E1100), is not compared. - An included file must parse. An included file is parsed without validation, so
resolveIncludesreports each of its lexer and parser errors itself: in that file, at the error’s line and column, with the same message and code that checking the file on its own gives, and an error fails the run like a validator error (CLI exit 1). This holds in everyconfig:androadmap:mode,roadmap:ignoreincluded, since an ignored child’s config is still merged (and a file the parent names must stay valid on its own), and at every depth; a file reached through several includes is reported once. A file that failed to parse still contributes whatever the parser recovered, but the checks that read its declarations skip it (rules 10, 11 and 12, and Reference rule 1’sNL.E0302), so a lostroadmaporstart:never surfaces as a second, misleading error. The root file’s own syntax errors are the validator’s. - A caller can turn includes off (
resolveIncludes’includePolicy: { kind: 'disabled' }, the CLI’s--no-includes). Everyincludeis thenNL.E0209and nothing is read. A file that names no includes is unaffected. - A caller can confine includes to a root directory (
includePolicy: { kind: 'rooted', root }, the CLI’s--include-root). Every include, at any depth, must be a relative path that resolves, symbolic links followed, to a file inside the root. An absolute path, a..that leaves the root, or a symbolic link that points out of it isNL.E0208, and the file is not read. A file reached through two spellings (a symlink inside the root) is one file for rules 2 and 4, and diagnostics name it by its real path. - An include chain is at most 16 includes deep (the root’s own includes are depth 1). A deeper include is
NL.E0210and is not read, so a chain the cycle check cannot see, such as a symbolic link to a directory that contains it, still ends.
Parallel and group rules
Section titled “Parallel and group rules”parallelmust contain at least 2 children (items or groups). A single-child parallel is a warning.groupmust contain at least 1 child (item, parallel, or nested group).size,duration, andremainingare not valid onparallelorgroup(computed from children).parallelis valid inside swimlane or group.groupis valid inside swimlane, parallel, or group.
Wave rules
Section titled “Wave rules”These rules apply to files that use wave or wave:. A roadmap has waves when its file declares at least one wave with a valid id. Every wave rule has a stable diagnostic code; messages are listed in specs/waves.md § 6.4. WV1–WV9 run per file (and, through resolveIncludes, on every participating included file, which is parsed without validation); WV10–WV12 run over a layout scope (the merged main lanes, and each isolated region), so they see after: edges that cross merged files (each such edge is also NL.E0302 in the file that holds it, Reference rule 1); WV13–WV14 run on include edges. The WV numbers match specs/waves.md § 6.2, which also defines the layout insights WV16–WV18 (WV15 is retired).
| # | Rule | Severity | Code |
|---|---|---|---|
| WV1 | A wave declaration has an explicit id. |
error | NL.E1100 |
| WV2 | Wave ids share the global id namespace (Structural Rule 2). Across includes, a participating file’s explicit ids must not equal the root’s wave ids. | error | NL.E0300 |
| WV3 | A wave declaration does not take before:, date:, start:, length:, duration:, size:, capacity:, remaining:, or wave:. |
error | NL.E1105 |
| WV4 | Each element of a wave’s after: resolves to an anchor, a milestone with date:, or (at most once) an ISO date. Rules 24b, 27 and 28 apply to the date. |
error | NL.E1106 |
| WV5 | wave: appears only on item, group, and parallel. |
error | NL.E1104 |
| WV6 | A wave: value is exactly one wave declared earlier (Value Rule 15): not a list of two or more, not undeclared, not declared below the referencing entry, not an id of another kind. |
error | NL.E1101 |
| WV7 | A descendant’s wave: equals its container’s wave:. |
error | NL.E1102 |
| WV8 | When the roadmap has waves, wave is banned on every default <entity> line. |
error | Rule 23 message |
| WV9 | When the roadmap has no waves, every wave: key is ignored. This replaces WV5–WV8 for the file. |
warning | NL.W0702 |
| WV10 | The wave order can be realized: no member is forced to start at or after the end of its own wave. In every lane or group flow, assigned waves must not decrease, a block’s successor must not be in an earlier wave than any of its tracks, and no after: may name the item’s own wave, a later wave, or work in a later wave, directly or through a chain of other work. |
error | NL.E1103 |
| WV11 | A before: that the wave structure guarantees can never be met (for example, work in wave 2 with before: an item in wave 1). Misses that depend on durations or dates stay the layout-time NL.I1003. |
warning | NL.W1100 |
| WV12 | In a roadmap with waves, an after: or before: that layout ignores: a forward reference (to a later swimlane, or later in the same flow), a reference to the group or parallel that encloses it, or a reference to a floating milestone. A reference that closes an explicit cycle is left to rule 25. |
warning | NL.W1101 |
| WV13 | Include wave agreement (Include Rule 12). | error | NL.E0202 |
| WV14 | An included wave’s presentation (title, style:, labels:, link:, description) differs from the parent’s. |
warning | NL.W0701 |
WV10 reports one diagnostic per root cause, in one of five forms: sequence (a run of items placed after work in a later wave), join (an item after a parallel block with a track in a later wave), after-item, after-wave, and chain (a hidden route through background work, which the cycle check in rule 25 cannot see). An item with no wave never produces a diagnostic.
No duplicate diagnostics. wave never draws the generic unknown-property warning NL.W0700; a wave’s before: gets only NL.E1105 (never NL.E0411); an element of a wave’s after: that resolves to nothing gets only the “does not resolve” error (NL.E0302), and one that resolves to the wrong kind gets only NL.E1106. An invalid wave: value makes the item background work for the later rules, and a container’s wave wins over a conflicting descendant’s.
Layout insights (WV16–WV18). Three more codes come from layout, not validation: NL.W1002 (the barrier solver hit its pass cap; unreachable for valid input), NL.I1006 (one or more waves have no members), and NL.I1007 (a wave overruns a dated milestone whose after: names it). See specs/rendering.md “Waves”. NL.W1001 (a barrier moved an item’s date:/start: pin, WV15) is retired with item pins (see “Pinning is not supported”). Outside the wave rules, layout also reports NL.I1008 (info) when the date in an item’s after: falls on a non-working day under calendar:business and sets its start: the item starts on the next working day instead (see working-calendar.md §6).