49c8def037
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
834 B
834 B
The hope library
One JSON file per source tradition (biblical.json, stoic.json, rosea.json, …).
Each file is an array of entries in the shape of
hope-sentence.schema.json
(CLAUDE.md §6.1).
It is empty on purpose. Every entry carries verifiedBy and verifiedAt, which
record that a person checked the source and its public-domain status. An agent
cannot make that check, so agents do not add entries. They may prepare a candidate
list elsewhere for the author to verify.
Run pnpm validate:library after any change. The validator also runs every file
in ../fixtures/, and fails if any fixture passes.
Before the first release: at least 365 entries with "use": ["sunset", …], so that
no sunset sentence repeats within a year.