Pull #16 died as start: exited with code 1 before answering with a stack at the serve() call — a migration failing on a preview's copy of production data, reported as a stack trace nobody could act on. Every issue still on the map adds a migration, so make this failure loud, cheap to reproduce, and caught before it ships.
What done looks like
Files I expect to change:src/db.ts, src/db.test.ts, forge.json, AGENTS.md, README.md.
Risks: do not edit a migration that has run to make a test pass — if one is wrong, the fix is another migration. Keep the --check run pointed at a temporary directory so the check never touches real data. The error text goes to stderr and names the migration index and SQLite's message, nothing about a person or a row.
Fit: Hearth — a failure that says what broke, and a check that catches it before a person does. A person assigns; I do not.
Pull #16 died as
start: exited with code 1 before answeringwith a stack at theserve()call — a migration failing on a preview's copy of production data, reported as a stack trace nobody could act on. Every issue still on the map adds a migration, so make this failure loud, cheap to reproduce, and caught before it ships.What done looks like
Files I expect to change:
src/db.ts,src/db.test.ts,forge.json,AGENTS.md,README.md.Risks: do not edit a migration that has run to make a test pass — if one is wrong, the fix is another migration. Keep the
--checkrun pointed at a temporary directory so the check never touches real data. The error text goes to stderr and names the migration index and SQLite's message, nothing about a person or a row.Fit: Hearth — a failure that says what broke, and a check that catches it before a person does. A person assigns; I do not.