Add E2E sales agent testing with GitHub issue offer#513
Merged
Conversation
- Add agent_contexts and agent_test_history tables for persisting agent URLs - Implement AES-256-GCM encrypted token storage with org-specific keys - Add save_agent, list_saved_agents, remove_saved_agent tools to Addie - Extend test_adcp_agent to auto-lookup saved credentials and record history - Add agent-tester.ts with E2E test scenarios including response_consistency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PORT (internal server port, 8080 in Docker) should take precedence over CONDUCTOR_PORT (external mapping) when making internal API calls. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Document the new E2E agent testing capabilities: - Testing scenarios (discovery, full_sales_flow, etc.) - Edge case scenarios (error_handling, validation) - Behavioral analysis features - Sales agent compliance checklist 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When users test agents via Addie and the tests fail on a known open-source agent (test-agent.adcontextprotocol.org, wonderstruck.sales-agent.scope3.com, or creative.adcontextprotocol.org), Addie now offers to help file a GitHub issue to the appropriate repository. Also refactors to use @adcp/client/testing library directly instead of local agent-tester.ts wrapper: - Imports runAgentTests, formatTestResults, createTestClient from library - Adds call_adcp_tool handler for raw task execution - Removes redundant local agent-tester.ts (2570 lines) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update homepage "Test AdCP" button to route to Addie chat (/chat.html) instead of external testing.adcontextprotocol.org - Add image support to chat.html with clickable images that open in new tab - Add iframe support for creative previews with sandbox and styling - Add CSS styles for embedded images and creative preview containers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add "Try AdCP with a test agent" as suggested prompt in Addie chat (replaces "Become a member" to encourage testing) - Rename 079_agent_contexts.sql to 109_agent_contexts.sql to resolve migration number conflict with main branch 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Support ?prompt= query parameter to pre-fill and auto-send a message - Update homepage "Test with Addie" button to include prompt parameter - Waits for Addie to be ready before sending, with 10s timeout - Cleans URL after sending to avoid re-triggering on refresh Now clicking "Test with Addie" on homepage will automatically trigger the test agent flow: /chat.html?prompt=Try%20AdCP%20with%20a%20test%20agent 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The script file is check-testable-snippets.cjs but the workflow was referencing check-testable-snippets.js, causing CI failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@adcp/client/testinglibrary directly instead of local wrappercall_adcp_toolhandler for raw AdCP task executionKnown Open-Source Agents
The feature recognizes these agents:
test-agent.adcontextprotocol.org→ adcontextprotocol/salesagentwonderstruck.sales-agent.scope3.com→ adcontextprotocol/salesagentcreative.adcontextprotocol.org→ adcontextprotocol/creative-agentTest plan
draft_github_issuetool creates pre-filled GitHub issue link🤖 Generated with Claude Code