agent-dealer 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -68,7 +68,7 @@ export function capableDeveloperVisualQaPromptSection() {
|
|
|
68
68
|
return [
|
|
69
69
|
`## Visual QA (in-session browser verification)`,
|
|
70
70
|
`This runtime can usually launch a headless browser and serve the app on loopback — verify UI-visible work in-session instead of assuming visual QA is unavailable.`,
|
|
71
|
-
`- First run ONE bounded capability probe: launch headless Chromium once (for example \`chromium --headless --screenshot=/tmp/dealer-visual-probe.png --window-size=800,600 about:blank\`, or the runtime's installed equivalent) and confirm the app can listen on loopback. If either fails, stop: do not install browsers or packages (no network), do not retry the failed capability, and do not weaken any sandbox flag to force a launch
|
|
71
|
+
`- First run ONE bounded capability probe: launch headless Chromium once (for example \`chromium --headless --screenshot=/tmp/dealer-visual-probe.png --window-size=800,600 about:blank\`, or the runtime's installed equivalent) and confirm the app can listen on loopback. If either fails, stop PROBING only — the probe is never a gate on the ticket: do not install browsers or packages (no network), do not retry the failed capability, and do not weaken any sandbox flag to force a launch. Record \`unavailable\` with the concrete failed capability, then continue the implementation as normal: inspect the repository, change code, run tests and open the PR. A failed probe is never a reason to end the session without implementing; browser proof is routed to CI or an operator.`,
|
|
72
72
|
`- When capable, run the REAL backend and frontend from this worktree at the current HEAD and exercise the affected interaction, not just a static route. Use mocks only when an acceptance criterion explicitly permits them, and say so in the receipt.`,
|
|
73
73
|
`- Capture the ticket's stated viewports, or desktop \`1440x900\` and mobile \`390x800\` by default. Save PNGs under \`.agent-dealer-visual-qa/\` (for example \`.agent-dealer-visual-qa/desktop-1440x900.png\`). The coordinator collects and deletes this directory — never commit it.`,
|
|
74
74
|
`- A new commit invalidates earlier rendered evidence: capture at the final HEAD and name it in the receipt (\`git rev-parse HEAD\`).`,
|
|
@@ -61,6 +61,9 @@ test("NOT-381: capable section requires one bounded probe, the real app, default
|
|
|
61
61
|
assert.match(text, /do not install browsers or packages/);
|
|
62
62
|
assert.match(text, /do not retry the failed capability/);
|
|
63
63
|
assert.match(text, /do not weaken any sandbox flag/);
|
|
64
|
+
// A failed probe must never end the session: the worker keeps implementing.
|
|
65
|
+
assert.match(text, /never a gate on the ticket/);
|
|
66
|
+
assert.match(text, /continue the implementation as normal/);
|
|
64
67
|
assert.match(text, /REAL backend and frontend/);
|
|
65
68
|
assert.match(text, /Use mocks only when an acceptance criterion explicitly permits them/);
|
|
66
69
|
assert.match(text, /1440x900/);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-dealer/server",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test": "AGENT_DEALER_SKIP_GITHUB_HEALTH=1 AGENT_DEALER_SKIP_AGENT_HEALTH=1 npm run build -w @agent-dealer/shared && AGENT_DEALER_SKIP_GITHUB_HEALTH=1 AGENT_DEALER_SKIP_AGENT_HEALTH=1 node ../../scripts/run-workspace-tests.mjs"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@agent-dealer/shared": "1.4.
|
|
26
|
+
"@agent-dealer/shared": "1.4.1",
|
|
27
27
|
"@fastify/cors": "^11.0.1",
|
|
28
28
|
"@fastify/static": "^8.2.0",
|
|
29
29
|
"@modelcontextprotocol/sdk": "^1.29.0",
|