TMCP053 get_test exposes continued_by for tests used as prereq

The user shall see the downstream chain in the response. A test that is listed as a prereq by other tests shall appear with a continued_by field naming them, mirroring how prereq exposes the upstream chain.

Is a test for
Automated in
Source

Source file: specs/mcp/test_04.yaml

Loaded from: speky_mcp

Initial state

The expected state is the final state of TMCP003 Initialize the MCP server

Procedure

Step 1

The client sends a get_test request for test T03, which is used as a prereq by T04

{
  "id": 2,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "get_test",
    "arguments": {"id": "T03"}
  }
}

Step 2

Verify the response includes continued_by listing T04, alongside the other fields of T03. T03 itself has no prereq.

{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "structuredContent": {
      "category": "non-functional",
      "continued_by": [{"id": "T04", "short": "Yet another test"}],
      "id": "T03",
      "initial": "Nothing",
      "long": "First step before T04",
      "ref": [{"id": "RF03"}],
      "short": "Create files",
      "steps": [
        {"action": "Store secret", "run": "echo secret > topsecret.txt"},
        {"action": "Store some values", "run": "echo '{\"foo\": \"bar\", \"baz\": 21}' > foo.json"}
      ]
    }
  }
}