You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(acp-nats): per-subject structs with typed parameters
Each NATS subject is its own struct. Constructors accept AcpPrefix and
AcpSessionId — stored as value objects, not strings. No primitive
obsession at any level. Passing the wrong subject to the wrong
function is a compile error.
Also removes all production .unwrap() calls:
- publish_session_ready: gracefully handles invalid session IDs
- PendingSessionPromptResponseWaiters: mutex lock methods now return
Result<T, LockPoisonedError> so poison errors bubble up instead of
panicking
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
0 commit comments