Commerce Recommendations extraction and cutover¶
The extraction uses a replace-at-the-seam sequence rather than running two telemetry stacks:
- Create the independent telemetry distribution and move reusable configuration, runtime, Collector profiles, verification tools, research, decision maps, and implementation tickets.
- Keep Recommendation metric/event/operation enums, domain correlation, quality/drift conversion, instrumentation call sites, and domain dashboards in the consumer.
- Add the sibling telemetry dependency and a recommendation-owned adapter to the platform
Telemetryinterface. - Replace provider construction with
TelemetryRuntime; preserve the existing disabled default, configuration keys, resource identity, and application-facingObservabilityinterface. - Run the platform suite, consumer suite, strict typing/linting, Collector validation, and wheel installation checks.
- 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.