nowline v1
// Lean example: one engineering swimlane with lane capacity, item capacity,
// and utilization along the band. "On-call support" is 1 of 4 = 25% of
// the team. For warn/over/segment demos see tests/utilization-states.nowline.
roadmap eng-q1 "Engineering Q1" start:2026-01-05 length:8w
swimlane engineering "Engineering" capacity:4
item support "On-call support" duration:8w capacity:1
item auth-refactor "Auth refactor" duration:3w capacity:2 status:in-progress
item search-v2 "Search v2" duration:2w capacity:2 after:auth-refactor
nowline v1
// Multi-team waves: every file declares the same waves, floor included, so
// each team file renders alone and the program file merges them behind one barrier.
include "./waves-program/web.nowline"
include "./waves-program/api.nowline"
roadmap program "Program" start:2026-01-05 scale:1w calendar:full
wave plan "Plan"
wave execute "Execute" after:2026-02-02
swimlane pmo "PMO"
item kickoff "Kickoff" duration:1w wave:plan
item comms "Launch comms" duration:2w after:execute
milestone done "Execute complete" after:execute
examples/waves-program/web.nowline
nowline v1
// Child of examples/waves-program.nowline. Re-declares the program's waves
// (floor included) so it renders on its own; the root checks they agree.
roadmap web-plan "Web" start:2026-01-05 scale:1w calendar:full
wave plan "Plan"
wave execute "Execute" after:2026-02-02
swimlane web "Web"
item web-design "Web design" duration:2w wave:plan
item web-build "Web build" duration:3w wave:execute
examples/waves-program/api.nowline
nowline v1
// Child of examples/waves-program.nowline. Re-declares the program's waves
// (floor included) so it renders on its own; the root checks they agree.
roadmap api-plan "API" start:2026-01-05 scale:1w calendar:full
wave plan "Plan"
wave execute "Execute" after:2026-02-02
swimlane api "API"
item api-design "API design" duration:3w wave:plan
item api-build "API build" duration:4w wave:execute
nowline v1
// Breaks: work that pauses and resumes. Search, wallet and observability
// work each stop for a stretch while other waves run, and the warehouse
// migration waits on a legal sign-off (the `legal` anchor). A `break` is a
// line under an item: it takes two of after:, before: and duration:, and the
// item keeps its total duration. Details live in specs/break.md.
roadmap marketplace-release "Marketplace release" author:"Product Engineering" start:2026-01-05 scale:1w calendar:full
wave foundations "Foundations"
wave build "Build"
wave launch "Launch"
wave harden "Harden"
anchor legal "Legal sign-off" date:2026-02-23
swimlane platform "Platform"
item auth "Auth service split" duration:3w wave:foundations status:done
item payments-api "Payments API v2" duration:6w wave:build status:in-progress remaining:60%
item rate-limits "Rate limits" duration:2w wave:launch
item failover "Regional failover" duration:3w wave:harden
// Two weeks in Foundations, then nothing until Launch opens, two weeks in
// Launch, then nothing until Harden opens. The work after each pause belongs
// to the wave that ends it.
swimlane web "Web"
item search "Search rebuild" duration:6w wave:foundations status:in-progress
break after:2w before:launch
break after:2w before:harden
// The first 5w are the last work in Foundations, so the pause opens no gap:
// one plain bar that crosses the Foundations/Build boundary.
swimlane mobile "Mobile"
item wallet "Wallet integration" duration:9w wave:foundations status:in-progress
break after:5w before:build
item store-release "App store release" duration:4w wave:launch
// No wave: background work. The pause only times the resume.
swimlane ops "Ops"
item observability "Observability rollout" duration:6w status:in-progress
break after:3w before:launch
// A pause held by an anchor: 2w of work, then nothing until legal signs off.
swimlane data "Data"
item warehouse "Warehouse migration" duration:5w status:in-progress
break after:2w before:legal
item dashboards "Dashboards" duration:2w
milestone beta "Beta" after:build
milestone ga "GA" after:harden
nowline v1
// Inline date pins on `after:` / `before:` — pin an item, group, or
// parallel to a specific calendar date without declaring a named
// `anchor`. The renderer paints a small `calendar` glyph on the
// entity's left (`after`) or right (`before`): in an item bar's top
// corner, or in a group's or parallel's title row. See
// `specs/dsl.md` "Inline date pins" and `specs/rendering.md`
// "Inline-date glyph".
config
style flagged
border: dashed
fg: orange
roadmap inline-pins "Inline date pins" start:2026-01-05 scale:1w
swimlane platform "Platform"
// Single inline date pin on `after:` — the item starts on
// 2026-02-09 even though the lane cursor would have placed it
// earlier.
item kickoff-prep "Kickoff prep" duration:1w
item launch "Launch readiness" duration:2w after:2026-02-09
// Single inline date pin on `before:` — the item must finish by
// 2026-04-13. Caps the natural end via the existing red-overflow
// rule when the item runs long.
item docs "Docs handoff" duration:2w before:2026-04-13
// Mixed list — one ISO date plus one entity id. Starts after the
// LATEST of the two: the launch item's end OR 2026-03-15
// (whichever is later).
item integration "Integration window" duration:2w after:[launch, 2026-03-15]
swimlane releases "Releases"
// Group with an inline-date `after:` — the whole group starts
// on 2026-02-23. The glyph sits in the group's title row, ahead of
// the title, above the first item.
group api-track "API track" style:flagged after:2026-02-23
item api-design "API design" duration:1w
item api-build "API build" duration:2w
// Parallel with an inline-date `before:` — the whole parallel
// must finish by 2026-05-25. The glyph sits at the right end of
// the title row the parallel reserves above its first track (here
// just past the title, which is wider than the parallel).
parallel rollouts "Region rollouts" before:2026-05-25
item us-rollout "US rollout" duration:2w
item eu-rollout "EU rollout" duration:2w
nowline v1
// Holiday quarter (m2p phase 5b, specs/working-calendar.md §4, §10): a
// Nov to Jan plan for a team on a business calendar that names the days it is
// closed and the one Saturday it works.
//
// - Thanksgiving, a two-day holiday inside a bar.
// - Winter break, Dec 24 to Jan 1: seven working days, so a bar that
// crosses it ends seven working days later than it would without it.
// - Company summit, Wed Jan 13 to Fri Jan 15.
// - Launch prep Saturday, a working exception. The chart labels it
// "Launch prep Saturday · +1d", with no cut line since it removes no time;
// MS Project writes it as a working exception and Mermaid counts it in its
// lossy summary.
//
// Hidden by default: each closure is a labelled seam in the marker row.
// Export it with `nowline examples/working-calendar.nowline -f msproj` to see
// the closures as base-calendar <Exceptions>, or `-f mermaid` for the dated
// `excludes` line.
config
non-working thanksgiving "Thanksgiving" start:2026-11-26 end:2026-11-27
non-working winter-break "Winter break" start:2026-12-24 end:2027-01-01
non-working summit "Company summit" start:2027-01-13 end:2027-01-15
working launch-prep "Launch prep Saturday" date:2027-01-23
roadmap working-calendar "Holiday quarter" start:2026-11-02 scale:1w calendar:business
anchor kickoff "Kickoff" date:2026-11-02
milestone launch "Launch" date:2027-01-29
swimlane platform "Platform"
item api-v2 "API v2" duration:3w
item data-migration "Data migration" duration:2w
item hardening "Hardening" duration:2w
swimlane web "Web"
item design-refresh "Design refresh" duration:2w
item build "Build" duration:4w
item beta "Beta" duration:1w
nowline v1
// Fixture for item-title wrapping (lolay/nowline#59). A title that is too
// wide for its bar on one line but fits on at most two whitespace-wrapped
// lines stays INSIDE the bar instead of spilling to the right. The old
// spill pushed the next chained item down a whole row.
//
// What to look for when rendering this:
// - Platform lane: "Technology Selection" (2w at scale:2w, a 148px bar)
// wraps to "Technology" / "Selection" inside its bar. The bar grows
// 16px to hold the second title line plus the meta line, and "API"
// stays on the same row instead of dropping to a fresh one.
// - Every other title in the issue's roadmap already fits on one line
// (short title, or a bar of 3w or more), so it renders as before.
// - Link icon lane: "Auth token refactor" wraps too, and its caption
// starts past the 14px link-icon tile (24px inset, not 12px), so the
// title never sits under the tile.
// - Dot clearance lane: the first title line also stops short of the
// status dot (and any footnote digits or `before:` glyph) in the bar's
// upper-right. "Authentication refactor" in a 2w bar with a link icon
// would put "Authentication" (about 106px) in a 103px first-line
// budget, running under the dot, so it spills to the right instead.
// This is the regression case for that overlap.
//
// A wrapped item WITHOUT a meta line (the 2-line, no-growth case: line 2
// lands at baseline 36, so the bar stays 56px) cannot be written in the
// DSL. Every item needs a `duration:` or `size:`, and either one is
// rendered as the meta line, so every bar wide enough to wrap carries
// meta. That case is pinned by the layout unit tests instead.
//
// Titles that cannot wrap into two lines still spill to the right; see
// text-spills-right.nowline and item-bumps-up.nowline (single words).
roadmap text-wraps-inside-bars "Generative AI" start:2026-04-06 scale:2w calendar:business
swimlane platform "Platform"
item "Technology Selection" duration:2w status:done
item api "API" duration:3w status:done
item "Agent Instructions" duration:3w status:in-progress
item api-integration "Agent Integration" duration:4w status:planned
item "Agent MCP" duration:2w status:planned
item platform-e2e-test "E2E Test" duration:2w status:planned
swimlane web "Web"
item "Web Prototype" duration:4w status:done
item "Web SDK" duration:2w status:planned after:api
item "Web Integration" duration:4w status:planned
item web-e2e-test "E2E Test" duration:2w status:planned after:api-integration
swimlane mobile "Mobile"
parallel
group ios "iOS"
item "iOS Prototype" duration:4w status:done
item "iOS SDK" duration:2w status:planned after:api
item "iOS Integration" duration:4w status:planned
item ios-e2e-test "E2E Test" duration:2w status:planned after:api-integration
group android "Android"
item "Android Prototype" duration:4w status:done
item "Android SDK" duration:2w status:planned after:api
item "Android Integration" duration:4w status:planned
item android-e2e-test "E2E Test" duration:2w status:planned after:api-integration
swimlane link-icon "Link icon"
item auth-token-refactor "Auth token refactor" duration:2w status:in-progress link:https://github.com/lolay/nowline/issues/59
item "Rollout" duration:3w status:planned
swimlane dot-clearance "Dot clearance"
item auth-refactor "Authentication refactor" duration:2w status:in-progress link:https://github.com/lolay/nowline/issues/59
milestone ai-release "AI Release" after:[platform-e2e-test, web-e2e-test, ios-e2e-test, android-e2e-test]
nowline v1
// Fixture for explicit title line breaks (lolay/nowline#60). A `\n` inside
// an item title is a hard line break: the author's lines are authoritative,
// so no auto-wrap runs on them and the two-line cap does not apply. Each
// line paints as its own <text>, 16px apart, with the meta line below the
// last one. `\\n` is just the literal text `\n` (single line).
//
// What to look for when rendering this:
// - Breaks lane: "Technology" / "Selection" is the issue's title, broken
// by hand (auto-wrap would give the same split in this 2w bar; "Plan" /
// "rollout" is the case that proves the break wins, since "Plan
// rollout" fits one line in a 4w bar and still breaks).
// - Three lines lane: a 3-line title stays INSIDE the bar. Auto-wrap would
// have spilled it (a 2-line cap); an explicit break has no cap. The bar
// grows 32px with its meta line (88px), and "Next up" stays on the row.
// - Literal lane: `\\n` shows the two characters `\n` on ONE line; it is a
// backslash and an n, not a break.
// - Too wide lane: line 1 ("Internationalization of") is wider than a 2w
// bar's text area, so the whole block spills to the RIGHT with its
// breaks preserved (two stacked lines, meta below). The spill reserves
// its widest line, so "Follow up" drops to the next row.
// - Link + footnote lane: line 1 shares the bar's upper-right with the
// status dot and the footnote digit, and the link tile pushes the
// caption right, so line 1 has to stop short of that cluster. "Auth
// service" just fits (about 90px of a 92px budget); line 2 is below the
// dot and uses the full width.
//
// A bare break at either end of a title ("Plan\n") is trimmed and the title
// is then an ordinary one-line title; interior blank lines stay blank.
roadmap title-line-breaks "Explicit title line breaks" start:2026-04-06 scale:2w calendar:business
footnote refactor-note "Line 1 stops short of the footnote digit" on:auth-refactor
swimlane breaks "Breaks"
item tech "Technology\nSelection" duration:2w status:done
item api "API" duration:3w status:done
item plan "Plan\nrollout" duration:4w status:planned
swimlane three-lines "Three lines"
item design "Design\nBuild\nShip" duration:2w status:in-progress
item next-up "Next up" duration:3w status:planned
swimlane literal "Literal"
item literal-n "Plan A\\nB" duration:3w status:planned
swimlane too-wide "Too wide"
item wide "Internationalization of\nthe billing service" duration:2w status:planned
item follow-up "Follow up" duration:3w status:planned
swimlane link-footnote "Link + footnote"
item auth-refactor "Auth service\nrefactor" duration:2w status:in-progress link:https://github.com/lolay/nowline/issues/60
nowline v1
// Fixture for geometry that must follow a bar when layout moves it down
// AFTER placing it: when the anchors and milestones need more marker rows
// than the band was sized for, the band grows and the whole chart moves
// down. (Retroactive row growth, an item landing back on an earlier row
// and growing it, went away when rows stopped moving up,
// specs/true-width-layout.md §3.2; the first lane keeps that shape.)
//
// What to look for when rendering this:
// - First lane: "Auth refactor" spills, so "Next" and "Plain thing"
// drop to row 1, and every later child stays at or below the one
// before it. The a -> b arrow must land on "Next"'s top edge, the
// dotted c -> d arrow must leave "Plain thing"'s bottom edge and pass
// behind no bar on its way to "Next one" (it used to cross "Delta"),
// and the calendar glyphs on "Plain thing", the group's header row and
// the parallel's header band must sit on their own (moved) boxes.
// - The "Ship" milestone's slack arrow leaves "Gamma" (row 2) at its
// progress strip, not 16px above it.
// - Marker band: the anchor and the "Beta" milestone collide, so the band
// grows to two rows and everything below it moves down. The `after:`
// glyph on "Alpha" must sit inside Alpha's bar, not above it.
// - "Omega" waits on the code-freeze anchor (it starts two weeks after
// it), so a dotted stub runs from the anchor's cut line to Omega's
// start on Omega's (moved) midline.
config
style enterprise
bg: blue
text: white
roadmap late-row-shifts "Late row shifts" start:2026-01-05 scale:1w
anchor freeze "code-freeze" date:2026-02-02
swimlane retro "Retroactive row growth"
item a "Auth refactor" duration:2w
item b "Next" duration:2w after:a
item c "Plain thing" duration:2w after:2026-01-25
group g "Pinned group" style:enterprise after:2026-01-19
item g1 "Gamma" duration:2w
parallel par "Pinned parallel" before:2026-04-20
item p1 "Delta" duration:3w
item d "Next one" duration:2w after:c
swimlane band "Marker band growth"
item alpha "Alpha" duration:4w after:2026-01-12
swimlane stub "Anchor stub"
item omega "Omega" duration:2w after:[freeze, 2026-02-16]
milestone beta "Beta" after:alpha
milestone ship "Ship" after:[g1, d]
nowline v1
// Marker predecessors in the marker band, on the host and in an isolated
// region: slack arrows from anchors and milestones to after-only milestones,
// and dated milestones that slip when a marker predecessor lands after their
// date (Cut after Code freeze, Review after Alpha, Partner due after Partner
// alpha): a red diamond on the date, a red dotted span along the row, and
// the milestone, its label and cut line where it lands.
include "./marker-predecessor-partner.nowline" roadmap:isolate
roadmap marker-predecessor-arrows "Marker predecessor arrows" start:2026-01-05 scale:1w
anchor kickoff "Kickoff" date:2026-01-12
anchor freeze "Code freeze" date:2026-02-02
swimlane core "Core"
item build "Build" duration:6w
item polish "Polish" duration:3w after:build
milestone alpha "Alpha" after:[kickoff, build]
milestone beta "Beta" after:[alpha, polish]
milestone review "Review" date:2026-02-09 after:alpha
milestone cut "Cut" date:2026-01-26 after:freeze
nowline v1
// icon: on every entity that takes style: (specs/rendering.md "Entity
// icons"). Each icon sits in its entity's slot, in the colour of the text it
// leads: the header title, the Platform tab and its owner glyph, the Auth
// title (on its own first line when the title fits line 2 whole), the SOX
// chip, the on-hold status in place of the dot, the 3-point size and Sam in
// the meta line, the XL size alone (text:none), the Rollout header and its
// owner glyph, Freeze and GA between diamond and label, the First wave's
// strip label and the Vendor footnote's panel entry.
config
symbol flag "Flag" unicode:"⚑" ascii:"F"
style secure
icon: shield
style locked
icon: lock
style risky
icon: warning
style hold
icon: warning
fg: #b45309
style points-icon
icon: points
style icon-only
icon: lock
text: none
style flagged
icon: flag
roadmap icons "Icon slots" start:2026-01-05 scale:1w length:12w style:secure
status on-hold "On hold" style:hold
size s3 "3" effort:1w style:points-icon
size xl "XL" effort:2w style:icon-only
label sox "SOX" style:flagged
person sam "Sam" style:secure
anchor freeze "Code freeze" date:2026-02-02 style:locked
milestone ga "GA" date:2026-03-23 style:secure
wave first "First" style:risky
swimlane platform "Platform" owner:sam style:secure
item auth "Auth hardening" duration:3w style:secure labels:[sox] wave:first
item keys "Key rotation" size:s3 owner:sam status:on-hold
item big "Big one" size:xl capacity:2
group rollout "Rollout" style:risky owner:sam
item canary "Canary" duration:2w
item fleet "Fleet" duration:2w style:locked
footnote "Vendor" on:keys style:flagged
description "Waiting on the HSM vendor contract."
nowline v1
// Fixture for a swimlane's own `after:`: the lane's first child starts no
// earlier than every element, the rest follow in order, and a child's own
// `after:` still applies on top. No arrow is drawn for a lane's `after:`.
//
// See specs/dsl.md "Dependencies and Anchoring".
roadmap r "Swimlane after" start:2026-01-05 length:12w
milestone beta "Beta" date:2026-02-02
swimlane core "Core"
item design "Design" duration:2w
item build "Build" duration:3w
// Waits for a dated milestone.
swimlane docs "Docs after Beta" after:beta
item write "Write docs" duration:2w
item publish "Publish" duration:1w
// Waits for the later of a milestone and an item; the first child's own
// after: (build) is later still, so it wins.
swimlane launch "Launch after Beta and Design" after:[beta, design]
item announce "Announce" duration:1w after:build
item follow "Follow-up" duration:1w
// Waits for work in a later lane (a forward reference).
swimlane support "Support after Training" after:training
item ready "Ready" duration:1w
swimlane enablement "Enablement"
item training "Training" duration:3w
nowline v1
// Fixture for `before:` misses. An item paints a red tail over its own
// late part, never left of the item and behind its caption. A group,
// parallel or swimlane paints the same red behind its children, from the
// cap (or its start, if later) to its end: a body, or a lane's full
// height. A child turns red only through its own `before:`.
//
// See specs/rendering.md "Before Constraints".
roadmap r "Before overruns" start:2026-01-05 length:12w
anchor freeze date:2026-02-02
// An item that starts past its cap: the tail covers the item only.
swimlane items "Items"
item design "Design" duration:3w
item build "Build" duration:2w before:freeze
item polish "Polish with a long title" duration:5w before:freeze
// A group and a parallel that overrun; only Build and Docs carry their own
// before:. The parallel starts past the cap, so its whole body is red.
swimlane containers "Group and parallel"
group api "API work" before:freeze
item a "Spec" duration:2w
item b "Build" duration:3w before:freeze
item c "Harden" duration:1w
parallel p "Docs and SDK" before:freeze
item d "Docs" duration:1w before:freeze
item e "SDK" duration:2w
// An inline date on a group draws its glyph and the overrun.
swimlane dated "Inline date"
group g "Rollout" before:2026-01-26
item r1 "Region 1" duration:2w
item r2 "Region 2" duration:2w
// A lane overrun stacked on a capacity overrun: the tint runs the lane's
// full height and the utilization underline stays on top.
swimlane docs "Docs" capacity:2 before:freeze
item w "Write docs" duration:3w
parallel
item rv "Review" duration:2w before:freeze
item tr "Translate" duration:2w capacity:2
item pub "Publish" duration:1w
nowline v1
// Wave fixture: waves are declared but no item, group or parallel is
// assigned to any of them. Nothing about waves is drawn (specs/waves.md
// §9.1): no strip, boundaries, hatch or legend, so it renders as if the
// wave lines were absent. NL.I1006 names all three waves in one message.
roadmap waves-all-empty "All waves empty" start:2026-01-05 scale:1w
wave discover "Discover"
wave build "Build and harden the platform for general availability"
wave launch "Launch"
swimlane a "Lane A"
item a1 "Item A1" duration:2w
item a2 "Item A2" duration:1w
swimlane b "Lane B"
item b1 "Item B1" duration:3w
nowline v1
// Fixture for breaks across waves (specs/break.md §9 Examples 1, 2 and 4;
// the approved waves mock). Stresses: per-stretch wave membership.
//
// What to look for when rendering this:
// - "Search rebuild" is three stretches on one row (Foundations, Launch,
// Harden), the title wrapped inside the first and the later two bare,
// joined by a dotted line along the bottom edge.
// - "Wallet integration" is ONE plain 9w bar with normal rounded corners:
// its break opens no gap (Foundations closes when the first 5w end), yet
// the bar crosses the Foundations/Build boundary because its last 4w are
// members of Build.
// - "Observability rollout" is unwaved background work: two hatched
// stretches, its caption spilled into the first gap, no wave held open.
// - Wave boundary marks cross the hatched stretches, never the gap.
roadmap breaks-waves "Breaks across several waves" start:2026-01-05 scale:1w calendar:full
wave foundations "Foundations"
wave build "Build"
wave launch "Launch"
wave harden "Harden"
swimlane platform "Platform"
item auth "Auth service split" duration:3w wave:foundations status:done
item payments "Payments API v2" duration:6w wave:build status:in-progress remaining:60%
item rate-limits "Rate limits" duration:2w wave:launch
item failover "Regional failover" duration:3w wave:harden
swimlane web "Web"
item search "Search rebuild" duration:6w wave:foundations status:in-progress
break after:2w before:launch
break after:2w before:harden
swimlane mobile "Mobile"
item wallet "Wallet integration" duration:9w wave:foundations status:in-progress
break after:5w before:build
item store "App store release" duration:4w wave:launch
// No wave: background work. before:<wave> only times the resume.
swimlane ops "Ops"
item obs "Observability rollout" duration:6w status:in-progress
break after:3w before:launch
nowline v1
// Fixture for breaks resumed by anchors (specs/break.md §9 Example 3; the
// approved anchors mock). Stresses: a pause that ends on a dated anchor.
//
// What to look for when rendering this:
// - "Warehouse migration" is three stretches on one row (2w, 2w, the last
// 1w); each pause ends exactly on its anchor line (legal, freeze).
// - Its caption spills into the first gap, and the dotted connector runs
// under it along the bottom edge.
// - "Dashboards", the next item in the lane, starts where the last
// stretch ends (Apr 20) on the same row: a caption in the first gap
// reserves nothing past the hull.
roadmap breaks-anchors "Several breaks" start:2026-01-05 scale:1w calendar:full
anchor legal date:2026-02-23
anchor freeze date:2026-04-13
swimlane platform "Platform"
item auth "Auth service split" duration:3w status:done
item payments "Payments API v2" duration:8w status:in-progress remaining:40%
item rate-limits "Rate limits" duration:2w
swimlane data "Data"
item warehouse "Warehouse migration" duration:5w status:in-progress owner:data
break after:2w before:legal
break after:2w before:freeze
item dashboards "Dashboards" duration:2w
nowline v1
// Stress fixture for breaks (specs/break.md §6, §7). Stresses: everything an
// item with breaks has to share a row with, on a business calendar drawn with
// `non-working:show`, so every stretch paints across shaded weekend bands.
//
// The pause on "Inside" is 10d, a whole number of weeks, so the Design wave
// closes on a Friday and the Build wave starts on the weekend after it, which
// engine A draws at the previous wave's end and engine C dates on the Monday.
//
// What to look for when rendering this:
// - Many stretches: "Many stretches" is six hatched stretches (background
// work) with five dotted gaps, boundary marks only across stretches.
// - Slivers: "Sliver" starts and ends with a stretch under 3 px wide, still
// drawn, never dropped, and the caption spills clear of both.
// - The three caption placements: "Inside" (title wrapped inside the first
// stretch, label chips under it), "Gap" (spilled into the first pause)
// and "Last" (the pause is too short, so it spills right of the last
// stretch and pushes the next item to the next row).
// - Capacity: the "Staffed" lane's underline reads zero load over the
// pause of "Staffed item", which holds capacity:1 beside a steady item.
// - Styled, linked, footnoted: one item with breaks carries a style, a
// link icon and a footnote; the icon and footnote sit in the first
// stretch, later stretches are bare.
// - Arrows: "Feeder" -> "Broken" lands on Broken's first stretch and
// "Broken" -> "Consumer" leaves its last, a vertical leg may cross a gap.
// - Group and parallel: items with breaks inside a group and inside a
// parallel track, the container brackets spanning the last stretch.
// - `before:`: "Late" has a red overflow tail on its LAST stretch only; the
// cap falls inside an earlier pause.
config
style loud "Loud"
bg: red
fg: navy
text: white
border: dashed
default roadmap non-working:show
roadmap break-stress "Break stress" start:2026-01-05 scale:1w calendar:business
label urgent "Urgent"
label review "Needs review"
anchor cap "Cap" date:2026-02-02
wave design "Design"
wave build "Build"
swimlane many "Many stretches"
item many-stretches "Many stretches" duration:12w
break after:2d duration:3d
break after:2d duration:3d
break after:2d duration:3d
break after:2d duration:3d
break after:2d duration:3d
swimlane slivers "Slivers"
item sliver "Sliver" duration:2w wave:design
break after:0.2d duration:1w
break before:0.2d duration:1w
swimlane captions "Caption placements"
item inside "Inside: a title that wraps within its first stretch" duration:8w wave:design labels:[urgent, review]
break after:5w duration:10d
item gap "Gap" duration:6w wave:build status:in-progress
break after:1w duration:3w
item last "Last" duration:3w wave:build
break after:1w duration:1d
item after-last "After last" duration:2w wave:build
swimlane staffed "Staffed" capacity:2
parallel
item staffed-item "Staffed item" duration:4w capacity:1 wave:design
break after:1w duration:2w
item steady "Steady" duration:4w capacity:1 wave:design
swimlane styled "Styled, linked, footnoted"
item decorated "Decorated item" duration:6w style:loud link:https://example.com/plan wave:design
break after:3w duration:2w
swimlane feed "Arrows in"
item feeder "Feeder" duration:2w wave:design
swimlane flow "Arrows through"
item broken "Broken" duration:5w after:feeder wave:design
break after:2d duration:2w
swimlane sink "Arrows out"
item consumer "Consumer" duration:2w after:broken wave:build
swimlane containers "Group and parallel"
group handoff "Handoff"
item in-group "In a group" duration:4w wave:design
break after:1w duration:1w
item next-in-group "Next" duration:1w wave:design
parallel tracks "Tracks"
item in-track "In a track" duration:4w wave:build
break after:1w duration:1w
item other-track "Other track" duration:5w wave:build
swimlane capped "Overflow"
item late "Late" duration:5w before:cap wave:design
break after:1w duration:2w
footnote fn "Pauses are working weeks" on:decorated
nowline v1
// Fixture for before: on a group or parallel: the container overruns when
// its end in time (a group's last child end, a parallel's latest track end)
// passes the earliest cap it names (specs/dsl.md "Dependencies and
// Anchoring", specs/rendering.md "Before Constraints").
//
// What to look for when rendering this:
// - "Discovery" (date cap, Feb 2) overruns by two weeks: red from Feb 2
// to its end, captioned "past 2026-02-02".
// - "Build" caps on "Launch prep", declared in a later lane (a forward
// reference): red from "Launch prep"'s start (Mar 2) to Build's end.
// - "Rollout" (anchor cap, Mar 30): only the EU track passes the cap, so
// the parallel overruns from Mar 30 to EU's end; the US track ends
// before it.
// - "Hardening" ends on Mar 16, before its cap: nothing red.
roadmap caps "Container before: caps" start:2026-01-05 scale:1w calendar:full
anchor freeze "Freeze" date:2026-03-30
swimlane product "Product"
group discovery "Discovery" before:2026-02-02
item research "Research" duration:2w
item interviews "Interviews" duration:4w
group build "Build" before:launch-prep
item api "API" duration:3w
item ui "UI" duration:4w
swimlane platform "Platform"
parallel rollout "Rollout" before:freeze
item us "US" duration:8w
item eu "EU" duration:14w
swimlane qa "QA"
item plan "Test plan" duration:6w
group hardening "Hardening" before:2026-04-06
item soak "Soak" duration:4w
swimlane gtm "Go-to-market"
item copy "Copy" duration:8w
item launch-prep "Launch prep" duration:2w
nowline v1
// Custom colors (specs/dsl.md § Config Section, Colors): one source, a value
// per theme. Rendered three times: custom-colors (light), custom-colors-dark
// and custom-colors-grayscale. `brand` sets all three themes. `brand-ink` sets
// light and dark only, so under grayscale the chip and bar keep their default
// text color. `blocked` is a fixed hex under light and the dark theme's own
// red under dark (a named value); it and `blocked-ink` keep the defaults
// under grayscale, so the bar stays readable there.
// `dark-edge` sets dark only: item borders turn yellow under dark and keep
// the theme default everywhere else.
config
color brand "Customer brand" light:#2f855a dark:#48bb78 grayscale:#c8c8c8
color brand-ink light:white dark:#0b1220
color blocked light:#b91c1c dark:red
color blocked-ink light:white dark:#0b1220
color dark-edge dark:yellow
style brand-chip "Customer"
bg: brand
fg: brand
text: brand-ink
style blocked-chip
bg: blocked
text: blocked-ink
style brand-bar
bg: brand
text: brand-ink
default item fg:dark-edge
roadmap custom-colors "Custom colors" start:2026-01-05 scale:1w
label acme "Acme" style:brand-chip
label stuck "Blocked" style:blocked-chip
swimlane platform "Platform"
item sso "SSO for Acme" duration:2w labels:[acme] status:done
item audit "Audit log" duration:2w labels:[stuck] status:blocked
item portal "Customer portal" duration:3w style:brand-bar
item docs "Docs" duration:1w
nowline v1
// Custom colors (specs/dsl.md § Config Section, Colors): one source, a value
// per theme. Rendered three times: custom-colors (light), custom-colors-dark
// and custom-colors-grayscale. `brand` sets all three themes. `brand-ink` sets
// light and dark only, so under grayscale the chip and bar keep their default
// text color. `blocked` is a fixed hex under light and the dark theme's own
// red under dark (a named value); it and `blocked-ink` keep the defaults
// under grayscale, so the bar stays readable there.
// `dark-edge` sets dark only: item borders turn yellow under dark and keep
// the theme default everywhere else.
config
color brand "Customer brand" light:#2f855a dark:#48bb78 grayscale:#c8c8c8
color brand-ink light:white dark:#0b1220
color blocked light:#b91c1c dark:red
color blocked-ink light:white dark:#0b1220
color dark-edge dark:yellow
style brand-chip "Customer"
bg: brand
fg: brand
text: brand-ink
style blocked-chip
bg: blocked
text: blocked-ink
style brand-bar
bg: brand
text: brand-ink
default item fg:dark-edge
roadmap custom-colors "Custom colors" start:2026-01-05 scale:1w
label acme "Acme" style:brand-chip
label stuck "Blocked" style:blocked-chip
swimlane platform "Platform"
item sso "SSO for Acme" duration:2w labels:[acme] status:done
item audit "Audit log" duration:2w labels:[stuck] status:blocked
item portal "Customer portal" duration:3w style:brand-bar
item docs "Docs" duration:1w
nowline v1
// Custom colors (specs/dsl.md § Config Section, Colors): one source, a value
// per theme. Rendered three times: custom-colors (light), custom-colors-dark
// and custom-colors-grayscale. `brand` sets all three themes. `brand-ink` sets
// light and dark only, so under grayscale the chip and bar keep their default
// text color. `blocked` is a fixed hex under light and the dark theme's own
// red under dark (a named value); it and `blocked-ink` keep the defaults
// under grayscale, so the bar stays readable there.
// `dark-edge` sets dark only: item borders turn yellow under dark and keep
// the theme default everywhere else.
config
color brand "Customer brand" light:#2f855a dark:#48bb78 grayscale:#c8c8c8
color brand-ink light:white dark:#0b1220
color blocked light:#b91c1c dark:red
color blocked-ink light:white dark:#0b1220
color dark-edge dark:yellow
style brand-chip "Customer"
bg: brand
fg: brand
text: brand-ink
style blocked-chip
bg: blocked
text: blocked-ink
style brand-bar
bg: brand
text: brand-ink
default item fg:dark-edge
roadmap custom-colors "Custom colors" start:2026-01-05 scale:1w
label acme "Acme" style:brand-chip
label stuck "Blocked" style:blocked-chip
swimlane platform "Platform"
item sso "SSO for Acme" duration:2w labels:[acme] status:done
item audit "Audit log" duration:2w labels:[stuck] status:blocked
item portal "Customer portal" duration:3w style:brand-bar
item docs "Docs" duration:1w
nowline v1
// Fixture for equal bar heights per row (specs/rendering.md § Item Bars,
// "Row bar heights"). Bars that sit side by side share one height: a
// shorter bar grows downward to the tallest bar on its row.
//
// What to look for when rendering this:
// - A: "Billing" (one line, caption spilled right) is as tall as the
// wrapped "Capture Flywheel TBD 1, TBD 2" beside it, 72 px.
// - B: the same, with the wrapped bar inside a group: Billing lines up
// with the group's first bar, top and bottom.
// - C: "Technology Selection" sits level with the iOS "SDK" bar, not with
// the iOS header, and is taller than it, so the iOS row grows to 72 px
// and the Android track moves down 16 px. The Android bars, a separate
// stacked row, stay 56 px.
roadmap row-equal-heights "Row equal heights" start:2026-04-06 scale:2w calendar:business
swimlane same-track "A: same track"
item "Capture Flywheel TBD 1, TBD 2" duration:3w status:in-progress
item "Billing" duration:1w status:planned
swimlane after-tall-group "B: short item after group"
group onboarding "Onboarding"
item "Capture Flywheel TBD 1, TBD 2" duration:3w status:in-progress
item "Billing" duration:1w status:planned
swimlane tall-after-parallel "C: tall item after parallel"
parallel
group ios "iOS"
item "SDK" duration:2w status:done
item "Shell" duration:2w status:planned
group android "Android"
item "SDK" duration:2w status:done
item "Shell" duration:2w status:planned
item "Technology Selection" duration:2w status:planned