Changes in 1b1ff87

1b1ff87 Add noreferrer to every rendered link's rel (#303)

main workflow run

vs f8bd471 Check size: refs in included files (#302)

64 renderer drift1 volatile

Full gallery

minimal Examples renderer drift

examples/minimal.nowline
nowline v1

roadmap minimal "Starter" start:2026-01-05 scale:2w author:"Jane Doe"

swimlane engineering "Engineering"
  parallel concurrent-block style:concurrent
    group research-group "Research"
      item research "Research"  duration:3w status:done
      item design   "Design"    duration:2w status:in-progress remaining:5d
      item build    "Build"     duration:3w status:planned
    group release-group "Release"
      item release  "Release"   duration:1w status:planned
      item deploy   "Deploy"    duration:1w status:planned

minimal.fr Examples renderer drift

examples/minimal.fr.nowline
nowline v1 locale:fr-CA

roadmap minimal "Démarrage" start:2026-01-05 scale:2w author:"Jane Doe"

swimlane ingenierie "Ingénierie"
  item recherche "Recherche"   duration:3w status:done
  item conception "Conception" duration:2w status:in-progress remaining:5d
  item realisation "Réalisation" duration:3w status:planned

continuation Examples renderer drift

examples/continuation.nowline
nowline v1

config

default item shadow:subtle

roadmap r "Spec example" start:2026-01-05 scale:1w calendar:business

anchor kickoff date:2026-01-05

swimlane platform "Platform"
  item auth "Auth refactor" duration:2w status:in-progress \
    owner:sam labels:[security,enterprise] \
    link:https://github.com/acme/auth/issues/123 \
    style:flagged

capacity Examples renderer drift

examples/capacity.nowline
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

sizing Examples renderer drift

examples/sizing.nowline
nowline v1

// Lean example: T-shirt sizes plus one "crash a job" — an XL burns one
// month of effort but lands as a 2w bar with capacity:2. Full matrix of
// size + capacity combinations lives in tests/size-and-capacity.nowline.

roadmap web-q1 "Web Platform Q1" start:2026-01-05 length:6w

size md effort:1w
size lg effort:2w
size xl effort:1m

swimlane web "Web platform"
  item header-refresh "Header refresh" size:md
  // XL effort (1m) divided by capacity 2 → 2w bar on the timeline.
  item auth-refactor "Auth refactor" size:xl capacity:2
  item search-v2 "Search v2" size:lg after:header-refresh

teams Examples renderer drift

examples/teams.nowline
nowline v1

roadmap teams-2026 "Teams Roadmap 2026" start:2026-01-05

person sam "Sam Chen" link:https://github.com/samchen
person jen "Jennifer Wu"
person alex "Alex Rivera"

team engineering "Engineering"
  team platform-team "Platform Team"
    person sam
    person jen
  team mobile-team "Mobile Team"
    person alex

anchor kickoff date:2026-01-06
anchor mid-year date:2026-07-01
anchor eoy "End of Year" date:2026-12-15

swimlane platform owner:platform-team
  item auth "Auth refactor" duration:1m after:kickoff owner:sam status:done
  item api-v2 "API v2" duration:2w owner:jen status:in-progress remaining:40%

swimlane mobile owner:mobile-team
  item offline "Offline mode" duration:1m after:kickoff owner:alex status:at-risk remaining:60%
  item push "Push notifications" duration:2w owner:alex

milestone beta "Beta" after:[auth, api-v2]
milestone ga "GA" date:2026-12-01 after:[offline, push]

footnote eng-capacity "Mobile team capacity risk" on:mobile
  description "Mobile team is understaffed through Q2."

footnote vendor-dep "Vendor dependency" on:[auth, api-v2]
  description "Blocked until vendor contract is signed."

product Examples renderer drift

examples/product.nowline
nowline v1

config

scale
  name: weeks
  label-every: 2
  label: "W{n}"

calendar
  days-per-week: 5
  days-per-month: 22
  days-per-quarter: 65
  days-per-year: 260

style enterprise-style "Enterprise readiness"
  bg: blue
  fg: navy
  text: white
  border: solid

style risky
  border: dashed
  fg: orange

style subtle
  bg: gray

default item shadow:subtle
default swimlane padding:sm spacing:none
default roadmap padding:md header-height:md font:sans
default parallel bracket:none

roadmap platform-2026 "Platform 2026" author:"Acme Engineering" start:2026-01-05 calendar:custom

person sam "Sam Chen"
person jen "Jennifer Wu"

size xs effort:1d
size sm effort:3d
size md effort:1w
size lg effort:2w
size xl effort:1m

status awaiting-review
status in-review

label enterprise "Enterprise readiness" style:enterprise-style
label security "Security hardening" style:enterprise-style
label low-confidence style:risky

anchor kickoff date:2026-01-06
anchor code-freeze "Code Freeze" date:2026-05-01
anchor ga-date "GA Date" date:2026-06-01

swimlane platform
  item auth-refactor "Auth refactor" size:lg after:kickoff status:done owner:sam labels:enterprise link:https://github.com/acme/platform/issues/123
  parallel after:auth-refactor
    group audit-track "Audit Track"
      item audit-log "Audit log v2" size:xl before:code-freeze remaining:30% labels:[enterprise, security]
        description "Comprehensive audit trail for all admin actions"
      item audit-ui "Audit UI" size:md
    item sso "SSO plugins" size:md labels:[enterprise, low-confidence]
  item platform-qa "Platform QA" size:sm

swimlane mobile
  item offline "Offline mode" size:lg after:kickoff owner:jen status:at-risk remaining:60% link:https://github.com/acme/mobile/pull/87
  item push-v2 "Push notifications v2" size:md

milestone beta "Beta" after:auth-refactor
milestone ga-launch "GA launch" date:2026-06-01 after:[auth-refactor, audit-log]

footnote vendor-footnote "Vendor dependency" on:audit-log
  description "Blocked until vendor contract is signed. Expected March resolution."

long Examples renderer drift

examples/long.nowline
nowline v1

config

scale
  name: weeks
  label-every: 4
  label: "W{n}"

style tech-debt-style
  bg: gray
  text: white

style near-term
  bg: blue
  text: white
  border: solid

style long-term
  bg: green
  text: white
  border: solid

default item shadow:subtle
default swimlane padding:sm spacing:none
default roadmap padding:md header-height:md font:sans timeline-position:both
default parallel bracket:none

roadmap long-2026 "Long Example 2026" author:"Acme Engineering" start:2026-01-05

size xs effort:1d
size sm effort:3d
size md effort:1w
size lg effort:2w
size xl effort:1m

label tech-debt "Tech debt" style:tech-debt-style
label agent "Agent" style:near-term
label self-service "Self-service" style:long-term

anchor kickoff date:2026-01-06
anchor mid-year "Mid-year Review" date:2026-07-01
anchor eoy "End of Year" date:2026-12-14

swimlane platform
  item pf-auth-refactor "Auth refactor" size:lg after:kickoff status:done labels:tech-debt
  item pf-service-mesh "Service mesh" size:xl after:pf-auth-refactor status:in-progress remaining:40% labels:agent
  item pf-api-gateway "API gateway" size:lg after:pf-service-mesh labels:agent
  item pf-events "Event bus" size:md
  item pf-caching "Caching tier" size:md
  item pf-telemetry "Telemetry pipe" size:md labels:tech-debt
  item pf-rate-limit "Rate limit rewrite" size:sm
  item pf-logs "Log ingestion" size:sm
  item pf-metrics "Metrics v2" size:md
  item pf-tracing "Distributed tracing" size:md labels:agent
  parallel after:pf-tracing
    group agent-platform-track "Agent platform track"
      item pf-agent-runtime "Agent runtime" size:md labels:agent
      item pf-agent-sdk "Agent SDK" size:md labels:agent
      item pf-agent-auth "Agent auth" size:md labels:agent
      item pf-agent-observability "Agent observability" size:md labels:[agent, tech-debt]
      item pf-agent-eval "Agent eval harness" size:md labels:agent
    group self-service-framework "Self-service framework"
      item pf-ss-catalog "Service catalog" size:md labels:self-service
      item pf-ss-onboarding "Self-service onboarding" size:md labels:self-service
      item pf-ss-templates "Project templates" size:md labels:self-service
      item pf-ss-quotas "Quota management" size:md labels:self-service
      item pf-ss-billing "Self-service billing" size:md labels:self-service

swimlane ios
  item ios-offline "Offline mode" size:lg after:kickoff status:at-risk remaining:60%
  item ios-push "Push notifications" size:md
  item ios-widgets "Home-screen widgets" size:md labels:tech-debt
  item ios-deep-link "Deep linking" size:sm
  item ios-performance "Performance pass" size:md
  item ios-share "Share sheet" size:sm
  item ios-biometric "Biometric auth" size:md
  item ios-agent-surface "Agent entry point" size:md labels:agent
  item ios-agent-voice "Agent voice mode" size:md labels:agent
  item ios-watch "Watch companion" size:lg
  item ios-carplay "CarPlay support" size:lg
  item ios-ipad "iPad adaptation" size:xl
  item ios-a11y "Accessibility pass" size:md
  item ios-localization "Localization pass" size:md
  item ios-onboarding "Onboarding v2" size:md
  item ios-camera "Camera refactor" size:md labels:tech-debt
  item ios-notifications "Notification center" size:sm
  item ios-settings "Settings revamp" size:md
  item ios-crash "Crash hardening" size:sm
  item ios-agent-chat "Agent chat UI" size:md labels:agent

swimlane android
  item and-offline "Offline sync" size:lg after:kickoff status:in-progress remaining:55%
  item and-push "Push notifications" size:md
  item and-material-you "Material You themes" size:md
  item and-deep-link "Deep linking" size:sm
  item and-performance "Performance pass" size:md labels:tech-debt
  item and-biometric "Biometric auth" size:md
  item and-agent-surface "Agent entry point" size:md labels:agent
  item and-agent-voice "Agent voice mode" size:md labels:agent
  item and-wear "Wear OS companion" size:lg
  item and-auto "Android Auto" size:lg
  item and-tablet "Tablet adaptation" size:xl
  item and-a11y "Accessibility pass" size:md
  item and-localization "Localization pass" size:md
  item and-onboarding "Onboarding v2" size:md
  item and-camera "Camera refactor" size:md labels:tech-debt
  item and-notifications "Notification center" size:sm
  item and-settings "Settings revamp" size:md
  item and-crash "Crash hardening" size:sm
  item and-widgets "Glanceable widgets" size:md
  item and-agent-chat "Agent chat UI" size:md labels:agent

swimlane web
  item web-spa-upgrade "SPA framework upgrade" size:xl after:kickoff status:in-progress remaining:30% labels:tech-debt
  item web-design-system "Design system v3" size:lg
  item web-a11y "Accessibility pass" size:md
  item web-perf-budget "Perf budget tooling" size:md
  item web-ssr "SSR rollout" size:lg
  item web-edge-cache "Edge caching" size:md
  item web-agent-console "Agent console" size:md labels:agent
  item web-agent-playground "Agent playground" size:md labels:agent
  item web-ss-portal "Self-service portal" size:lg labels:self-service
  item web-ss-docs "Self-service docs" size:md labels:self-service
  item web-ss-onboarding "Self-service onboarding" size:md labels:self-service
  item web-auth-ui "Auth UI refresh" size:md
  item web-dashboards "Dashboards v2" size:md
  item web-billing-ui "Billing UI" size:md
  item web-notifications "In-app notifications" size:sm
  item web-localization "Localization pass" size:md
  item web-settings "Settings revamp" size:md
  item web-search "Search v2" size:md
  item web-admin "Admin console" size:md
  item web-pwa "PWA install flow" size:sm

swimlane data
  item data-warehouse "Warehouse migration" size:xl after:kickoff status:in-progress remaining:50% labels:tech-debt
  item data-streaming "Streaming pipeline" size:lg labels:agent
  item data-catalog "Data catalog" size:md
  item data-lineage "Data lineage" size:md
  item data-governance "Governance policies" size:md
  item data-privacy "Privacy tooling" size:md
  item data-agent-features "Agent feature store" size:md labels:agent
  item data-agent-eval "Agent eval dataset" size:md labels:agent
  item data-ss-exports "Self-service exports" size:md labels:self-service
  item data-ss-sql "Self-service SQL editor" size:lg labels:self-service
  item data-reverse-etl "Reverse ETL" size:md
  item data-dq-alerts "Data quality alerts" size:md
  item data-pii-scan "PII scanner" size:md
  item data-contract "Data contracts" size:md
  item data-bi-integration "BI integration" size:md
  item data-notebook "Notebook hosting" size:md
  item data-replication "Cross-region replication" size:lg
  item data-metadata "Metadata service" size:md
  item data-backfills "Backfill tooling" size:md
  item data-ml-registry "ML registry" size:md

swimlane science
  item sci-retrieval "Retrieval rewrite" size:lg after:kickoff labels:agent
  item sci-ranker "Ranker v2" size:md labels:agent
  item sci-embedding "Embedding model" size:lg labels:agent
  item sci-prompt-lib "Prompt library" size:sm labels:agent
  item sci-eval-bench "Eval benchmarks" size:md labels:agent
  item sci-red-team "Red-team suite" size:md
  item sci-hallucination "Hallucination guardrails" size:md labels:agent
  item sci-distillation "Model distillation" size:lg labels:tech-debt
  item sci-guardrails "Safety guardrails" size:md
  item sci-finetune "Fine-tune pipeline" size:md
  item sci-feedback "Feedback loop" size:md
  item sci-ab-tests "A/B eval harness" size:md
  item sci-routing "Model routing" size:md
  item sci-caching "Inference cache" size:sm
  item sci-latency "Latency optimization" size:md
  item sci-memory "Long-term memory" size:md labels:agent
  item sci-tools "Tool-use framework" size:md labels:agent
  item sci-multimodal "Multimodal pipeline" size:lg
  item sci-cost "Cost optimization" size:md
  item sci-refresh "Data refresh cadence" size:sm

swimlane security
  item sec-audit-log "Audit log v2" size:xl after:kickoff status:at-risk remaining:25% labels:tech-debt
  item sec-sso "SSO hardening" size:lg
  item sec-mfa "MFA rollout" size:md
  item sec-rbac "RBAC v2" size:lg
  item sec-secrets "Secrets manager migration" size:md
  item sec-keys "Key rotation" size:md
  item sec-csp "CSP tightening" size:sm labels:tech-debt
  item sec-waf "WAF rules" size:md
  item sec-pentest-q1 "Q1 pentest response" size:md
  item sec-pentest-q3 "Q3 pentest response" size:md
  item sec-compliance-soc2 "SOC 2 Type II" size:lg
  item sec-compliance-iso "ISO 27001" size:xl
  item sec-vuln-scan "Vuln scanner rollout" size:md
  item sec-dep-scan "Dependency scanning" size:sm
  item sec-incident-runbooks "Incident runbooks" size:md
  item sec-siem "SIEM onboarding" size:lg
  item sec-zero-trust "Zero-trust rollout" size:lg
  item sec-device-posture "Device posture" size:md
  item sec-bug-bounty "Bug bounty program" size:md
  item sec-training "Security training" size:sm

swimlane infra
  item infra-k8s "Kubernetes upgrade" size:lg after:kickoff status:done labels:tech-debt
  item infra-ci "CI pipeline rewrite" size:lg labels:tech-debt
  item infra-cost "Cost reduction" size:md
  item infra-multi-region "Multi-region rollout" size:xl
  item infra-dr "Disaster recovery" size:lg
  item infra-sre-runbooks "SRE runbooks" size:md
  item infra-observability "Observability stack" size:md
  item infra-tracing "Tracing backbone" size:md
  item infra-log-pipeline "Log pipeline" size:md
  item infra-metrics "Metrics backbone" size:md
  item infra-chaos "Chaos engineering" size:md
  item infra-backup "Backup/restore audit" size:sm
  item infra-tf-modules "Terraform module library" size:md
  item infra-secrets "Secrets plumbing" size:sm
  item infra-network "Network redesign" size:lg
  item infra-dns "DNS hardening" size:sm
  item infra-registry "Internal registry" size:md
  item infra-cdn "CDN strategy" size:md
  item infra-iac-drift "IaC drift detection" size:md
  item infra-runtime "Runtime modernization" size:lg

milestone beta "Beta" after:[pf-service-mesh, web-spa-upgrade]
milestone ga-launch "GA Launch" date:2026-12-15 after:[pf-api-gateway, sec-audit-log, data-warehouse]

footnote vendor-dep "Vendor dependency" on:sec-audit-log
  description "Blocked until vendor contract is signed. Expected March resolution."

footnote agent-rollout "Agent platform rollout" on:[pf-service-mesh, pf-agent-runtime, sci-retrieval]
  description "Shared program milestone across platform and science for the agent launch."

nested Examples renderer drift

examples/nested.nowline
nowline v1

include "./nested/platform.nowline" roadmap:isolate
include "./nested/ios.nowline" roadmap:isolate
include "./nested/android.nowline" roadmap:isolate
include "./nested/web.nowline" roadmap:isolate
include "./nested/data.nowline" roadmap:isolate

config

scale
  name: weeks
  label-every: 4
  label: "W{n}"

style tech-debt-style
  bg: gray
  text: white

style near-term
  bg: blue
  text: white
  border: solid

style long-term
  bg: green
  text: white
  border: solid

default item shadow:subtle
default swimlane padding:sm spacing:none
default roadmap padding:md header-height:md font:sans

roadmap nested-2026 "Nested Example 2026" author:"Acme Security" start:2026-01-05

size sm effort:3d
size md effort:1w
size lg effort:2w
size xl effort:1m

label tech-debt "Tech debt" style:tech-debt-style
label agent "Agent" style:near-term
label self-service "Self-service" style:long-term

anchor kickoff date:2026-01-06
anchor eoy "End of Year" date:2026-12-14

swimlane security
  item sec-audit-log "Audit log v2" size:xl after:kickoff status:at-risk remaining:25% labels:tech-debt
  item sec-sso "SSO hardening" size:lg
  item sec-mfa "MFA rollout" size:md
  item sec-rbac "RBAC v2" size:lg
  item sec-agent-auth "Agent auth hardening" size:md labels:agent
  item sec-agent-secrets "Agent secrets isolation" size:md labels:agent
  item sec-secrets "Secrets manager migration" size:md
  item sec-compliance-soc2 "SOC 2 Type II" size:lg
  item sec-zero-trust "Zero-trust rollout" size:lg
  item sec-dep-scan "Dependency scanning" size:sm labels:tech-debt

milestone security-ga "Security GA" date:2026-12-01 after:[sec-audit-log, sec-compliance-soc2]

footnote vendor-dep "Vendor dependency" on:sec-audit-log
  description "Blocked until vendor contract is signed. Expected March resolution."
examples/nested/platform.nowline
nowline v1

config

scale
  name: weeks
  label-every: 4
  label: "W{n}"

style tech-debt-style
  bg: gray
  text: white

style near-term
  bg: blue
  text: white
  border: solid

style long-term
  bg: green
  text: white
  border: solid

default item shadow:subtle
default swimlane padding:sm spacing:none

roadmap platform-nested "Platform (nested)" author:"Platform Team" start:2026-01-05

size md effort:1w
size lg effort:2w
size xl effort:1m

label tech-debt "Tech debt" style:tech-debt-style
label agent "Agent" style:near-term
label self-service "Self-service" style:long-term

anchor kickoff date:2026-01-06

swimlane platform
  item pf-auth-refactor "Auth refactor" size:lg after:kickoff status:done labels:tech-debt
  item pf-service-mesh "Service mesh" size:xl after:pf-auth-refactor status:in-progress remaining:40% labels:agent
  item pf-api-gateway "API gateway" size:lg after:pf-service-mesh labels:agent
  item pf-events "Event bus" size:md
  item pf-telemetry "Telemetry pipe" size:md labels:tech-debt
  item pf-agent-runtime "Agent runtime" size:md labels:agent
  item pf-agent-sdk "Agent SDK" size:md labels:agent
  item pf-ss-catalog "Service catalog" size:md labels:self-service
  item pf-ss-onboarding "Self-service onboarding" size:md labels:self-service
  item pf-ss-billing "Self-service billing" size:md labels:self-service

milestone pf-beta "Platform Beta" after:[pf-service-mesh, pf-agent-runtime]
examples/nested/ios.nowline
nowline v1

config

scale
  name: weeks
  label-every: 4
  label: "W{n}"

style tech-debt-style
  bg: gray
  text: white

style near-term
  bg: blue
  text: white
  border: solid

default item shadow:subtle
default swimlane padding:sm spacing:none

roadmap ios-nested "iOS (nested)" author:"iOS Team" start:2026-01-05

size sm effort:3d
size md effort:1w
size lg effort:2w

label tech-debt "Tech debt" style:tech-debt-style
label agent "Agent" style:near-term

anchor kickoff date:2026-01-06

swimlane ios
  item ios-offline "Offline mode" size:lg after:kickoff status:at-risk remaining:60%
  item ios-push "Push notifications" size:md
  item ios-widgets "Home-screen widgets" size:md labels:tech-debt
  item ios-agent-surface "Agent entry point" size:md labels:agent
  item ios-agent-voice "Agent voice mode" size:md labels:agent
  item ios-performance "Performance pass" size:md
  item ios-onboarding "Onboarding v2" size:md
  item ios-camera "Camera refactor" size:md labels:tech-debt
  item ios-crash "Crash hardening" size:sm
  item ios-agent-chat "Agent chat UI" size:md labels:agent

milestone ios-beta "iOS Beta" after:[ios-offline, ios-agent-chat]
examples/nested/android.nowline
nowline v1

config

scale
  name: weeks
  label-every: 4
  label: "W{n}"

style tech-debt-style
  bg: gray
  text: white

style near-term
  bg: blue
  text: white
  border: solid

default item shadow:subtle
default swimlane padding:sm spacing:none

roadmap android-nested "Android (nested)" author:"Android Team" start:2026-01-05

size sm effort:3d
size md effort:1w
size lg effort:2w

label tech-debt "Tech debt" style:tech-debt-style
label agent "Agent" style:near-term

anchor kickoff date:2026-01-06

swimlane android
  item and-offline "Offline sync" size:lg after:kickoff status:in-progress remaining:55%
  item and-push "Push notifications" size:md
  item and-material-you "Material You themes" size:md
  item and-performance "Performance pass" size:md labels:tech-debt
  item and-agent-surface "Agent entry point" size:md labels:agent
  item and-agent-voice "Agent voice mode" size:md labels:agent
  item and-onboarding "Onboarding v2" size:md
  item and-camera "Camera refactor" size:md labels:tech-debt
  item and-crash "Crash hardening" size:sm
  item and-agent-chat "Agent chat UI" size:md labels:agent

milestone and-beta "Android Beta" after:[and-offline, and-agent-chat]
examples/nested/web.nowline
nowline v1

config

scale
  name: weeks
  label-every: 4
  label: "W{n}"

style tech-debt-style
  bg: gray
  text: white

style near-term
  bg: blue
  text: white
  border: solid

style long-term
  bg: green
  text: white
  border: solid

default item shadow:subtle
default swimlane padding:sm spacing:none

roadmap web-nested "Web (nested)" author:"Web Team" start:2026-01-05

size sm effort:3d
size md effort:1w
size lg effort:2w
size xl effort:1m

label tech-debt "Tech debt" style:tech-debt-style
label agent "Agent" style:near-term
label self-service "Self-service" style:long-term

anchor kickoff date:2026-01-06

swimlane web
  item web-spa-upgrade "SPA framework upgrade" size:xl after:kickoff status:in-progress remaining:30% labels:tech-debt
  item web-design-system "Design system v3" size:lg
  item web-agent-console "Agent console" size:md labels:agent
  item web-agent-playground "Agent playground" size:md labels:agent
  item web-ss-portal "Self-service portal" size:lg labels:self-service
  item web-ss-docs "Self-service docs" size:md labels:self-service
  item web-ss-onboarding "Self-service onboarding" size:md labels:self-service
  item web-a11y "Accessibility pass" size:md
  item web-perf-budget "Perf budget tooling" size:md
  item web-search "Search v2" size:md

milestone web-beta "Web Beta" after:[web-spa-upgrade, web-agent-console]
examples/nested/data.nowline
nowline v1

config

scale
  name: weeks
  label-every: 4
  label: "W{n}"

style tech-debt-style
  bg: gray
  text: white

style near-term
  bg: blue
  text: white
  border: solid

style long-term
  bg: green
  text: white
  border: solid

default item shadow:subtle
default swimlane padding:sm spacing:none

roadmap data-nested "Data (nested)" author:"Data Team" start:2026-01-05

size sm effort:3d
size md effort:1w
size lg effort:2w
size xl effort:1m

label tech-debt "Tech debt" style:tech-debt-style
label agent "Agent" style:near-term
label self-service "Self-service" style:long-term

anchor kickoff date:2026-01-06

swimlane data
  item data-warehouse "Warehouse migration" size:xl after:kickoff status:in-progress remaining:50% labels:tech-debt
  item data-streaming "Streaming pipeline" size:lg labels:agent
  item data-agent-features "Agent feature store" size:md labels:agent
  item data-agent-eval "Agent eval dataset" size:md labels:agent
  item data-ss-exports "Self-service exports" size:md labels:self-service
  item data-ss-sql "Self-service SQL editor" size:lg labels:self-service
  item data-catalog "Data catalog" size:md
  item data-lineage "Data lineage" size:md
  item data-governance "Governance policies" size:md
  item data-pii-scan "PII scanner" size:md

milestone data-beta "Data Beta" after:[data-warehouse, data-streaming]

waves Examples renderer drift

examples/waves.nowline
nowline v1

// Lean example: three waves (Foundations, Build, Launch) as barriers across
// three lanes, plus unwaved background ops work. Details live in specs/waves.md.

roadmap checkout-relaunch "Checkout relaunch" author:"Product Engineering" start:2026-01-05 scale:1w calendar:full

wave foundations "Foundations"
wave build "Build"
wave launch "Launch"

swimlane platform "Platform"
  item auth "Auth service split" duration:4w wave:foundations status:done
  item payments-api "Payments API v2" duration:8w wave:build status:in-progress remaining:60%
  item rate-limits "Rate limits" duration:2w wave:launch

swimlane web "Web"
  item ux-research "Checkout UX research" duration:2w wave:foundations status:done
  group wave:build
    item checkout-v2 "Checkout v2" duration:4w status:in-progress remaining:30%
    item a11y "Accessibility pass" duration:2w
  item launch-page "Launch page" duration:2w wave:launch

swimlane mobile "Mobile"
  item wallet-spike "Wallet SDK spike" duration:6w wave:foundations status:done
  item wallet "Wallet integration" duration:4w wave:build status:in-progress remaining:25%
  item store-release "App store release" duration:4w wave:launch

// No wave: background work. Never held by a barrier, drawn hatched.
swimlane ops "Ops"
  item on-call "On-call and KTLO" duration:18w

milestone beta "Beta" after:build
milestone ga "GA" after:launch

waves-dark Examples renderer drift

examples/waves.nowline
nowline v1

// Lean example: three waves (Foundations, Build, Launch) as barriers across
// three lanes, plus unwaved background ops work. Details live in specs/waves.md.

roadmap checkout-relaunch "Checkout relaunch" author:"Product Engineering" start:2026-01-05 scale:1w calendar:full

wave foundations "Foundations"
wave build "Build"
wave launch "Launch"

swimlane platform "Platform"
  item auth "Auth service split" duration:4w wave:foundations status:done
  item payments-api "Payments API v2" duration:8w wave:build status:in-progress remaining:60%
  item rate-limits "Rate limits" duration:2w wave:launch

swimlane web "Web"
  item ux-research "Checkout UX research" duration:2w wave:foundations status:done
  group wave:build
    item checkout-v2 "Checkout v2" duration:4w status:in-progress remaining:30%
    item a11y "Accessibility pass" duration:2w
  item launch-page "Launch page" duration:2w wave:launch

swimlane mobile "Mobile"
  item wallet-spike "Wallet SDK spike" duration:6w wave:foundations status:done
  item wallet "Wallet integration" duration:4w wave:build status:in-progress remaining:25%
  item store-release "App store release" duration:4w wave:launch

// No wave: background work. Never held by a barrier, drawn hatched.
swimlane ops "Ops"
  item on-call "On-call and KTLO" duration:18w

milestone beta "Beta" after:build
milestone ga "GA" after:launch

waves-grayscale Examples renderer drift

examples/waves.nowline
nowline v1

// Lean example: three waves (Foundations, Build, Launch) as barriers across
// three lanes, plus unwaved background ops work. Details live in specs/waves.md.

roadmap checkout-relaunch "Checkout relaunch" author:"Product Engineering" start:2026-01-05 scale:1w calendar:full

wave foundations "Foundations"
wave build "Build"
wave launch "Launch"

swimlane platform "Platform"
  item auth "Auth service split" duration:4w wave:foundations status:done
  item payments-api "Payments API v2" duration:8w wave:build status:in-progress remaining:60%
  item rate-limits "Rate limits" duration:2w wave:launch

swimlane web "Web"
  item ux-research "Checkout UX research" duration:2w wave:foundations status:done
  group wave:build
    item checkout-v2 "Checkout v2" duration:4w status:in-progress remaining:30%
    item a11y "Accessibility pass" duration:2w
  item launch-page "Launch page" duration:2w wave:launch

swimlane mobile "Mobile"
  item wallet-spike "Wallet SDK spike" duration:6w wave:foundations status:done
  item wallet "Wallet integration" duration:4w wave:build status:in-progress remaining:25%
  item store-release "App store release" duration:4w wave:launch

// No wave: background work. Never held by a barrier, drawn hatched.
swimlane ops "Ops"
  item on-call "On-call and KTLO" duration:18w

milestone beta "Beta" after:build
milestone ga "GA" after:launch

waves-program Examples renderer drift

examples/waves-program.nowline
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

platform-2026 Examples renderer drift

examples/platform-2026.nowline
nowline v1

config

style enterprise-style "Enterprise readiness"
  bg: blue
  text: white

style risky-style
  border: dashed
  fg: orange

style audit-track-style
  bg: orange
  text: white

default item shadow:subtle
default roadmap padding:md header-height:md font:sans

roadmap platform-2026 "Platform 2026" author:"Acme Engineering" start:2026-01-05 scale:1w calendar:business

person sam "Sam Chen"
person jen "Jennifer Wu"

team platform-team "Platform Team"
team mobile-team "Mobile Team"

anchor kickoff date:2026-01-05
anchor code-freeze "Code Freeze" date:2026-03-02
anchor ga-date "GA Date" date:2026-03-16

size med effort:1w
size lg effort:2w
size xl effort:4w

label enterprise "Enterprise readiness" style:enterprise-style
label security "Security" style:enterprise-style
label low-confidence "Low confidence" style:risky-style

status handoff "Handoff"

swimlane platform "Platform" owner:platform-team
  item auth-refactor "Auth refactor" size:lg after:kickoff status:done owner:sam labels:enterprise link:https://github.com/acme/auth/issues/123
  parallel after:auth-refactor
    group audit-track "Audit Track" style:audit-track-style
      item audit-log "Audit log v2" size:lg before:code-freeze status:in-progress remaining:30% labels:[enterprise, security] link:https://wiki.acme.com/audit
      item audit-ui "Audit UI" size:med
    item sso "SSO plugins" size:med labels:[enterprise, low-confidence]
  item platform-qa "Platform QA" size:med status:handoff

swimlane mobile "Mobile" owner:mobile-team
  item offline "Offline mode" size:lg after:kickoff owner:jen status:at-risk remaining:60%
  item push-v2 "Push notifications v2" size:med owner:mobile-team

milestone beta "Beta" after:auth-refactor
milestone v1-ga "v1 GA" after:[auth-refactor, audit-log]
milestone ga-launch "GA launch" date:2026-03-16

footnote vendor-dep "Vendor dependency" on:audit-log
  description "Blocked until vendor contract is signed."
footnote capacity-risk "Team capacity risk" on:[mobile, platform]
  description "Mobile team is down to 2 engineers through Q2."

platform-2026-dark Examples renderer drift

examples/platform-2026.nowline
nowline v1

config

style enterprise-style "Enterprise readiness"
  bg: blue
  text: white

style risky-style
  border: dashed
  fg: orange

style audit-track-style
  bg: orange
  text: white

default item shadow:subtle
default roadmap padding:md header-height:md font:sans

roadmap platform-2026 "Platform 2026" author:"Acme Engineering" start:2026-01-05 scale:1w calendar:business

person sam "Sam Chen"
person jen "Jennifer Wu"

team platform-team "Platform Team"
team mobile-team "Mobile Team"

anchor kickoff date:2026-01-05
anchor code-freeze "Code Freeze" date:2026-03-02
anchor ga-date "GA Date" date:2026-03-16

size med effort:1w
size lg effort:2w
size xl effort:4w

label enterprise "Enterprise readiness" style:enterprise-style
label security "Security" style:enterprise-style
label low-confidence "Low confidence" style:risky-style

status handoff "Handoff"

swimlane platform "Platform" owner:platform-team
  item auth-refactor "Auth refactor" size:lg after:kickoff status:done owner:sam labels:enterprise link:https://github.com/acme/auth/issues/123
  parallel after:auth-refactor
    group audit-track "Audit Track" style:audit-track-style
      item audit-log "Audit log v2" size:lg before:code-freeze status:in-progress remaining:30% labels:[enterprise, security] link:https://wiki.acme.com/audit
      item audit-ui "Audit UI" size:med
    item sso "SSO plugins" size:med labels:[enterprise, low-confidence]
  item platform-qa "Platform QA" size:med status:handoff

swimlane mobile "Mobile" owner:mobile-team
  item offline "Offline mode" size:lg after:kickoff owner:jen status:at-risk remaining:60%
  item push-v2 "Push notifications v2" size:med owner:mobile-team

milestone beta "Beta" after:auth-refactor
milestone v1-ga "v1 GA" after:[auth-refactor, audit-log]
milestone ga-launch "GA launch" date:2026-03-16

footnote vendor-dep "Vendor dependency" on:audit-log
  description "Blocked until vendor contract is signed."
footnote capacity-risk "Team capacity risk" on:[mobile, platform]
  description "Mobile team is down to 2 engineers through Q2."

platform-2026-grayscale Examples renderer drift

examples/platform-2026.nowline
nowline v1

config

style enterprise-style "Enterprise readiness"
  bg: blue
  text: white

style risky-style
  border: dashed
  fg: orange

style audit-track-style
  bg: orange
  text: white

default item shadow:subtle
default roadmap padding:md header-height:md font:sans

roadmap platform-2026 "Platform 2026" author:"Acme Engineering" start:2026-01-05 scale:1w calendar:business

person sam "Sam Chen"
person jen "Jennifer Wu"

team platform-team "Platform Team"
team mobile-team "Mobile Team"

anchor kickoff date:2026-01-05
anchor code-freeze "Code Freeze" date:2026-03-02
anchor ga-date "GA Date" date:2026-03-16

size med effort:1w
size lg effort:2w
size xl effort:4w

label enterprise "Enterprise readiness" style:enterprise-style
label security "Security" style:enterprise-style
label low-confidence "Low confidence" style:risky-style

status handoff "Handoff"

swimlane platform "Platform" owner:platform-team
  item auth-refactor "Auth refactor" size:lg after:kickoff status:done owner:sam labels:enterprise link:https://github.com/acme/auth/issues/123
  parallel after:auth-refactor
    group audit-track "Audit Track" style:audit-track-style
      item audit-log "Audit log v2" size:lg before:code-freeze status:in-progress remaining:30% labels:[enterprise, security] link:https://wiki.acme.com/audit
      item audit-ui "Audit UI" size:med
    item sso "SSO plugins" size:med labels:[enterprise, low-confidence]
  item platform-qa "Platform QA" size:med status:handoff

swimlane mobile "Mobile" owner:mobile-team
  item offline "Offline mode" size:lg after:kickoff owner:jen status:at-risk remaining:60%
  item push-v2 "Push notifications v2" size:med owner:mobile-team

milestone beta "Beta" after:auth-refactor
milestone v1-ga "v1 GA" after:[auth-refactor, audit-log]
milestone ga-launch "GA launch" date:2026-03-16

footnote vendor-dep "Vendor dependency" on:audit-log
  description "Blocked until vendor contract is signed."
footnote capacity-risk "Team capacity risk" on:[mobile, platform]
  description "Mobile team is down to 2 engineers through Q2."

dependencies Examples renderer drift

examples/dependencies.nowline
nowline v1

config

style concurrent
  bracket: solid

style risky
  border: dashed
  fg: orange

default item shadow:subtle

roadmap dependency-demo "Dependency Demo" author:"Platform engineering" start:2026-01-05 scale:1w

anchor kickoff date:2026-01-05
anchor code-freeze "code-freeze" date:2026-03-02

swimlane backend "Backend"
  item api "API v2" duration:2w after:kickoff
  parallel concurrent-block style:concurrent
    item search "Search service" duration:3w
    item audit "Audit pipeline" duration:7w before:code-freeze
  item deploy "Deploy" duration:1w

swimlane frontend "Frontend"
  item sdk "SDK update" duration:2w after:api
  item ui "New console UI" duration:3w after:[sdk, search]

milestone beta "Beta" after:[deploy, ui]

isolate-include Examples renderer drift

examples/isolate-include.nowline
nowline v1

include "./partner.nowline" roadmap:isolate

roadmap primary-release "Primary Release" author:"Core + Integrations + isolated partner include" start:2026-01-05 scale:1w

anchor kickoff date:2026-01-05

swimlane core "Core"
  item core-api "Core API" duration:3w after:kickoff
  item migrations "Migrations" duration:2w after:core-api

swimlane integrations "Integrations"
  item bridge "Partner bridge" duration:2w after:migrations

milestone ga "GA" after:bridge
examples/partner.nowline
nowline v1

roadmap partner "Partner - Vendor plugin roadmap" start:2026-01-05 scale:1w

anchor kickoff date:2026-01-05

swimlane plugin "Plugin"
  item plugin-alpha "Plugin alpha" duration:4w after:kickoff
  item plugin-beta "Plugin beta" duration:2w after:plugin-alpha

partner Examples renderer drift

examples/partner.nowline
nowline v1

roadmap partner "Partner - Vendor plugin roadmap" start:2026-01-05 scale:1w

anchor kickoff date:2026-01-05

swimlane plugin "Plugin"
  item plugin-alpha "Plugin alpha" duration:4w after:kickoff
  item plugin-beta "Plugin beta" duration:2w after:plugin-alpha

inline-date-pins Examples renderer drift

examples/inline-date-pins.nowline
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

showcase Examples renderer drift

examples/showcase.nowline
nowline v1

roadmap showcase "Nowline Showcase" start:2026-01-05 scale:1m author:"Nowline"

anchor kickoff date:2026-01-05

swimlane engineering "Engineering"
  item design "Design spec" duration:2w after:kickoff status:done
  parallel after:design
    group build "Build"
      item api "API surface" duration:3w status:in-progress remaining:1w
      item ui "Web client" duration:3w status:in-progress remaining:2w
    item integrate "Integration tests" duration:2w
  item ship "Ship" duration:1w after:integrate

swimlane marketing "Marketing"
  item brief "Launch brief" duration:1w after:kickoff status:done
  item assets "Launch assets" duration:3w after:brief
  item announce "Announcement" duration:1w after:ship

milestone launch "Launch" after:[ship, announce]

working-calendar Examples renderer drift

examples/working-calendar.nowline
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

large-roadmap-title Tests renderer drift

tests/large-roadmap-title.nowline
nowline v1

roadmap large-roadmap-title "Large Roadmap Title That Exercises Header Card Sizing" start:2026-01-05 scale:1w author:"Engineering roadmap"

swimlane engineering "Engineering"
  item research "Research"  duration:3w status:done
  item design   "Design"    duration:2w status:in-progress remaining:50%
  item build    "Build"     duration:3w status:planned

large-swimlane-title Tests renderer drift

tests/large-swimlane-title.nowline
nowline v1

roadmap large-swimlane-title "Starter" start:2026-01-05 scale:1w author:"Engineering roadmap"

swimlane engineering "Engineering — Platform & Infrastructure Track"
  item research "Research"  duration:3w status:done
  item design   "Design"    duration:2w status:in-progress remaining:50%
  item build    "Build"     duration:3w status:planned

text-fits-inside-bars Tests renderer drift

tests/text-fits-inside-bars.nowline
nowline v1

roadmap text-fits-inside-bars "Starter" start:2026-01-05 scale:1w author:"Engineering roadmap"

swimlane engineering "Engineering"
  item plan "Plan" duration:5w status:done
  item ship "Ship" duration:5w status:in-progress remaining:50%
  item run  "Run"  duration:5w status:planned

text-spills-right Tests renderer drift

tests/text-spills-right.nowline
nowline v1

roadmap text-spills-right "Starter" start:2026-01-05 scale:1w author:"Engineering roadmap"

swimlane engineering "Engineering"
  item research "Research"  duration:1w status:done
  item design   "Design"    duration:1w status:in-progress remaining:50%
  item build    "Build"     duration:1w status:planned

text-wraps-inside-bars Tests renderer drift

tests/text-wraps-inside-bars.nowline
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]

title-line-breaks Tests renderer drift

tests/title-line-breaks.nowline
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

item-bumps-up Tests renderer drift

tests/item-bumps-up.nowline
nowline v1

// "Design" spills its caption, so "Build" cannot share its row. The packer
// used to be first-fit from the top and move "Build" up beside "Research";
// rows now never move up (specs/true-width-layout.md §3.2), so "Build"
// drops below "Design". The file keeps its name for the gallery history.

roadmap item-bumps-up "Starter" start:2026-01-05 scale:1w author:"Engineering roadmap"

swimlane engineering "Engineering"
  item research "Research"  duration:1w status:done
  item design   "Design"    duration:3w status:in-progress remaining:50%
  item build    "Build"     duration:1w status:planned

isolate-include-multi Tests renderer drift

tests/isolate-include-multi.nowline
nowline v1

include "./partner-multi.nowline" roadmap:isolate

roadmap primary-release "Primary Release" author:"Core + Integrations + isolated multi-lane partner include" start:2026-01-05 scale:1w

anchor kickoff date:2026-01-05

swimlane core "Core"
  item core-api "Core API" duration:3w after:kickoff
  item migrations "Migrations" duration:2w after:core-api

swimlane integrations "Integrations"
  item bridge "Partner bridge" duration:2w after:migrations

milestone ga "GA" after:bridge
tests/partner-multi.nowline
nowline v1

roadmap partner-multi "Partner - Vendor plugin suite" start:2026-01-05 scale:1w

anchor kickoff date:2026-01-05

swimlane plugin "Plugin"
  item plugin-alpha "Plugin alpha" duration:4w after:kickoff
  item plugin-beta "Plugin beta" duration:2w after:plugin-alpha

swimlane docs "Docs"
  item docs-draft "Docs draft" duration:2w after:kickoff
  item docs-review "Docs review" duration:1w after:docs-draft

swimlane support "Support"
  item support-training "Support training" duration:1w after:docs-review
  item support-launch "Launch readiness" duration:2w after:support-training

capacity-items Tests renderer drift

tests/capacity-items.nowline
nowline v1

// Fixture exercising item-level `capacity:` suffixes for each shape of
// `capacity-icon:` value: default multiplier, built-in SVG icons,
// inline Unicode literal, and a declared custom glyph. Each scenario
// lives in its own swimlane so items don't chain off-screen and the
// rendered suffix is easy to compare visually. Lane-level capacity
// (m7) and the overload underline (m8) come later.
//
// Style names avoid the grammar keywords `team`, `person`, and
// `description` to prevent the lexer from picking them up as
// declaration keywords (would parse as TeamDeclaration / PersonDecl
// otherwise). Comments use `//` per the .langium hidden terminal.

