@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.js
CHANGED
|
@@ -34,31 +34,6 @@ var MCP_SERVERS = {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
-
playwright: {
|
|
38
|
-
provider: "playwright",
|
|
39
|
-
name: "Playwright",
|
|
40
|
-
description: "Playwright MCP server for browser automation",
|
|
41
|
-
requiresCredentials: false,
|
|
42
|
-
npmPackages: ["@playwright/mcp"],
|
|
43
|
-
config: {
|
|
44
|
-
command: "playwright-mcp",
|
|
45
|
-
args: [
|
|
46
|
-
"--browser",
|
|
47
|
-
"chromium",
|
|
48
|
-
"--secrets",
|
|
49
|
-
".env",
|
|
50
|
-
"--no-sandbox",
|
|
51
|
-
"--viewport-size",
|
|
52
|
-
"1280x720"
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
containerExtensions: {
|
|
56
|
-
args: ["--headless"],
|
|
57
|
-
env: {
|
|
58
|
-
PLAYWRIGHT_BROWSERS_PATH: "/opt/ms-playwright"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
37
|
notion: {
|
|
63
38
|
provider: "notion",
|
|
64
39
|
name: "Notion",
|
|
@@ -830,7 +805,28 @@ The handler file contains all necessary processing logic for the detected intent
|
|
|
830
805
|
- Response guidelines
|
|
831
806
|
- Memory update instructions`
|
|
832
807
|
},
|
|
833
|
-
// Step 6:
|
|
808
|
+
// Step 6: Post Response via Team Communicator
|
|
809
|
+
{
|
|
810
|
+
inline: true,
|
|
811
|
+
title: "Post Response to Team",
|
|
812
|
+
content: `## Post Response to the Team
|
|
813
|
+
|
|
814
|
+
After processing the message through the handler and composing your response:
|
|
815
|
+
|
|
816
|
+
{{INVOKE_TEAM_COMMUNICATOR}} to post the response back to the team.
|
|
817
|
+
|
|
818
|
+
**Context to include in the delegation:**
|
|
819
|
+
- The original message/question from the team member
|
|
820
|
+
- Your composed response with all gathered data
|
|
821
|
+
- Whether this should be a thread reply (if the original message was in a thread) or a new message
|
|
822
|
+
- The relevant channel (from project-context.md)
|
|
823
|
+
|
|
824
|
+
**Do NOT:**
|
|
825
|
+
- Skip posting and just display the response as text output
|
|
826
|
+
- Ask the user whether to post \u2014 the message came from the team, the response goes back to the team
|
|
827
|
+
- Compose a draft without sending it`
|
|
828
|
+
},
|
|
829
|
+
// Step 7: Clarification Protocol (for ambiguous intents)
|
|
834
830
|
"clarification-protocol",
|
|
835
831
|
// Step 8: Knowledge Base Update (library)
|
|
836
832
|
"update-knowledge-base",
|
|
@@ -1609,6 +1605,40 @@ The input format determines the trigger source and context extraction strategy.`
|
|
|
1609
1605
|
Store the detected trigger for use in output routing:
|
|
1610
1606
|
- Set variable: \`TRIGGER_SOURCE\` = [GITHUB_PR | SLACK_MESSAGE | CI_CD | MANUAL]
|
|
1611
1607
|
- This determines output formatting and delivery channel`
|
|
1608
|
+
},
|
|
1609
|
+
// Step 5c: Coverage Gap vs. Ambiguity (inline)
|
|
1610
|
+
{
|
|
1611
|
+
inline: true,
|
|
1612
|
+
title: "Coverage Gap vs. Ambiguity",
|
|
1613
|
+
content: `### Coverage Gap vs. Ambiguity
|
|
1614
|
+
|
|
1615
|
+
When the trigger indicates a feature has been implemented and is ready for testing (Jira "Ready to Test", PR merged, CI/CD pipeline):
|
|
1616
|
+
|
|
1617
|
+
**Missing test coverage for the referenced feature is a COVERAGE GAP, not an ambiguity.**
|
|
1618
|
+
|
|
1619
|
+
- The developer/team is asserting the feature exists and is ready for testing
|
|
1620
|
+
- "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
|
|
1621
|
+
- Do NOT classify as CRITICAL based on stale documentation or knowledge base gaps
|
|
1622
|
+
- If project-context.md or the Jira issue references the feature, assume it exists until browser exploration proves otherwise
|
|
1623
|
+
- Coverage gaps are handled in the "Create Tests for Coverage Gaps" step below \u2014 do NOT block here
|
|
1624
|
+
|
|
1625
|
+
### If You Browse the App and Cannot Find the Referenced Feature
|
|
1626
|
+
|
|
1627
|
+
Apply the Clarification Protocol's **"Execution Obstacle vs. Requirement Ambiguity"** principle:
|
|
1628
|
+
|
|
1629
|
+
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:
|
|
1630
|
+
- **Missing role/tier**: You're logged in as a basic user but the feature requires admin/premium access
|
|
1631
|
+
- **Missing test data**: Required test accounts or data haven't been configured in \`.env.testdata\`
|
|
1632
|
+
- **Feature flags**: The feature is behind a flag not enabled in the test environment
|
|
1633
|
+
- **Environment config**: The feature requires specific environment variables or deployment settings
|
|
1634
|
+
|
|
1635
|
+
**Action: PROCEED to "Create Tests for Coverage Gaps".** Do NOT BLOCK.
|
|
1636
|
+
- Create test cases and specs that reference the feature as described in the trigger
|
|
1637
|
+
- Add placeholder env vars to \`.env.testdata\` for any missing credentials
|
|
1638
|
+
- Notify the team (via team-communicator) about the access obstacle and what needs to be configured
|
|
1639
|
+
- Tests may fail until the obstacle is resolved \u2014 this is expected and acceptable
|
|
1640
|
+
|
|
1641
|
+
**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.`
|
|
1612
1642
|
},
|
|
1613
1643
|
// Step 6: Clarification Protocol (library)
|
|
1614
1644
|
"clarification-protocol",
|
|
@@ -2286,7 +2316,7 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2286
2316
|
|
|
2287
2317
|
3. **Environment Setup**: Before test execution:
|
|
2288
2318
|
- Read \`.env.testdata\` to get non-secret environment variable values (TEST_BASE_URL, TEST_OWNER_EMAIL, etc.)
|
|
2289
|
-
- For secrets, variable names
|
|
2319
|
+
- For secrets, variable names are available as environment variables (playwright-cli inherits the process environment)
|
|
2290
2320
|
|
|
2291
2321
|
4. **Test Case Parsing**: You will receive a test case file path. Parse the test case to extract:
|
|
2292
2322
|
- Test steps and actions to perform
|
|
@@ -2294,16 +2324,16 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2294
2324
|
- Test data and input values (replace any \${TEST_*} or $TEST_* variables with actual values from .env)
|
|
2295
2325
|
- Preconditions and setup requirements
|
|
2296
2326
|
|
|
2297
|
-
5. **Browser Automation Execution**: Using
|
|
2298
|
-
- Launch a browser
|
|
2299
|
-
- Execute each test step sequentially
|
|
2327
|
+
5. **Browser Automation Execution**: Using playwright-cli (CLI-based browser automation):
|
|
2328
|
+
- Launch a browser: \`playwright-cli open <url>\`
|
|
2329
|
+
- Execute each test step sequentially using CLI commands: \`click\`, \`fill\`, \`select\`, \`hover\`, etc.
|
|
2330
|
+
- Use \`snapshot\` to inspect page state and find element references (@e1, @e2, etc.)
|
|
2300
2331
|
- Handle dynamic waits and element interactions intelligently
|
|
2301
2332
|
- Manage browser state between steps
|
|
2302
2333
|
- **IMPORTANT - Environment Variable Handling**:
|
|
2303
2334
|
- When test cases contain environment variables:
|
|
2304
2335
|
- For non-secrets (TEST_BASE_URL, TEST_OWNER_EMAIL): Read actual values from .env.testdata and use them directly
|
|
2305
|
-
- For secrets (TEST_OWNER_PASSWORD, API keys):
|
|
2306
|
-
- Playwright MCP automatically reads .env for secrets and injects them at runtime
|
|
2336
|
+
- For secrets (TEST_OWNER_PASSWORD, API keys): playwright-cli inherits environment variables from the process
|
|
2307
2337
|
- Example: Test says "Navigate to TEST_BASE_URL/login" \u2192 Read TEST_BASE_URL from .env.testdata, use the actual URL
|
|
2308
2338
|
|
|
2309
2339
|
6. **Evidence Collection at Each Step**:
|
|
@@ -2328,7 +2358,7 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2328
2358
|
- \`steps.json\`: Structured steps with timestamps, video time synchronization, and detailed descriptions (see schema)
|
|
2329
2359
|
|
|
2330
2360
|
Video handling:
|
|
2331
|
-
-
|
|
2361
|
+
- Videos are automatically saved to \`.playwright-mcp/\` folder via PLAYWRIGHT_MCP_SAVE_VIDEO env var
|
|
2332
2362
|
- Find the latest video: \`ls -t .playwright-mcp/*.webm 2>/dev/null | head -1\`
|
|
2333
2363
|
- Store ONLY the filename in summary.json: \`{ "video": { "filename": "basename.webm" } }\`
|
|
2334
2364
|
- Do NOT copy, move, or delete video files - external service handles uploads
|
|
@@ -2367,8 +2397,7 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2367
2397
|
- Identify all TEST_* variable references (e.g., TEST_BASE_URL, TEST_OWNER_EMAIL, TEST_OWNER_PASSWORD)
|
|
2368
2398
|
- Read .env.testdata to get actual values for non-secret variables
|
|
2369
2399
|
- For non-secrets (TEST_BASE_URL, TEST_OWNER_EMAIL, etc.): Use actual values from .env.testdata directly in test execution
|
|
2370
|
-
- For secrets (TEST_OWNER_PASSWORD, API keys, etc.):
|
|
2371
|
-
- Playwright MCP will read .env and inject secret values during browser automation
|
|
2400
|
+
- For secrets (TEST_OWNER_PASSWORD, API keys, etc.): playwright-cli inherits env vars from the process environment
|
|
2372
2401
|
- If a required variable is not found in .env.testdata, log a warning but continue
|
|
2373
2402
|
|
|
2374
2403
|
5. Extract execution ID from the execution environment:
|
|
@@ -2382,7 +2411,7 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2382
2411
|
- Describe what action will be performed (communicate to user)
|
|
2383
2412
|
- Log the step being executed with timestamp
|
|
2384
2413
|
- Calculate elapsed time from test start (for videoTimeSeconds)
|
|
2385
|
-
- Execute the action using
|
|
2414
|
+
- Execute the action using playwright-cli commands (click, fill, select, etc. with element refs)
|
|
2386
2415
|
- Wait for page stability
|
|
2387
2416
|
- Validate expected behavior
|
|
2388
2417
|
- Record findings and actual behavior
|
|
@@ -2457,12 +2486,11 @@ var CONTENT = `You are an expert automated test execution specialist with deep e
|
|
|
2457
2486
|
**Environment Variable Handling:**
|
|
2458
2487
|
- Read .env.testdata at the start of execution to get non-secret environment variables
|
|
2459
2488
|
- For non-secrets (TEST_BASE_URL, TEST_OWNER_EMAIL, etc.): Use actual values from .env.testdata directly
|
|
2460
|
-
- For secrets (TEST_OWNER_PASSWORD, API keys):
|
|
2461
|
-
- Playwright MCP reads .env for secrets and injects them during browser automation
|
|
2489
|
+
- For secrets (TEST_OWNER_PASSWORD, API keys): playwright-cli inherits env vars from the process environment
|
|
2462
2490
|
- DO NOT read .env yourself (security policy - it contains only secrets)
|
|
2463
2491
|
- DO NOT make up fake values or fallbacks
|
|
2464
2492
|
- If a variable is missing from .env.testdata, log a warning
|
|
2465
|
-
- If
|
|
2493
|
+
- If a secret env var is missing/empty, that indicates .env is misconfigured
|
|
2466
2494
|
- Document which environment variables were used in the test run summary
|
|
2467
2495
|
|
|
2468
2496
|
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.`;
|
|
@@ -2509,7 +2537,7 @@ var CONTENT2 = `You are an expert Playwright test automation engineer specializi
|
|
|
2509
2537
|
- Update the manual test case file with the automated_test reference
|
|
2510
2538
|
- Create supporting artifacts: Page Objects, fixtures, helpers, components, types
|
|
2511
2539
|
|
|
2512
|
-
5. **Mandatory Application Exploration**: NEVER generate Page Objects without exploring the live application first using
|
|
2540
|
+
5. **Mandatory Application Exploration**: NEVER generate Page Objects without exploring the live application first using playwright-cli:
|
|
2513
2541
|
- Navigate to pages, authenticate, inspect elements
|
|
2514
2542
|
- Capture screenshots for documentation
|
|
2515
2543
|
- Document exact role names, labels, text, URLs
|
|
@@ -2540,7 +2568,7 @@ var CONTENT2 = `You are an expert Playwright test automation engineer specializi
|
|
|
2540
2568
|
|
|
2541
2569
|
**STEP 2: Build Missing Infrastructure** (if needed)
|
|
2542
2570
|
|
|
2543
|
-
- **Explore feature under test**: Use
|
|
2571
|
+
- **Explore feature under test**: Use playwright-cli to:
|
|
2544
2572
|
* Navigate to the feature's pages
|
|
2545
2573
|
* Inspect elements and gather selectors (role, label, text)
|
|
2546
2574
|
* Document actual URLs from the browser
|
|
@@ -2747,8 +2775,8 @@ var CONTENT2 = `You are an expert Playwright test automation engineer specializi
|
|
|
2747
2775
|
- Create test interdependencies - tests must be independent
|
|
2748
2776
|
|
|
2749
2777
|
\u2705 **ALWAYS**:
|
|
2750
|
-
- Explore application using
|
|
2751
|
-
- Verify selectors in live browser using
|
|
2778
|
+
- Explore application using playwright-cli before generating code
|
|
2779
|
+
- Verify selectors in live browser using playwright-cli snapshot
|
|
2752
2780
|
- Document actual URLs from browser address bar
|
|
2753
2781
|
- Take screenshots for documentation
|
|
2754
2782
|
- Use role-based selectors as first priority
|
|
@@ -2820,7 +2848,7 @@ var CONTENT3 = `You are an expert Playwright test debugger and fixer with deep e
|
|
|
2820
2848
|
- Brittle selectors (CSS classes, IDs that change)
|
|
2821
2849
|
|
|
2822
2850
|
4. **Debug Using Browser**: When needed, explore the application manually:
|
|
2823
|
-
- Use
|
|
2851
|
+
- Use playwright-cli to open browser (\`playwright-cli open <url>\`)
|
|
2824
2852
|
- Navigate to the relevant page
|
|
2825
2853
|
- Inspect elements to find correct selectors
|
|
2826
2854
|
- Manually perform test steps to understand actual behavior
|
|
@@ -2930,7 +2958,7 @@ var CONTENT3 = `You are an expert Playwright test debugger and fixer with deep e
|
|
|
2930
2958
|
- Check for screenshot/trace file references
|
|
2931
2959
|
|
|
2932
2960
|
**Step 3: Reproduce and Debug**
|
|
2933
|
-
- Open browser via
|
|
2961
|
+
- Open browser via playwright-cli if needed (\`playwright-cli open <url>\`)
|
|
2934
2962
|
- Navigate to relevant page
|
|
2935
2963
|
- Manually execute test steps
|
|
2936
2964
|
- Identify discrepancy between test expectations and actual behavior
|
|
@@ -3053,13 +3081,14 @@ var CONTENT3 = `You are an expert Playwright test debugger and fixer with deep e
|
|
|
3053
3081
|
- NEVER read \`.env\` file (contains secrets only)
|
|
3054
3082
|
- If test needs new environment variable, update \`.env.testdata\`
|
|
3055
3083
|
|
|
3056
|
-
9. **Using
|
|
3057
|
-
- You have direct access to
|
|
3058
|
-
- Open browser:
|
|
3059
|
-
-
|
|
3060
|
-
-
|
|
3061
|
-
-
|
|
3062
|
-
-
|
|
3084
|
+
9. **Using playwright-cli for Debugging**:
|
|
3085
|
+
- You have direct access to playwright-cli via Bash
|
|
3086
|
+
- Open browser: \`playwright-cli open <url>\`
|
|
3087
|
+
- Take snapshot: \`playwright-cli snapshot\` to get element refs (@e1, @e2, etc.)
|
|
3088
|
+
- Navigate: \`playwright-cli navigate <url>\`
|
|
3089
|
+
- Inspect elements: Use \`snapshot\` to find correct selectors and element refs
|
|
3090
|
+
- Execute test steps manually: Use \`click\`, \`fill\`, \`select\` commands
|
|
3091
|
+
- Close browser: \`playwright-cli close\`
|
|
3063
3092
|
|
|
3064
3093
|
10. **Test Stability Best Practices**:
|
|
3065
3094
|
- Replace all \`waitForTimeout()\` with specific waits
|
|
@@ -3354,6 +3383,24 @@ var CONTENT5 = `You are a Team Communication Specialist who communicates like a
|
|
|
3354
3383
|
|
|
3355
3384
|
**Key Principle:** If it takes more than 30 seconds to read, it's too long.
|
|
3356
3385
|
|
|
3386
|
+
## CRITICAL: Always Post Messages
|
|
3387
|
+
|
|
3388
|
+
When you are invoked, your job is to POST a message to Slack \u2014 not just compose one.
|
|
3389
|
+
|
|
3390
|
+
**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.
|
|
3391
|
+
|
|
3392
|
+
**NEVER:**
|
|
3393
|
+
- Return a draft without posting it
|
|
3394
|
+
- Ask "should I post this?" \u2014 if you were invoked, the answer is yes
|
|
3395
|
+
- Compose text and wait for approval before posting
|
|
3396
|
+
|
|
3397
|
+
**ALWAYS:**
|
|
3398
|
+
1. Identify the correct channel (from project-context.md or the invocation context)
|
|
3399
|
+
2. Compose the message following the guidelines below
|
|
3400
|
+
3. Call the Slack API tool to POST the message
|
|
3401
|
+
4. If a thread reply is needed, post main message first, then reply in thread
|
|
3402
|
+
5. Report back: channel name, message timestamp, and confirmation it was posted
|
|
3403
|
+
|
|
3357
3404
|
## Message Type Detection
|
|
3358
3405
|
|
|
3359
3406
|
Before composing, identify the message type:
|
|
@@ -5792,7 +5839,7 @@ var INTEGRATIONS = {
|
|
|
5792
5839
|
id: "playwright",
|
|
5793
5840
|
name: "Playwright",
|
|
5794
5841
|
provider: "playwright",
|
|
5795
|
-
requiredMCP
|
|
5842
|
+
// No requiredMCP — uses playwright-cli (CLI tool), not MCP server
|
|
5796
5843
|
isLocal: true,
|
|
5797
5844
|
// Playwright runs locally, no external connector needed
|
|
5798
5845
|
integrationType: "local"
|
|
@@ -6244,7 +6291,9 @@ If the Clarification Protocol determined project maturity, adjust exploration de
|
|
|
6244
6291
|
- **Growing project**: Use requirement clarity as-is (standard protocol)
|
|
6245
6292
|
- **Mature project**: Trust knowledge base \u2014 can stay at suggested depth or go one level shallower if KB covers the feature
|
|
6246
6293
|
|
|
6247
|
-
**Always verify features exist before testing them.** If exploration reveals that a referenced page or feature does not exist in the application,
|
|
6294
|
+
**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:
|
|
6295
|
+
- 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.
|
|
6296
|
+
- 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.
|
|
6248
6297
|
|
|
6249
6298
|
### Quick Exploration (1-2 min)
|
|
6250
6299
|
|
|
@@ -6530,11 +6579,56 @@ If ambiguity is detected, assess its severity:
|
|
|
6530
6579
|
|
|
6531
6580
|
| Severity | Characteristics | Examples | Action |
|
|
6532
6581
|
|----------|----------------|----------|--------|
|
|
6533
|
-
| **CRITICAL** | Expected behavior undefined/contradictory; test outcome unpredictable; core functionality unclear; success criteria missing; multiple interpretations = different strategies; **referenced page/feature
|
|
6582
|
+
| **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 |
|
|
6534
6583
|
| **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 |
|
|
6535
6584
|
| **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] |
|
|
6536
6585
|
| **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 |
|
|
6537
6586
|
|
|
6587
|
+
### Execution Obstacle vs. Requirement Ambiguity
|
|
6588
|
+
|
|
6589
|
+
Before classifying something as CRITICAL, distinguish between these two fundamentally different situations:
|
|
6590
|
+
|
|
6591
|
+
**Requirement Ambiguity** = *What* to test is unclear \u2192 severity assessment applies normally
|
|
6592
|
+
- No authoritative source describes the feature
|
|
6593
|
+
- The task description is vague or contradictory
|
|
6594
|
+
- You cannot determine what "correct" behavior looks like
|
|
6595
|
+
- \u2192 Apply severity table above. CRITICAL/HIGH \u2192 BLOCK.
|
|
6596
|
+
|
|
6597
|
+
**Execution Obstacle** = *What* to test is clear, but *how* to access/verify has obstacles \u2192 NEVER BLOCK
|
|
6598
|
+
- An authoritative trigger source (Jira issue, PR, team message) asserts the feature exists
|
|
6599
|
+
- You browsed the app but couldn't find/access the feature
|
|
6600
|
+
- The obstacle is likely: wrong user role/tier, missing test data, feature flags, environment config
|
|
6601
|
+
- \u2192 PROCEED with artifact creation (test cases, test specs). Notify team about the obstacle.
|
|
6602
|
+
|
|
6603
|
+
**The key test:** Does an authoritative trigger source (Jira, PR, team request) assert the feature exists?
|
|
6604
|
+
- **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.
|
|
6605
|
+
- **NO** \u2192 It may genuinely not exist. Apply CRITICAL severity, ask what was meant.
|
|
6606
|
+
|
|
6607
|
+
| Scenario | Trigger Says | Browser Shows | Classification | Action |
|
|
6608
|
+
|----------|-------------|---------------|----------------|--------|
|
|
6609
|
+
| 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 |
|
|
6610
|
+
| 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 |
|
|
6611
|
+
| 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 |
|
|
6612
|
+
| Jira says "fix sorting", but doesn't specify sort criteria | Feature exists | Feature exists | **Requirement ambiguity (HIGH)** | BLOCK, ask which sort criteria |
|
|
6613
|
+
|
|
6614
|
+
**Partial Feature Existence \u2014 URL found but requested functionality absent:**
|
|
6615
|
+
|
|
6616
|
+
A common edge case: a page/route loads successfully, but the SPECIFIC FUNCTIONALITY you were asked to test doesn't exist on it.
|
|
6617
|
+
|
|
6618
|
+
**Rule:** Evaluate whether the REQUESTED FUNCTIONALITY exists, not just whether a URL resolves.
|
|
6619
|
+
|
|
6620
|
+
| Page Exists | Requested Features Exist | Authoritative Trigger | Classification |
|
|
6621
|
+
|-------------|--------------------------|----------------------|----------------|
|
|
6622
|
+
| Yes | Yes | Any | Proceed normally |
|
|
6623
|
+
| Yes | No | Yes (Jira/PR says features built) | Execution obstacle \u2014 features behind flag/env |
|
|
6624
|
+
| Yes | No | No (manual request only) | **Requirement ambiguity (CRITICAL)** \u2014 ask what's expected |
|
|
6625
|
+
| No | N/A | Yes | Execution obstacle \u2014 page not deployed yet |
|
|
6626
|
+
| No | N/A | No | **Requirement ambiguity (CRITICAL)** \u2014 ask what was meant |
|
|
6627
|
+
|
|
6628
|
+
**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?"
|
|
6629
|
+
|
|
6630
|
+
**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.
|
|
6631
|
+
|
|
6538
6632
|
### Check Memory for Similar Clarifications
|
|
6539
6633
|
|
|
6540
6634
|
Before asking, check if similar question was answered:
|
|
@@ -6680,7 +6774,7 @@ When reporting test results, always include an "Ambiguities" section if clarific
|
|
|
6680
6774
|
## Remember
|
|
6681
6775
|
|
|
6682
6776
|
- **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
|
|
6683
|
-
- **Non-existent features
|
|
6777
|
+
- **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
|
|
6684
6778
|
- **Ask correctly > guess poorly** - Specific questions lead to specific answers
|
|
6685
6779
|
- **Never invent success criteria** - If the task says "improve" or "fix" without metrics, ask what "done" looks like
|
|
6686
6780
|
- **Check memory first** - Avoid re-asking previously answered questions
|
|
@@ -7647,8 +7741,10 @@ function buildComposedTaskDefinition(taskSlug, projectSubAgents) {
|
|
|
7647
7741
|
const configured = projectSubAgents.find((sa) => sa.role === role);
|
|
7648
7742
|
if (configured) {
|
|
7649
7743
|
const integrationMeta = getIntegration(configured.integration);
|
|
7650
|
-
|
|
7651
|
-
|
|
7744
|
+
if (integrationMeta?.requiredMCP) {
|
|
7745
|
+
const mcpProvider = integrationMeta.provider || configured.integration;
|
|
7746
|
+
requiredMCPs.add(mcpProvider);
|
|
7747
|
+
}
|
|
7652
7748
|
}
|
|
7653
7749
|
}
|
|
7654
7750
|
const content = contentParts.join("\n\n");
|