Changes in c807a08

c807a08 Use a whole-week pause in break-stress (#312)

main workflow run

vs 27f8746 Seed wave starts from below under non-working:show (#310)

1 source edit71 unchanged1 volatile

Full gallery

break-stress Tests source edit

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 12d, not a whole number of weeks, so a pause that// ends mid-week is stressed too.//// 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.configstyle loud "Loud" bg: red fg: navy text: white border: dasheddefault roadmap non-working:showroadmap break-stress "Break stress" start:2026-01-05 scale:1w calendar:businesslabel urgent "Urgent"label review "Needs review"anchor cap "Cap" date:2026-02-02wave 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:3dswimlane slivers "Slivers" item sliver "Sliver" duration:2w wave:design break after:0.2d duration:1w break before:0.2d duration:1wswimlane 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:12d 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:buildswimlane 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:designswimlane styled "Styled, linked, footnoted" item decorated "Decorated item" duration:6w style:loud link:https://example.com/plan wave:design break after:3w duration:2wswimlane feed "Arrows in" item feeder "Feeder" duration:2w wave:designswimlane flow "Arrows through" item broken "Broken" duration:5w after:feeder wave:design break after:2d duration:2wswimlane sink "Arrows out" item consumer "Consumer" duration:2w after:broken wave:buildswimlane 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:buildswimlane capped "Overflow" item late "Late" duration:5w before:cap wave:design break after:1w duration:2wfootnote fn "Pauses are working weeks" on:decorated
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.configstyle loud "Loud" bg: red fg: navy text: white border: dasheddefault roadmap non-working:showroadmap break-stress "Break stress" start:2026-01-05 scale:1w calendar:businesslabel urgent "Urgent"label review "Needs review"anchor cap "Cap" date:2026-02-02wave 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:3dswimlane slivers "Slivers" item sliver "Sliver" duration:2w wave:design break after:0.2d duration:1w break before:0.2d duration:1wswimlane 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:buildswimlane 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:designswimlane styled "Styled, linked, footnoted" item decorated "Decorated item" duration:6w style:loud link:https://example.com/plan wave:design break after:3w duration:2wswimlane feed "Arrows in" item feeder "Feeder" duration:2w wave:designswimlane flow "Arrows through" item broken "Broken" duration:5w after:feeder wave:design break after:2d duration:2wswimlane sink "Arrows out" item consumer "Consumer" duration:2w after:broken wave:buildswimlane 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:buildswimlane capped "Overflow" item late "Late" duration:5w before:cap wave:design break after:1w duration:2wfootnote fn "Pauses are working weeks" on:decorated
  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 12d, not a whole number of weeks, so a pause that- // ends mid-week is stressed too.+ // 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:12d+     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