Skip to content

Make consumer agent discover-vs-isolate split explicit - #10

Merged
cursor[bot] merged 1 commit into
2.1.10from
cursor/consumer-ai-guidance-9fb6
Aug 26, 2026
Merged

Make consumer agent discover-vs-isolate split explicit#10
cursor[bot] merged 1 commit into
2.1.10from
cursor/consumer-ai-guidance-9fb6

Conversation

@ds-code-t

@ds-code-t ds-code-t commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

Make the consumer AI discover-vs-isolate split explicit so IntelliJ Copilot and other consumer agents stop skipping Workbench when workbench_* MCP tools are missing, without forcing Workbench when a diagnostic mvn test is the right first step.

Docs and exported consumer pointers only. No Workbench sync/compile behavior change, and no version bump.

Chooser order is now:

  1. Discover — one diagnostic mvn test with pkb_runvars when the failing scenarios are still unknown (parallel OK).
  2. Isolate — live headless Workbench MCP (mcp .). If workbench_* tools are missing, start that stdio server; do not keep using mvn test for isolation because MCP is disconnected.
  3. Confirm — one bounded diagnostic mvn test.
  4. Handoff, then edit real consumer source.

Missing workbench_* tools is a reason to start Workbench MCP, not a reason to skip it. A multi-scenario diagnostic test is a reason to run mvn test first, not a reason to skip Workbench afterward.

This PR targets 2.1.10, not master.

Functionality-change coverage

  • I reviewed AGENTS.md and the relevant feature-map entry.
  • Framework implementation is complete. (guidance/docs only; no runtime change)
  • Focused framework tests were added or updated. (PickleballGuidanceChecks plus verify_agent_contract.py consumer-bridge rules)
  • Maven consumer scenarios and supporting resources were added or updated when applicable. (consumer AGENTS.md / Copilot pointer; no Gherkin change)
  • README or canonical documentation was updated when behavior changed.
  • docs/agent/feature-map.md remains accurate.
  • docs/agent/repository-index.md is current.
  • Backward compatibility was preserved, or the breaking change is documented.

Validation

  • python3 scripts/verify_agent_contract.py
  • python3 scripts/refresh_agent_index.py --check
  • python3 scripts/sync_consumer_guidance.py --check
  • ./gradlew publishToMavenLocal
  • ./maven-consumer-project/mvnw -f maven-consumer-project/pom.xml -U test -Dpkb_runvars.pkb_browser=CHROME_HEADLESS -Dpkb_runvars.pkb_tags=@diagnostic-reporting (PickleballGuidanceChecks all PASS)
  • ./gradlew test — not run; docs/export-guidance change, not framework runtime
  • full consumer @all — not run; smallest relevant tag is @diagnostic-reporting
Open in Web Open in Cursor 

Keep a diagnostic mvn test as the first step when the failing
scenarios are still unknown, and require headless Workbench MCP
(mcp .) to isolate a known failure instead of skipping it when
workbench_* tools are missing.

Co-authored-by: ds-code-t <ds-code-t@users.noreply.github.com>
@ds-code-t
ds-code-t marked this pull request as ready for review August 26, 2026 21:17
@cursor
cursor Bot merged commit afdd9bd into 2.1.10 Aug 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants