[repo] Workspace: Scaffold Phase 0 with schema, engine, content, ui and the PWA shell

pnpm + turbo workspace with the commands from CLAUDE.md §3. The contracts
from §6 as JSON Schemas with generated types; localDay as the one place a
day is computed; the forbidden-word list shared by lint:copy and the
library validator, with 13 negative fixtures; a Svelte 5 PWA shell built
under /Rosea/ with a meta CSP. E2E and offline suites run against the
built bundle; the offline one closes the server rather than emulating.

Analysis: .agents/features/phase0-workspace.md
This commit is contained in:
2026-11-01 00:27:33 +01:00
parent 1e4c5a06b6
commit 49c8def037
78 changed files with 9015 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<script lang="ts">
import { PRODUCT_NAME } from '@rosea/schema';
import { en } from './copy/en.js';
</script>
<main class="shell">
<h1>{PRODUCT_NAME}</h1>
<p>{en.shell.preparing}</p>
</main>
<style>
.shell {
min-height: 100dvh;
display: grid;
place-content: center;
gap: var(--space-2);
padding: var(--space-4);
text-align: center;
}
h1 {
margin: 0;
font-family: var(--font-display);
font-weight: 400;
font-size: clamp(2rem, 8vw, 3.5rem);
letter-spacing: 0.02em;
color: var(--rose);
}
p {
margin: 0;
color: var(--ink-soft);
}
</style>