config

symbol budget "Budget" unicode:"💰" ascii:"$"

style fte
  capacity-icon: person

style pair
  capacity-icon: people

style scored
  capacity-icon: points

style hours
  capacity-icon: time

style funded
  capacity-icon: budget

style gear
  capacity-icon: "⚙"

style silent
  capacity-icon: none

roadmap r "Capacity item suffixes" start:2026-01-05 length:6w

swimlane mul-lane "Default multiplier"
  item m1 "Five" duration:4w capacity:5

swimlane fte-lane "Person glyph"
  item p1 "One FTE" duration:4w capacity:1 style:fte

swimlane pair-lane "People glyph"
  item p2 "Pair" duration:4w capacity:2 style:pair

swimlane points-lane "Points glyph"
  item s1 "Story" duration:4w capacity:8 style:scored

swimlane hours-lane "Time glyph"
  item h1 "Hours" duration:4w capacity:40 style:hours

swimlane decimal-lane "Decimal capacity"
  item d1 "Half" duration:4w capacity:0.5

swimlane percent-lane "Percent (sugar)"
  item p3 "Half" duration:4w capacity:50%

swimlane literal-lane "Inline literal"
  item l1 "Gear" duration:4w capacity:3 style:gear

swimlane custom-lane "Custom glyph"
  item c1 "Funded" duration:4w capacity:12000 style:funded

