Skip to content

Commit 55e4c5b

Browse files
author
Mark Pollack
committed
steps.json: phaseB names only an open Phase B item; none is open
update.unknown (P1) and elicit.complete (P4) already passed in Java, and every item the catalogue depends on has landed (P1, P1b, P2, P3, P4, P5-P9), so every label is removed; java.json is empty. The field stays for a future item: its label must match the step's see: "P<n>" entries in expectations/java.json, and the item's commit removes both.
1 parent 46690c7 commit 55e4c5b

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

‎integration-testing/README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ the scenario.
250250
step depends on: `client.<path>` in the client's `initialize`, `agent.<path>` in the agent's),
251251
`transports` (default all three), `only` (`{"client": [...], "agent": [...]}`: languages the
252252
step applies to, e.g. Java SDK policy), `profile` (`stable` default, or `unstable`), `phaseB`
253-
(the Java Phase B item that blocks it, informative) and `seed` (implemented by the WP0 Java seed).
253+
(the open Java Phase B item that blocks it, exactly the steps with `see: "P<n>"` entries in
254+
`expectations/java.json`; the item's commit removes both; informative) and `seed` (implemented by the WP0 Java seed).
254255

255256
Rules for every step:
256257

‎integration-testing/steps.json‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"pass": { "client": "agentInfo.name starts with \"interop-\"." }
136136
},
137137
{
138-
"id": "init.config-boolean", "group": "init", "prompt": "#echo-caps", "phaseB": "P6",
138+
"id": "init.config-boolean", "group": "init", "prompt": "#echo-caps",
139139
"requires": ["client.session.configOptions.boolean"],
140140
"client": "session/new, then the prompt.",
141141
"agent": "#echo-caps",
@@ -154,12 +154,12 @@
154154
"pass": { "client": "A non-error response." }
155155
},
156156
{
157-
"id": "auth.logout-capability", "group": "auth", "phaseB": "P7",
157+
"id": "auth.logout-capability", "group": "auth",
158158
"client": "Check the stored initialize response.",
159159
"pass": { "client": "agentCapabilities.auth.logout is present." }
160160
},
161161
{
162-
"id": "auth.terminal", "group": "auth", "phaseB": "P5",
162+
"id": "auth.terminal", "group": "auth",
163163
"requires": ["client.auth.terminal"],
164164
"client": "Check the stored initialize response.",
165165
"agent": "List fixtures.agent.terminalAuthMethod in authMethods iff the client advertised auth.terminal.",
@@ -248,7 +248,7 @@
248248
"pass": { "client": "tool_call call-1, then tool_call_update call-1 with status completed and text content \"tool output\"." }
249249
},
250250
{
251-
"id": "update.tool_call-name", "group": "update", "prompt": "#emit tool_call name=read_file", "phaseB": "P3",
251+
"id": "update.tool_call-name", "group": "update", "prompt": "#emit tool_call name=read_file",
252252
"client": "session/new; the prompt.",
253253
"pass": { "client": "The received tool_call has name \"read_file\"." }
254254
},
@@ -273,7 +273,7 @@
273273
"pass": { "client": "A config_option_update whose model option has currentValue model-b." }
274274
},
275275
{
276-
"id": "update.session_info_update", "group": "update", "prompt": "#emit session_info_update", "phaseB": "P1",
276+
"id": "update.session_info_update", "group": "update", "prompt": "#emit session_info_update",
277277
"client": "session/new; the prompt.",
278278
"pass": { "client": "A session_info_update with title \"interop title\"." }
279279
},
@@ -283,7 +283,7 @@
283283
"pass": { "client": "A usage_update with used 100, size 1000 and cost 0.01 USD." }
284284
},
285285
{
286-
"id": "update.unknown", "group": "update", "prompt": "#emit unknown", "phaseB": "P1",
286+
"id": "update.unknown", "group": "update", "prompt": "#emit unknown",
287287
"client": "session/new; the prompt.",
288288
"agent": "Send the unknown variant through an untyped/raw notification send if the typed API refuses it.",
289289
"pass": { "client": "The chunk \"after-unknown\" arrives and the prompt answers end_turn: the unknown update was dropped or surfaced, never fatal." }
@@ -310,7 +310,7 @@
310310
"pass": { "client": "session/new returned availableModes with interop-mode-b, and set_mode answers without error.", "agent": "STEP agent.mode.set PASS when set_mode named a known session and interop-mode-b." }
311311
},
312312
{
313-
"id": "config.on-new", "group": "config", "phaseB": "P1b",
313+
"id": "config.on-new", "group": "config",
314314
"client": "session/new.",
315315
"agent": "Return fixtures.configOptions (verbose only if the client advertised configOptions.boolean) on session/new, session/load and session/resume.",
316316
"pass": { "client": "The response has a select option model with currentValue model-a." }
@@ -321,7 +321,7 @@
321321
"pass": { "client": "The response is the complete list of options, with model at currentValue model-b." }
322322
},
323323
{
324-
"id": "config.boolean", "group": "config", "phaseB": "P6",
324+
"id": "config.boolean", "group": "config",
325325
"requires": ["client.session.configOptions.boolean"],
326326
"client": "session/new; session/set_config_option {configId: verbose, type: boolean, value: true}.",
327327
"pass": { "client": "The response has verbose at currentValue true." }
@@ -388,7 +388,7 @@
388388
"pass": { "client": "The chunk \"elicit: accept {\\\"name\\\":\\\"interop\\\"}\" (JSON compared semantically).", "agent": "STEP agent.elicit.form PASS when the action is accept with content name == interop." }
389389
},
390390
{
391-
"id": "elicit.complete", "group": "elicit", "prompt": "#elicit url", "phaseB": "P4",
391+
"id": "elicit.complete", "group": "elicit", "prompt": "#elicit url",
392392
"requires": ["client.elicitation.url"],
393393
"client": "session/new; the prompt; accept the url-mode elicitation.",
394394
"agent": "#elicit url",
@@ -414,20 +414,20 @@
414414
"pass": { "client": "stopReason cancelled within 6 s of the cancel: the SDK answered for the handler (G0f)." }
415415
},
416416
{
417-
"id": "cancel-request.client", "group": "cancel-request", "prompt": "#slow", "phaseB": "P2",
417+
"id": "cancel-request.client", "group": "cancel-request", "prompt": "#slow",
418418
"client": "session/new; the prompt; after the first tick, $/cancel_request {requestId: <the prompt's id>}.",
419419
"agent": "#slow; the SDK surfaces the cancel request to the handler.",
420420
"pass": { "client": "The prompt ends within 5 s, with error -32800 or stopReason cancelled.", "agent": "STEP agent.cancel-request.client PASS when the handler observed the cancel request." }
421421
},
422422
{
423-
"id": "cancel-request.agent", "group": "cancel-request", "prompt": "#fs read-slow {dir}/slow.txt", "phaseB": "P2",
423+
"id": "cancel-request.agent", "group": "cancel-request", "prompt": "#fs read-slow {dir}/slow.txt",
424424
"requires": ["client.fs.readTextFile"],
425425
"client": "session/new; the prompt. The fs/read_text_file handler, for a path ending slow.txt, waits up to 10 s or until cancelled.",
426426
"agent": "#fs read-slow",
427427
"pass": { "client": "The chunk \"cancel-request sent\" and end_turn within 5 s.", "agent": "STEP agent.cancel-request.agent PASS when the fs request ended with error -32800 within 5 s." }
428428
},
429429
{
430-
"id": "cancel-request.unknown", "group": "cancel-request", "phaseB": "P2",
430+
"id": "cancel-request.unknown", "group": "cancel-request",
431431
"client": "$/cancel_request for requestId 999999, and for the id of a request that already completed; then session/new and prompt \"after cancel-request\".",
432432
"pass": { "client": "No error comes back for either cancel request, and the prompt answers end_turn." }
433433
},
@@ -444,13 +444,13 @@
444444
"pass": { "client": "The notification arrived with params {n: 1}." }
445445
},
446446
{
447-
"id": "ext.client-request", "group": "ext", "phaseB": "P9",
447+
"id": "ext.client-request", "group": "ext",
448448
"client": "Send the request _interop/ping {n: 1} to the agent.",
449449
"agent": "Answer fixtures.ext.result.",
450450
"pass": { "client": "The result is {pong: 1}." }
451451
},
452452
{
453-
"id": "ext.client-notification", "group": "ext", "prompt": "#ext last-notification", "phaseB": "P9",
453+
"id": "ext.client-notification", "group": "ext", "prompt": "#ext last-notification",
454454
"client": "Send the notification _interop/note {n: 1}; session/new; the prompt.",
455455
"agent": "Record extension notifications; #ext last-notification.",
456456
"pass": { "client": "The chunk \"ext last: _interop/note\"." }
@@ -462,7 +462,7 @@
462462
"pass": { "client": "The \"meta\" chunk's update _meta and the PromptResponse _meta both have interop == m1." }
463463
},
464464
{
465-
"id": "meta.permission", "group": "meta", "prompt": "#permission allow meta", "phaseB": "P8",
465+
"id": "meta.permission", "group": "meta", "prompt": "#permission allow meta",
466466
"client": "As perm.selected, and put the request's _meta into the RequestPermissionResponse's _meta.",
467467
"agent": "#permission allow meta",
468468
"pass": { "client": "The request carried _meta interop == m1.", "agent": "STEP agent.meta.permission PASS when the response carried _meta interop == m1." }

0 commit comments

Comments
 (0)