@bugzy-ai/bugzy 1.13.1 → 1.14.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.
- package/dist/cli/index.cjs +355 -254
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +355 -254
- package/dist/cli/index.js.map +1 -1
- package/dist/index.cjs +154 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +154 -58
- package/dist/index.js.map +1 -1
- package/dist/subagents/index.cjs +44 -27
- package/dist/subagents/index.cjs.map +1 -1
- package/dist/subagents/index.js +44 -27
- package/dist/subagents/index.js.map +1 -1
- package/dist/subagents/metadata.cjs +1 -1
- package/dist/subagents/metadata.cjs.map +1 -1
- package/dist/subagents/metadata.js +1 -1
- package/dist/subagents/metadata.js.map +1 -1
- package/dist/tasks/index.cjs +56 -1
- package/dist/tasks/index.cjs.map +1 -1
- package/dist/tasks/index.js +56 -1
- package/dist/tasks/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/init/.bugzy/runtime/testing-best-practices.md +1 -1
- package/templates/init/AGENTS.md +1 -1
- package/templates/init/CLAUDE.md +1 -1
package/dist/index.cjs
CHANGED
|
@@ -90,31 +90,6 @@ var MCP_SERVERS = {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
|
-
playwright: {
|
|
94
|
-
provider: "playwright",
|
|
95
|
-
name: "Playwright",
|
|
96
|
-
description: "Playwright MCP server for browser automation",
|
|
97
|
-
requiresCredentials: false,
|
|
98
|
-
npmPackages: ["@playwright/mcp"],
|
|
99
|
-
config: {
|
|
100
|
-
command: "playwright-mcp",
|
|
101
|
-
args: [
|
|
102
|
-
"--browser",
|
|
103
|
-
"chromium",
|
|
104
|
-
"--secrets",
|
|
105
|
-
".env",
|
|
106
|
-
"--no-sandbox",
|
|
107
|
-
"--viewport-size",
|
|
108
|
-
"1280x720"
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
containerExtensions: {
|
|
112
|
-
args: ["--headless"],
|
|
113
|
-
env: {
|
|
114
|
-
PLAYWRIGHT_BROWSERS_PATH: "/opt/ms-playwright"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
93
|
notion: {
|
|
119
94
|
provider: "notion",
|
|
120
95
|
name: "Notion",
|
|
@@ -886,7 +861,28 @@ The handler file contains all necessary processing logic for the detected intent
|
|
|
886
861
|
- Response guidelines
|
|
887
862
|
- Memory update instructions`
|
|
888
863
|
},
|
|
889
|
-
// Step 6:
|
|
864
|
+
// Step 6: Post Response via Team Communicator
|
|
865
|
+
{
|
|
866
|
+
inline: true,
|
|
867
|
+
title: "Post Response to Team",
|
|
868
|
+
content: `## Post Response to the Team
|
|
869
|
+
|
|
870
|
+
After processing the message through the handler and composing your response:
|
|
871
|
+
|
|
872
|
+
{{INVOKE_TEAM_COMMUNICATOR}} to post the response back to the team.
|
|
873
|
+
|
|
874
|
+
**Context to include in the delegation:**
|
|
875
|
+
- The original message/question from the team member
|
|
876
|
+
- Your composed response with all gathered data
|
|
877
|
+
- Whether this should be a thread reply (if the original message was in a thread) or a new message
|
|
878
|
+
- The relevant channel (from project-context.md)
|
|
879
|
+
|
|
880
|
+
**Do NOT:**
|
|
881
|
+
- Skip posting and just display the response as text output
|
|
882
|
+
- Ask the user whether to post \u2014 the message came from the team, the response goes back to the team
|
|
883
|
+
- Compose a draft without sending it`
|
|
884
|
+
},
|
|
885
|
+
// Step 7: Clarification Protocol (for ambiguous intents)
|
|
890
886
|
"clarification-protocol",
|
|
891
887
|
// Step 8: Knowledge Base Update (library)
|
|
892
888
|
"update-knowledge-base",
|
|
@@ -1665,6 +1661,40 @@ The input format determines the trigger source and context extraction strategy.`
|
|
|
1665
1661
|
Store the detected trigger for use in output routing:
|
|
1666
1662
|
- Set variable: \`TRIGGER_SOURCE\` = [GITHUB_PR | SLACK_MESSAGE | CI_CD | MANUAL]
|
|
1667
1663
|
- This determines output formatting and delivery channel`
|
|
1664
|
+
},
|
|
1665
|
+
// Step 5c: Coverage Gap vs. Ambiguity (inline)
|
|
1666
|
+
{
|
|
1667
|
+
inline: true,
|
|
1668
|
+
title: "Coverage Gap vs. Ambiguity",
|
|
1669
|
+
content: `### Coverage Gap vs. Ambiguity
|
|
1670
|
+
|
|
1671
|
+
When the trigger indicates a feature has been implemented and is ready for testing (Jira "Ready to Test", PR merged, CI/CD pipeline):
|
|
1672
|
+
|
|
1673
|
+
**Missing test coverage for the referenced feature is a COVERAGE GAP, not an ambiguity.**
|
|
1674
|
+
|
|
1675
|
+
- The developer/team is asserting the feature exists and is ready for testing
|
|
1676
|
+
- "Not yet explored" or "out of scope" in the test plan means the QA team hasn't tested it yet \u2014 it does NOT mean the feature doesn't exist
|
|
1677
|
+
- Do NOT classify as CRITICAL based on stale documentation or knowledge base gaps
|
|
1678
|
+
- If project-context.md or the Jira issue references the feature, assume it exists until browser exploration proves otherwise
|
|
1679
|
+
- Coverage gaps are handled in the "Create Tests for Coverage Gaps" step below \u2014 do NOT block here
|
|
1680
|
+
|
|
1681
|
+
### If You Browse the App and Cannot Find the Referenced Feature
|
|
1682
|
+
|
|
1683
|
+
Apply the Clarification Protocol's **"Execution Obstacle vs. Requirement Ambiguity"** principle:
|
|
1684
|
+
|
|
1685
|
+
This is an **execution obstacle**, NOT a requirement ambiguity \u2014 because the authoritative trigger source (Jira issue, PR, team request) asserts the feature exists. Common causes for not finding it:
|
|
1686
|
+
- **Missing role/tier**: You're logged in as a basic user but the feature requires admin/premium access
|
|
1687
|
+
- **Missing test data**: Required test accounts or data haven't been configured in \`.env.testdata\`
|
|
1688
|
+
- **Feature flags**: The feature is behind a flag not enabled in the test environment
|
|
1689
|
+
- **Environment config**: The feature requires specific environment variables or deployment settings
|
|
1690
|
+
|
|
1691
|
+
**Action: PROCEED to "Create Tests for Coverage Gaps".** Do NOT BLOCK.
|
|
1692
|
+
- Create test cases and specs that reference the feature as described in the trigger
|
|
1693
|
+
- Add placeholder env vars to \`.env.testdata\` for any missing credentials
|
|
1694
|
+
- Notify the team (via team-communicator) about the access obstacle and what needs to be configured
|
|
1695
|
+
- Tests may fail until the obstacle is resolved \u2014 this is expected and acceptable
|
|
1696
|
+
|
|
1697
|
+
**Only classify as CRITICAL (and BLOCK) if NO authoritative trigger source claims the feature exists** \u2014 e.g., a vague manual request with no Jira/PR backing.`
|
|
1668
1698
|
},
|
|
1669
1699
|
// Step 6: Clarification Protocol (library)
|
|
1670
1700
|
"clarification-protocol",
|
|
@@ -2342,7 +2372,7 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2342
2372
|
|
|
2343
2373
|
3. **Environment Setup**: Before test execution:
|
|
2344
2374
|
- Read \`.env.testdata\` to get non-secret environment variable values (TEST_BASE_URL, TEST_OWNER_EMAIL, etc.)
|
|
2345
|
-
- For secrets, variable names
|
|
2375
|
+
- For secrets, variable names are available as environment variables (playwright-cli inherits the process environment)
|
|
2346
2376
|
|
|
2347
2377
|
4. **Test Case Parsing**: You will receive a test case file path. Parse the test case to extract:
|
|
2348
2378
|
- Test steps and actions to perform
|
|
@@ -2350,16 +2380,16 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2350
2380
|
- Test data and input values (replace any \${TEST_*} or $TEST_* variables with actual values from .env)
|
|
2351
2381
|
- Preconditions and setup requirements
|
|
2352
2382
|
|
|
2353
|
-
5. **Browser Automation Execution**: Using
|
|
2354
|
-
- Launch a browser
|
|
2355
|
-
- Execute each test step sequentially
|
|
2383
|
+
5. **Browser Automation Execution**: Using playwright-cli (CLI-based browser automation):
|
|
2384
|
+
- Launch a browser: \`playwright-cli open <url>\`
|
|
2385
|
+
- Execute each test step sequentially using CLI commands: \`click\`, \`fill\`, \`select\`, \`hover\`, etc.
|
|
2386
|
+
- Use \`snapshot\` to inspect page state and find element references (@e1, @e2, etc.)
|
|
2356
2387
|
- Handle dynamic waits and element interactions intelligently
|
|
2357
2388
|
- Manage browser state between steps
|
|
2358
2389
|
- **IMPORTANT - Environment Variable Handling**:
|
|
2359
2390
|
- When test cases contain environment variables:
|
|
2360
2391
|
- For non-secrets (TEST_BASE_URL, TEST_OWNER_EMAIL): Read actual values from .env.testdata and use them directly
|
|
2361
|
-
- For secrets (TEST_OWNER_PASSWORD, API keys):
|
|
2362
|
-
- Playwright MCP automatically reads .env for secrets and injects them at runtime
|
|
2392
|
+
- For secrets (TEST_OWNER_PASSWORD, API keys): playwright-cli inherits environment variables from the process
|
|
2363
2393
|
- Example: Test says "Navigate to TEST_BASE_URL/login" \u2192 Read TEST_BASE_URL from .env.testdata, use the actual URL
|
|
2364
2394
|
|
|
2365
2395
|
6. **Evidence Collection at Each Step**:
|
|
@@ -2384,7 +2414,7 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2384
2414
|
- \`steps.json\`: Structured steps with timestamps, video time synchronization, and detailed descriptions (see schema)
|
|
2385
2415
|
|
|
2386
2416
|
Video handling:
|
|
2387
|
-
-
|
|
2417
|
+
- Videos are automatically saved to \`.playwright-mcp/\` folder via PLAYWRIGHT_MCP_SAVE_VIDEO env var
|
|
2388
2418
|
- Find the latest video: \`ls -t .playwright-mcp/*.webm 2>/dev/null | head -1\`
|
|
2389
2419
|
- Store ONLY the filename in summary.json: \`{ "video": { "filename": "basename.webm" } }\`
|
|
2390
2420
|
- Do NOT copy, move, or delete video files - external service handles uploads
|
|
@@ -2423,8 +2453,7 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2423
2453
|
- Identify all TEST_* variable references (e.g., TEST_BASE_URL, TEST_OWNER_EMAIL, TEST_OWNER_PASSWORD)
|
|
2424
2454
|
- Read .env.testdata to get actual values for non-secret variables
|
|
2425
2455
|
- For non-secrets (TEST_BASE_URL, TEST_OWNER_EMAIL, etc.): Use actual values from .env.testdata directly in test execution
|
|
2426
|
-
- For secrets (TEST_OWNER_PASSWORD, API keys, etc.):
|
|
2427
|
-
- Playwright MCP will read .env and inject secret values during browser automation
|
|
2456
|
+
- For secrets (TEST_OWNER_PASSWORD, API keys, etc.): playwright-cli inherits env vars from the process environment
|
|
2428
2457
|
- If a required variable is not found in .env.testdata, log a warning but continue
|
|
2429
2458
|
|
|
2430
2459
|
5. Extract execution ID from the execution environment:
|
|
@@ -2438,7 +2467,7 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2438
2467
|
- Describe what action will be performed (communicate to user)
|
|
2439
2468
|
- Log the step being executed with timestamp
|
|
2440
2469
|
- Calculate elapsed time from test start (for videoTimeSeconds)
|
|
2441
|
-
- Execute the action using
|
|
2470
|
+
- Execute the action using playwright-cli commands (click, fill, select, etc. with element refs)
|
|
2442
2471
|
- Wait for page stability
|
|
2443
2472
|
- Validate expected behavior
|
|
2444
2473
|
- Record findings and actual behavior
|
|
@@ -2513,12 +2542,11 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2513
2542
|
**Environment Variable Handling:**
|
|
2514
2543
|
- Read .env.testdata at the start of execution to get non-secret environment variables
|
|
2515
2544
|
- For non-secrets (TEST_BASE_URL, TEST_OWNER_EMAIL, etc.): Use actual values from .env.testdata directly
|
|
2516
|
-
- For secrets (TEST_OWNER_PASSWORD, API keys):
|
|
2517
|
-
- Playwright MCP reads .env for secrets and injects them during browser automation
|
|
2545
|
+
- For secrets (TEST_OWNER_PASSWORD, API keys): playwright-cli inherits env vars from the process environment
|
|
2518
2546
|
- DO NOT read .env yourself (security policy - it contains only secrets)
|
|
2519
2547
|
- DO NOT make up fake values or fallbacks
|
|
2520
2548
|
- If a variable is missing from .env.testdata, log a warning
|
|
2521
|
-
- If
|
|
2549
|
+
- If a secret env var is missing/empty, that indicates .env is misconfigured
|
|
2522
2550
|
- Document which environment variables were used in the test run summary
|
|
2523
2551
|
|
|
2524
2552
|
When you encounter ambiguous test steps, make intelligent decisions based on common testing patterns and document your interpretation. Always prioritize capturing evidence over speed of execution. Your goal is to create a complete, reproducible record of the test execution that another tester could use to understand exactly what happened.`;
|
|
@@ -2565,7 +2593,7 @@ var CONTENT2 = `You are an expert Playwright test automation engineer specializi
|
|
|
2565
2593
|
- Update the manual test case file with the automated_test reference
|
|
2566
2594
|
- Create supporting artifacts: Page Objects, fixtures, helpers, components, types
|
|
2567
2595
|
|
|
2568
|
-
5. **Mandatory Application Exploration**: NEVER generate Page Objects without exploring the live application first using
|
|
2596
|
+
5. **Mandatory Application Exploration**: NEVER generate Page Objects without exploring the live application first using playwright-cli:
|
|
2569
2597
|
- Navigate to pages, authenticate, inspect elements
|
|
2570
2598
|
- Capture screenshots for documentation
|
|
2571
2599
|
- Document exact role names, labels, text, URLs
|
|
@@ -2596,7 +2624,7 @@ var CONTENT2 = `You are an expert Playwright test automation engineer specializi
|
|
|
2596
2624
|
|
|
2597
2625
|
**STEP 2: Build Missing Infrastructure** (if needed)
|
|
2598
2626
|
|
|
2599
|
-
- **Explore feature under test**: Use
|
|
2627
|
+
- **Explore feature under test**: Use playwright-cli to:
|
|
2600
2628
|
* Navigate to the feature's pages
|
|
2601
2629
|
* Inspect elements and gather selectors (role, label, text)
|
|
2602
2630
|
* Document actual URLs from the browser
|
|
@@ -2803,8 +2831,8 @@ var CONTENT2 = `You are an expert Playwright test automation engineer specializi
|
|
|
2803
2831
|
- Create test interdependencies - tests must be independent
|
|
2804
2832
|
|
|
2805
2833
|
\u2705 **ALWAYS**:
|
|
2806
|
-
- Explore application using
|
|
2807
|
-
- Verify selectors in live browser using
|
|
2834
|
+
- Explore application using playwright-cli before generating code
|
|
2835
|
+
- Verify selectors in live browser using playwright-cli snapshot
|
|
2808
2836
|
- Document actual URLs from browser address bar
|
|
2809
2837
|
- Take screenshots for documentation
|
|
2810
2838
|
- Use role-based selectors as first priority
|
|
@@ -2876,7 +2904,7 @@ var CONTENT3 = `You are an expert Playwright test debugger and fixer with deep e
|
|
|
2876
2904
|
- Brittle selectors (CSS classes, IDs that change)
|
|
2877
2905
|
|
|
2878
2906
|
4. **Debug Using Browser**: When needed, explore the application manually:
|
|
2879
|
-
- Use
|
|
2907
|
+
- Use playwright-cli to open browser (\`playwright-cli open <url>\`)
|
|
2880
2908
|
- Navigate to the relevant page
|
|
2881
2909
|
- Inspect elements to find correct selectors
|
|
2882
2910
|
- Manually perform test steps to understand actual behavior
|
|
@@ -2986,7 +3014,7 @@ var CONTENT3 = `You are an expert Playwright test debugger and fixer with deep e
|
|
|
2986
3014
|
- Check for screenshot/trace file references
|
|
2987
3015
|
|
|
2988
3016
|
**Step 3: Reproduce and Debug**
|
|
2989
|
-
- Open browser via
|
|
3017
|
+
- Open browser via playwright-cli if needed (\`playwright-cli open <url>\`)
|
|
2990
3018
|
- Navigate to relevant page
|
|
2991
3019
|
- Manually execute test steps
|
|
2992
3020
|
- Identify discrepancy between test expectations and actual behavior
|
|
@@ -3109,13 +3137,14 @@ var CONTENT3 = `You are an expert Playwright test debugger and fixer with deep e
|
|
|
3109
3137
|
- NEVER read \`.env\` file (contains secrets only)
|
|
3110
3138
|
- If test needs new environment variable, update \`.env.testdata\`
|
|
3111
3139
|
|
|
3112
|
-
9. **Using
|
|
3113
|
-
- You have direct access to
|
|
3114
|
-
- Open browser:
|
|
3115
|
-
-
|
|
3116
|
-
-
|
|
3117
|
-
-
|
|
3118
|
-
-
|
|
3140
|
+
9. **Using playwright-cli for Debugging**:
|
|
3141
|
+
- You have direct access to playwright-cli via Bash
|
|
3142
|
+
- Open browser: \`playwright-cli open <url>\`
|
|
3143
|
+
- Take snapshot: \`playwright-cli snapshot\` to get element refs (@e1, @e2, etc.)
|
|
3144
|
+
- Navigate: \`playwright-cli navigate <url>\`
|
|
3145
|
+
- Inspect elements: Use \`snapshot\` to find correct selectors and element refs
|
|
3146
|
+
- Execute test steps manually: Use \`click\`, \`fill\`, \`select\` commands
|
|
3147
|
+
- Close browser: \`playwright-cli close\`
|
|
3119
3148
|
|
|
3120
3149
|
10. **Test Stability Best Practices**:
|
|
3121
3150
|
- Replace all \`waitForTimeout()\` with specific waits
|
|
@@ -3410,6 +3439,24 @@ var CONTENT5 = `You are a Team Communication Specialist who communicates like a
|
|
|
3410
3439
|
|
|
3411
3440
|
**Key Principle:** If it takes more than 30 seconds to read, it's too long.
|
|
3412
3441
|
|
|
3442
|
+
## CRITICAL: Always Post Messages
|
|
3443
|
+
|
|
3444
|
+
When you are invoked, your job is to POST a message to Slack \u2014 not just compose one.
|
|
3445
|
+
|
|
3446
|
+
**You MUST call \`slack_post_message\` or \`slack_post_rich_message\`** to deliver the message. Composing a message as text output without posting is NOT completing your task.
|
|
3447
|
+
|
|
3448
|
+
**NEVER:**
|
|
3449
|
+
- Return a draft without posting it
|
|
3450
|
+
- Ask "should I post this?" \u2014 if you were invoked, the answer is yes
|
|
3451
|
+
- Compose text and wait for approval before posting
|
|
3452
|
+
|
|
3453
|
+
**ALWAYS:**
|
|
3454
|
+
1. Identify the correct channel (from project-context.md or the invocation context)
|
|
3455
|
+
2. Compose the message following the guidelines below
|
|
3456
|
+
3. Call the Slack API tool to POST the message
|
|
3457
|
+
4. If a thread reply is needed, post main message first, then reply in thread
|
|
3458
|
+
5. Report back: channel name, message timestamp, and confirmation it was posted
|
|
3459
|
+
|
|
3413
3460
|
## Message Type Detection
|
|
3414
3461
|
|
|
3415
3462
|
Before composing, identify the message type:
|
|
@@ -5848,7 +5895,7 @@ var INTEGRATIONS = {
|
|
|
5848
5895
|
id: "playwright",
|
|
5849
5896
|
name: "Playwright",
|
|
5850
5897
|
provider: "playwright",
|
|
5851
|
-
requiredMCP
|
|
5898
|
+
// No requiredMCP — uses playwright-cli (CLI tool), not MCP server
|
|
5852
5899
|
isLocal: true,
|
|
5853
5900
|
// Playwright runs locally, no external connector needed
|
|
5854
5901
|
integrationType: "local"
|
|
@@ -6300,7 +6347,9 @@ If the Clarification Protocol determined project maturity, adjust exploration de
|
|
|
6300
6347
|
- **Growing project**: Use requirement clarity as-is (standard protocol)
|
|
6301
6348
|
- **Mature project**: Trust knowledge base \u2014 can stay at suggested depth or go one level shallower if KB covers the feature
|
|
6302
6349
|
|
|
6303
|
-
**Always verify features exist before testing them.** If exploration reveals that a referenced page or feature does not exist in the application,
|
|
6350
|
+
**Always verify features exist before testing them.** If exploration reveals that a referenced page or feature does not exist in the application, apply the Clarification Protocol's "Execution Obstacle vs. Requirement Ambiguity" principle:
|
|
6351
|
+
- If an authoritative trigger source (Jira issue, PR, team request) asserts the feature exists, this is likely an **execution obstacle** (missing credentials, feature flags, environment config) \u2014 proceed with test artifact creation and notify the team about the access issue. Do NOT BLOCK.
|
|
6352
|
+
- If NO authoritative source claims the feature exists, this is **CRITICAL severity** \u2014 escalate via the Clarification Protocol regardless of maturity level. Do NOT silently adapt or work around the missing feature.
|
|
6304
6353
|
|
|
6305
6354
|
### Quick Exploration (1-2 min)
|
|
6306
6355
|
|
|
@@ -6586,11 +6635,56 @@ If ambiguity is detected, assess its severity:
|
|
|
6586
6635
|
|
|
6587
6636
|
| Severity | Characteristics | Examples | Action |
|
|
6588
6637
|
|----------|----------------|----------|--------|
|
|
6589
|
-
| **CRITICAL** | Expected behavior undefined/contradictory; test outcome unpredictable; core functionality unclear; success criteria missing; multiple interpretations = different strategies; **referenced page/feature
|
|
6638
|
+
| **CRITICAL** | Expected behavior undefined/contradictory; test outcome unpredictable; core functionality unclear; success criteria missing; multiple interpretations = different strategies; **referenced page/feature confirmed absent after browser verification AND no authoritative trigger source (Jira, PR, team request) asserts the feature exists** | "Fix the issue" (what issue?), "Improve performance" (which metrics?), "Fix sorting in todo list" (by date? priority? completion status?), "Test the Settings page" (browsed app \u2014 no Settings page exists, and no Jira/PR claims it was built) | **STOP** - You MUST ask via team-communicator before proceeding |
|
|
6590
6639
|
| **HIGH** | Core underspecified but direction clear; affects majority of scenarios; vague success criteria; assumptions risky | "Fix ordering" (sequence OR visibility?), "Add validation" (what? messages?), "Update dashboard" (which widgets?) | **STOP** - You MUST ask via team-communicator before proceeding |
|
|
6591
6640
|
| **MEDIUM** | Specific details missing; general requirements clear; affects subset of cases; reasonable low-risk assumptions possible; wrong assumption = test updates not strategy overhaul | Missing field labels, unclear error message text, undefined timeouts, button placement not specified, date formats unclear | **PROCEED** - (1) Moderate exploration, (2) Document assumptions: "Assuming X because Y", (3) Proceed with creation/execution, (4) Async clarification (team-communicator), (5) Mark [ASSUMED: description] |
|
|
6592
6641
|
| **LOW** | Minor edge cases; documentation gaps don't affect execution; optional/cosmetic elements; minimal impact | Tooltip text, optional field validation, icon choice, placeholder text, tab order | **PROCEED** - (1) Mark [TO BE CLARIFIED: description], (2) Proceed, (3) Mention in report "Minor Details", (4) No blocking/async clarification |
|
|
6593
6642
|
|
|
6643
|
+
### Execution Obstacle vs. Requirement Ambiguity
|
|
6644
|
+
|
|
6645
|
+
Before classifying something as CRITICAL, distinguish between these two fundamentally different situations:
|
|
6646
|
+
|
|
6647
|
+
**Requirement Ambiguity** = *What* to test is unclear \u2192 severity assessment applies normally
|
|
6648
|
+
- No authoritative source describes the feature
|
|
6649
|
+
- The task description is vague or contradictory
|
|
6650
|
+
- You cannot determine what "correct" behavior looks like
|
|
6651
|
+
- \u2192 Apply severity table above. CRITICAL/HIGH \u2192 BLOCK.
|
|
6652
|
+
|
|
6653
|
+
**Execution Obstacle** = *What* to test is clear, but *how* to access/verify has obstacles \u2192 NEVER BLOCK
|
|
6654
|
+
- An authoritative trigger source (Jira issue, PR, team message) asserts the feature exists
|
|
6655
|
+
- You browsed the app but couldn't find/access the feature
|
|
6656
|
+
- The obstacle is likely: wrong user role/tier, missing test data, feature flags, environment config
|
|
6657
|
+
- \u2192 PROCEED with artifact creation (test cases, test specs). Notify team about the obstacle.
|
|
6658
|
+
|
|
6659
|
+
**The key test:** Does an authoritative trigger source (Jira, PR, team request) assert the feature exists?
|
|
6660
|
+
- **YES** \u2192 It's an execution obstacle. The feature exists but you can't access it. Proceed: create test artifacts, add placeholder env vars, notify team about access issues.
|
|
6661
|
+
- **NO** \u2192 It may genuinely not exist. Apply CRITICAL severity, ask what was meant.
|
|
6662
|
+
|
|
6663
|
+
| Scenario | Trigger Says | Browser Shows | Classification | Action |
|
|
6664
|
+
|----------|-------------|---------------|----------------|--------|
|
|
6665
|
+
| Jira says "test premium dashboard", you log in as test_user and don't see it | Feature exists | Can't access | **Execution obstacle** | Create tests, notify team re: missing premium credentials |
|
|
6666
|
+
| PR says "verify new settings page", you browse and find no settings page | Feature exists | Can't find | **Execution obstacle** | Create tests, notify team re: possible feature flag/env issue |
|
|
6667
|
+
| Manual request "test the settings page", no Jira/PR, you browse and find no settings page | No source claims it | Can't find | **Requirement ambiguity (CRITICAL)** | BLOCK, ask what was meant |
|
|
6668
|
+
| Jira says "fix sorting", but doesn't specify sort criteria | Feature exists | Feature exists | **Requirement ambiguity (HIGH)** | BLOCK, ask which sort criteria |
|
|
6669
|
+
|
|
6670
|
+
**Partial Feature Existence \u2014 URL found but requested functionality absent:**
|
|
6671
|
+
|
|
6672
|
+
A common edge case: a page/route loads successfully, but the SPECIFIC FUNCTIONALITY you were asked to test doesn't exist on it.
|
|
6673
|
+
|
|
6674
|
+
**Rule:** Evaluate whether the REQUESTED FUNCTIONALITY exists, not just whether a URL resolves.
|
|
6675
|
+
|
|
6676
|
+
| Page Exists | Requested Features Exist | Authoritative Trigger | Classification |
|
|
6677
|
+
|-------------|--------------------------|----------------------|----------------|
|
|
6678
|
+
| Yes | Yes | Any | Proceed normally |
|
|
6679
|
+
| Yes | No | Yes (Jira/PR says features built) | Execution obstacle \u2014 features behind flag/env |
|
|
6680
|
+
| Yes | No | No (manual request only) | **Requirement ambiguity (CRITICAL)** \u2014 ask what's expected |
|
|
6681
|
+
| No | N/A | Yes | Execution obstacle \u2014 page not deployed yet |
|
|
6682
|
+
| No | N/A | No | **Requirement ambiguity (CRITICAL)** \u2014 ask what was meant |
|
|
6683
|
+
|
|
6684
|
+
**Example:** Prompt says "Test the checkout payment form with credit card 4111..." You browse to /checkout and find an information form (first name, last name, postal code) but NO payment form, NO shipping options, NO Place Order button. No Jira/PR claims these features exist. \u2192 **CRITICAL requirement ambiguity.** Ask: "I found a checkout information form at /checkout but no payment form or shipping options. Can you clarify what checkout features you'd like tested?"
|
|
6685
|
+
|
|
6686
|
+
**Key insight:** Finding a URL is not the same as finding the requested functionality. Do NOT classify this as an "execution obstacle" just because the page loads.
|
|
6687
|
+
|
|
6594
6688
|
### Check Memory for Similar Clarifications
|
|
6595
6689
|
|
|
6596
6690
|
Before asking, check if similar question was answered:
|
|
@@ -6736,7 +6830,7 @@ When reporting test results, always include an "Ambiguities" section if clarific
|
|
|
6736
6830
|
## Remember
|
|
6737
6831
|
|
|
6738
6832
|
- **STOP means STOP** - When you hit a STOP threshold, you MUST call team-communicator to ask via Slack. Do NOT silently adapt, skip, or work around the issue
|
|
6739
|
-
- **Non-existent features
|
|
6833
|
+
- **Non-existent features \u2014 check context first** - If a page/feature doesn't exist in the browser, check whether an authoritative trigger (Jira, PR, team request) asserts it exists. If YES \u2192 execution obstacle (proceed with artifact creation, notify team). If NO authoritative source claims it exists \u2192 CRITICAL severity, ask what was meant
|
|
6740
6834
|
- **Ask correctly > guess poorly** - Specific questions lead to specific answers
|
|
6741
6835
|
- **Never invent success criteria** - If the task says "improve" or "fix" without metrics, ask what "done" looks like
|
|
6742
6836
|
- **Check memory first** - Avoid re-asking previously answered questions
|
|
@@ -7703,8 +7797,10 @@ function buildComposedTaskDefinition(taskSlug, projectSubAgents) {
|
|
|
7703
7797
|
const configured = projectSubAgents.find((sa) => sa.role === role);
|
|
7704
7798
|
if (configured) {
|
|
7705
7799
|
const integrationMeta = getIntegration(configured.integration);
|
|
7706
|
-
|
|
7707
|
-
|
|
7800
|
+
if (integrationMeta?.requiredMCP) {
|
|
7801
|
+
const mcpProvider = integrationMeta.provider || configured.integration;
|
|
7802
|
+
requiredMCPs.add(mcpProvider);
|
|
7803
|
+
}
|
|
7708
7804
|
}
|
|
7709
7805
|
}
|
|
7710
7806
|
const content = contentParts.join("\n\n");
|