swimlane none-lane "No glyph"
  item n1 "Bare" duration:4w capacity:7 style:silent

capacity-lanes Tests renderer drift

tests/capacity-lanes.nowline
nowline v1

// Fixture exercising lane-level `capacity:N` badges in the frame tab.
// Each lane uses a different `capacity-icon:` so the renderer's full
// suffix-rendering matrix (text, built-in SVG, inline literal, custom
// glyph, none) is visible inside the chiclet alongside lanes that also
// have items declaring item-level capacity.
//
// Style names avoid grammar keywords (`team`, `person`, `description`).
// Lane ids likewise avoid `team`, etc. Comments use `//`.

config

symbol budget "Budget" unicode:"💰" ascii:"$"

style fte
  capacity-icon: person

style scored
  capacity-icon: points

style hours
  capacity-icon: time

style funded
  capacity-icon: budget

style gear
  capacity-icon: "⚙"

style silent
  capacity-icon: none

roadmap r "Lane capacity badges" start:2026-01-05 length:6w

team plat "Platform"
team data "Data"

// Default multiplier badge. No owner.
swimlane mul-lane "Default mul" capacity:5
  item m1 "Build" duration:4w capacity:2

// Lane + owner + multiplier badge.
swimlane owned "Sprint" owner:plat capacity:8
  item w1 "Work" duration:4w capacity:3

// Built-in SVG glyph (`person`) on the badge.
swimlane fte-lane "Headcount" capacity:6 style:fte
  item h1 "Hire" duration:4w capacity:2 style:fte

// Built-in SVG glyph (`points`) for story-points capacity.
swimlane points-lane "Sprint pts" capacity:42 style:scored
  item s1 "Epic" duration:4w capacity:8 style:scored

// Built-in SVG glyph (`time`) for hours-based capacity.
swimlane hours-lane "Hours" owner:data capacity:160 style:hours
  item h2 "Phase" duration:4w capacity:40 style:hours

// Custom glyph (`budget`) dereferenced to its unicode payload.
swimlane funded-lane "Funded" capacity:120000 style:funded
  item c1 "Phase A" duration:4w capacity:30000 style:funded

// Inline Unicode literal capacity-icon.
swimlane gear-lane "Ops" capacity:3 style:gear
  item o1 "Run" duration:4w capacity:1 style:gear

// `capacity-icon:none` — bare number badge.
swimlane silent-lane "Bare" capacity:7 style:silent
  item n1 "Item" duration:4w capacity:2 style:silent

// Decimal lane capacity.
swimlane half "Half-time" capacity:0.5
  item d1 "Item" duration:4w capacity:0.25

size-and-capacity Tests renderer drift

tests/size-and-capacity.nowline
nowline v1

// Fixture exercising the size + capacity interaction on items. Each
// lane shows a single combination so the driver token (size chip or
// duration literal) and capacity suffix are easy to read on the rendered
// SVG. Pairs nicely with tests/capacity-items.nowline (capacity glyph
// variants) and examples/long.nowline (size catalog without capacity).
//
// Meta line: one **driver** token only — the `duration:` literal when
// present, else the size chip. Bar width encodes derived calendar span
// for sized items without repeating it in text. Then optional owner /
// remaining, then the capacity suffix — see specs/rendering.md § Item
// size chip.

config

style fte
  capacity-icon: person

style pair
  capacity-icon: people

roadmap r "Size + capacity demo" start:2026-01-05 length:8w

// Sizes with t-shirt opt-in titles. Authors who want lowercase ids on the
// chip just leave the title off (`size sm effort:3d`); see the `verbose-`
// lanes below for the alternative.
size sm "S"  effort:3d
size md "M"  effort:1w
size lg "L"  effort:2w
size xl "XL" effort:4w

// Lane 1 — size only, default capacity (1). Bar width = effort.
//   driver: "S" on meta (no duration text; bar is 3d wide)
swimlane size-only-s "size:sm (capacity defaults to 1)"
  item s1 "Solo" size:sm

//   driver: "L" on meta (bar is 2w wide)
swimlane size-only-l "size:lg (capacity defaults to 1)"
  item l1 "Solo large" size:lg

// Lane 2 — size + capacity, multiplier glyph (default).
//   driver: "L" on meta; bar is 1w (effort 2w / capacity 2); suffix: "2×"
swimlane team-of-2 "size:lg capacity:2 (default × glyph)"
  item t1 "Two-engineer large" size:lg capacity:2

//   driver: "XL" on meta; bar is 1w (effort 4w / capacity 4); suffix: "4×"
swimlane team-of-4 "size:xl capacity:4 (default × glyph)"
  item t2 "Four-engineer XL" size:xl capacity:4

// Lane 3 — size + capacity with a custom glyph.
//   driver: "M" on meta; bar is 1d (effort 1w / capacity 5); suffix: "5 [person]"
swimlane fte-lane "size:md capacity:5 (person glyph)"
  item f1 "Five FTEs on a medium" size:md capacity:5 style:fte

//   driver: "L" on meta; bar is 1w (effort 2w / capacity 2); suffix: "2 [people]"
swimlane pair-lane "size:lg capacity:2 (people glyph)"
  item f2 "Pair on a large" size:lg capacity:2 style:pair

// Lane 4 — explicit duration: literal wins; size chip omitted from meta.
//   driver: "1w" only (effort would have been 4w for XL, but literal wins)
swimlane override "size:xl duration:1w (literal overrides effort)"
  item o1 "XL annotation, week-long bar" size:xl duration:1w

//   driver: "3d" + suffix: "3×"; size:lg still in DSL but not on meta line
swimlane override-cap "size:lg duration:3d capacity:3 (literal + capacity)"
  item o2 "Annotated short burst" size:lg duration:3d capacity:3

// Lane 5 — sized item in-progress with literal `remaining:`.
//   driver: "L" — meta: "L — 1w remaining" (1w of 2w single-eng effort left)
swimlane progress "size:lg capacity:2 status:in-progress remaining:1w"
  item p1 "Halfway through" size:lg capacity:2 status:in-progress remaining:1w

// Lane 6 — id-as-typed case preservation. No title, so the id appears
// on the chip exactly how the author wrote it.
size verbose "verbose" effort:1w
size MED          effort:1w

//   chip: "verbose" — title used (matches id text)
swimlane id-verbose "size:verbose (lowercase title 'verbose')"
  item v1 "Lowercase chip" size:verbose

//   chip: "MED" — id verbatim (no title, no case folding)
swimlane id-MED "size:MED (no title, id case preserved)"
  item v2 "Author-uppercased id" size:MED

utilization-states Tests renderer drift

tests/utilization-states.nowline
nowline v1

// Fixture exercising the tri-state lane utilization underline (m13).
// Each lane has `capacity:` declared so the underline paints; the
// segments along the band's bottom edge map to the lane's per-timestep
// load against capacity:
//
//   green  — load < `utilization-warn-at` (default 80%)
//   yellow — load in `[warn-at, over-at)`  (default warn 80%, over 100%)
//   red    — load >= `utilization-over-at` (default 100%)
//
// Items use `duration:` literals (not `size:`) so each bar — and
// therefore each underline segment — is the full lane width and the
// color band is easy to read at a glance. For a small real-world story
// (on-call support as a capacity sink) see examples/capacity.nowline.
// See specs/rendering.md § Lane utilization underline for the full model.

roadmap r "Lane utilization states" start:2026-01-05 length:8w

// Lane 1 — healthy. Single item at 2/5 = 40% load. Green for the
// whole span (the underline reads as one continuous green rectangle).
swimlane healthy "Healthy (40%)" capacity:5
  item a "Build" duration:6w capacity:2

