# Quality report — 2026-09-17T19:35:29Z - **Gate**: ❌ **FAIL** - **Commit**: `2434cc7` on `feat/acp-webapp` - **qlty**: qlty 0.639.0 linux-arm64 (d9801f1 2026-07-23) - **Run**: #5 (previous: 2026-09-17T19:15:21Z) ## Gate violations - code smells: 1 (max 0) ## Lint issues (`qlty check`) _none_ ### Top rules _none_ ### Most affected files _none_ ## Code smells (`qlty smells`) Total: **1** (vs previous: +1) | smell | file | line | detail | |---|---|---|---| | qlty:return-statements | ui/src/components/ChatThread.tsx | 46 | Function with many returns (count = 6): ThreadEntry | ## Metrics (`qlty metrics`) | metric | total | vs previous | |---|---|---| | funcs | 112 | +1 | | classes | 27 | ±0 | | fields | 40 | ±0 | | cyclo | 298 | +4 | | complex | 147 | +2 | | lcom | 0 | ±0 | | lines | 2123 | +55 | | loc | 1488 | +37 | ### Most complex files | file | complex | cyclo | loc | |---|---|---|---| | internal/bridge/bridge.go | 26 | 40 | 201 | | internal/mockagent/mockagent.go | 20 | 32 | 174 | | ui/src/reducer.ts | 17 | 53 | 187 | | internal/agent/agent.go | 15 | 31 | 121 | | internal/bridge/ws.go | 14 | 15 | 61 | | internal/agent/client.go | 11 | 28 | 74 | | ui/src/ws.ts | 10 | 13 | 59 | | internal/httpserver/httpserver.go | 8 | 8 | 33 | | ui/src/components/PromptInput.tsx | 7 | 9 | 56 | | ui/src/components/ToolCallCard.tsx | 6 | 19 | 84 | | ui/src/components/ChatThread.tsx | 4 | 11 | 67 | | cmd/ori/main.go | 3 | 7 | 45 | | cmd/ori-mock-agent/main.go | 1 | 4 | 18 | | internal/bridge/protocol.go | 1 | 3 | 42 | | ui/embed.go | 1 | 3 | 13 | ## Trend | run | timestamp | error | warning | smells | complex | gate | |---|---|---|---|---|---|---| | 1 | 2026-09-17T19:09:37Z | 0 | 0 | 5 | 158 | FAIL | | 2 | 2026-09-17T19:10:18Z | 13 | 4 | 5 | 158 | FAIL | | 3 | 2026-09-17T19:14:34Z | 0 | 0 | 2 | 146 | FAIL | | 4 | 2026-09-17T19:15:21Z | 0 | 0 | 0 | 145 | PASS | | 5 | 2026-09-17T19:35:29Z | 0 | 0 | 1 | 147 | FAIL |