Index

loom-sprint-scaffoldsourcetypescript
Path: loom-sprint-scaffold/loom/src/synthesis/index.tsRelative: loom/src/synthesis/index.tsSubproject: loom-sprint-scaffoldCategory: other
Lines: 294Bytes: 9,742Imports: 6Exports: 4

Content Preview

  1. /**
  2. * Loop 5 — Synthesis batch glue.
  3. *
  4. * Thin scheduled() handler that wires injectables from the worker's Env
  5. * into the core orchestration (report.ts).
  6. *
  7. * This file is the ONLY surface between the workerd runtime and the pure
  8. * synthesis core. It provides:
  9. * - TraceReader (queries trace_events + dispatches joins via D1)
  10. * - RegistryWriter (writes mode_registry via D1)
  11. * - SkillProposerStore (writes skills via D1)
  12. * - BlobStore (wraps R2 bucket)
  13. * - Clock (system clock)