// Lane 2 — warn. Single item at 4/5 = 80% load lands exactly on the
// `warn-at` threshold. One yellow rectangle.
swimlane stressed "At warn threshold (80%)" capacity:5
  item b "Build" duration:6w capacity:4

// Lane 3 — over. Two parallel items push load to 6/5 = 120%, painting
// red for the whole span.
swimlane overloaded "Over capacity (120%)" capacity:5
  parallel
    item c1 "Stream A" duration:6w capacity:4
    item c2 "Stream B" duration:6w capacity:2

// Lane 4 — segment coalescing demo. The underline transitions across
// time as load changes:
//   warmup alone  : 1/5 = 20% → green
//   parallel block: 5/5 = 100% → red
//   cooldown alone: 1/5 = 20% → green
swimlane mixed "Coalesced segments (green-red-green)" capacity:5
  item warmup "Warm" duration:1w capacity:1
  parallel
    item p1 "Burst A" duration:4w capacity:3
    item p2 "Burst B" duration:4w capacity:2
  item cooldown "Cool" duration:1w capacity:1

// Lane 5 — custom thresholds. Tighter warn band (50%) and slack on
// over (120%). Same 4-capacity item now reads yellow (80%) without
// tipping red until load passes 120%.
swimlane custom "Custom thresholds (warn:50% over:120%)" capacity:5 utilization-warn-at:50% utilization-over-at:120%
  item d "Build" duration:6w capacity:4

// Lane 6 — full opt-out. Lane has capacity but no underline paints.
// Useful when the lane's capacity is a budget signal but the author
// doesn't want the per-timestep visual.
swimlane silent "Opt-out (warn:none over:none)" capacity:5 utilization-warn-at:none utilization-over-at:none
  item e "Build" duration:6w capacity:8

nested-both-headers Tests renderer drift

tests/nested-both-headers.nowline
// Tall-roadmap readability fixture — exercises the opt-in
// `timeline-position:both` mirrored bottom date strip and the
// `minor-grid:true` per-tick faint grid. Several swimlanes keep
// the canvas tall so scrolling the rendered SVG hides the top
// strip; the mirrored bottom strip keeps date context visible.

nowline v1

config

scale
  name: weeks
  label-every: 4
  label: "W{n}"

default item shadow:subtle
default swimlane padding:sm spacing:none
default roadmap padding:md header-height:md font:sans timeline-position:both minor-grid:true

roadmap nested-both-headers "Bottom Timeline + Minor Grid" author:"Acme Platform" start:2026-01-05

size sm effort:3d
size md effort:1w
size lg effort:2w
size xl effort:1m

anchor kickoff date:2026-01-06
milestone gtm-launch "GTM Launch" date:2026-09-14 after:[platform-api, mobile-android]

swimlane platform "Platform"
  item platform-api "API gateway" size:xl after:kickoff status:in-progress remaining:60%
  item platform-eventing "Eventing layer" size:lg
  item platform-search "Search v2" size:lg

swimlane mobile "Mobile"
  item mobile-ios "iOS shell refresh" size:lg after:platform-api
  item mobile-android "Android parity" size:lg after:mobile-ios
  item mobile-offline "Offline mode" size:md

swimlane web "Web"
  item web-redesign "Web redesign" size:xl after:kickoff
  item web-billing "Billing portal" size:md after:web-redesign
  item web-admin "Admin console v2" size:lg

swimlane data "Data"
  item data-warehouse "Warehouse upgrade" size:lg after:kickoff
  item data-pipelines "Pipeline refactor" size:lg after:data-warehouse
  item data-bi "BI dashboards" size:md

header-height-xl Tests renderer drift

tests/header-height-xl.nowline
nowline v1

// Timeline header height fixture (specs/rendering.md § Timeline Scale).
// `default roadmap header-height:xl` is the tallest bucket: the top and the
// mirrored bottom tick panels grow to 40 px and keep their date labels
// vertically centered, and the wave strip, marker row and chart move down
// by the extra 16 px. `header-height:md` (the default) is the 24 px panel
// every other fixture draws; compare against header-height-none.

config

default roadmap header-height:xl timeline-position:both

roadmap header-height-xl "Header height: xl" start:2026-01-05 scale:2w

wave alpha "Alpha"
wave beta "Beta"

anchor kickoff date:2026-01-06
milestone launch "Launch" date:2026-03-16

swimlane platform "Platform"
  item api "API gateway" duration:4w wave:alpha status:done
  item search "Search v2" duration:3w wave:beta status:in-progress remaining:40%

swimlane web "Web"
  item redesign "Web redesign" duration:3w after:kickoff wave:alpha
  item billing "Billing portal" duration:2w wave:beta

header-height-none Tests renderer drift

tests/header-height-none.nowline
nowline v1

// Timeline header height fixture (specs/rendering.md § Timeline Scale).
// `default roadmap header-height:none` drops every tick panel, so neither
// date strip draws even though `timeline-position:both` asks for both. The
// now-pill, wave strip and marker row stack directly, and the now-line stops
// at the last swimlane. The validator flags the combination with the
// warning NL.W0704. Compare against header-height-xl.

config

default roadmap header-height:none timeline-position:both

roadmap header-height-none "Header height: none" start:2026-01-05 scale:2w

wave alpha "Alpha"
wave beta "Beta"

anchor kickoff date:2026-01-06
milestone launch "Launch" date:2026-03-16

swimlane platform "Platform"
  item api "API gateway" duration:4w wave:alpha status:done
  item search "Search v2" duration:3w wave:beta status:in-progress remaining:40%

swimlane web "Web"
  item redesign "Web redesign" duration:3w after:kickoff wave:alpha
  item billing "Billing portal" duration:2w wave:beta

inline-date-corners Tests renderer drift

tests/inline-date-corners.nowline
nowline v1

// Fixture exercising the inline-date pin glyph (`after:DATE` /
// `before:DATE`) on every entity type that supports it: items in
// every decoration-row state, styled groups (chiclet row), and
// unstyled groups, bracketed parallels, and bare parallels (header
// band above the box). Each scenario lives in its own swimlane so the
// glyphs are easy to compare visually. A container's first child bar
// starts flush with the container's top corners, so no container
// glyph may sit there: it would be painted over.
//
// See specs/dsl.md "Inline date pins" and specs/rendering.md
// "Inline-date glyph" for the full contract.

config

style enterprise
  bg: blue
  text: white

style bracketed
  bracket: solid
  fg: orange

roadmap r "Inline-date pin corners" start:2026-01-05 length:14w

swimlane plain-lane "Plain item — both corners"

  // Bare item, no decorations: glyphs sit at the leftmost / rightmost
  // top-decoration slots.
  item plain-bar "Plain bar" duration:4w after:2026-01-26 before:2026-04-13

swimlane with-link "Item — with link icon"

  // Top-LEFT after-glyph walks RIGHT past the 14 px link icon column.
  item linked "With link" duration:3w \
    link:https://github.com/example/repo \
    after:2026-02-02 before:2026-03-30

swimlane with-decorations "Item — link + dot + footnotes"

  // Both corners simultaneously occupied: link icon on the left
  // pushes the after-glyph right; status dot + footnote indicators
  // on the right pull the before-glyph left of the badge cluster.
  item busy "Busy bar" duration:4w \
    status:in-progress \
    link:https://linear.app/x \
    after:2026-02-09 before:2026-04-20

footnote f1 "Footnote attached to busy" on:busy

swimlane mixed-list "Item — mixed list"

  // Mixed `after:` list (id + date). Resolves to the LATEST of the
  // two; only one calendar glyph appears on the left.
  item upstream "Upstream" duration:2w
  item downstream "Downstream" duration:3w after:[upstream, 2026-03-09]

swimlane styled-group "Styled group — visible box corners"

  // Filled-style groups paint a chiclet in the upper-left; both
  // glyphs join the chiclet's row, the after-glyph just past the
  // chiclet's right edge (see specs/rendering.md). The before-glyph
  // anchors flush right inside the visible box.
  group sg "Styled group" style:enterprise after:2026-02-09 before:2026-04-20
    item sg-a "Step A" duration:2w
    item sg-b "Step B" duration:2w

swimlane narrow-styled-group "Styled group — chiclet wider than the box"

  // A one-week styled group whose title chiclet runs past the box's
  // right edge. The after-glyph still sits past the chiclet, and the
  // before-glyph slides right of the after-glyph instead of landing on
  // the chiclet in its usual flush-right slot.
  group nsg "Narrow styled group" style:enterprise after:2026-02-09 before:2026-02-16
    item nsg-a "Step" duration:1w

swimlane anonymous-styled-group "Styled group — no title"

  // No title means no chiclet, but the group still reserves the
  // chiclet's row for its glyphs instead of letting them sit on the
  // first child bar.
  group style:enterprise after:2026-02-09 before:2026-04-20
    item asg-a "Step A" duration:2w
    item asg-b "Step B" duration:2w

swimlane unstyled-group "Unstyled group — header band"

  // Unstyled groups paint a bracket, not a box. Their title and
  // glyphs share the header band above the logical extent (leftmost
  // child start, rightmost child end): after-glyph first, then the
  // title, before-glyph flush right.
  group ug after:2026-02-23 before:2026-05-04
    item ug-a "Free A" duration:2w
    item ug-b "Free B" duration:2w

swimlane anonymous-group "Unstyled group — no title"

  // No title, but the glyphs still get the header band (and the
  // bracket's top foot wraps it).
  group after:2026-02-23 before:2026-05-04
    item ag-a "Free A" duration:2w
    item ag-b "Free B" duration:2w

swimlane bracketed-parallel "Bracketed parallel — header band"

  // The header band coincides with the bracket's 12 px top padding,
  // so the glyphs sit inside the [ ] above the first track.
  parallel bp style:bracketed after:2026-02-09 before:2026-05-11
    item bp-a "Track 1" duration:3w
    item bp-b "Track 2" duration:3w

swimlane bare-parallel "Bare parallel — header band"

  parallel barep after:2026-02-23 before:2026-05-25
    item barep-a "Bare track 1" duration:2w
    item barep-b "Bare track 2" duration:2w

swimlane narrow-parallel "Bare parallel — title wider than the box"

  // The title runs past the box, so the before-glyph slides right of
  // the title instead of landing on it. The next item would start on
  // the same row, under that overflow, so it bumps to a fresh row.
  parallel np "Regional rollout waves" before:2026-03-02
    item np-a "Wave 1" duration:2w
    item np-b "Wave 2" duration:2w
  item np-next "Follow-up" duration:2w

container-footnotes Tests renderer drift

tests/container-footnotes.nowline
nowline v1

// Fixture for footnote superscripts on group and parallel headers: each
// sits at the right end of the container's title row, with a `before:`
// glyph one gap to its left, and the pair never slides onto the title.
// Each scenario lives in its own swimlane.
//
// See specs/rendering.md "Parallel and Group Rendering" and "Inline-date glyph".

config

style unbracketed
  bracket: none

roadmap r "Container footnotes" start:2026-01-05 length:14w

swimlane group-lane "Group, one footnote"

  // The issue's repro: one superscript at the right end of the title row.
  group research "Research"
    item a "Spike A" duration:2w
    item b "Spike B" duration:2w
  item c "Other item" duration:2w

swimlane before-lane "Group, before: glyph and two footnotes"

  // The glyph moves one gap left of the two superscripts.
  group discovery "Discovery" before:2026-03-02
    item d "Interviews" duration:2w
    item e "Synthesis" duration:2w

swimlane parallel-lane "Parallel, both glyphs and a footnote"

  parallel launch "Launch" after:2026-01-12 before:2026-02-23
    item f "Web" duration:3w
    item g "Mobile" duration:2w

swimlane narrow-lane "Narrow parallel, long title"

  // The title runs past the 2w box, so the glyph and superscript sit past
  // it, beyond the bracket's end; the next item drops a row to clear them.
  parallel rollout "Regional rollout waves" before:2026-02-02
    item h "EU" duration:2w
    item h2 "US" duration:1w
  item i "Next" duration:2w

swimlane bare-lane "Unbracketed group titled by its id"

  group spikes style:unbracketed
    item j "Spike" duration:2w

footnote staffing "Waiting on staffing" on:research
footnote item-note "Item note" on:c
footnote vendor "Vendor dependency" on:[discovery, launch]
footnote budget "Budget pending" on:discovery
footnote regions "Region list not final" on:rollout
footnote bare "Untitled container" on:spikes

footnote-runs Tests renderer drift

tests/footnote-runs.nowline
nowline v1

// Fixture for the footnote number run, the one format every host draws:
// "4,12" comma-joined, ascending, up to three numbers; past three the first
// two and "+" ("1,2,+", with warning NL.W0707); beside the caption when the
// run does not fit the bar. The Work lane is #282's
// repro; the Notes lane and the markers show the same run on a lane tab, a
// group header, an anchor and a milestone.
//
// See specs/rendering.md "Footnotes" and "Item Bars".

roadmap demo "Footnote runs" start:2026-01-05 scale:1m

anchor kickoff "Kickoff" date:2026-01-12

swimlane work "Work"
  // 11 footnotes on a 34 px bar: "1,2,+" beside the caption, and NL.W0707.
  item many "Eleven notes" duration:2w
  // Two-digit numbers in one run: "12,13", never "1213".
  item pair "Notes 12 and 13" duration:4w
  item mixed "Notes 4 and 12" duration:4w
  // Link tile and caption keep their insets; the run spills after them.
  item linked "Linked" duration:2w link:https://example.com

swimlane notes "Notes"
  group track "Track"
    item t1 "Wide enough" duration:3m

milestone ship "Ship" after:t1

footnote f1 "Note 1" on:many
footnote f2 "Note 2" on:many
footnote f3 "Note 3" on:[many, linked]
footnote f4 "Note 4" on:[many, mixed]
footnote f5 "Note 5" on:many
footnote f6 "Note 6" on:many
footnote f7 "Note 7" on:many
footnote f8 "Note 8" on:many
footnote f9 "Note 9" on:many
footnote f10 "Note 10" on:[many, notes]
footnote f11 "Note 11" on:[many, notes, track, kickoff]
footnote a "Note 12" on:[pair, mixed, linked, track, kickoff, ship]
footnote b "Note 13" on:[pair, ship]

late-row-shifts Tests renderer drift

tests/late-row-shifts.nowline
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]

marker-predecessor-arrows Tests renderer drift

tests/marker-predecessor-arrows.nowline
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
tests/marker-predecessor-partner.nowline
nowline v1

roadmap marker-predecessor-partner "Partner" start:2026-01-05 scale:1w

anchor p-start "Partner start" date:2026-01-19

swimlane plugin "Plugin"
  item p-build "Plugin build" duration:5w
  item p-polish "Plugin polish" duration:2w after:p-build

milestone p-alpha "Partner alpha" after:[p-start, p-build]
milestone p-beta "Partner beta" after:[p-alpha, p-polish]
milestone p-due "Partner due" date:2026-02-02 after:p-alpha

milestone-overrun Tests renderer drift

tests/milestone-overrun.nowline
nowline v1

// A dated milestone overrun by an item: Polish ends four weeks past Ship's
// date, so Ship slips. Its diamond on the date renders red, a red dotted
// span runs along its row to a normal diamond at Polish's end, and the
// label and cut line sit there. UI finishes before Ship and changes
// nothing. Review's predecessor ends on time, so Review stays in ink.

roadmap milestone-overrun "Milestone overrun" start:2026-01-05 scale:1w

swimlane core "Core"
  item build "Build" duration:6w
  item polish "Polish" duration:3w after:build

swimlane web "Web"
  item ui "UI" duration:3w

milestone review "Review" date:2026-02-23 after:build
milestone ship "Ship" date:2026-02-02 after:[polish, ui]

style-on-vocab Tests renderer drift

tests/style-on-vocab.nowline
nowline v1

// style: on the vocabulary and the markers. Sam and Core take owner-ink
// (purple, bold) in the meta line and on the lane tab; the M size token
// takes size-ink (orange, italic); on-hold tints API's bar, border and dot
// from hold; Kickoff and GA take their style's diamond, label and cut line;
// the Vendor footnote's number is purple on API and in the panel.

config

style owner-ink
  text: purple
  weight: bold

style size-ink
  text: orange
  italic: true

style hold
  bg: #fef3c7
  fg: #b45309
  text: #78350f

style gate
  bg: orange
  fg: orange
  text: orange
  weight: bold

style launch
  bg: green
  fg: green
  text: green

style vendor-note
  fg: purple
  text: purple
  italic: true

roadmap vocab "Styled vocabulary" start:2026-01-05 scale:1w length:10w

person sam "Sam" style:owner-ink
team core "Core" style:owner-ink
size med "M" effort:1w style:size-ink
status on-hold "On hold" style:hold

anchor kickoff "Kickoff" date:2026-01-05 style:gate
milestone ga "GA" date:2026-02-16 style:launch

swimlane build "Build" owner:core
  item api "API" size:med owner:sam status:on-hold
  item ui "UI" size:med owner:sam after:api
  item docs "Docs" duration:1w status:in-progress remaining:50%

footnote "Vendor" on:api style:vendor-note
  description "Waiting on the vendor contract."

forward-references Tests renderer drift

tests/forward-references.nowline
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

swimlane-after Tests renderer drift

tests/swimlane-after.nowline
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

before-overruns Tests renderer drift

tests/before-overruns.nowline
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

waves-empty Tests renderer drift

tests/waves-empty.nowline
nowline v1

// Wave fixture: an empty wave (no items) between two populated ones.
// It spans no time, draws nothing (no marker, no legend entry), and reports
// NL.I1006.

roadmap waves-empty "Empty wave" start:2026-01-05 scale:1w

wave w1 "Wave 1"
wave w2 "Hardening (TBD)"
wave w3 "Wave 3"

swimlane a "Lane A"
  item a1 "Item A1" duration:2w wave:w1
  item a3 "Item A3" duration:1w wave:w3

swimlane b "Lane B"
  item b1 "Item B1" duration:1w wave:w1
  item b3 "Item B3" duration:2w wave:w3

waves-parallel-group Tests renderer drift

tests/waves-parallel-group.nowline
nowline v1

// Wave fixture: parallel tracks in different waves; an id-only
// `group api-track wave:w1` and an anonymous `group wave:w2` that assign
// their children and draw nothing themselves (no bracket, no label); and a
// titled group that spans a boundary and keeps its bracket.

roadmap waves-parallel-group "Parallel and group waves" start:2026-01-05 scale:1w

wave w1 "Foundations"
wave w2 "Features"

swimlane platform "Platform"
  item kickoff-work "Kickoff" duration:1w wave:w1
  parallel streams
    group api-track wave:w1
      item api-v2 "API v2" duration:2w
      item api-docs "API docs" duration:1w
    item sdk-update "SDK update" duration:2w wave:w2
  item integration "Integration" duration:1w wave:w2

swimlane mobile "Mobile"
  item mobile-spike "Mobile spike" duration:5w wave:w1

swimlane checkout "Checkout"
  group checkout-v2 "Checkout v2"
    item flows "Flows" duration:2w wave:w1
    item ui "UI" duration:3w wave:w2
  item polish "Polish" duration:1w wave:w2

swimlane payments "Payments"
  item vendor-eval "Vendor eval" duration:4w wave:w1
  group wave:w2
    item integrate "Integrate" duration:2w
    item certify "Certify" duration:1w

waves-gap-deadline Tests renderer drift

tests/waves-gap-deadline.nowline
nowline v1

// Wave fixture: start floors that create gaps (an anchor floor and an
// inline-date floor) and a dated deadline milestone `after:<wave>` that the
// wave overruns. The inline-date gap shows its gap label (the one-week
// anchor gap is too narrow for one), plus the deadline's slip to the wave's
// end and NL.I1007.

roadmap waves-gap-deadline "Gaps and deadline" start:2026-01-05 scale:1w calendar:full

anchor fy-budget "FY budget release" date:2026-02-02

wave plan "Plan"
wave execute "Execute" after:fy-budget
wave harden "Harden" after:2026-04-06

swimlane a "Lane A"
  item a1 "Item A1" duration:2w wave:plan
  item a2 "Item A2" duration:5w wave:execute
  item a3 "Item A3" duration:2w wave:harden

swimlane b "Lane B"
  item b1 "Item B1" duration:3w wave:plan
  item b2 "Item B2" duration:7w wave:execute
  item b3 "Item B3" duration:1w wave:harden

milestone exec-done "Execute complete" date:2026-03-16 after:execute

waves-isolate Tests renderer drift

tests/waves-isolate.nowline
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

waves-coarse Tests renderer drift

tests/waves-coarse.nowline
nowline v1

// Wave fixture at coarse scale (scale:1m): seven waves including an empty
// one, a gap from a start floor, and a styled wave; two stacked marker rows;
// background work crossing boundaries; and a `group wave:x` on a boundary.

config

style hardening-style
  bg: orange
  fg: red
  text: navy
  border: dashed

roadmap waves-coarse "Coarse waves" start:2026-01-05 scale:1m calendar:full

anchor kickoff "Kickoff" date:2026-01-05
anchor budget "Budget lock" date:2026-03-09

