ollie/toolsrv
Levi Neely d37404ebd3 toolsrv: add 9P server implementation
New files:
- server9p.go: 9P server for tool execution
  - Agent registration with HMAC-signed tokens
  - Token → cwd mapping for secure execution context
  - Full 9P protocol handling (version, attach, walk, open, read, write, stat, clunk)
  - Namespace: /register, /ctl, /tools, /proc/*, /info

- auth9p.go: Authentication helpers
  - GenerateSecret(): 32-byte random secret
  - ComputeRegistrationSig(): HMAC-SHA256 signature for registration

- server9p_test.go: Unit tests for auth and server

Security model:
- olliesrv spawns toolsrv with shared secret (env or file)
- Agent registration: olliesrv signs (agentID, cwd) → token
- Every tool call includes token; toolsrv verifies and looks up cwd
- Prevents unauthorized cwd manipulation from untrusted actors (LLM)
2026-08-10 15:43:20 +02:00
..
auth9p.go toolsrv: add 9P server implementation 2026-08-10 15:43:20 +02:00
conn.go prompt audit: trim system prompt, kill dead code, improve maintainability 2026-08-09 14:13:52 +02:00
detach.go all: merge thin packages and small files 2026-08-08 15:56:26 +02:00
dial.go all: delete dead code, tighten API surface 2026-08-08 15:51:13 +02:00
exec.go maintainability: docs, contracts, structural cleanup 2026-08-09 21:45:56 +02:00
exec9p.go toolsrv: add 9P-based tool server foundation 2026-08-10 14:53:13 +02:00
fs9p.go toolsrv: add 9P-based tool server foundation 2026-08-10 14:53:13 +02:00
fs9p_test.go toolsrv: add 9P-based tool server foundation 2026-08-10 14:53:13 +02:00
meta.go feat: add resetsCounter tool property to reset step budget on active progress 2026-08-07 17:13:14 +02:00
processkeeper.go all: delete dead code, tighten API surface 2026-08-08 15:51:13 +02:00
registry.go all: merge toolsrv files, fix context hierarchy, remove dead params 2026-08-08 16:13:55 +02:00
remote.go all: delete dead code, tighten API surface 2026-08-08 15:51:13 +02:00
rpc_integration_test.go maintainability: docs, contracts, structural cleanup 2026-08-09 21:45:56 +02:00
rpcserver.go maintainability: docs, contracts, structural cleanup 2026-08-09 21:45:56 +02:00
rpcwire.go maintainability: docs, contracts, structural cleanup 2026-08-09 21:45:56 +02:00
server.go maintainability: docs, contracts, structural cleanup 2026-08-09 21:45:56 +02:00
server9p.go toolsrv: add 9P server implementation 2026-08-10 15:43:20 +02:00
server9p_test.go toolsrv: add 9P server implementation 2026-08-10 15:43:20 +02:00
shell_validate.go refactor: architectural cleanup (5 items) 2026-08-09 12:46:36 +02:00
socket_test.go all: delete dead code, tighten API surface 2026-08-08 15:51:13 +02:00
spawn.go rename ollie-remote to toolsrv 2026-08-10 15:01:42 +02:00
stream.go flatten: absorb submodules into single Go module 2026-07-30 18:57:51 +02:00
transport.go rename ollie-remote to toolsrv 2026-08-10 15:01:42 +02:00