Chris Anderson

Results issues of Chris Anderson

## Summary Grep across `src/` finds 106 instances of `catch { }` (or `catch (Exception) { /* ignore */ }`) across 41 files. Many are around method calls that don't...

bug
refactor

## Summary Two shell-wrapper detectors exist, both reachable today, with different shell vocabularies and different PowerShell flag handling. - **V1**: `src/OpenClaw.Shared/ExecShellWrapperParser.cs` — string-based BFS, used by the **live** legacy exec-approval...

refactor

## Summary The v3→v2 signature fallback (see also C10) is implemented twice — once in `OpenClawGatewayClient`, once in `WindowsNodeClient` — with the same three-piece state (flag declaration, set-on-error, read-on-connect). ##...

refactor

## Summary `src/OpenClaw.Shared/Models.cs` is 1,972 lines. It's named `Models.cs` and most of its content is DTOs — but ~700 lines belong to four static helper classes that aren't models at...

refactor

## Summary Two places in the codebase implement the same "delegate-per-verb registry" pattern with no shared abstraction: 1. **`DeepLinkActions`** — a struct in `src/OpenClaw.Tray.WinUI/Services/DeepLinkHandler.cs:269-301` with **28 delegate fields** (`OpenSettings`, `OpenChat`,...

refactor

## Summary Five separate per-file `JsonSerializerOptions` singletons in the codebase, with subtly different defaults. The two most consequential drifts: - `WindowsNodeClient` sets `DefaultIgnoreCondition = WhenWritingNull` (deliberate; documented at `WindowsNodeClient.cs:47` —...

refactor
performance

## Summary The notion "is this URL/IP a loopback?" is implemented three times across the codebase, each with slightly different semantics. ## Where 1. `src/OpenClaw.Shared/Mcp/McpHttpServer.cs:340-358` — `IsHostAllowed`: accepts `127.0.0.1[:port]`, `localhost[:port]`,...

refactor