From 0bb9016e9416558fb605e2f75fbb7c070dfafd09 Mon Sep 17 00:00:00 2001 From: gavrielc Date: Fri, 10 Jul 2026 21:30:53 +0300 Subject: [PATCH] PR5: prettier reflow of PR3 resolveThreadPolicy call in router.ts - formatting-only: the pre-commit prettier hook reflowed the long resolveThreadPolicy argument list left by the PR3 slice - no behavior change Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01PJkDAnLGWJUqjgJNXpyqGZ --- src/router.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/router.ts b/src/router.ts index 7a23ffcf6..0f298fb18 100644 --- a/src/router.ts +++ b/src/router.ts @@ -321,7 +321,12 @@ export async function routeInbound(event: InboundEvent): Promise { // collide with the reserved 'system:%' session namespace // (src/db/sessions.ts) — they are platform-native identifiers, and this // is the only place an inbound thread id enters session resolution. - const threadsEnabled = resolveThreadPolicy(agent.threads ?? null, channelDefaults, mg.is_group === 1, supportsThreads); + const threadsEnabled = resolveThreadPolicy( + agent.threads ?? null, + channelDefaults, + mg.is_group === 1, + supportsThreads, + ); const effectiveThreadId = threadsEnabled ? event.threadId : null; const engages = evaluateEngage(agent, messageText, isMention, mg, effectiveThreadId);