Skip to content

fix(mcp): require duplicate checks before application creation - #68

Merged
vitorhugo-dotnet merged 8 commits into
mainfrom
fix/mcp-strict-duplicate-check
Jul 29, 2026
Merged

fix(mcp): require duplicate checks before application creation#68
vitorhugo-dotnet merged 8 commits into
mainfrom
fix/mcp-strict-duplicate-check

Conversation

@vitorhugo-dotnet

@vitorhugo-dotnet vitorhugo-dotnet commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • requires MCP clients to search active and archived applications before Create-Application
  • uses URL, vacancy title, organization, and recruiter instead of relying only on an optional link
  • distinguishes confirmed duplicates from possible duplicates that require user confirmation
  • repeats the guardrails in the creation resource, intake prompt, and tool description
  • adds focused tests for the mandatory wording

Scope

Instruction and metadata changes only. No database constraint, URL normalization, new MCP tool, or backend duplicate-enforcement logic.

TDD verification

  • RED: CI failed with the new expectations against the old URL-only wording
  • GREEN: repository CI completed mvn -B -ntp clean verify successfully on the final head

Tests

  • Backend CI/CD: Test and Build
  • Full Maven verification: mvn -B -ntp clean verify

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests labels Jul 29, 2026
@github-actions

Copy link
Copy Markdown

Qodana for JVM

3 new problems were found

Inspection name Severity Problems
Nullability and data flow problems 🔶 Warning 1
Mismatched query and update of 'StringBuilder' 🔶 Warning 1
Simplifiable conditional expression 🔶 Warning 1
View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2025.3.2
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@vitorhugo-dotnet
vitorhugo-dotnet marked this pull request as ready for review July 29, 2026 18:25
@vitorhugo-dotnet
vitorhugo-dotnet merged commit 1c61ce3 into main Jul 29, 2026
6 checks passed
@vitorhugo-dotnet
vitorhugo-dotnet deleted the fix/mcp-strict-duplicate-check branch July 29, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend documentation Improvements or additions to documentation tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant