@crvouga/atlas 0.10.2 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +7 -0
  3. package/dist/server/src/settings-page.d.ts +4 -4
  4. package/dist/server/src/settings-page.js +17 -78
  5. package/docs/reference/server.md +4 -4
  6. package/docs/ui.md +142 -0
  7. package/docs/workspaces.md +130 -0
  8. package/llms-full.txt +278 -0
  9. package/llms.txt +2 -0
  10. package/package.json +17 -10
  11. package/packages/visualizer/src/admin/SettingsPage.tsx +456 -0
  12. package/packages/visualizer/src/admin/main.tsx +11 -0
  13. package/packages/visualizer/src/app/AppShell.tsx +62 -38
  14. package/packages/visualizer/src/app/gazetteer.tsx +90 -83
  15. package/packages/visualizer/src/app/router.tsx +33 -15
  16. package/packages/visualizer/src/components/ActivityIndicator.tsx +4 -5
  17. package/packages/visualizer/src/components/DataIssues.tsx +36 -54
  18. package/packages/visualizer/src/components/Header.tsx +197 -125
  19. package/packages/visualizer/src/components/Legend.tsx +13 -41
  20. package/packages/visualizer/src/components/ProjectPicker.tsx +61 -26
  21. package/packages/visualizer/src/components/Screen.tsx +80 -71
  22. package/packages/visualizer/src/components/SpecLogo.tsx +15 -0
  23. package/packages/visualizer/src/components/Status.tsx +20 -34
  24. package/packages/visualizer/src/components/labels.tsx +8 -3
  25. package/packages/visualizer/src/components/spec-logos/APACHE-2.0.txt +206 -0
  26. package/packages/visualizer/src/components/spec-logos/CAMUNDA-MIT.txt +21 -0
  27. package/packages/visualizer/src/components/spec-logos/FILE-ICONS-ISC.txt +13 -0
  28. package/packages/visualizer/src/components/spec-logos/README.md +23 -0
  29. package/packages/visualizer/src/components/spec-logos/SIMPLE-ICONS-CC0.txt +30 -0
  30. package/packages/visualizer/src/components/spec-logos/alloy.svg +1 -0
  31. package/packages/visualizer/src/components/spec-logos/dmn.svg +3 -0
  32. package/packages/visualizer/src/components/spec-logos/gherkin.svg +1 -0
  33. package/packages/visualizer/src/components/spec-logos/openslo.svg +63 -0
  34. package/packages/visualizer/src/components/spec-logos/quint.svg +1 -0
  35. package/packages/visualizer/src/evidence/artifacts.tsx +263 -110
  36. package/packages/visualizer/src/evidence/chart-source.tsx +18 -0
  37. package/packages/visualizer/src/evidence/check-detail.tsx +283 -139
  38. package/packages/visualizer/src/evidence/decision-table.tsx +35 -26
  39. package/packages/visualizer/src/evidence/document-page.tsx +51 -29
  40. package/packages/visualizer/src/evidence/feature-page.tsx +121 -53
  41. package/packages/visualizer/src/evidence/marks.tsx +112 -79
  42. package/packages/visualizer/src/evidence/model-page.tsx +77 -46
  43. package/packages/visualizer/src/evidence/model-trace.tsx +55 -35
  44. package/packages/visualizer/src/evidence/overview.tsx +137 -69
  45. package/packages/visualizer/src/evidence/recording-page.tsx +70 -31
  46. package/packages/visualizer/src/evidence/recording.tsx +135 -68
  47. package/packages/visualizer/src/evidence/snapshot.tsx +99 -43
  48. package/packages/visualizer/src/evidence/source-text.tsx +33 -0
  49. package/packages/visualizer/src/evidence/sources-panel.tsx +138 -144
  50. package/packages/visualizer/src/evidence/spec-header.tsx +52 -36
  51. package/packages/visualizer/src/evidence/spec-index.tsx +61 -32
  52. package/packages/visualizer/src/evidence/spec-page.tsx +56 -25
  53. package/packages/visualizer/src/evidence/test-filter.tsx +38 -14
  54. package/packages/visualizer/src/explorer/Explorer.tsx +688 -261
  55. package/packages/visualizer/src/explorer/ExplorerIndex.tsx +136 -68
  56. package/packages/visualizer/src/explorer/RunsView.tsx +307 -94
  57. package/packages/visualizer/src/explorer/TestDetail.tsx +393 -118
  58. package/packages/visualizer/src/explorer/parts.tsx +35 -13
  59. package/packages/visualizer/src/find/Finder.tsx +106 -90
  60. package/packages/visualizer/src/find/open.ts +17 -20
  61. package/packages/visualizer/src/live/test-progress.tsx +60 -22
  62. package/packages/visualizer/src/looks/Stage.tsx +223 -110
  63. package/packages/visualizer/src/main.tsx +9 -11
  64. package/packages/visualizer/src/map/ChartMap.tsx +125 -69
  65. package/packages/visualizer/src/map/EventEdge.tsx +59 -37
  66. package/packages/visualizer/src/map/map.module.css +12 -546
  67. package/packages/visualizer/src/map/nodes.tsx +124 -70
  68. package/packages/visualizer/src/reachable.test.ts +3 -2
  69. package/packages/visualizer/src/spec-kind.ts +2 -2
  70. package/packages/visualizer/src/ui/grammars/ALLOY-MIT.txt +21 -0
  71. package/packages/visualizer/src/ui/grammars/QUINT-APACHE-2.0.txt +206 -0
  72. package/packages/visualizer/src/ui/grammars/README.md +14 -0
  73. package/packages/visualizer/src/ui/grammars/alloy.json +71 -0
  74. package/packages/visualizer/src/ui/grammars/quint.json +152 -0
  75. package/packages/visualizer/src/ui/highlight.ts +50 -0
  76. package/packages/visualizer/src/ui/theme.tsx +109 -0
  77. package/packages/visualizer/src/views/ChartPage.tsx +46 -26
  78. package/packages/visualizer/src/views/ChartTests.tsx +59 -22
  79. package/packages/visualizer/src/views/ProductPage.tsx +16 -15
  80. package/packages/visualizer/src/views/SidePanel.tsx +241 -131
  81. package/packages/visualizer/src/app/gazetteer.module.css +0 -107
  82. package/packages/visualizer/src/components/ActivityIndicator.module.css +0 -4
  83. package/packages/visualizer/src/components/DataIssues.module.css +0 -136
  84. package/packages/visualizer/src/components/Header.module.css +0 -114
  85. package/packages/visualizer/src/components/Legend.module.css +0 -84
  86. package/packages/visualizer/src/components/Screen.module.css +0 -312
  87. package/packages/visualizer/src/components/Status.module.css +0 -116
  88. package/packages/visualizer/src/components/icons.tsx +0 -156
  89. package/packages/visualizer/src/evidence/artifacts.module.css +0 -213
  90. package/packages/visualizer/src/evidence/evidence.module.css +0 -907
  91. package/packages/visualizer/src/evidence/recording.module.css +0 -460
  92. package/packages/visualizer/src/evidence/sources.module.css +0 -168
  93. package/packages/visualizer/src/evidence/spec-snapshot.tsx +0 -26
  94. package/packages/visualizer/src/explorer/explorer.module.css +0 -1238
  95. package/packages/visualizer/src/find/Finder.module.css +0 -168
  96. package/packages/visualizer/src/looks/stage.module.css +0 -300
  97. package/packages/visualizer/src/styles/global.css +0 -105
  98. package/packages/visualizer/src/styles/tokens.css +0 -80
  99. package/packages/visualizer/src/views/views.module.css +0 -546
