Skip to content

test(mcp): add tests for intent-pattern-checks and taskmaestro-detector (#1181)#1186

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775205842/pane-3
Apr 3, 2026
Merged

test(mcp): add tests for intent-pattern-checks and taskmaestro-detector (#1181)#1186
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775205842/pane-3

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

Test plan

  • intent-pattern-checks: pattern priority ordering
  • intent-pattern-checks: false positive prevention
  • intent-pattern-checks: all 13 domains structure and matching
  • taskmaestro-detector: present/absent/error cases
  • 83 tests total, all passing

…or (#1181)

- Add 76 tests for INTENT_PATTERN_CHECKS covering structure, priority
  ordering, false positive prevention, and all 13 domain patterns
- Add 7 tests for isTaskmaestroAvailable covering present/absent/error cases
- Verify first-match-wins priority prevents greedy pattern false positives
@vercel

vercel Bot commented Apr 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 3, 2026 9:37am

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: APPROVE

CI Status: PASS (25/25 checks)

Code Quality

  • No any types, no unused imports, no dead code
  • Test-only PR verified: only .spec.ts files added, zero source changes
  • Well-structured: describe blocks by concern (structure, priority, false-positive, domains)
  • Proper mock cleanup with afterEach(() => vi.restoreAllMocks())

Spec Compliance (issue #1181)

  • All 13 domain patterns tested (parameterized + individual)
  • Priority ordering verified (exact order + pairwise assertions)
  • False positive prevention covered (agent name mentions vs domain keywords)
  • taskmaestro-detector: present/absent/EACCES/non-Error/custom-homedir/call-count
  • No source file changes

Issues Found

None.

Recommendation: APPROVE

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Review complete - review agent approved

CI Status: ALL PASS (25/25)

Review: APPROVE — 0 issues found

Checklist:

  • No source file modifications (test-only PR)
  • intent-pattern-checks tests cover 13 domain patterns
  • taskmaestro-detector tests cover present/absent/error cases
  • All CI checks pass

@JeremyDev87 JeremyDev87 self-assigned this Apr 3, 2026
@JeremyDev87 JeremyDev87 added test and removed chore labels Apr 3, 2026
@JeremyDev87 JeremyDev87 merged commit 6bbd487 into master Apr 3, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775205842/pane-3 branch April 3, 2026 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(mcp): add tests for intent-pattern-checks and taskmaestro-detector

1 participant