mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## Summary - Use the system callback URL by default now that the previous minor supports it (1.30) - Extract system callback URL handling from `routeRequest` into a dedicated `routeSystemCallbackRequest` function that routes based on callback token namespace and active cluster - Update both `components/callbacks` and `chasm/lib/callback` packages to use namespace registry and callback token generator for routing decisions - Add unit tests for `routeRequest` and `routeSystemCallbackRequest` covering external targets, local/unknown cluster routing, nil headers, invalid tokens, namespace not found, and success paths ## Test plan - [x] Unit tests added for both `components/callbacks` and `chasm/lib/callback` packages - [x] All 18 tests pass (9 per package) - [x] `make lint` passes with no new issues