@@ -1,10 +1,7 @@
1
+ import { Badge, Button, Image, List, Paper, Skeleton, Stack, Text } from '@mantine/core';
1
2
  import { useRef, useState, type ReactNode } from 'react';
2
-
3
3
  import type { ImageMedia, ItemStatus, StateView } from '../data/model';
4
- import styles from './Screen.module.css';
5
-
6
- export type PlaceholderReason = 'not-captured' | 'not-reached' | 'processing' | 'not-run' | 'spec-only';
7
-
4
+ type PlaceholderReason = 'not-captured' | 'not-reached' | 'processing' | 'not-run' | 'spec-only';
8
5
  const REASON_LABEL: Record<PlaceholderReason, string> = {
9
6
  'not-captured': 'Not captured yet',
10
7
  'not-reached': 'Not reached in this run',
@@ -12,19 +9,18 @@ const REASON_LABEL: Record<PlaceholderReason, string> = {
12
9
  'not-run': 'Not in this run',
13
10
  'spec-only': 'Not captured yet'
14
11
  };
15
-
16
12
  export function placeholderReason(status: ItemStatus, media: ImageMedia | null): PlaceholderReason {
17
- if (media?.state === 'processing') return 'processing';
18
- if (status === 'not-reached') return 'not-reached';
19
- if (status === 'not-yet-run') return 'not-run';
20
- if (status === 'spec-only') return 'spec-only';
21
- return 'not-captured';
13
+ return media?.state === 'processing'
14
+ ? 'processing'
15
+ : status === 'not-reached'
16
+ ? 'not-reached'
17
+ : status === 'not-yet-run'
18
+ ? 'not-run'
19
+ : status === 'spec-only'
20
+ ? 'spec-only'
21
+ : 'not-captured';
22
22
  }
23
-
24
- /**
25
- * What a screen should look like, sketched from the spec: its name, description, and the checks
26
- * or hints that say what it shows. Clearly not a screenshot.
27
- */
23
+ /** A specification preview is explicitly labeled; it never pretends to be a recorded screenshot. */
28
24
  export function ScreenPlaceholder({
29
25
  state,
30
26
  reason,
@@ -41,84 +37,80 @@ export function ScreenPlaceholder({
41
37
  caption?: boolean;
42
38
  }) {
43
39
  const sketch = lines ? (state.hints.length ? state.hints : state.specChecks).slice(0, size === 'thumb' ? 3 : 8) : [];
44
- if (state.design) {
45
- return (
46
- <div className={styles.phone} data-size={size} data-variant="design">
47
- <img className={styles.design} src={state.design.image} alt={`Design for ${state.name}`} loading="lazy" />
48
- <span className={styles.designTag}>Design, not a screenshot</span>
49
- </div>
50
- );
51
- }
52
40
  return (
53
- <div className={styles.phone} data-size={size} data-variant="sketch" role="img" aria-label={`${state.name}: ${REASON_LABEL[reason]}`}>
54
- <div className={styles.notch} aria-hidden="true" />
55
- <div className={styles.sketch} aria-hidden="true">
56
- {description && state.description && <span className={styles.description}>{state.description}</span>}
57
- {sketch.length > 0 && (
58
- <span className={styles.lines}>
59
- {sketch.map((line) => (
60
- <span key={line} className={styles.line}>
61
- <span className={styles.tick} />
62
- <span>{line}</span>
63
- </span>
64
- ))}
65
- </span>
66
- )}
67
- {caption && <span className={styles.missing}>{REASON_LABEL[reason]}</span>}
68
- <span className={styles.bars}>
69
- <span className={styles.card} />
70
- <span className={styles.barWide} />
71
- <span className={styles.barNarrow} />
72
- <span className={styles.barWide} />
73
- <span className={styles.button} />
74
- </span>
75
- </div>
76
- </div>
41
+ <Paper withBorder p={size === 'thumb' ? 'xs' : 'lg'} w="100%" role="img" aria-label={`${state.name}: ${REASON_LABEL[reason]}`}>
42
+ {state.design ? (
43
+ <Stack gap="xs">
44
+ <Image src={state.design.image} alt={`Design for ${state.name}`} fit="contain" mah="60vh" />
45
+ <Badge color="gray">Design, not a screenshot</Badge>
46
+ </Stack>
47
+ ) : (
48
+ <Stack gap="xs">
49
+ {description && state.description && (
50
+ <Text size={size === 'thumb' ? 'xs' : 'sm'} c="dimmed">
51
+ {state.description}
52
+ </Text>
53
+ )}
54
+ {sketch.length > 0 && (
55
+ <List size="xs" spacing="xs">
56
+ {sketch.map((line) => (
57
+ <List.Item key={line}>{line}</List.Item>
58
+ ))}
59
+ </List>
60
+ )}
61
+ {caption && (
62
+ <Text size="xs" c="dimmed">
63
+ {REASON_LABEL[reason]}
64
+ </Text>
65
+ )}
66
+ <Skeleton height="4rem" animate={false} />
67
+ </Stack>
68
+ )}
69
+ </Paper>
77
70
  );
78
71
  }
79
-
80
- /** A screenshot that fades in over a same-sized skeleton, with a quiet retry if it fails. */
72
+ /** Screenshot load and retry state, without a broken-image surface or lost placeholder. */
81
73
  export function Screenshot({ src, alt, size, underlay }: { src: string; alt: string; size: 'thumb' | 'full'; underlay?: ReactNode }) {
82
74
  const [attempt, setAttempt] = useState(0);
83
75
  const [state, setState] = useState<'loading' | 'loaded' | 'failed'>('loading');
84
76
  const url = attempt ? `${src}${src.includes('?') ? '&' : '?'}retry=${attempt}` : src;
85
77
  return (
86
- <div className={styles.phone} data-size={size} data-variant="shot" data-state={state}>
87
- {state !== 'loaded' && (underlay ? <div className={styles.underlay}>{underlay}</div> : <div className={styles.skeleton} aria-hidden="true" />)}
78
+ <Stack gap="xs">
79
+ {state !== 'loaded' && (underlay ?? <Skeleton height={size === 'thumb' ? '6rem' : '18rem'} />)}
88
80
  {state === 'failed' ? (
89
- <div className={styles.failed} role="status">
90
- <span>Couldn’t load the screenshot.</span>
91
- <button
92
- type="button"
93
- className={styles.retry}
94
- onClick={(e) => {
95
- e.preventDefault();
96
- e.stopPropagation();
81
+ <Stack gap="xs" role="status">
82
+ <Text>Couldn’t load the screenshot.</Text>
83
+ <Button
84
+ onClick={(event) => {
85
+ event.preventDefault();
86
+ event.stopPropagation();
97
87
  setState('loading');
98
88
  setAttempt((n) => n + 1);
99
89
  }}
100
90
  >
101
91
  Try again
102
- </button>
103
- </div>
92
+ </Button>
93
+ </Stack>
104
94
  ) : (
105
- <img
95
+ <Image
106
96
  key={url}
107
- className={styles.img}
108
97
  src={url}
109
98
  alt={alt}
99
+ fit="contain"
100
+ maw="100%"
101
+ mah="60vh"
110
102
  loading="lazy"
111
103
  decoding="async"
112
104
  draggable={false}
105
+ display={state === 'loaded' ? 'block' : 'none'}
113
106
  onLoad={() => setState('loaded')}
114
107
  onError={() => setState('failed')}
115
108
  />
116
109
  )}
117
- </div>
110
+ </Stack>
118
111
  );
119
112
  }
120
-
121
- /** The real screenshot when there is one, the placeholder otherwise. */
113
+ /** Prefer real captured evidence; otherwise render the specification's preview. */
122
114
  export function ScreenImage({
123
115
  state,
124
116
  size,
@@ -133,9 +125,26 @@ export function ScreenImage({
133
125
  caption?: boolean;
134
126
  }) {
135
127
  const media = state.result?.screenshot ?? null;
136
- const src = media?.state === 'available' ? (size === 'thumb' ? media.thumb ?? media.full : media.full ?? media.thumb) : null;
128
+ const src = media?.state === 'available' ? (size === 'thumb' ? (media.thumb ?? media.full) : (media.full ?? media.thumb)) : null;
137
129
  const startedAsPlaceholder = useRef(src === null);
138
- const placeholder = <ScreenPlaceholder state={state} reason={placeholderReason(state.status, media)} size={size} description={description} lines={lines} caption={caption} />;
139
- if (src) return <Screenshot src={src} alt={`Screenshot of ${state.name}`} size={size} underlay={startedAsPlaceholder.current ? placeholder : undefined} />;
140
- return placeholder;
130
+ const placeholder = (
131
+ <ScreenPlaceholder
132
+ state={state}
133
+ reason={placeholderReason(state.status, media)}
134
+ size={size}
135
+ description={description}
136
+ lines={lines}
137
+ caption={caption}
138
+ />
139
+ );
140
+ return src ? (
141
+ <Screenshot
142
+ src={src}
143
+ alt={`Screenshot of ${state.name}`}
144
+ size={size}
145
+ underlay={startedAsPlaceholder.current ? placeholder : undefined}
146
+ />
147
+ ) : (
148
+ placeholder
149
+ );
141
150
  }
@@ -0,0 +1,15 @@
1
+ import { Image } from '@mantine/core';
2
+ import type { SpecKind } from '../spec-kind';
3
+
4
+ const logos: Record<SpecKind['id'], string> = {
5
+ gherkin: new URL('./spec-logos/gherkin.svg', import.meta.url).href,
6
+ quint: new URL('./spec-logos/quint.svg', import.meta.url).href,
7
+ dmn: new URL('./spec-logos/dmn.svg', import.meta.url).href,
8
+ alloy: new URL('./spec-logos/alloy.svg', import.meta.url).href,
9
+ openslo: new URL('./spec-logos/openslo.svg', import.meta.url).href
10
+ };
11
+
12
+ /** A notation's upstream mark. The adjacent visible label supplies its accessible name. */
13
+ export function SpecLogo({ kind }: { kind: SpecKind }) {
14
+ return <Image src={logos[kind.id]} data-spec-logo={kind.id} alt="" aria-hidden="true" w={20} h={20} fit="contain" />;
15
+ }
@@ -1,32 +1,23 @@
1
+ import { Badge, Box, Progress, Stack, Text } from '@mantine/core';
1
2
  import { ITEM_STATUSES, STATUS_LABEL, type ItemStatus, type StatusCounts } from '../data/model';
2
- import styles from './Status.module.css';
3
-
3
+ import { statusColor } from '../ui/theme';
4
4
  export function StatusDot({ status }: { status: ItemStatus }) {
5
- return <span className={styles.dot} data-status={status} aria-hidden="true" />;
5
+ return <Box component="span" display="inline-block" w="0.5rem" h="0.5rem" bg={`${statusColor(status)}.6`} bdrs="xl" aria-hidden="true" />;
6
6
  }
7
-
8
7
  export function StatusBadge({ status, label }: { status: ItemStatus; label?: string }) {
9
8
  return (
10
- <span className={styles.badge} data-status={status}>
11
- <StatusDot status={status} />
9
+ <Badge color={statusColor(status)} leftSection={<StatusDot status={status} />}>
12
10
  {label ?? STATUS_LABEL[status]}
13
- </span>
11
+ </Badge>
14
12
  );
15
13
  }
16
-
17
14
  const BAR_ORDER: ItemStatus[] = ['passed', 'flaky', 'failed', 'not-reached', 'not-yet-run', 'spec-only'];
18
-
19
15
  function plural(n: number, one: string, many: string) {
20
16
  return `${n} ${n === 1 ? one : many}`;
21
17
  }
22
-
23
- /**
24
- * A segmented bar: working, unreliable, broken, not reached, then whatever the run didn't cover.
25
- * With no run at all it shows the spec's count in the same shape.
26
- */
18
+ /** The same outcome proportions and accessible description wherever a chart is summarized. */
27
19
  export function SummaryBar({ noun, nounPlural, counts, verb }: { noun: string; nounPlural: string; counts: StatusCounts; verb: string }) {
28
20
  const unrun = counts['spec-only'] === counts.total;
29
- const pct = (n: number) => (counts.total ? (n / counts.total) * 100 : 0);
30
21
  const description = unrun
31
22
  ? `${plural(counts.total, noun, nounPlural)}, not yet run`
32
23
  : `${counts.passed} of ${counts.total} ${nounPlural} ${verb}` +
@@ -35,26 +26,21 @@ export function SummaryBar({ noun, nounPlural, counts, verb }: { noun: string; n
35
26
  (counts['not-reached'] ? `, ${counts['not-reached']} not reached` : '') +
36
27
  (counts['not-yet-run'] ? `, ${counts['not-yet-run']} not in this run` : '');
37
28
  return (
38
- <div className={styles.summary}>
39
- <div className={styles.summaryLabel}>
40
- {unrun ? (
41
- <>
42
- <strong>{plural(counts.total, noun, nounPlural)}</strong> · not yet run
43
- </>
44
- ) : (
45
- <>
46
- <strong>{nounPlural[0]!.toUpperCase() + nounPlural.slice(1)}</strong> {counts.passed + counts.flaky}/{counts.total} {verb}
47
- </>
29
+ <Stack gap="xs">
30
+ <Text size="xs">
31
+ {unrun
32
+ ? `${plural(counts.total, noun, nounPlural)} · not yet run`
33
+ : `${nounPlural[0]!.toUpperCase() + nounPlural.slice(1)} ${counts.passed + counts.flaky}/${counts.total} ${verb}`}
34
+ </Text>
35
+ <Progress.Root size="sm" role="img" aria-label={description}>
36
+ {BAR_ORDER.map(
37
+ (status) =>
38
+ counts[status] > 0 && (
39
+ <Progress.Section key={status} value={counts.total ? (counts[status] / counts.total) * 100 : 0} color={statusColor(status)} />
40
+ )
48
41
  )}
49
- </div>
50
- <div className={styles.bar} role="img" aria-label={description} data-unrun={unrun}>
51
- {!unrun &&
52
- BAR_ORDER.map((status) =>
53
- counts[status] ? <span key={status} className={styles.seg} data-status={status} style={{ width: `${pct(counts[status])}%` }} /> : null
54
- )}
55
- </div>
56
- </div>
42
+ </Progress.Root>
43
+ </Stack>
57
44
  );
58
45
  }
59
-
60
46
  export { ITEM_STATUSES };
@@ -1,6 +1,11 @@
1
1
  import type { EventKind } from '@crvouga/atlas/schema';
2
2
 
3
- import { BoltIcon, ClockIcon, HandOffIcon, PlayIcon } from './icons';
3
+ import {
4
+ IconBoltFilled as BoltIcon,
5
+ IconClock as ClockIcon,
6
+ IconArrowBackUp as HandOffIcon,
7
+ IconPlayerPlayFilled as PlayIcon
8
+ } from '@tabler/icons-react';
4
9
 
5
10
  export const KIND_LABEL: Record<EventKind, string> = {
6
11
  user: 'User action',
@@ -16,7 +21,7 @@ export const KIND_ICON = {
16
21
  'hand-off': HandOffIcon
17
22
  } satisfies Record<EventKind, unknown>;
18
23
 
19
- export function KindIcon({ kind, size }: { kind: EventKind; size?: number }) {
24
+ export function KindIcon({ kind, size = 16 }: { kind: EventKind; size?: number }) {
20
25
  const Icon = KIND_ICON[kind];
21
- return <Icon size={size} />;
26
+ return <Icon size={size} aria-hidden="true" />;
22
27
  }
@@ -0,0 +1,206 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ This software has been developed by the following core contributors:
179
+
180
+ * Igor Konnov: Informal Systems (Austria) 2021-2023.
181
+ * Shon Feder: Informal Systems (Canada), 2021-2023.
182
+ * Gabriela Moreira: Informal Systems (Brazil), 2021-2023.
183
+ * Jure Kukovec: Informal Systems (Austria) 2021-2023.
184
+ * Thomas Pani: Informal Systems (Austria), 2022-2023.
185
+
186
+ Further, we appreciate minor code and documentation contributions by:
187
+
188
+ * @achamayou Amaury Chamayou, 2023.
189
+ * @bu6n Billy: 2023.
190
+ * @cason Daniel: 2023.
191
+ * @hosamsayahi Hosam Sayahi, 2023.
192
+ * @ivan-gavran Ivan Gavran: Informal Systems (Austria), 2023.
193
+ * @josef-widder Josef Widder: Informal Systems (Austria), 2023.
194
+ * @lasarojc Lasaro: Informal Systems, 2022.
195
+
196
+ Licensed under the Apache License, Version 2.0 (the "License");
197
+ you may not use this file except in compliance with the License.
198
+ You may obtain a copy of the License at
199
+
200
+ http://www.apache.org/licenses/LICENSE-2.0
201
+
202
+ Unless required by applicable law or agreed to in writing, software
203
+ distributed under the License is distributed on an "AS IS" BASIS,
204
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
205
+ See the License for the specific language governing permissions and
206
+ limitations under the License.
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015-present Camunda Services GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2016-2021, John Gardner
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any
4
+ purpose with or without fee is hereby granted, provided that the above
5
+ copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,23 @@
1
+ # Spec marks
2
+
3
+ Bundled SVG artwork for the five document notations. No runtime requests to third-party sites.
4
+ Downloaded 2026-10-25. Marks identify compatible formats; no endorsement is implied. Trademarks remain
5
+ with their owners. Preserve artwork rather than redrawing a brand with UI icons.
6
+
7
+ | Format | Source | License / treatment |
8
+ | --- | --- | --- |
9
+ | Gherkin | [Cucumber mark, Simple Icons](https://github.com/simple-icons/simple-icons/blob/develop/icons/cucumber.svg) | CC0; original monochrome SVG. Gherkin is Cucumber's language. |
10
+ | Quint | [Quint's official editor mark](https://github.com/quint-co/quint/blob/main/vscode/quint-vscode/icons/logo-dark.svg) | Apache-2.0; original SVG and colors. |
11
+ | DMN | [Camunda Modeler DMN format mark](https://github.com/camunda/camunda-modeler/blob/develop/client/resources/icons/file-types/DMN.svg) | MIT; added the SVG namespace so it works as an image. |
12
+ | Alloy | [File Icons Alloy mark](https://github.com/file-icons/icons/blob/master/svg/Alloy.svg) | ISC; added a viewBox matching its original 512 × 512 coordinates. File Icons associates it with `.als`, the formal language, not other products named Alloy. |
13
+ | OpenSLO | [OpenSLO's official mark](https://github.com/OpenSLO/OpenSLO/blob/main/website/docs/assets/images/logo2.svg) | Apache-2.0; original SVG and colors. |
14
+
15
+ DMN uses the recognizable decision-table mark from its modeling ecosystem. The official
16
+ [OMG page](https://www.omg.org/dmn/) publishes a raster logo; no verified official SVG was found.
17
+ This asset is a notation mark, not a claim that Camunda's mark is the OMG standard's official logo.
18
+ Statecharts cover multiple notations and retain their existing named navigation rather than being
19
+ assigned an unrelated vendor logo.
20
+
21
+ License texts are alongside these files: APACHE-2.0.txt (Quint and OpenSLO), CAMUNDA-MIT.txt,
22
+ FILE-ICONS-ISC.txt and SIMPLE-ICONS-CC0.txt. To update a mark, retrieve the source above, inspect the
23
+ SVG for active content or external references, preserve attribution, and verify the rendered asset.
@@ -0,0 +1,30 @@
1
+ # CC0 1.0 Universal
2
+
3
+ ## Statement of Purpose
4
+
5
+ The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an “owner”) of an original work of authorship and/or a database (each, a “Work”).
6
+
7
+ Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works (“Commons”) that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others.
8
+
9
+ For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the “Affirmer”), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights.
10
+
11
+ 1. Copyright and Related Rights. A Work made available under CC0 may be protected by copyright and related or neighboring rights (“Copyright and Related Rights”). Copyright and Related Rights include, but are not limited to, the following:
12
+ 1. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work;
13
+ 2. moral rights retained by the original author(s) and/or performer(s);
14
+ 3. publicity and privacy rights pertaining to a person’s image or likeness depicted in a Work;
15
+ 4. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(i), below;
16
+ 5. rights protecting the extraction, dissemination, use and reuse of data in a Work;
17
+ 6. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and
18
+ 7. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof.
19
+
20
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer’s Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the “Waiver”). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer’s heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer’s express Statement of Purpose.
21
+
22
+ 3. Public License Fallback. Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer’s express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer’s Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the “License”). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer’s express Statement of Purpose.
23
+
24
+ 4. Limitations and Disclaimers.
25
+ 1. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document.
26
+ 2. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.
27
+ 3. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person’s Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work.
28
+ 4. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work.
29
+
30
+ For more information, please see <https://creativecommons.org/publicdomain/zero/1.0>.