@zigrivers/scaffold 3.29.0 → 3.31.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.
- package/content/guides/AUTHORING.md +146 -0
- package/content/guides/cli/index.html +1855 -0
- package/content/guides/cli/index.md +206 -0
- package/content/guides/concepts/index.html +1970 -0
- package/content/guides/concepts/index.md +347 -0
- package/content/guides/dashboard/index.html +1913 -0
- package/content/guides/dashboard/index.md +264 -0
- package/content/guides/index.html +368 -15
- package/content/guides/install/.diagrams/diagram-0.svg +1 -0
- package/content/guides/install/.diagrams/manifest.json +3 -0
- package/content/guides/install/index.html +1653 -0
- package/content/guides/install/index.md +186 -0
- package/content/guides/knowledge/.diagrams/diagram-0.svg +1 -0
- package/content/guides/knowledge/.diagrams/manifest.json +3 -0
- package/content/guides/knowledge/index.html +1765 -0
- package/content/guides/knowledge/index.md +209 -0
- package/content/guides/knowledge-freshness/.diagrams/diagram-0.svg +1 -0
- package/content/guides/knowledge-freshness/.diagrams/manifest.json +3 -0
- package/content/guides/knowledge-freshness/index.html +2795 -0
- package/content/guides/knowledge-freshness/index.md +893 -0
- package/content/guides/mmr/index.html +407 -36
- package/content/guides/mmr/index.md +39 -16
- package/content/guides/multi-agent/.diagrams/diagram-0.svg +1 -0
- package/content/guides/multi-agent/.diagrams/manifest.json +3 -0
- package/content/guides/multi-agent/index.html +1715 -0
- package/content/guides/multi-agent/index.md +243 -0
- package/content/guides/observability/.diagrams/diagram-0.svg +1 -0
- package/content/guides/observability/.diagrams/diagram-1.svg +1 -0
- package/content/guides/observability/.diagrams/diagram-2.svg +1 -0
- package/content/guides/observability/.diagrams/diagram-3.svg +1 -0
- package/content/guides/observability/.diagrams/manifest.json +6 -0
- package/content/guides/observability/index.html +3257 -0
- package/content/guides/observability/index.md +1097 -0
- package/content/guides/pipeline/.diagrams/diagram-0.svg +1 -0
- package/content/guides/pipeline/.diagrams/diagram-1.svg +1 -0
- package/content/guides/pipeline/.diagrams/manifest.json +4 -0
- package/content/guides/pipeline/index.html +1973 -0
- package/content/guides/pipeline/index.md +387 -0
- package/content/guides/review-workflow/.diagrams/diagram-0.svg +1 -0
- package/content/guides/review-workflow/.diagrams/diagram-1.svg +1 -0
- package/content/guides/review-workflow/.diagrams/manifest.json +4 -0
- package/content/guides/review-workflow/index.html +1790 -0
- package/content/guides/review-workflow/index.md +248 -0
- package/dist/guides/build.d.ts +1 -1
- package/dist/guides/build.d.ts.map +1 -1
- package/dist/guides/build.js +21 -9
- package/dist/guides/build.js.map +1 -1
- package/dist/guides/build.test.js +47 -0
- package/dist/guides/build.test.js.map +1 -1
- package/dist/guides/chrome.d.ts.map +1 -1
- package/dist/guides/chrome.js +83 -12
- package/dist/guides/chrome.js.map +1 -1
- package/dist/guides/dashboard-theme.css +8 -0
- package/dist/guides/directives-cite.test.d.ts +2 -0
- package/dist/guides/directives-cite.test.d.ts.map +1 -0
- package/dist/guides/directives-cite.test.js +26 -0
- package/dist/guides/directives-cite.test.js.map +1 -0
- package/dist/guides/directives-tabs.test.js +47 -0
- package/dist/guides/directives-tabs.test.js.map +1 -1
- package/dist/guides/directives.d.ts +1 -0
- package/dist/guides/directives.d.ts.map +1 -1
- package/dist/guides/directives.js +38 -0
- package/dist/guides/directives.js.map +1 -1
- package/dist/guides/guides.css +268 -0
- package/dist/guides/index-page.d.ts.map +1 -1
- package/dist/guides/index-page.js +41 -8
- package/dist/guides/index-page.js.map +1 -1
- package/dist/guides/links.d.ts +14 -0
- package/dist/guides/links.d.ts.map +1 -0
- package/dist/guides/links.js +56 -0
- package/dist/guides/links.js.map +1 -0
- package/dist/guides/links.test.d.ts +2 -0
- package/dist/guides/links.test.d.ts.map +1 -0
- package/dist/guides/links.test.js +72 -0
- package/dist/guides/links.test.js.map +1 -0
- package/dist/guides/render.d.ts +1 -0
- package/dist/guides/render.d.ts.map +1 -1
- package/dist/guides/render.js +1 -1
- package/dist/guides/render.js.map +1 -1
- package/dist/guides/sanitize.d.ts.map +1 -1
- package/dist/guides/sanitize.js +5 -0
- package/dist/guides/sanitize.js.map +1 -1
- package/dist/guides/template.d.ts.map +1 -1
- package/dist/guides/template.js +7 -2
- package/dist/guides/template.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Dashboard & Design System
|
|
3
|
+
topic: dashboard
|
|
4
|
+
description: The pipeline dashboard, its panels, the design-token system, and how to customize it safely
|
|
5
|
+
category: tools
|
|
6
|
+
order: 50
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## What the dashboard is
|
|
10
|
+
|
|
11
|
+
Each dashboard is a single, self-contained HTML file that visualizes where a
|
|
12
|
+
Scaffold build stands: which pipeline steps are done and what to run next.
|
|
13
|
+
Everything is inlined (CSS, JS, data); there are no CDN fonts, stylesheets, or
|
|
14
|
+
scripts, so the file works offline and renders identically wherever you open it.
|
|
15
|
+
|
|
16
|
+
:::callout{type=warning}
|
|
17
|
+
**Two different producers — this guide documents the bash generator.** Scaffold
|
|
18
|
+
has two distinct dashboard surfaces that do **not** share markup, CSS, or
|
|
19
|
+
features:
|
|
20
|
+
|
|
21
|
+
- **`scaffold dashboard`** (the user-facing CLI) renders HTML from
|
|
22
|
+
`src/dashboard/template.ts` + `generator.ts`. It has its own inline `<style>`
|
|
23
|
+
block (classes like `.container`, `.phase-header`, `.summary-cards`), a
|
|
24
|
+
**Decision Log** section, and standalone-command cards. It does **not** read
|
|
25
|
+
`lib/dashboard-theme.css`, has **no** Beads task section, and does **not**
|
|
26
|
+
inject the Build-Observability panels. The CLI writes the HTML to a temp file
|
|
27
|
+
(or `--output <path>`) and opens it via `open` / `xdg-open` / `start`
|
|
28
|
+
(:cite[src/cli/commands/dashboard.ts:64-66]).
|
|
29
|
+
- **`scripts/generate-dashboard.sh`** is the visual-test fixture that
|
|
30
|
+
`make dashboard-test` runs. It embeds `lib/dashboard-theme.css`, renders a
|
|
31
|
+
Beads task section, and injects the two Build-Observability panels. Its
|
|
32
|
+
classes (`.phase-hdr`, `.pcard`, `.beads-section`) and design tokens are
|
|
33
|
+
exclusive to this surface.
|
|
34
|
+
|
|
35
|
+
The rest of this guide documents the **`scripts/generate-dashboard.sh`**
|
|
36
|
+
surface — the one used for visual verification and the one that carries the
|
|
37
|
+
`lib/dashboard-theme.css` token system. The panels, classes, design tokens, and
|
|
38
|
+
inline JS described below belong to that generator, **not** to the
|
|
39
|
+
`scaffold dashboard` CLI command.
|
|
40
|
+
:::
|
|
41
|
+
|
|
42
|
+
## Reading the dashboard
|
|
43
|
+
|
|
44
|
+
The page is built top-to-bottom by the inline renderer in the generator. From
|
|
45
|
+
the header down:
|
|
46
|
+
|
|
47
|
+
| Region | Classes | What it shows |
|
|
48
|
+
| --- | --- | --- |
|
|
49
|
+
| Header | `.header`, `.header-meta`, `.theme-toggle` | Title, profile badge, project name + timestamp, light/dark toggle |
|
|
50
|
+
| Status legend | `.status-legend` | The four pipeline status badges (Done / Likely Done / Skipped / Pending) |
|
|
51
|
+
| Progress bar | `.progress-bar`, `.seg-done`, `.seg-likely`, `.seg-skip` | Proportional completion rail |
|
|
52
|
+
| Summary cards | `.cards`, `.card`, `.card-num` | Counts: completed, likely, skipped, pending, total, Beads-open |
|
|
53
|
+
| What's Next | `.next-banner`, `.next-cmd` | The recommended next command, with a copy button |
|
|
54
|
+
| Phases | `.phase`, `.phase-hdr`, `.pcard` | Collapsible phase sections, one prompt card per step |
|
|
55
|
+
| Beads Tasks | `.beads-section`, `.beads-filters` (container), `.beads-filter` (buttons) | Filterable task list (status + priority), cards open a detail modal |
|
|
56
|
+
| Build Progress / Audit | `#build-progress`, `#build-audit` | The two Build-Observability panels (only when populated) |
|
|
57
|
+
|
|
58
|
+
The header, legend, progress bar, summary cards, and What's Next banner are all
|
|
59
|
+
emitted in sequence by the renderer (:cite[scripts/generate-dashboard.sh:505-544]).
|
|
60
|
+
|
|
61
|
+
### The Build-Observability panels
|
|
62
|
+
|
|
63
|
+
After the pipeline content, the generator shells out to Build Observability and
|
|
64
|
+
splices its HTML fragments into the page between named HTML comment markers
|
|
65
|
+
(`<!-- observe:progress -->` … `<!-- /observe:progress -->` and the audit pair),
|
|
66
|
+
preferring a local `dist/index.js` build and falling back to a global `scaffold`
|
|
67
|
+
binary (:cite[scripts/generate-dashboard.sh:872-887]):
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
scaffold observe progress --render=dashboard-fragment # → #build-progress panel
|
|
71
|
+
scaffold observe audit --render=dashboard-fragment-audit # → #build-audit panel
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Each renders as a `<section class="panel">` — `#build-progress` for the live
|
|
75
|
+
timeline and `#build-audit` (carrying `data-verdict` and `data-threshold`) for
|
|
76
|
+
audit findings. If neither a local build nor a global `scaffold` is available the
|
|
77
|
+
markers stay empty and the panels simply don't appear. See the
|
|
78
|
+
[Build Observability guide](../observability/index.md){mode=advisory} for what
|
|
79
|
+
those panels report.
|
|
80
|
+
|
|
81
|
+
### Filters and modals (the inline JS)
|
|
82
|
+
|
|
83
|
+
The dashboard is interactive without any framework — a handful of vanilla
|
|
84
|
+
functions are inlined at the foot of the generated HTML:
|
|
85
|
+
|
|
86
|
+
- **Collapse a phase** — clicking a `.phase-hdr` calls `togglePhase()`, which
|
|
87
|
+
toggles `.closed` on the header (rotating its arrow) and `.hidden` on the next
|
|
88
|
+
sibling list (:cite[scripts/generate-dashboard.sh:825-828]).
|
|
89
|
+
- **Copy a command** — clicking a `.pcmd` calls `copyCmd()`, which writes the
|
|
90
|
+
`data-cmd` value to the clipboard and flashes the `.copied` state for 1.5 s
|
|
91
|
+
(:cite[scripts/generate-dashboard.sh:829-838]).
|
|
92
|
+
- **Filter Beads** — `filterBeads()` switches the active status filter and
|
|
93
|
+
`filterBeadsPrio()` toggles priority filters; cards carry `data-bead-status`
|
|
94
|
+
and `data-bead-priority` so the filters can show/hide them
|
|
95
|
+
(:cite[scripts/generate-dashboard.sh:733-741]).
|
|
96
|
+
- **Beads task detail modal** — `openBeadModal(id)` builds a `.modal-overlay`
|
|
97
|
+
detail view for a Beads task (status, priority, deps, timestamps); close via
|
|
98
|
+
the X, Escape, or a backdrop click
|
|
99
|
+
(:cite[scripts/generate-dashboard.sh:756-816]).
|
|
100
|
+
- **Prompt detail modal** — clicking a prompt card calls `openModal(slug)`,
|
|
101
|
+
which renders the full prompt content for that pipeline step in the same
|
|
102
|
+
`.modal-overlay` shell (:cite[scripts/generate-dashboard.sh:693-710]).
|
|
103
|
+
- **Audit finding filters** — on load, `initAuditFilters()` finds the
|
|
104
|
+
`#build-audit` section, reads its `data-threshold`, and wires the
|
|
105
|
+
`[data-filter]` buttons to show/hide `.finding` rows by severity rank
|
|
106
|
+
(:cite[scripts/generate-dashboard.sh:839-863]).
|
|
107
|
+
|
|
108
|
+
## The design-token system
|
|
109
|
+
|
|
110
|
+
`lib/dashboard-theme.css` defines a shared set of CSS custom properties for
|
|
111
|
+
colors, spacing, sizes, and radii. Component styles should prefer these tokens
|
|
112
|
+
via `var(--token)` — that is what keeps light and dark mode in lockstep and the
|
|
113
|
+
surface coherent. The contract is "prefer tokens," not "tokens only": the file
|
|
114
|
+
still contains some component-level raw values (e.g. `#fff`, gradient stop hex
|
|
115
|
+
colors, `rgba(...)`, and a few one-off pixel values like `99px`, `720px`, and
|
|
116
|
+
`130px`). Promote a raw value to a token when it needs light/dark parity or
|
|
117
|
+
reuse; leave genuinely one-off structural values inline rather than minting a
|
|
118
|
+
single-use token.
|
|
119
|
+
|
|
120
|
+
### Colors — light + dark parity
|
|
121
|
+
|
|
122
|
+
The light palette is declared on `:root` (:cite[lib/dashboard-theme.css:11-35]),
|
|
123
|
+
and every color token has a matching override under `[data-theme="dark"]`
|
|
124
|
+
(:cite[lib/dashboard-theme.css:98-120]). Dark mode is not a filter — backgrounds
|
|
125
|
+
go dramatically darker, text lightens but stays slightly warm, and accents shift
|
|
126
|
+
lighter for contrast on dark surfaces.
|
|
127
|
+
|
|
128
|
+
:::filter-table
|
|
129
|
+
| token | light | dark | role |
|
|
130
|
+
| --- | --- | --- | --- |
|
|
131
|
+
| `--bg` | `#f5f6fa` | `#0f1117` | Page background |
|
|
132
|
+
| `--bg-card` | `#ffffff` | `#1a1d2e` | Card / panel surface |
|
|
133
|
+
| `--bg-inset` | `#e8eaf2` | `#141724` | Recessed elements (copy buttons, inputs) |
|
|
134
|
+
| `--text` | `#1a1d2e` | `#e2e5f0` | Primary text |
|
|
135
|
+
| `--text-muted` | `#6b7294` | `#7c82a8` | Secondary text |
|
|
136
|
+
| `--border` | `#dde0ed` | `#2a2f45` | Default borders |
|
|
137
|
+
| `--accent` | `#4f46e5` | `#818cf8` | Primary interactive color |
|
|
138
|
+
| `--green` | `#059669` | `#34d399` | Completed status |
|
|
139
|
+
| `--blue` | `#2563eb` | `#60a5fa` | Likely-completed status |
|
|
140
|
+
| `--yellow` | `#d97706` | `#fbbf24` | Warnings / blocked |
|
|
141
|
+
| `--gray` | `#9ca3af` | `#6b7294` | Skipped status |
|
|
142
|
+
:::
|
|
143
|
+
|
|
144
|
+
Each status color (`--green`, `--blue`, `--yellow`, `--gray`) also has `-bg` and
|
|
145
|
+
`-border` companions used by badges and status dots, so a status reads correctly
|
|
146
|
+
on both card and inset surfaces.
|
|
147
|
+
|
|
148
|
+
:::callout{type=note}
|
|
149
|
+
The table above is a high-level subset of the most visible status and surface
|
|
150
|
+
tokens — not the complete set. `lib/dashboard-theme.css` (and
|
|
151
|
+
`docs/design-system.md` §2) also define many component-specific semantic tokens
|
|
152
|
+
such as `--bg-hover`, `--text-faint`, the `--next-*`, `--progress-*`,
|
|
153
|
+
`--shadow-*`, `--accent-hover` / `--accent-glow`, and `--border-light`. Consult
|
|
154
|
+
the CSS file and §2 for the full system.
|
|
155
|
+
:::
|
|
156
|
+
|
|
157
|
+
### Spacing — the `--sp-*` scale
|
|
158
|
+
|
|
159
|
+
All spacing comes from an 8-step scale on a 4px base
|
|
160
|
+
(:cite[lib/dashboard-theme.css:63-71]). There are no ad-hoc margins or paddings;
|
|
161
|
+
layout is composed entirely from these:
|
|
162
|
+
|
|
163
|
+
| token | value | typical use |
|
|
164
|
+
| --- | --- | --- |
|
|
165
|
+
| `--sp-1` | `4px` | minimal gaps (dot margin) |
|
|
166
|
+
| `--sp-2` | `8px` | tight gaps (badge padding) |
|
|
167
|
+
| `--sp-3` | `12px` | card gap, prompt-card padding |
|
|
168
|
+
| `--sp-4` | `16px` | card inner padding, section gap |
|
|
169
|
+
| `--sp-5` | `20px` | banner padding |
|
|
170
|
+
| `--sp-6` | `24px` | section margin, page side padding |
|
|
171
|
+
| `--sp-8` | `32px` | page top/bottom padding |
|
|
172
|
+
| `--sp-10` | `40px` | major section separation, footer |
|
|
173
|
+
|
|
174
|
+
### Typography, radius & layout
|
|
175
|
+
|
|
176
|
+
The font stacks are system-only (no web fonts): `--font-sans` for body and
|
|
177
|
+
headings, `--font-mono` for commands, counts, and step numbers
|
|
178
|
+
(:cite[lib/dashboard-theme.css:74-75]). Sizes run on a `--text-xs` … `--text-2xl`
|
|
179
|
+
scale (:cite[lib/dashboard-theme.css:76-81]), paired with `--lh-*` line heights,
|
|
180
|
+
`--fw-*` weights, and `--ls-*` letter-spacing tokens. Surfaces use `--radius`
|
|
181
|
+
(10px) for cards/panels and `--radius-sm` (6px) for buttons and code blocks
|
|
182
|
+
(:cite[lib/dashboard-theme.css:26]); content is centered within `--max-w` (960px)
|
|
183
|
+
(:cite[lib/dashboard-theme.css:93]). Depth comes from a four-step shadow scale,
|
|
184
|
+
with `--shadow-lg` reserved for modals and overlays
|
|
185
|
+
(:cite[lib/dashboard-theme.css:61]).
|
|
186
|
+
|
|
187
|
+
## Customizing the dashboard safely
|
|
188
|
+
|
|
189
|
+
The dashboard's coherence is enforced by convention, not by a build step — so the
|
|
190
|
+
rules in `docs/design-system.md` are load-bearing (with the §6.1 caveat noted
|
|
191
|
+
below). Follow the add-a-token / add-a-component flow and stay inside the token
|
|
192
|
+
system.
|
|
193
|
+
|
|
194
|
+
:::callout{type=warning}
|
|
195
|
+
**Two rules that are never optional.** (1) **Prefer tokens for anything that
|
|
196
|
+
needs light/dark parity** — never hardcode a color, theme-dependent value, or
|
|
197
|
+
font name in a component style; if you need a value that doesn't exist, add a
|
|
198
|
+
*token* first. (Purely structural one-offs may stay inline — see the token
|
|
199
|
+
section above.) (2) **Always ship both modes** —
|
|
200
|
+
every new color token needs a `:root` value *and* a `[data-theme="dark"]`
|
|
201
|
+
override, and every change must be checked in light *and* dark. Skipping the dark
|
|
202
|
+
override leaves the token undefined in dark mode and breaks the surface.
|
|
203
|
+
:::
|
|
204
|
+
|
|
205
|
+
To add a token: declare it on `:root` in the light section of
|
|
206
|
+
`lib/dashboard-theme.css`, add the dark override under `[data-theme="dark"]`,
|
|
207
|
+
then reference it as `var(--token)`. Note that `docs/design-system.md` §6.1 is
|
|
208
|
+
stale here — it still says to add the dark override to a
|
|
209
|
+
`@media (prefers-color-scheme: dark)` block, but no such block exists in
|
|
210
|
+
`lib/dashboard-theme.css`; the dark tokens live only under the `[data-theme="dark"]`
|
|
211
|
+
attribute selector. Follow the code, not §6.1. To add a component: add its styles to the right section of the
|
|
212
|
+
theme file, reuse existing tokens (add new ones first if needed), wire its markup
|
|
213
|
+
into the generator JS, and document it in §3. New components should reuse
|
|
214
|
+
established patterns — for example, collapsible sections reuse the same
|
|
215
|
+
`.phase-hdr` + `togglePhase()` mechanism as pipeline phases, and detail views
|
|
216
|
+
reuse `.modal-overlay`.
|
|
217
|
+
|
|
218
|
+
Also avoid: `!important` (restructure selectors instead), any second theme
|
|
219
|
+
mechanism (the `[data-theme]` toggle is the only one), and external resource
|
|
220
|
+
references — the generated HTML must stay self-contained. Dark mode is driven by
|
|
221
|
+
the inline bootstrap that reads `localStorage.getItem('scaffold-theme')`, falling
|
|
222
|
+
back to `prefers-color-scheme` on first visit
|
|
223
|
+
(:cite[scripts/generate-dashboard.sh:438]), and the `.theme-toggle` button flips
|
|
224
|
+
the `[data-theme]` attribute and persists the choice via
|
|
225
|
+
`localStorage.setItem('scaffold-theme', …)`
|
|
226
|
+
(:cite[scripts/generate-dashboard.sh:817-823]).
|
|
227
|
+
|
|
228
|
+
## Visual testing
|
|
229
|
+
|
|
230
|
+
Reference guides are verified manually with a screenshot, and the dashboard
|
|
231
|
+
itself is verified the same way: after any change to
|
|
232
|
+
`scripts/generate-dashboard.sh`, `lib/dashboard-theme.css`, or a dashboard test,
|
|
233
|
+
render it and look at it in a browser. There is no pixel-diff gate — a human (or
|
|
234
|
+
an agent driving Playwright MCP) confirms the rendering.
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
make dashboard-test # writes tests/screenshots/dashboard-test.html
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
Then drive Playwright MCP over the generated file: `browser_navigate` to its
|
|
241
|
+
`file://` path, `browser_resize` to 1280×800 then 375×812, take a
|
|
242
|
+
`browser_take_screenshot` at each. For dark mode, don't rely on emulating
|
|
243
|
+
`prefers-color-scheme` after the page has loaded — the inline bootstrap reads it
|
|
244
|
+
only once, so the page stays on whatever `[data-theme]` is already set. Instead,
|
|
245
|
+
either set `localStorage('scaffold-theme', 'dark')` and reload, or click the
|
|
246
|
+
`.theme-toggle` button; then confirm
|
|
247
|
+
`document.documentElement.dataset.theme === 'dark'` **before** capturing the
|
|
248
|
+
dark screenshots (and clear/set the key back for light shots). Also exercise the
|
|
249
|
+
interactive bits (expand/collapse a phase, a Beads filter, a modal), and
|
|
250
|
+
`browser_snapshot` to sanity-check accessibility.
|
|
251
|
+
|
|
252
|
+
The minimum coverage for any dashboard change is desktop + mobile in both light
|
|
253
|
+
and dark mode, plus the interactive elements, compared against the committed
|
|
254
|
+
baselines.
|
|
255
|
+
|
|
256
|
+
| Path | Role |
|
|
257
|
+
| --- | --- |
|
|
258
|
+
| `tests/screenshots/dashboard-test.html` | Generated test fixture (from `make dashboard-test`) |
|
|
259
|
+
| `tests/screenshots/baseline/` | Committed baselines |
|
|
260
|
+
| `tests/screenshots/current/` | New screenshots (gitignored); name `{feature}_{viewport}_{state}.png` |
|
|
261
|
+
|
|
262
|
+
Update a baseline only for an intentional visual change — copy the new shot from
|
|
263
|
+
`current/` to `baseline/` and commit it. Full workflow and naming live in
|
|
264
|
+
`docs/tdd-standards.md` §7 and the design rules in `docs/design-system.md`.
|