Skip to content

V2/repo glue - #10

Merged
marcelgundermann merged 7 commits into
v2/scaffoldfrom
v2/repo-glue
Oct 30, 2026
Merged

marcelgundermann merged 7 commits into
v2/scaffoldfrom
v2/repo-glue

Conversation

@marcelgundermann

Copy link
Copy Markdown
Owner

No description provided.

marcelgundermann and others added 7 commits October 30, 2026 15:09
Vitest 5 writes them to .vitest/attachments/, which .vitest-attachments/
didn't match, so 26 screenshots from engine test runs were committed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nothing loaded it, and oxlint's react plugin already runs the same rules,
React Compiler ones included (react/hooks, exhaustive-deps, purity, refs,
immutability, set-state-in-render).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The e2e test listed the pages by hand and skipped the 404 page. PAGES now
lives in pages.ts, which vite.config.ts builds from and the test loops
over, so a new page is checked once it's built. A path that doesn't exist
gets the 404 page through not_found_handling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
apps/web had no tests and ran Vitest with --passWithNoTests. It now runs
them in Node with the app's own Vite config:

- classify(), by the files' headers and never their names
- checkSafety(), against the security.json this repo deploys, too
- errorMessage()
- _headers requires Trusted Types and allows exactly the policies
  trusted-types.ts creates
- wrangler.example.jsonc serves the folder Vite builds into

CI runs them in the check job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pnpm check runs format check, lint, typecheck, Knip and every package's
tests: what to run before calling a change done. CI runs Knip in the
check job.

What Knip found on the first run:
- the engine's direct @vitest/browser, which vitest/browser reaches
  through @vitest/browser-playwright
- exports used only in their own file, now unexported, and SNIFF_SIZE
  and SinkKind, which nothing used
- styles.css and with it tailwindcss, since Knip doesn't follow the
  pages' <link rel=stylesheet>: an entry in knip.jsonc, with why

devEngines makes pnpm refuse a Node older than 24 instead of warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The commands and the environment variables they take, what to run
before calling a change done, the workspace's rules, and the test
conventions. The engine's and the app's write down the rules that lived
only in lint config, package exports and comments: the engine's two
entry points, byte-identity with typage, sw-stream.ts's APIs, the seams
tests use instead of mocks, the CSP and Trusted Types, the pages and
security.json.

Claude Code reads AGENTS.md itself when there's no CLAUDE.md, so there
is none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
encryptee Error Error Oct 30, 2026 2:29pm UTC

@marcelgundermann
marcelgundermann merged commit ce951cc into v2/scaffold Oct 30, 2026
3 of 5 checks passed

This branch had an error being deployed

1 failed deployment
Preview — 3246d807 Deployed Oct 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant