# task-017

status:
- done

## goal
Add routerFacade: RouterFacade field to ServerModule data class so SessionStreamHandler can access the router facade.

## target artifact
apps/server/src/main/kotlin/com/correx/apps/server/ServerModule.kt

## execution steps
- (no changes needed — already implemented)

## changed artifacts
- None — all artifacts already in place:
  - `ServerModule.kt:20` — `val routerFacade: RouterFacade`
  - `Main.kt:102,111` — `buildRouterFacade()` call + wiring into `ServerModule`
  - `SessionStreamHandler.kt:85` — `module.routerFacade.handleChat(...)` usage
  - `SessionRoutes.kt:44` — `SessionStreamHandler(module)` passes full module

## changed artifacts
- (none)

## blockers
- none

## notes
- Task was pre-completed before this session. All three done_when conditions are satisfied: ServerModule compiles with the `routerFacade` parameter, and it is referenced by SessionStreamHandler. Build verified with `./gradlew :apps:server:compileKotlin --rerun-tasks` — success.
