Samuel Painter
Samuel Painter
## Problem `projectSlug()` in `injector.ts:266` skips 'workplace', 'local', 'home', 'src', 'scratch' but not the username. For `/local/home/samfp`, it returns 'samfp' — then `searchSemantic('samfp', 5)` runs on every injection, wasting a...
## Problem `server.ts` is 2174 lines handling all routes, WebSocket, autoloop discovery, file watching, session search, and system monitoring. Hard to maintain, test, or optimize independently. ## Proposal Split into...
## Problem `/api/system` runs 3-4 `execSync` calls (ps, pgrep, df) on every request, blocking the event loop. Autoloop session discovery (lines 1194-1260) also uses many synchronous `execSync` calls to tmux/pgrep/readlink....
## Description After a tool call completes, the iOS app shows the session as idle (no spinner/loading indicator) even though the backend is still processing (feeding the tool result back...
## Description When two pi extensions register a tool with the same name (e.g. `code_search`), `pi-web-access` throws a fatal error during `registerTool()`, crashing the entire `pi --mode rpc` process at...
## Description A chat slot shows `running: true, stopping: true` but the underlying `pi --mode rpc` process has already exited. The session becomes permanently unresponsive — no messages go through,...
## Description When navigating between chats or backgrounding the app, Swift's structured concurrency cancels in-flight Tasks. `ChatViewModel.loadHistory()` catches `CancellationError` and `URLError.cancelled`, but other async paths don't, causing error banners to...
## Summary The diagnostics tool tells the LLM about errors, but without code actions the LLM has to reason about fixes from scratch. Auto-import, organize imports, and quick fixes are...
## Summary All position-based tools (hover, definition, references, rename, completions) require exact line:column. The LLM frequently knows a symbol name but not its position, requiring a wasteful `lsp_symbols` → `lsp_hover`...
## Problem When `getClientForLanguage` returns null because the server is starting, tools return a generic 'No LSP server available' message. The LLM doesn't know whether to retry or give up....