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
// 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
// Wave fixture: a roadmap:isolate include that takes part in the barrier.
// Region ids stay private, but the waves are global: pf-scale waits for the
// region's ios-offline. Child: waves-isolate-team.nowline (same waves).
include "./waves-isolate-team.nowline" roadmap:isolate
roadmap waves-isolate "Isolated region and waves" start:2026-01-05 scale:1w calendar:full
wave w1 "Wave 1"
wave w2 "Wave 2"
swimlane platform "Platform"
item pf-api "Platform API" duration:2w wave:w1
item pf-scale "Scale out" duration:2w wave:w2
tests/waves-isolate-team.nowline
nowline v1
// Child of waves-isolate.nowline. Re-declares the same waves so it renders
// on its own and agrees with the parent.
roadmap ios-app "iOS" start:2026-01-05 scale:1w calendar:full
wave w1 "Wave 1"
wave w2 "Wave 2"
swimlane ios "iOS"
item ios-offline "Offline mode" duration:4w wave:w1
item ios-push "Push" duration:1w wave:w2
nowline v1
// Fixture for collapsed breaks (specs/break.md §4.2). Stresses: a break that
// opens no gap draws nothing, and moves no pixels. Each item below has a
// break, and each draws as ONE plain bar with normal rounded corners, no
// seam, no dotted line and no extra tooltip line, exactly as the "Plain bar"
// control does. Items outside a wave draw hatched, as background work.
//
// What to look for when rendering this:
// - Every lane is one plain bar. A pause that covers the start only
// delays it: "Pause over the start" begins a week late, "Two pauses
// over the start" two weeks late (the second extends the first).
// - "Wallet integration" crosses the Foundations/Build boundary as one bar:
// its break collapses, yet the last 4w belong to Build (specs/break.md
// Example 2), so Foundations closes at 5w, not 9w.
// - "Tail hold" stays inside Foundations: a pause that names a wave but
// comes after all the work moves nothing.
//
// What collapses:
// offset past the work break after:10w duration:1w
// stop at the end break after:4w duration:1w
// resume before the stop break after:2w before:2026-01-12
// pause over the start break before:4w duration:1w
// pauses over the start break before:4w duration:1w (twice: extends)
// a pause at the start of an after: date
roadmap break-collapse "Collapsed breaks" start:2026-01-05 scale:1w calendar:full
wave foundations "Foundations"
wave build "Build"
swimlane control "Plain bar"
item plain "Plain bar" duration:4w
swimlane past "Offset past the work"
item past-work "Offset past the work" duration:4w
break after:10w duration:1w
swimlane at-end "Stop at the end"
item stop-end "Stop at the end" duration:4w
break after:4w duration:1w
swimlane before-stop "Resume before the stop"
item resume-early "Resume before the stop" duration:4w
break after:2w before:2026-01-12
swimlane over-start "Pause over the start"
item start-gap "Pause over the start" duration:4w
break before:4w duration:1w
item two-windows "Two pauses over the start" duration:4w
break before:4w duration:1w
break before:4w duration:1w
swimlane dated-start "Pause over a dated start"
item dated "Pause over a dated start" duration:3w after:2026-01-19
break duration:1w before:2026-01-26
swimlane moves "Moves membership"
item wallet "Wallet integration" duration:9w wave:foundations status:in-progress
break after:5w before:build
swimlane stays "Pause after all the work"
item tail "Tail hold" duration:3w wave:foundations
break after:3w before:build
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
// 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