Registry Updater
Path:
loom-sprint-scaffold/loom/src/synthesis/core/registry-updater.tsRelative: loom/src/synthesis/core/registry-updater.tsSubproject: loom-sprint-scaffoldCategory: otherLines: 153Bytes: 4,797Imports: 2Exports: 6
Content Preview
- /**
- * H5.3 — Registry Updater.
- *
- * Recomputes mode_registry success_n / fail_n / avg_cost_tokens per
- * (mode, variety_class) from fresh traces.
- *
- * Pure statistics — deterministic: same input rows → identical output rows
- * (test asserts byte-equal JSON).
- *
- * Output: RegistryUpdateSummary[] — written to DB + returned for the report.
- * The writes happen via the injected RegistryWriter.
- */
- import type { EnrichedTraceEvent, RegistryUpdateSummary, RegistryWriter, Clock } from "../../types