ollie/toolsrv
Levi Neely e5ebf0550a test(toolsrv): add integration tests for RPC protocol
Comprehensive tests for the ollie-remote JSON-RPC 2.0 protocol:

Direct RPC dispatch tests:
- ping: liveness check returns 'pong'
- host_info: returns platform, arch, git repo status
- list_tools: empty list when no tools loaded
- set_env: environment variable injection with hook verification
- set_cwd: working directory updates
- set_allow_tools: tool restriction configuration
- is_parallel_read: parallel safety classification
- result_tier / result_tier_args: retention tier lookup
- detach: returns false when no process running
- list_detached: empty list initially
- signal_detached: error for nonexistent PID
- get_detached_output: error for nonexistent PID
- dismiss_detached: returns false for nonexistent PID
- tool call: error for unloaded tools
- invalid params: -32602 error code

Pipe-based client/server tests:
- Full roundtrip through toolsrv.Conn client
- Concurrent request handling (10 parallel pings)
- Context cancellation propagation
- Connection close detection

JSON-RPC protocol compliance:
- Table-driven tests for request/response format
- Error code verification (-32602 invalid params, -32000 server error)
2026-08-03 16:31:04 +02:00
..
accessors.go remove built-in skill handlers, replace with external tools 2026-07-31 16:45:37 +02:00
conn.go multiplex toolsrv, wip zero-tool server 2026-08-02 19:18:39 +02:00
dial.go toolsrv: unified socket-based execution 2026-07-31 14:10:47 +02:00
discover.go toolsrv: conditional tool variants for heterogeneous hosts 2026-07-30 23:13:31 +02:00
meta.go Add formatted tool output fences 2026-08-02 22:57:17 +02:00
processkeeper.go toolsrv: add ProcessKeeper for resilient ollie-remote lifecycle 2026-08-03 12:21:54 +02:00
registry.go toolsrv: fix Registry.discover() to use .meta files 2026-07-30 22:50:49 +02:00
remote.go toolsrv: unified socket-based execution 2026-07-31 14:10:47 +02:00
rpc.go multiplex toolsrv, wip zero-tool server 2026-08-02 19:18:39 +02:00
rpc_integration_test.go test(toolsrv): add integration tests for RPC protocol 2026-08-03 16:31:04 +02:00
schema.go tool metadata: replace header comment parsing with .meta sidecar files 2026-07-30 21:48:42 +02:00
server.go remove tools/builtin/ — zero built-in tools, all tools are external scripts 2026-08-03 00:55:22 +02:00
shell.go toolsrv: export USER and NAMESPACE to shell environment 2026-07-31 09:22:43 +02:00
socket_test.go Add formatted tool output fences 2026-08-02 22:57:17 +02:00
spawn.go toolsrv: unified socket-based execution 2026-07-31 14:10:47 +02:00
stream.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
tier.go Add formatted tool output fences 2026-08-02 22:57:17 +02:00
tools.go remove tools/builtin/ — zero built-in tools, all tools are external scripts 2026-08-03 00:55:22 +02:00
tools_test.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
transport.go toolsrv: use ToolsPath() for local ollie-remote bootstrap 2026-08-03 10:17:58 +02:00