wave discover "Discover"
wave design "Design"
wave build "Build"
wave beta "Beta (TBD)"
wave harden "Harden" style:hardening-style
wave launch "Launch" after:2026-11-02
wave grow "Grow"

swimlane product "Product"
  item research "Research" duration:2m wave:discover
  item spec "Spec" duration:2m wave:design
  item prototype "Prototype" duration:3m wave:build
  item stabilize "Stabilize" duration:1m wave:harden
  item go-live "Go live" duration:1m wave:launch
  item expand "Expand" duration:2m wave:grow

swimlane eng "Engineering"
  item arch "Architecture" duration:1m wave:discover
  group wave:build
    item api "API" duration:2m
    item ui "UI" duration:1m
  item perf "Performance" duration:2m wave:harden
  item rollout "Rollout" duration:2m wave:launch

swimlane ops "Operations"
  item on-call "On-call" duration:12m
  item compliance "Compliance review" duration:5m

milestone spec-signed "Spec signed" date:2026-03-16
milestone beta-cut "Beta cut" after:build

waves-all-empty Tests renderer drift

tests/waves-all-empty.nowline
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

weekends-show Tests renderer drift

tests/weekends-show.nowline
nowline v1

// Non-working display fixture (m2p phase 4, specs/working-calendar.md §4.2,
// §7.3, §10 Example A). `default roadmap non-working:show` draws each weekend
// of a business calendar as a full-width shaded band, so a week is 7 days wide
// (56 px at this scale) instead of 5. A bar paints across the band but ends at
// the end of its last working day, which is what leaves the gap visible.
//
// The lanes stress one thing each:
//   - Chained weeks: Example A, four 1w bars with a band between each pair.
//   - Wednesday start: a bar that starts mid-week (`after:` a Wednesday) and
//     crosses a weekend.
//   - Group after Friday: a group that begins after a bar ends on a Friday
//     starts on the next Monday, not inside the weekend.
// The milestones sit on their own dates: Friday Jan 30 and Saturday Jan 31
// (the Saturday one lands inside the last band).

config

default roadmap non-working:show

roadmap weekends-show "Weekends shown" start:2026-01-05 scale:1w calendar:business

milestone fri "Fri Jan 30" date:2026-01-30
milestone sat "Sat Jan 31" date:2026-01-31

swimlane chain "Chained weeks"
  item w1 "W1" duration:1w
  item w2 "W2" duration:1w
  item w3 "W3" duration:1w
  item w4 "W4" duration:1w

swimlane wed "Wednesday start"
  item mid "Mid-week start" duration:1w after:2026-01-07

swimlane after "Group after Friday"
  item lead "Lead" duration:1w
  group g "Then a group"
    item x "X" duration:1w
    item y "Y" duration:1w

non-working-hide Tests renderer drift

tests/non-working-hide.nowline
nowline v1

// Named non-working days, hidden (m2p phase 5b, specs/working-calendar.md
// §4, §7.2, §10 Example B). With the default `non-working:hide`, a titled
// closure is cut out of the time axis and drawn as a labelled seam: a dotted
// line down from a label in the marker row that names it and counts the
// working days it removes ("Thanksgiving · 2d", "Company summit · 3d").
//
// The stressed axis is the labels and their packing:
//   - Thanksgiving: Thu Nov 26 to Fri Nov 27, inside the Checkout bar, which
//     is pushed out by the two days it loses.
//   - Company summit: Wed Dec 9 to Fri Dec 11, inside the Rollout bar.
//   - Launch: a Saturday milestone that hides onto the same x as the
//     Thanksgiving seam, so the label packs onto its own marker row.
// Only dated, titled, non-working declarations are labelled.

config

non-working thanksgiving "Thanksgiving" start:2026-11-26 end:2026-11-27

non-working summit "Company summit" start:2026-12-09 end:2026-12-11

roadmap non-working-hide "Named days hidden" start:2026-11-23 scale:1w calendar:business

milestone launch "Launch" date:2026-11-28
swimlane a "A"
  item checkout "Checkout" duration:1w
  item qa "QA" duration:2d
  item rollout "Rollout" duration:2w

non-working-show Tests renderer drift

tests/non-working-show.nowline
nowline v1

// Named non-working days, shown (m2p phase 5b, specs/working-calendar.md
// §4, §7.2, §10 Example B). The same body as non-working-hide.nowline, with
// `default roadmap non-working:show`: each closure is a shaded band at its
// true width, and its label ("Thanksgiving · 2d", "Company summit · 3d") sits
// in the marker row above the band's left edge.
//
// The one stressed axis is the view. Compare it with non-working-hide.nowline:
// there the closures are labelled seams, here they are labelled bands, and
// Launch (a Saturday milestone) lands on its own date instead of the seam.

config

default roadmap non-working:show

non-working thanksgiving "Thanksgiving" start:2026-11-26 end:2026-11-27

non-working summit "Company summit" start:2026-12-09 end:2026-12-11

roadmap non-working-show "Named days shown" start:2026-11-23 scale:1w calendar:business

milestone launch "Launch" date:2026-11-28
swimlane a "A"
  item checkout "Checkout" duration:1w
  item qa "QA" duration:2d
  item rollout "Rollout" duration:2w

working-exceptions Tests renderer drift

tests/working-exceptions.nowline
nowline v1

// Titled working exceptions (specs/working-calendar.md §4, §7.4, §10 Example
// D). A titled, dated `working` declaration puts days back into the schedule
// and is labelled in the marker row with the days it adds ("Release crunch ·
// +1d"). The label has no cut line under `hide` and no band under `show`: a
// working day removes no time.
//
// The stressed axis is the working-exception labels:
//   - Release crunch: a working Saturday, Dec 5, one day after the Launch
//     milestone, so the two pack against each other in the marker row.
//   - Crunch weekend: a range over Sat Dec 19 and Sun Dec 20, so `+2d`.
//   - Make-up day: Wed Dec 30 works inside Winter break, which splits the
//     closure into two labelled seams; the make-up label says why.
//   - An untitled working Saturday, Dec 12: the day works, nothing is drawn.

config

non-working winter-break "Winter break" start:2026-12-24 end:2027-01-01

working crunch "Release crunch" date:2026-12-05

working weekend "Crunch weekend" start:2026-12-19 end:2026-12-20

working makeup "Make-up day" date:2026-12-30

working date:2026-12-12

roadmap working-exceptions "Working exceptions" start:2026-11-30 scale:1w calendar:business

milestone launch "Launch" date:2026-12-04
swimlane a "A"
  item build "Build" duration:2w
  item harden "Harden" duration:2w
  item ship "Ship" duration:1w

marker-left-overflow Tests renderer drift

tests/marker-left-overflow.nowline
nowline v1

// Marker labels that fit on neither side of their marker. The chart is one
// week wide and the header card sits beside it (the default
// `header-position:beside`), so a long label pinned near the left edge
// overflows the canvas on the right and runs into the card on the left.
//
// The stressed axis is that left fallback: the canvas grows on the right
// until each label fits there, the way a titled non-working run's label
// does, so no label lands on the header card.
//   - Kickoff: an anchor on the first day.
//   - Beta: a dated milestone a day later; its label packs onto its own row.
//   - Ready: an after-only milestone at the end of Build.

roadmap marker-left-overflow "Marker overflow" start:2026-01-05 scale:1w

anchor kickoff "Kickoff and stakeholder alignment" date:2026-01-05
milestone beta "Beta to design partners" date:2026-01-06
milestone ready "Ready for the partner review" after:build

swimlane a "A"
  item build "Build" duration:1w

non-working-recurrence Tests renderer drift

tests/non-working-recurrence.nowline
nowline v1

// Narrow-column labels under a bounded recurrence (specs/working-calendar.md
// §7.2). Summer Fridays take every Friday out from Jul 1 to Aug 31, so each
// week from Jun 29 to Aug 24 has four working days and its column is 32 px
// under the default `non-working:hide`, too narrow for a 35 px "Jun 29".
//
// The stressed axis is the week tick labels:
//   - Inside the recurrence the nine narrowed weeks form one run, so their
//     labels alternate (Jul 06, Jul 20, Aug 03, Aug 17), each one borrowing
//     half of the unlabelled column on either side. Before the fix every
//     label in the run was dropped and the axis was blank for nine weeks.
//   - Juneteenth (Fri Jun 19) narrows one week between two full ones. A lone
//     narrowed week keeps the plain rule: its label is dropped.
// The recurrence has a title but is not labelled on the chart (only dated
// declarations are), so the axis is the only place the stretch shows.

config

non-working juneteenth "Juneteenth" date:2026-06-19

non-working fridays "Summer Fridays" every:fri start:2026-07-01 end:2026-08-31

roadmap non-working-recurrence "Summer Fridays" start:2026-06-01 scale:1w calendar:business

anchor kickoff "Kickoff" date:2026-06-01
swimlane platform "Platform"
  item api-v2 "API v2" duration:4w
  item data-migration "Data migration" duration:6w
  item hardening "Hardening" duration:4w

logo-beside Tests renderer drift

tests/logo-beside.nowline
nowline v1

// Company logo, beside header (specs/rendering.md § Roadmap Header). A 4:1
// wordmark (viewBox only) at the default `logo-size:md` draws 144 x 36 px
// left of the title: the card widens by the logo plus its 12 px gap, the
// title and author shift right, and the chart starts right of the wider
// card. Compare against examples/minimal.nowline, which has no logo.

roadmap logo-beside "Logo beside" author:"Acme Engineering" logo:"./assets/logo-wordmark.svg" start:2026-01-05

swimlane build "Build"
  item design "Design" duration:1w status:done
  item implement "Implement" duration:2w status:in-progress
  item ship "Ship" duration:3d

logo-above-xl Tests renderer drift

tests/logo-above-xl.nowline
nowline v1

// Company logo, above header at the largest preset (specs/rendering.md
// § Company Logo Size Presets). A 512 px square mark scales down to the
// 72 px `logo-size:xl` slot, which is taller than the 72 px band allows
// with its 10 px clearance, so the band grows to 92 px, the title and
// author center vertically beside the logo, and the chart moves down 20 px.

config

default roadmap header-position:above

roadmap logo-above-xl "Logo above, xl" author:"Acme Engineering" logo:"./assets/logo-mark.svg" logo-size:xl start:2026-01-05

swimlane build "Build"
  item design "Design" duration:1w status:done
  item implement "Implement" duration:2w status:in-progress
  item ship "Ship" duration:3d

custom-colors Tests renderer drift

tests/custom-colors.nowline
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

custom-colors-dark Tests renderer drift

tests/custom-colors.nowline
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

custom-colors-grayscale Tests renderer drift

tests/custom-colors.nowline
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