Skip to content

Commit ca57f4b

Browse files
committed
1 parent 7ba58ab commit ca57f4b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎extensions/qa-lab/src/scenario-flow-runner.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ function createPlanningEvidenceFixture(
231231
return {
232232
scenario,
233233
outboundText: `Built ${artifactFile}`,
234-
failureMessage: "missing OpenClaw update_plan signal",
234+
failureMessage: "missing OpenClaw progress_card signal",
235235
currentSummary: {
236236
eventCursor: 9,
237-
successfulToolCallCounts: { update_plan: 1 },
237+
successfulToolCallCounts: { progress_card: 1 },
238238
},
239239
};
240240
}
@@ -254,7 +254,7 @@ function runPlanningEvidenceFixture(
254254
{ identity: "old-turn:plan", text: "Codex plan:\nQA_INTERNAL_PLAN_DO_NOT_SEND" },
255255
{ identity: "old-turn:assistant", text: fixture.outboundText },
256256
],
257-
successfulToolCallCounts: { update_plan: 1 },
257+
successfulToolCallCounts: { progress_card: 1 },
258258
},
259259
currentSummary,
260260
];

‎qa/scenarios/workspace/medium-game-plan-openclaw-harness.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ scenario:
1212
successCriteria:
1313
- A live-frontier run fails fast unless the selected primary model is openai/gpt-5.6-luna.
1414
- The scenario forces the embedded OpenClaw harness before the build turn.
15-
- The OpenClaw harness records a successful `update_plan` tool call before the artifact assertion passes.
15+
- The OpenClaw harness records a successful `progress_card` tool call before the artifact assertion passes.
1616
- The agent writes a self-contained HTML game with a canvas loop, controls, scoring, waves, pause, and restart.
1717
docsRefs:
1818
- docs/plugins/sdk-agent-harness.md
@@ -35,7 +35,7 @@ scenario:
3535
gameTitle: Star Garden Defenders
3636
minBytes: 5000
3737
buildPrompt: |-
38-
Call update_plan with a short implementation plan before editing.
38+
Call progress_card with a short implementation plan before editing.
3939
4040
Then build a medium-complex, self-contained browser game at ./star-garden-defenders-openclaw.html.
4141
@@ -108,8 +108,8 @@ flow:
108108
- afterEventCursor:
109109
expr: transcriptBefore.eventCursor
110110
- assert:
111-
expr: "(transcript.successfulToolCallCounts.update_plan ?? 0) > 0"
112-
message: missing OpenClaw update_plan signal
111+
expr: "(transcript.successfulToolCallCounts.progress_card ?? 0) > 0"
112+
message: missing OpenClaw progress_card signal
113113
- set: artifactPath
114114
value:
115115
expr: "path.join(env.gateway.workspaceDir, config.artifactFile)"
@@ -150,4 +150,4 @@ flow:
150150
expr: "outbound.text.includes(config.artifactFile)"
151151
message:
152152
expr: "`final reply did not mention ${config.artifactFile}: ${outbound.text}`"
153-
detailsExpr: "`provider=${selected?.provider} model=${selected?.model} runtime=${config.harnessRuntime} agentRun=${turn.started.runId} appServerTurn=n/a planSignal=update_plan:success:${transcript.successfulToolCallCounts.update_plan ?? 0} artifact=${artifactPath} bytes=${artifact.length} visibleReply=${JSON.stringify(outbound.text)}`"
153+
detailsExpr: "`provider=${selected?.provider} model=${selected?.model} runtime=${config.harnessRuntime} agentRun=${turn.started.runId} appServerTurn=n/a planSignal=progress_card:success:${transcript.successfulToolCallCounts.progress_card ?? 0} artifact=${artifactPath} bytes=${artifact.length} visibleReply=${JSON.stringify(outbound.text)}`"

0 commit comments

Comments
 (0)