From fb7f8a4c07a8bf6539566aacbc8a92310c555992 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 26 May 2026 07:18:07 +0000 Subject: test(spike): manual agent-MCP validation harness + Phase 2 validation findings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds cmd/spike, a manual (never run by CI) harness that starts the agent MCP server on the host and points a real agent CLI at it to confirm tool calls reach the AgentChannel. Validates Phase 2 end-to-end without Docker. Findings against real claude 2.1.150 (sonnet-4-6): - PASS: claude discovers the server via --mcp-config (streamable HTTP + bearer) and calls record_progress + report_summary; both reach the AgentChannel, zero permission denials. - PASS: claude calls ask_user, gets the ErrAgentBlocked "end your turn" response, and ends its turn cleanly (human-in-the-loop path). - PRODUCTION NOTE: claude rejects --permission-mode bypassPermissions under root — the in-container agent must run non-root (ContainerRunner sets --user to the host uid), or tools must be pre-allowed via --allowedTools. - GEMINI spike could not run (no gemini binary); the harness's gemini path writes the production mcpServers/httpUrl settings and is ready to run where a binary exists. https://claude.ai/code/session_01SESwn7kQ7oP62trWw6pc39 --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 0872ffd..5a6cfb3 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ SESSION_STATE.md .claude/ credentials/ scripts/.claude/ +/spike -- cgit v1.2.3