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 here.
Candidates wait in ../candidates/, one file per tradition, in
the same shape without publicDomain, verifiedBy and verifiedAt, and with a
check: the page to read the sentence on, where in the work it is, and why it is in
the public domain. pnpm validate:library holds every candidate to every library
rule, so none would fail once verified.
To verify (the author only): read each sentence at its check.url, confirm the
words and the public-domain reason, then
pnpm library:verify ps-118-24 cicero-amicitia-22 --by Mark
It moves those candidates into the library file of the same name, with your name and
today's date, and refuses (moving nothing) if the library would then fail. Commit the
result. A line the author writes for Rosea goes straight into rosea.json, with
"tradition": "rosea".
Run pnpm validate:library after any change. The validator also runs every file
in ../fixtures/, and fails if any fixture passes. The app's
build runs it first, so the app only ever ships what passed.
Before the first release: at least 365 entries with "use": ["sunset", …], so that
no sunset sentence repeats within a year.