Commit Graph

2 Commits

Author SHA1 Message Date
Joel Hooks 291f1587b7 feat: extract telemetry to @joelclaw/telemetry — one way to emit OTEL (ADR-0144)
Canonical TelemetryEmitter interface + createGatewayEmitter factory.
~120 call sites migrated from gateway/observability.ts.
model-fallback and message-store now import TelemetryEmitter from here.
Old observability.ts deleted. 3 tests.
2026-02-25 14:34:21 -08:00
Joel Hooks 7a3e60aa46 refactor: extract model-fallback into standalone package (ADR-0144)
- New @joelclaw/model-fallback with TelemetryEmitter port (DI)
- Gateway imports from package, passes emitGatewayOtel adapter
- FallbackConfig type owned by model-fallback package
- 6/6 unit tests passing (fake timers, telemetry, recovery)
- Removed gateway/src/model-fallback.ts
2026-02-25 13:50:11 -08:00