forked from bots-garden/ori
| ✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme | 1 | # Quality report — 2026-09-17T23:07:19Z |
| 2 | ||
| 3 | - **Gate**: ❌ **FAIL** | |
| 4 | - **Commit**: `2434cc7` on `feat/acp-webapp` | |
| 5 | - **qlty**: qlty 0.639.0 linux-arm64 (d9801f1 2026-07-23) | |
| 6 | - **Run**: #13 (previous: 2026-09-17T21:04:25Z) | |
| 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 | | note | 0 | -2 | | |
| 17 | ||
| 18 | ### Top rules | |
| 19 | ||
| 20 | _none_ | |
| 21 | ||
| 22 | ### Most affected files | |
| 23 | ||
| 24 | _none_ | |
| 25 | ||
| 26 | ## Code smells (`qlty smells`) | |
| 27 | ||
| 28 | Total: **2** (vs previous: +2) | |
| 29 | ||
| 30 | | smell | file | line | detail | | |
| 31 | |---|---|---|---| | |
| 32 | | qlty:return-statements | internal/files/search.go | 50 | Function with many returns (count = 8): Search | | |
| 33 | | qlty:return-statements | ui/src/components/PreviewPane.tsx | 30 | Function with many returns (count = 6): PreviewPane | | |
| 34 | ||
| 35 | ## Metrics (`qlty metrics`) | |
| 36 | ||
| 37 | | metric | total | vs previous | | |
| 38 | |---|---|---| | |
| 39 | | funcs | 255 | +82 | | |
| 40 | | classes | 54 | +20 | | |
| 41 | | fields | 75 | +22 | | |
| 42 | | cyclo | 888 | +365 | | |
| 43 | | complex | 517 | +229 | | |
| 44 | | lcom | 0 | ±0 | | |
| 45 | | lines | 5523 | +1996 | | |
| 46 | | loc | 4005 | +1448 | | |
| 47 | ||
| 48 | ### Most complex files | |
| 49 | ||
| 50 | | file | complex | cyclo | loc | | |
| 51 | |---|---|---|---| | |
| 52 | | internal/bridge/bridge.go | 34 | 49 | 228 | | |
| 53 | | internal/skills/skills.go | 34 | 53 | 129 | | |
| 54 | | internal/terminal/terminal.go | 32 | 33 | 111 | | |
| 55 | | ui/src/useCompletion.ts | 29 | 32 | 122 | | |
| 56 | | internal/files/search.go | 24 | 32 | 93 | | |
| 57 | | internal/files/files.go | 21 | 35 | 140 | | |
| 58 | | internal/mockagent/mockagent.go | 21 | 38 | 190 | | |
| 59 | | ui/src/components/DrawioView.tsx | 20 | 22 | 76 | | |
| 60 | | ui/src/components/PromptInput.tsx | 20 | 26 | 153 | | |
| 61 | | ui/src/components/EditorPane.tsx | 18 | 33 | 125 | | |
| 62 | | ori-desktop/frontend/src/main.js | 17 | 29 | 118 | | |
| 63 | | ui/src/components/PreviewPane.tsx | 17 | 30 | 127 | | |
| 64 | | ui/src/reducer.ts | 17 | 54 | 195 | | |
| 65 | | internal/agent/agent.go | 15 | 31 | 121 | | |
| 66 | | ori-desktop/internal/settings/settings.go | 15 | 31 | 82 | | |
| 67 | ||
| 68 | ## Tooling notes | |
| 69 | ||
| 70 | - `qlty check` exit 99: ERROR | |
| 71 | ||
| 72 | > Error installing go@1.22.0. | |
| 73 | > | |
| 74 | > | |
| 75 | > Caused by: | |
| 76 | > 0: Error extracting tar.gz archive from https://go.dev/dl/go1.22.0.linux-arm64.tar.gz | |
| 77 | > 1: failed to unpack `go/src/cmd/internal/obj/objfile.go` into `/home/agent/.qlty/cache/tools/go/1.22.0-c5a26d064299/src/cmd/internal/obj/objfile.go` | |
| 78 | > 2: No space left on device (os error 28) | |
| 79 | ||
| 80 | ## Trend | |
| 81 | ||
| 82 | | run | timestamp | error | warning | smells | complex | gate | | |
| 83 | |---|---|---|---|---|---|---| | |
| 84 | | 4 | 2026-09-17T19:15:21Z | 0 | 0 | 0 | 145 | PASS | | |
| 85 | | 5 | 2026-09-17T19:35:29Z | 0 | 0 | 1 | 147 | FAIL | | |
| 86 | | 6 | 2026-09-17T19:36:00Z | 0 | 0 | 0 | 146 | PASS | | |
| 87 | | 7 | 2026-09-17T20:05:32Z | 2 | 1 | 3 | 284 | FAIL | | |
| 88 | | 8 | 2026-09-17T20:06:46Z | 1 | 1 | 0 | 281 | FAIL | | |
| 89 | | 9 | 2026-09-17T20:08:01Z | 0 | 0 | 0 | 281 | PASS | | |
| 90 | | 10 | 2026-09-17T20:25:57Z | 0 | 0 | 0 | 286 | PASS | | |
| 91 | | 11 | 2026-09-17T20:55:17Z | 0 | 0 | 0 | 288 | PASS | | |
| 92 | | 12 | 2026-09-17T21:04:25Z | 0 | 0 | 0 | 288 | PASS | | |
| 93 | | 13 | 2026-09-17T23:07:19Z | 0 | 0 | 2 | 517 | FAIL | |