Correct dev-seed module docstring for cleared event log

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
Theo BrowneandClaude Opus 5 committed 2026-07-25 21:59:32 -07:00
1 parent 93f0f96b3f
commit dda3515a48
1 file changed
+8 -5
+8 -5
View File
@@ -3,11 +3,14 @@
* an isolated dev server opens on something recognisable instead of an empty
* sidebar.
*
* Projections only — never `orchestration_events`. The projector cursor is
* exclusive (`WHERE sequence > cursor`), so an empty event log means bootstrap
* streams nothing and leaves the copied rows alone. Copying a *partial* event
* range is the actual hazard: the projector would replay a tail whose creating
* events are missing. See .agents/skills/test-t3-app/references/sqlite-fixtures.md.
* Projections only — no event history is copied, and the target's own log is
* emptied. The copied projections describe a different world than whatever the
* target recorded, so replaying its retained events over them would resurrect
* threads and projects it had deleted; copying a *partial* source range is
* worse still, since the projector would replay a tail whose creating events
* are missing. With the log empty and every projector cursor at 0 (the cursor
* is exclusive), bootstrap streams nothing and leaves the copied rows alone.
* See .agents/skills/test-t3-app/references/sqlite-fixtures.md.
*/
import * as NodeSqlite from "node:sqlite";