nowline v1
// Fixture for forward references: an after: or before: naming work that is
// declared in a later swimlane, or in a later track of the same parallel.
// Lane order is presentation, so layout honours them as if the lanes were
// declared the other way round (specs/dsl.md "Dependencies and Anchoring").
//
// What to look for when rendering this:
// - "Integrate" starts the week "Partner API" ends (Mar 16), not right
// after "Prototype", and its arrow from "Partner API" runs forward in
// time, never back to an earlier column.
// - "Docs" (first parallel track) starts when "SDK" (second track) ends.
// - "Kickoff deck" (first lane) ends two weeks past "Contract"'s start:
// its red overflow tail runs from "Contract"'s left edge (Mar 16) to
// the deck's end.
roadmap forward "Forward references" start:2026-01-05 scale:1w calendar:full
swimlane gtm "Go-to-market"
item deck "Kickoff deck" duration:12w before:contract
swimlane data "Data"
item prototype "Prototype" duration:2w
item integrate "Integrate" duration:2w after:partner-api
parallel release
item docs "Docs" duration:1w after:sdk
item sdk "SDK" duration:3w
swimlane partner "Partner"
item partner-api "Partner API" duration:10w
item contract "Contract" duration:2w
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