break-stress unchanged

Break stress

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.

theme: light now: 2026-02-09

de83fa2 Render Action markdown blocks beside their markdown file (#331)

Identical to 60b3b95.

tests/break-stress.nowline
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