Skip to content

Commerce Recommendations extraction and cutover

The extraction uses a replace-at-the-seam sequence rather than running two telemetry stacks:

  1. Create the independent telemetry distribution and move reusable configuration, runtime, Collector profiles, verification tools, research, decision maps, and implementation tickets.
  2. Keep Recommendation metric/event/operation enums, domain correlation, quality/drift conversion, instrumentation call sites, and domain dashboards in the consumer.
  3. Add the sibling telemetry dependency and a recommendation-owned adapter to the platform Telemetry interface.
  4. Replace provider construction with TelemetryRuntime; preserve the existing disabled default, configuration keys, resource identity, and application-facing Observability interface.
  5. Run the platform suite, consumer suite, strict typing/linting, Collector validation, and wheel installation checks.
  6. Remove the former consumer-owned provider/config implementation and Collector copies only after the dependency path passes.

Rollback changes only the application dependency/source and runtime wiring. Durable Training Run evidence, database migrations, HTTP behavior, snapshots, and quality/drift calculations are not owned by this platform and are never rewritten during telemetry rollback.

Planning history is retained under .scratch/ in this repository. Paths in historical tickets may refer to their original location in the recommendations checkout; current ownership is defined by docs/architecture.md and the platform-repository decision map.