Skip to content

fix: Address verified Warden findings#477

Merged
cameroncooke merged 2 commits into
mainfrom
codex/fix/issue-424-warden-findings
Jul 16, 2026
Merged

fix: Address verified Warden findings#477
cameroncooke merged 2 commits into
mainfrom
codex/fix/issue-424-warden-findings

Conversation

@cameroncooke

Copy link
Copy Markdown
Collaborator

Addresses the three reproducible findings from #424. Project discovery now enforces real path boundaries instead of prefix matching, compiler diagnostic lookup treats glob metacharacters in filenames literally, and simulator lookup returns its documented error result when simctl emits malformed JSON or device data.

The boundary handling also preserves discovery when the configured workspace root is itself an Xcode bundle. The other Warden findings are intentionally outside this PR because they were not accepted as actionable in this review.

Fixes #424

Keep project scans within their workspace boundary, treat diagnostic filenames as literal glob input, and preserve simulator lookup error contracts for malformed simctl output.

Fixes #424
@pkg-pr-new

pkg-pr-new Bot commented Jul 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/xcodebuildmcp@477

commit: 59ba5e1

@cameroncooke
cameroncooke marked this pull request as ready for review July 16, 2026 16:18

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5203ebd. Configure here.

Comment thread src/mcp/tools/project-discovery/discover_projs.ts Outdated
@cameroncooke
cameroncooke merged commit 46b2cf6 into main Jul 16, 2026
45 checks passed
@cameroncooke
cameroncooke deleted the codex/fix/issue-424-warden-findings branch July 16, 2026 18:54
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.

Warden weekly sweep

1 participant