
Illia PolosukhinandClaude Opus 4.6
b04d14b114
refactor: decouple modules, add resilience middleware and state bus [skip-regression-check]
Break circular dependencies between agent, db, channels, and context
modules by extracting shared domain types to neutral locations:
- Extract routine types to src/models/routine.rs
- Extract ToolFailureRecord to src/models/tool_failure.rs
- Move SseEvent to src/events.rs as DomainEvent
- Move HttpInterceptor to src/observability/
- Move truncate_preview to src/util.rs
Add generic resilience middleware (src/resilience/):
- ErrorClassifier, RetryLayer, CircuitBreakerLayer, HealthTracker
Add state invalidation bus (src/state_bus.rs)
Add boundary chaos tests (tests/boundary_chaos.rs)
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-03-14 21:17:25 -07:00
..
2026-03-12 16:36:08 -07:00
2026-03-13 11:24:45 -07:00
2026-03-12 11:16:23 -07:00
2026-03-11 20:28:38 -07:00
2026-03-14 21:17:25 -07:00
2026-03-10 13:25:32 -07:00
2026-03-13 11:24:25 -07:00
2026-03-07 18:01:40 +00:00
2026-03-13 11:24:45 -07:00
2026-03-11 03:36:25 +00:00
2026-03-06 00:49:10 +00:00
2026-03-12 11:38:27 -07:00
2026-03-05 09:13:09 +00:00
2026-03-07 09:15:00 +00:00
2026-03-05 09:13:09 +00:00
2026-03-11 16:52:31 -07:00
2026-03-06 08:12:56 +00:00
2026-03-07 09:15:00 +00:00
2026-03-05 09:13:09 +00:00
2026-03-07 09:15:00 +00:00
2026-03-05 09:13:09 +00:00
2026-03-07 09:15:00 +00:00
2026-03-06 08:12:56 +00:00
2026-03-12 15:03:38 -07:00
2026-03-09 07:10:25 +00:00
2026-02-22 08:09:56 +00:00
2026-03-11 11:48:24 -07:00
2026-03-11 11:48:24 -07:00
2026-03-11 11:48:24 -07:00
2026-03-11 11:48:24 -07:00
2026-03-11 11:48:24 -07:00
2026-03-10 18:37:10 -07:00
2026-03-10 04:39:51 +00:00
2026-03-11 17:03:12 -07:00
2026-02-12 12:25:36 +01:00
2026-03-07 09:10:05 +00:00
2026-03-10 16:34:54 -07:00
2026-03-10 08:11:21 -07:00
2026-03-08 13:32:42 -07:00
2026-03-06 05:59:01 +00:00
2026-03-06 04:39:04 +00:00
2026-03-05 09:13:09 +00:00
2026-03-05 09:13:09 +00:00
2026-02-27 12:01:32 -08:00
2026-03-07 18:01:40 +00:00
2026-03-07 09:15:00 +00:00
2026-03-10 16:34:54 -07:00