chore: add project plan, research, evidence, and workflow artifacts
This commit is contained in:
0
.sisyphus/evidence/final-qa/http-server-stderr.txt
Normal file
0
.sisyphus/evidence/final-qa/http-server-stderr.txt
Normal file
31
.sisyphus/evidence/final-qa/summary.txt
Normal file
31
.sisyphus/evidence/final-qa/summary.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
=== FINAL QA SUMMARY ===
|
||||
Date: 2026-03-10
|
||||
Server: sage-x3-mcp v1.0.0
|
||||
|
||||
TEST 1: stdio initialization + tools/list
|
||||
- Initialize: PASS (serverInfo.name=sage-x3-mcp, version=1.0.0, protocolVersion=2024-11-05)
|
||||
- tools/list count: 9/9 PASS
|
||||
- Tool names match: PASS (sage_health, sage_query, sage_read, sage_search, sage_list_entities, sage_get_context, sage_soap_read, sage_soap_query, sage_describe_entity)
|
||||
- readOnlyHint: 9/9 PASS (all tools have readOnlyHint: true)
|
||||
|
||||
TEST 2: Tool invocation (sage_list_entities)
|
||||
- JSON-RPC response received: PASS (id:3)
|
||||
- Response structure valid: PASS (result.content[0].type=text, result.isError=true)
|
||||
- Error expected with fake URL: "fetch failed" — correct behavior
|
||||
|
||||
TEST 3: HTTP transport
|
||||
- Server starts on configured port: PASS (port 13579)
|
||||
- Initialize via HTTP POST /mcp: PASS (SSE response with serverInfo)
|
||||
- tools/list via HTTP: PASS (9 tools returned)
|
||||
- 404 for wrong path: PASS (HTTP 404)
|
||||
- Requires Accept header: PASS (application/json, text/event-stream)
|
||||
|
||||
TEST 4: Missing env vars
|
||||
- Error message: "FATAL: Missing required environment variable: SAGE_X3_URL"
|
||||
- Exit code: 1 (non-zero)
|
||||
- Result: PASS
|
||||
|
||||
NOTE: MCP SDK uses NDJSON framing (newline-delimited JSON), NOT LSP-style Content-Length headers.
|
||||
HTTP transport uses SSE (Server-Sent Events) response format.
|
||||
|
||||
Scenarios [4/4 pass] | Tools [9/9 registered] | Transports [2/2] | VERDICT: APPROVE
|
||||
2
.sisyphus/evidence/final-qa/test1-stdio-tools-list.txt
Normal file
2
.sisyphus/evidence/final-qa/test1-stdio-tools-list.txt
Normal file
File diff suppressed because one or more lines are too long
32
.sisyphus/evidence/final-qa/test1-validation.txt
Normal file
32
.sisyphus/evidence/final-qa/test1-validation.txt
Normal file
@@ -0,0 +1,32 @@
|
||||
=== INIT RESPONSE ===
|
||||
Has serverInfo: true
|
||||
Server name: sage-x3-mcp
|
||||
Server version: 1.0.0
|
||||
Has capabilities: true
|
||||
Protocol version: 2024-11-05
|
||||
|
||||
=== TOOLS/LIST RESPONSE ===
|
||||
Tool count: 9
|
||||
|
||||
Expected tools: sage_health, sage_query, sage_read, sage_search, sage_list_entities, sage_get_context, sage_soap_read, sage_soap_query, sage_describe_entity
|
||||
Actual tools: sage_health, sage_query, sage_read, sage_search, sage_list_entities, sage_get_context, sage_soap_read, sage_soap_query, sage_describe_entity
|
||||
|
||||
Missing tools: NONE
|
||||
Extra tools: NONE
|
||||
|
||||
=== readOnlyHint CHECK ===
|
||||
sage_health: readOnlyHint=true PASS
|
||||
sage_query: readOnlyHint=true PASS
|
||||
sage_read: readOnlyHint=true PASS
|
||||
sage_search: readOnlyHint=true PASS
|
||||
sage_list_entities: readOnlyHint=true PASS
|
||||
sage_get_context: readOnlyHint=true PASS
|
||||
sage_soap_read: readOnlyHint=true PASS
|
||||
sage_soap_query: readOnlyHint=true PASS
|
||||
sage_describe_entity: readOnlyHint=true PASS
|
||||
|
||||
ALL CHECKS:
|
||||
Init valid: PASS
|
||||
Tool count 9: PASS
|
||||
All names match: PASS
|
||||
All readOnlyHint: PASS
|
||||
2
.sisyphus/evidence/final-qa/test2-tool-invocation.txt
Normal file
2
.sisyphus/evidence/final-qa/test2-tool-invocation.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
{"result":{"protocolVersion":"2024-11-05","capabilities":{"logging":{},"tools":{"listChanged":true}},"serverInfo":{"name":"sage-x3-mcp","version":"1.0.0"}},"jsonrpc":"2.0","id":1}
|
||||
{"result":{"content":[{"type":"text","text":"Error: fetch failed\nHint: An unexpected error occurred. Check server logs for details."}],"isError":true},"jsonrpc":"2.0","id":3}
|
||||
13
.sisyphus/evidence/final-qa/test3-http-transport.txt
Normal file
13
.sisyphus/evidence/final-qa/test3-http-transport.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
=== HTTP Transport Test Results ===
|
||||
|
||||
1. Server started on port 13579 with MCP_TRANSPORT=http
|
||||
2. Initialize request: PASS - Got valid SSE response with serverInfo
|
||||
3. tools/list request: PASS - Got all 9 tools via HTTP
|
||||
4. 404 for wrong path: PASS - HTTP Status: 404
|
||||
5. Response format: SSE (event: message, data: {...})
|
||||
|
||||
Initialize response snippet:
|
||||
event: message
|
||||
data: {"result":{"protocolVersion":"2024-11-05","capabilities":{"logging":{},"tools":{"listChanged":true}},"serverInfo":{"name":"sage-x3-mcp","version":"1.0.0"}},"jsonrpc":"2.0","id":1}
|
||||
|
||||
tools/list: returned 9 tools (verified same as stdio transport)
|
||||
5
.sisyphus/evidence/final-qa/test4-missing-env.txt
Normal file
5
.sisyphus/evidence/final-qa/test4-missing-env.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
=== Test 4: Missing Env Vars ===
|
||||
Command: node dist/index.js (no env vars set)
|
||||
Output: FATAL: Missing required environment variable: SAGE_X3_URL
|
||||
Exit code: 1
|
||||
VERDICT: PASS - exits non-zero with clear error message
|
||||
Reference in New Issue
Block a user