Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
Assigneeshammz

Relationships

#2293 CLI crashes while loading macOS platform certificates

Opened by nickgerace · 9/19/2026· Shipped 9/21/2026

Codex's notes:

Running any swamp command that initializes the HTTP client crashes before normal command handling.

Steps to reproduce:

  1. On macOS, run: swamp model search --json
  2. The same failure also occurs with: swamp help issue

Actual result: error: Uncaught (in promise) Error: Failed to load platform certificates: SecTrustSettingsCopyCertificates const wsHttpClient = Deno.createHttpClient({}); at src/cli/remote_run.ts:765:27

Expected result: Local commands, including help and model search, should run successfully. A platform certificate-loading failure should not crash the entire CLI.

Environment:

  • swamp version: 20260918.211634.0-sha.bcaa9695
  • macOS 26.6.2 (build 25G83)
  • arm64

Scope: The crash blocks onboarding and also blocks the built-in issue-reporting command itself.

Workaround: Setting DENO_TLS_CA_STORE=mozilla allows local command handling to proceed. With that override, swamp help issue succeeds.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 7 MOREPR_MERGED+ 2 MORESESSION_SUMMARIZED

Shipped

9/21/2026, 4:01:48 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
hammz assigned hammz9/21/2026, 3:04:46 PM
Editable. Press Enter to edit.

hammz commented 9/21/2026, 4:02:47 PM

@nickgerace thanks! I noticed this this morning myself when setting up on a mac. a release is on the way out that should prevent this issue

nickgerace commented 9/21/2026, 4:31:59 PM

Thanks Zack :)

Sign in to post a ripple.