Watch — Type Diagram

Watch — Type Diagram An architecture diagram generated by Archify. watch CLI · watch --debounce --dequeue · Architecture component watch CLI watch --debounce --dequeue Debouncer · RecordEvent · SettledFiles · Architecture component Debouncer RecordEvent · SettledFiles Paths · ForRoot(root) Paths · Architecture component Paths ForRoot(root) Paths watch · AcquireLock · ReadQueue · Architecture component watch AcquireLock · ReadQueue chokidar · Watcher observes raw/ · Architecture component chokidar Watcher observes raw/ ingestscan · → Ingestion Pipeline · Architecture component ingestscan → Ingestion Pipeline observes raw/ recursively RecordEvent eligibility check lock / queue paths AcquireLock · CheckAndEnqueue Legend Frontend Backend External

watch.ts is Pure

  • • watch.ts holds no watcher and touches no filesystem it isn't handed
  • • All I/O composition happens in the cli.ts watch subcommand

No watch ↔ ingestscan import

  • • watch and ingestscan don't import each other
  • • The eligibility-check edge runs through the composite root (cli.ts)