Isolation.Test

loom-sprint-scaffoldtesttypescript
Path: loom-sprint-scaffold/loom/tests/synthesis/isolation.test.tsRelative: loom/tests/synthesis/isolation.test.tsSubproject: loom-sprint-scaffoldCategory: tests
Lines: 132Bytes: 4,331Imports: 3Exports: 0has tests

Content Preview

  1. /**
  2. * Isolation test for src/synthesis/.
  3. *
  4. * Enforces at the grep level:
  5. * 1. No import from src/orchestrator/, src/dispatcher/, or src/execution/
  6. * 2. No import of the goals table symbol (goals from schema)
  7. * 3. No UPDATE goals SQL string (no writes to goals table)
  8. *
  9. * These are grep-level assertions over import statements and SQL strings
  10. * in all .ts files under src/synthesis/.
  11. *
  12. * The synthesis module is a READ-ONLY batch regulator — it may only write
  13. * to mode_registry (sta