For building apps fast: every deploy of every app runs the scaffold's own bun test beside the process ("serving — still verifying its tests" in src/apps/runtime.ts). Every agent pull on an app waits on that suite too. The suite grows with the scaffold (src/apps/scaffold.ts, about 6,000 lines), and nothing bounds how long it takes.
Done:
[ ] test/scaffold.test.ts times the written-out app's bun test and fails above 3 s. The measured time is printed.
[ ] Whatever is slower than that inside the scaffold's suite is made faster: one server per file, no sleeps, no real timers where a fake clock serves. The suite still proves every guarantee in docs/APPS.md's table.
[ ] docs/APPS.md says the budget in one line.
Files: src/apps/scaffold.ts (its test files), test/scaffold.test.ts, docs/APPS.md.
Risk: do not weaken a guarantee to meet the budget.
Fits: a builder who knows the scaffold.
For building apps fast: every deploy of every app runs the scaffold's own
bun testbeside the process ("serving — still verifying its tests" insrc/apps/runtime.ts). Every agent pull on an app waits on that suite too. The suite grows with the scaffold (src/apps/scaffold.ts, about 6,000 lines), and nothing bounds how long it takes.Done:
test/scaffold.test.tstimes the written-out app'sbun testand fails above 3 s. The measured time is printed.Files: src/apps/scaffold.ts (its test files), test/scaffold.test.ts, docs/APPS.md. Risk: do not weaken a guarantee to meet the budget. Fits: a builder who knows the scaffold.