Skip to content

fix: modernize macOS integration#20

Merged
sozercan merged 17 commits into
masterfrom
agent/modernize-macos-integration
Jul 16, 2026
Merged

fix: modernize macOS integration#20
sozercan merged 17 commits into
masterfrom
agent/modernize-macos-integration

Conversation

@sozercan

@sozercan sozercan commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • add Finder Automation privacy metadata and hardened-runtime entitlement support
  • handle denied Finder access, missing locations, missing VS Code installations, and launch failures with visible errors
  • prefer stable VS Code, with Insiders as a fallback
  • correctly resolve files, Finder packages, aliases, and POSIX directory symlinks
  • migrate launching to NSWorkspaceOpenConfiguration
  • repair Xcode workspace/product portability and align the deployment target to macOS 12
  • make Release signing fail closed unless a Developer ID Application certificate is available
  • integrate an adaptive Liquid Glass Icon Composer asset optimized for Finder toolbar sizes
  • bump the version to 1.1.0 and replace stale installation documentation
  • add focused path-resolution regression tests
  • publish tagged releases and update sozercan/homebrew-repo with a generated cask

Why

The existing project could not build with the current Xcode toolchain, lacked the Apple Events declaration required for its core Finder integration, silently produced unsigned release artifacts, and contained machine-specific Xcode paths. Several runtime edge cases could also crash, open the wrong folder, or silently do nothing.

User impact

Finder locations now open reliably in the expected VS Code channel. Permission and launch failures display actionable messages instead of crashing or failing invisibly. The project can be cloned and built from another path, and release configuration no longer silently emits an unsigned distributable.

Validation

  • ./scripts/test.sh
  • clean Debug build with hardened runtime and entitlements
  • clean Release compiler build with CODE_SIGNING_ALLOWED=NO
  • Xcode static analysis
  • universal arm64/x86_64 archive using an ad-hoc validation override
  • codesign --verify --deep --strict on the validation archive
  • relocated-workspace build-setting verification
  • exact staged-snapshot tests and Release build
  • structured gpt-5.6-sol max reviews for runtime and project configuration changes
  • Actionlint and ShellCheck validation for the release workflow
  • universal ad-hoc signed ZIP release dry run and Homebrew cask style check
  • dry-run cask publication against a fresh homebrew-repo clone

Release signing note

The Release configuration intentionally requires a Developer ID Application certificate for team VURRGRYW45. A notarized public artifact was not produced because that private signing credential is not installed in the review environment.

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: df27945c22

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: df27945c22

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 07:32
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: afa74a3154

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Modernizes Finder integration, path resolution, launching, signing, and project portability.

Changes:

  • Adds robust Finder/VS Code handling with visible errors.
  • Modernizes build, signing, privacy, icon, and deployment settings.
  • Adds focused regression tests and updated documentation.
Show a summary per file
File Description
.gitignore Ignores Finder metadata.
Info.plist Updates privacy, version, icon, and OS metadata.
Open in Code.entitlements Enables Finder automation events.
Open in Code.xcodeproj/project.pbxproj Modernizes build and signing configuration.
Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata Removes machine-specific workspace path.
OpenInCodeCore.h Declares path and editor helpers.
OpenInCodeCore.m Implements editor preference and path resolution.
main.m Adds resilient Finder access and modern launching.
README.md Replaces installation and development guidance.
scripts/test.sh Adds the focused test runner.
Tests/OpenInCodeCoreTests.m Covers path and editor-selection behavior.
vscode.icon/icon.json Defines the Icon Composer asset.
vscode.icon/Assets/vscode-alt.png Supplies the icon artwork.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 10/14 changed files
  • Comments generated: 3
  • Review effort level: Medium

Comment thread main.m Outdated
Comment thread main.m Outdated
Comment thread README.md Outdated
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 07:42
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 10/14 changed files
  • Comments generated: 3
  • Review effort level: Medium

Comment thread main.m
Comment thread main.m Outdated
Comment thread OpenInCodeCore.m Outdated
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: b1eff37c49

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 07:56
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 10/14 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread main.m
Comment thread OpenInCodeCore.m Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8c751b2d60

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
Comment thread main.m
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 08:15
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 10/14 changed files
  • Comments generated: 0 new
  • Review effort level: Medium

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 21d8e16b04

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Open in Code.xcodeproj/project.pbxproj
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 15:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 13/17 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml Outdated
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 39285ebe74

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 22:35
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 13/17 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment thread scripts/render-homebrew-cask.sh

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 406cdd6e5e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/release.yml Outdated
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 23:07
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 13/17 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment thread .github/workflows/release.yml Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8902a7ab06

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread main.m
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 23:37
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 13/17 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment thread .github/workflows/release.yml Outdated
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: a403cc6465

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copilot AI review requested due to automatic review settings July 15, 2026 23:48
@sozercan

Copy link
Copy Markdown
Owner Author

@codex review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review details

Files not reviewed (1)
  • Open in Code.xcodeproj/project.xcworkspace/contents.xcworkspacedata: Generated file
  • Files reviewed: 13/17 changed files
  • Comments generated: 0 new
  • Review effort level: Medium

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 114c83291e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@sozercan sozercan merged commit e738e9f into master Jul 16, 2026
1 check passed
@sozercan sozercan deleted the agent/modernize-macos-integration branch July 16, 2026 03:59
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