David Wu
David Wu
## Problem When an LLM returns a tool call with `nil`, `:null`, or `"null"` as the function name during streaming, the current code incorrectly treats it as "old tool block...
## Location `ai-code-backends-infra.el:532-538` ## Severity Low (behavior change) ## Problem The logic that detected when a file needed initial selection was removed: ```elisp ;; Removed: (needs-initial-file-selection (and (null buffer-name) file-key...
## Location `ai-code-backends-infra.el:503-518` ## Severity Medium ## Problem The `ai-code-backends-infra--attached-file-session` function now validates sessions only by checking if the buffer name parses correctly for the prefix, ignoring the `working-dir` parameter....
## Location `ai-code-backends-infra.el:938-944` ## Severity Low ## Problem The filter function for the "copilot" backend has misaligned indentation. ```elisp (when orig-filter (funcall orig-filter process output)) ; Wrong indentation ;; Then...
support https://eca.dev/ is simple , can you review and make it upstream, thanks ``` ;;; ai-code-eca-bridge.el --- Bridge ai-code to ECA backend -*- lexical-binding: t; -*- ;; Copyright (C) 2026...
## Problem ECA currently concatenates tool outputs without any truncation. When tools return large outputs (e.g., file searches, grep results, command outputs), these exceed the LLM context window limits, causing...
## Problem In ECA's shell_command, backgrounding with `&` isn't sufficient because the runner often waits on the entire process group, not just the shell. Even though the shell returns, the...
## Problem The `shutdown!` function in `src/eca/features/tools/mcp.clj:433-438` uses `doseq` to close MCP clients sequentially: ```clojure (defn shutdown! [db*] (try (doseq [[_name {:keys [client]}] (:mcp-clients @db*)] (.closeGracefully ^McpSyncClient client)) (catch Exception...
## Problem When shutting down MCP clients, `closeGracefully()` times out after 10 seconds if the server is unresponsive, causing: ``` [MCP] Client didn't close within timeout of 10000 ms. java.lang.IllegalStateException:...