Skip to content

Commit 70e8458

Browse files
author
Kevin Arthur
committed
refactor(repo): rename internal Strata identifiers to Varve
- npm workspace scope @strata/* -> @varve/* (17 packages) + all imports - cargo crates strata-* -> varve-* (11 crates, dirs moved with git mv) - env vars STRATA_* -> VARVE_* (except binary/format-tied ones kept for M3) - CI artifact names strata-* -> varve-*; wasm build outputs varve_wasm/varve_colour - STRATA_EXT/STRATA_ACCEPT constants -> DOCUMENT_EXT/VARVE_ACCEPT (values unchanged) - perf harness tokens strataPerf/strata-home -> varvePerf/varve-home Full gate green: typecheck 0 errors, lint 0 errors, 11678 tests passed, audit:emoji 0, audit:tokens 123/123, cargo test 24/24 suites. Architecture audit exits 0; import-budget warnings on Shell/CanvasArea/ Menubar/context are pre-existing on master (counts identical to HEAD, baseline JSON stale), not introduced here.
1 parent f05636d commit 70e8458

1,274 files changed

Lines changed: 3852 additions & 3842 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
if: runner.os == 'Linux'
8888
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
8989
with:
90-
name: strata-wasm
90+
name: varve-wasm
9191
path: apps/desktop/public/wasm/
9292
- name: Automated failure debug
9393
if: failure()
@@ -96,7 +96,7 @@ jobs:
9696
if: failure()
9797
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
9898
with:
99-
name: strata-debug-rust-${{ matrix.os }}-${{ github.run_id }}
99+
name: varve-debug-rust-${{ matrix.os }}-${{ github.run_id }}
100100
path: ci-debug-report.md
101101
if-no-files-found: ignore
102102
- name: Post debug report to PR
@@ -161,7 +161,7 @@ jobs:
161161
if: failure()
162162
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
163163
with:
164-
name: strata-debug-js-${{ github.run_id }}
164+
name: varve-debug-js-${{ github.run_id }}
165165
path: ci-debug-report.md
166166
if-no-files-found: ignore
167167
- name: Post debug report to PR
@@ -190,7 +190,7 @@ jobs:
190190
- name: Download wasm artifact
191191
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
192192
with:
193-
name: strata-wasm
193+
name: varve-wasm
194194
path: apps/desktop/public/wasm/
195195
- name: Install Playwright browsers
196196
run: pnpm exec playwright install --with-deps chromium
@@ -205,7 +205,7 @@ jobs:
205205
if: failure()
206206
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
207207
with:
208-
name: strata-visual-diff-${{ github.run_id }}
208+
name: varve-visual-diff-${{ github.run_id }}
209209
path: visual-diff-report/
210210
if-no-files-found: ignore
211211
- name: Automated failure debug
@@ -215,7 +215,7 @@ jobs:
215215
if: failure()
216216
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
217217
with:
218-
name: strata-debug-e2e-${{ github.run_id }}
218+
name: varve-debug-e2e-${{ github.run_id }}
219219
path: ci-debug-report.md
220220
if-no-files-found: ignore
221221
- name: Post debug report to PR
@@ -268,7 +268,7 @@ jobs:
268268
- name: Download wasm artifact
269269
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
270270
with:
271-
name: strata-wasm
271+
name: varve-wasm
272272
path: apps/desktop/public/wasm/
273273
- name: Run native desktop E2E (Linux Xvfb)
274274
if: matrix.xvfb
@@ -283,7 +283,7 @@ jobs:
283283
if: failure()
284284
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
285285
with:
286-
name: strata-debug-desktop-e2e-${{ github.run_id }}
286+
name: varve-debug-desktop-e2e-${{ github.run_id }}
287287
path: ci-debug-report.md
288288
if-no-files-found: ignore
289289
- name: Post debug report to PR
@@ -295,6 +295,6 @@ jobs:
295295
if: failure()
296296
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
297297
with:
298-
name: strata-native-artifacts-${{ matrix.name }}-${{ github.run_id }}
298+
name: varve-native-artifacts-${{ matrix.name }}-${{ github.run_id }}
299299
path: artifacts/desktop/
300300
if-no-files-found: ignore

‎.github/workflows/e2e-keyboard-nav.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
browser: [chromium, firefox, webkit]
4545
include:
4646
- os: ubuntu-latest
47-
dev-command: xvfb-run --auto-servernum pnpm --filter @strata/desktop dev
47+
dev-command: xvfb-run --auto-servernum pnpm --filter @varve/desktop dev
4848
- os: macos-latest
49-
dev-command: pnpm --filter @strata/desktop dev
49+
dev-command: pnpm --filter @varve/desktop dev
5050
- os: windows-latest
51-
dev-command: pnpm --filter @strata/desktop dev
51+
dev-command: pnpm --filter @varve/desktop dev
5252
runs-on: ${{ matrix.os }}
5353
timeout-minutes: 30
5454
steps:

‎.github/workflows/release.yml‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,21 @@ jobs:
188188
fail-fast: false
189189
matrix:
190190
include:
191+
# ubuntu-22.04, NOT ubuntu-latest. This is the whole ballgame for Linux
192+
# compatibility: a binary inherits the glibc symbol versions of the
193+
# machine that linked it, and glibc is forward- but not
194+
# backward-compatible.
195+
#
196+
# Measured against a real build (podman, ubuntu:22.04):
197+
# built on CachyOS (glibc 2.44) -> requires GLIBC_2.39 -> refuses to
198+
# exec on Ubuntu 22.04 with "version `GLIBC_2.39' not found".
199+
#
200+
# ubuntu-latest is 24.04 (glibc 2.39), so building there would produce
201+
# exactly the same floor and silently exclude Ubuntu 22.04 LTS,
202+
# Debian 12 and Fedora 38 — while the docs claimed 22.04 support.
203+
# Building on 22.04 sets the floor at glibc 2.35 and those all work.
191204
- name: linux-x86_64
192-
os: ubuntu-latest
205+
os: ubuntu-22.04
193206
os_slug: linux
194207
arch_slug: x86_64
195208
bundles: appimage,deb,rpm

‎.github/workflows/website-deploy.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
cache-dependency-path: 'pnpm-lock.yaml'
4141

4242
- name: Install dependencies
43-
run: pnpm --filter "@strata/website..." install --frozen-lockfile
43+
run: pnpm --filter "@varve/website..." install --frozen-lockfile
4444

4545
- name: Build website
46-
run: pnpm --filter @strata/website build
46+
run: pnpm --filter @varve/website build
4747

4848
- name: Upload artifact
4949
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa

‎.windsurf/plans/intelligence-implementation-plan-5ac495.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Reconcile and extend the existing `packages/editor/src/intelligence/` modules to
44

55
## Scope
66

7-
- Phase 0: Foundation (`colorMath.ts` in `@strata/shared`; `recordAction` wired to all interactive surfaces).
7+
- Phase 0: Foundation (`colorMath.ts` in `@varve/shared`; `recordAction` wired to all interactive surfaces).
88
- Phase 1: Layout & Color Intelligence (auto-naming, image fit, spacing harmonizer, WCAG contrast, palette extraction, cognitive load budget).
99
- Existing modules (`actionTracker`, `autoNamer`, `imageFitAdvisor`, `spacingHarmonizer`, `wcagFix`) will be refactored to match the spec where they diverge.
1010
- New modules (`colorMath`, `paletteExtractor`, `cognitiveLoad`, `ContrastIndicator`, `CognitiveLoadIndicator`) will be created from scratch.
1111

1212
## Approach
1313

14-
- `@strata/shared` is the canonical location for color/contrast math. `colorMath.ts` will be added there and re-exported from `index.ts`.
14+
- `@varve/shared` is the canonical location for color/contrast math. `colorMath.ts` will be added there and re-exported from `index.ts`.
1515
- `findAccessibleColor` will be implemented as a thin wrapper around the existing `autoFixContrast`, exposing the `Rgb`/`Oklch` API described in the plan.
1616
- `EditorContextValue` additions will be delivered through the existing `context/useX.ts` extraction pattern, preserving React hook order in `EditorProvider`.
1717
- Hub files (`Shell.tsx`, `CanvasArea.tsx`, `Menubar.tsx`) will receive their integrations via adapter modules under `packages/editor/src/intelligence/` where possible, to respect the dependency budgets in `AGENTS.md`.

‎AGENTS.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Adding new violations will silently break tests and block CI.
7272
A package must never import from another package that transitively imports back to it.
7373
TypeScript + Vite module resolution will either fail outright or produce non-deterministic
7474
builds depending on evaluation order. To break a cycle, move the shared code into the
75-
dependent package itself (or into `@strata/shared` if it belongs to no single owner).
75+
dependent package itself (or into `@varve/shared` if it belongs to no single owner).
7676

7777
### Sub-context `onReady` pattern (Session 44+)
7878

@@ -177,7 +177,7 @@ cleanup tooling, codemods).
177177
- `pnpm typecheck` — `tsc --noEmit` across packages/*
178178
- `pnpm audit:tokens` — WCAG 2.2 AA token gate (120 checks across 3 themes)
179179
- `pnpm audit:emoji` — zero-emoji gate
180-
- `pnpm --filter @strata/ui tokens:generate` — regenerate `tokens.css` from `color.ts`
180+
- `pnpm --filter @varve/ui tokens:generate` — regenerate `tokens.css` from `color.ts`
181181
- `just gate` — full Cascade Review gate (format-check + lint + test + audits)
182182

183183
### CI/CD Commands
@@ -396,15 +396,15 @@ See `docs/architecture/text-pipeline.md`.
396396
### packages/ (TypeScript)
397397
| Package | Status | Contents |
398398
|---|---|---|
399-
| `@strata/engine` | **Built** | Engine facade (stub/native/wasm), IR types, `replayIr`, geometry helpers |
400-
| `@strata/scene` | **Built** | Immutable Document model, nodes, ops, master pages, spreads |
401-
| `@strata/ui` | **Built** | Design tokens, icons (Lucide/Phosphor), APG components |
402-
| `@strata/editor` | **Built** | Shell (CSS Grid), EditorProvider, CanvasArea, LayersPanel, InspectorPanel, shortcuts |
403-
| `@strata/codegen` | **Built** | SVG, React, Flutter, SwiftUI code export |
404-
| `@strata/prototype` | **Built** | Prototype engine: triggers, actions, animation, transitions, navigation |
405-
| `@strata/shared` | **Built** | Ordering, debounce, easing, units |
406-
| `@strata/import` | **Built** | SVG/PDF/PSD/AI/EPS import parsers |
407-
| `@strata/platform` | **Built** | Platform abstraction (Tauri/web/memory) |
399+
| `@varve/engine` | **Built** | Engine facade (stub/native/wasm), IR types, `replayIr`, geometry helpers |
400+
| `@varve/scene` | **Built** | Immutable Document model, nodes, ops, master pages, spreads |
401+
| `@varve/ui` | **Built** | Design tokens, icons (Lucide/Phosphor), APG components |
402+
| `@varve/editor` | **Built** | Shell (CSS Grid), EditorProvider, CanvasArea, LayersPanel, InspectorPanel, shortcuts |
403+
| `@varve/codegen` | **Built** | SVG, React, Flutter, SwiftUI code export |
404+
| `@varve/prototype` | **Built** | Prototype engine: triggers, actions, animation, transitions, navigation |
405+
| `@varve/shared` | **Built** | Ordering, debounce, easing, units |
406+
| `@varve/import` | **Built** | SVG/PDF/PSD/AI/EPS import parsers |
407+
| `@varve/platform` | **Built** | Platform abstraction (Tauri/web/memory) |
408408

409409
### apps/
410410
| App | Status | Contents |
@@ -434,7 +434,7 @@ merge sequentially. Verify with `just gate` after each merge.
434434
- TS strict, no `any` (Biome enforces `noExplicitAny: error`).
435435
- Rust `unsafe_code = deny` workspace-wide.
436436
- Cross-platform: if it works on macOS but not Linux, it's not done.
437-
- **No native `<select>` elements** — use `@strata/ui`'s custom `Select` component.
437+
- **No native `<select>` elements** — use `@varve/ui`'s custom `Select` component.
438438

439439
## Session history
440440

0 commit comments

Comments
 (0)