[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:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"expect": "duplicate-id",
|
||||
"why": "Two entries with one id: a message between players would be ambiguous.",
|
||||
"entries": [
|
||||
{
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text, not a real sentence."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
},
|
||||
{
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Another fixture text."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "forbidden-word",
|
||||
"why": "A medical-claim word, inside a hyphenated compound.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text about self-healing."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"expect": "forbidden-word",
|
||||
"why": "A name from The Little Prince, in the Czech text.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text, not a real sentence.",
|
||||
"cs": "Fixture text, Malý princ."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "forbidden-word",
|
||||
"why": "A name from Tolkien.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text naming Gandalf."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "forbidden-word",
|
||||
"why": "Names the state the game never names, capitalised to prove case is ignored.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text for the Lonely."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "schema",
|
||||
"why": "An id is what travels between players; it can never be a sentence.",
|
||||
"entry": {
|
||||
"id": "meet me at the station",
|
||||
"text": {
|
||||
"en": "Fixture text, not a real sentence."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"expect": "no-source",
|
||||
"why": "Every sentence names its source.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text, not a real sentence."
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"expect": "no-tradition",
|
||||
"why": "Missing tradition tag.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text, not a real sentence."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "not-public-domain",
|
||||
"why": "A source not verified public domain, and not written by the author for Rosea.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text, not a real sentence."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "stoic",
|
||||
"translation": null,
|
||||
"publicDomain": false,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "promises-outcome",
|
||||
"why": "Honestly marked as promising an outcome.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text, not a real sentence."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "promises-outcome",
|
||||
"why": "Promises an outcome while marked promisesOutcome: false. Flagged for human review.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture: everything will be fine."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "too-long",
|
||||
"why": "Over the length cap.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text that runs on far past the cap. Fixture text that runs on far past the cap. Fixture text that runs on far past the cap. Fixture text that runs on far past the cap. Fixture text that runs on far past the cap. Fixture text that runs on far past the cap."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "KJV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"expect": "translation-under-copyright",
|
||||
"why": "A modern Bible translation that is still under copyright.",
|
||||
"entry": {
|
||||
"id": "fixture-entry",
|
||||
"text": {
|
||||
"en": "Fixture text, not a real sentence."
|
||||
},
|
||||
"source": {
|
||||
"work": "Fixture",
|
||||
"author": null,
|
||||
"tradition": "biblical",
|
||||
"translation": "NIV",
|
||||
"publicDomain": true,
|
||||
"verifiedBy": "Fixture",
|
||||
"verifiedAt": "2026-11-01"
|
||||
},
|
||||
"use": [
|
||||
"sunset"
|
||||
],
|
||||
"tone": "gentle",
|
||||
"promisesOutcome": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user