forked from bots-garden/ori
| ✨ Introduce new feature(s): ACP web client — Go backend (agent, bridge, httpserver, mockagent) + React SPA (Zed-like agent panel), tests, quality gate PASS | 1 | # Quality report — 2026-09-17T19:14:34Z |
| 2 | ||
| 3 | - **Gate**: ❌ **FAIL** | |
| 4 | - **Commit**: `4edda86` on `feat/acp-webapp` | |
| 5 | - **qlty**: qlty 0.639.0 linux-arm64 (d9801f1 2026-07-23) | |
| 6 | - **Run**: #3 (previous: 2026-09-17T19:10:18Z) | |
| 7 | ||
| 8 | ## Gate violations | |
| 9 | ||
| 10 | - code smells: 2 (max 0) | |
| 11 | ||
| 12 | ## Lint issues (`qlty check`) | |
| 13 | ||
| 14 | | level | count | vs previous | | |
| 15 | |---|---|---| | |
| 16 | | error | 0 | -13 | | |
| 17 | | warning | 0 | -4 | | |
| 18 | | note | 0 | -21 | | |
| 19 | ||
| 20 | ### Top rules | |
| 21 | ||
| 22 | _none_ | |
| 23 | ||
| 24 | ### Most affected files | |
| 25 | ||
| 26 | _none_ | |
| 27 | ||
| 28 | ## Code smells (`qlty smells`) | |
| 29 | ||
| 30 | Total: **2** (vs previous: -3) | |
| 31 | ||
| 32 | | smell | file | line | detail | | |
| 33 | |---|---|---|---| | |
| 34 | | qlty:return-statements | internal/agent/agent.go | 152 | Function with many returns (count = 6): Start | | |
| 35 | | qlty:return-statements | internal/mockagent/mockagent.go | 106 | Function with many returns (count = 6): play | | |
| 36 | ||
| 37 | ## Metrics (`qlty metrics`) | |
| 38 | ||
| 39 | | metric | total | vs previous | | |
| 40 | |---|---|---| | |
| 41 | | funcs | 106 | +14 | | |
| 42 | | classes | 27 | ±0 | | |
| 43 | | fields | 39 | ±0 | | |
| 44 | | cyclo | 294 | -13 | | |
| 45 | | complex | 146 | -12 | | |
| 46 | | lcom | 0 | ±0 | | |
| 47 | | lines | 2064 | +75 | | |
| 48 | | loc | 1453 | +55 | | |
| 49 | ||
| 50 | ### Most complex files | |
| 51 | ||
| 52 | | file | complex | cyclo | loc | | |
| 53 | |---|---|---|---| | |
| 54 | | internal/bridge/bridge.go | 26 | 40 | 201 | | |
| 55 | | internal/mockagent/mockagent.go | 20 | 32 | 176 | | |
| 56 | | ui/src/reducer.ts | 17 | 53 | 187 | | |
| 57 | | internal/agent/agent.go | 16 | 31 | 121 | | |
| 58 | | internal/bridge/ws.go | 14 | 15 | 61 | | |
| 59 | | internal/agent/client.go | 11 | 28 | 74 | | |
| 60 | | ui/src/ws.ts | 10 | 13 | 59 | | |
| 61 | | internal/httpserver/httpserver.go | 8 | 8 | 33 | | |
| 62 | | ui/src/components/PromptInput.tsx | 7 | 9 | 56 | | |
| 63 | | ui/src/components/ToolCallCard.tsx | 6 | 19 | 84 | | |
| 64 | | cmd/ori/main.go | 3 | 7 | 45 | | |
| 65 | | ui/src/components/ChatThread.tsx | 2 | 10 | 58 | | |
| 66 | | cmd/ori-mock-agent/main.go | 1 | 4 | 18 | | |
| 67 | | internal/bridge/protocol.go | 1 | 3 | 42 | | |
| 68 | | ui/embed.go | 1 | 3 | 13 | | |
| 69 | ||
| 70 | ## Trend | |
| 71 | ||
| 72 | | run | timestamp | error | warning | smells | complex | gate | | |
| 73 | |---|---|---|---|---|---|---| | |
| 74 | | 1 | 2026-09-17T19:09:37Z | 0 | 0 | 5 | 158 | FAIL | | |
| 75 | | 2 | 2026-09-17T19:10:18Z | 13 | 4 | 5 | 158 | FAIL | | |
| 76 | | 3 | 2026-09-17T19:14:34Z | 0 | 0 | 2 | 146 | FAIL | |