Skip to content

Releases: NagaYu/SwiftGuard

v0.2.0 — 6 audit dimensions & robustness

Choose a tag to compare

@NagaYu NagaYu released this 27 Jun 05:19

🛡 SwiftGuard v0.2.0

A major release that significantly strengthens the audit capabilities and robustness. Verified end-to-end against the live on-device model (Apple Intelligence).

✨ New & improved

  • 🔍 Six audit dimensions — in addition to retain cycles / thread-safety / performance / privacy, added 💥 crash resilience (force unwraps, try!/as!) and 🧯 error handling. Dimensions are structured and the system instructions are generated from their checklists.
  • 🧾 Refined prompts — explicit severity criteria, output format, and hallucination-suppression rules.
  • 🖼 Desktop app — added Copy / Save as Markdown buttons for the results.
  • 🧰 CLI — added --rules (list dimensions) and --check (model availability only).
  • 🧯 Localized errors — context-window overflow, guardrails, etc. shown as clear messages.

🔒 Reliability (pre-commit hook)

  • Does not block commits when the model is unavailable (fail-open).
  • The blocking verdict is generated at temperature 0 and treated as 🔴 CRITICAL whenever at least one critical issue is reported, so results are stable across runs for the same code.
  • Tidied exit codes (no target files 12) to avoid false hook blocks.

📦 Downloads

File Use
SwiftGuard-0.2.0.dmg Desktop app (universal: Apple Silicon + Intel)
swiftguard-cli-0.2.0-macos-universal.zip CLI binary (universal)

Easiest install — via Homebrew (no certificate, no Gatekeeper warning):

brew install NagaYu/tap/swiftguard

🖥 Requirements

  • macOS 26 (Tahoe) or later on an Apple-Intelligence-capable Mac with Apple Intelligence enabled

⚠️ Gatekeeper: these artifacts are ad-hoc signed (not notarized). On first launch, right-click SwiftGuard.app → Open, or for the CLI run xattr -dr com.apple.quarantine ./swiftguard.

🔐 Checksums (SHA-256)

SwiftGuard-0.2.0.dmg
0e7fb5f8e0953c206cf580747c2e64eaebbc762ac64cc74631de8c77f12de917

swiftguard-cli-0.2.0-macos-universal.zip
645ae1dc053b800ccf973638200addc07fbd02b3358d31239147f7f69a92881d

Full Changelog: v0.1.0...v0.2.0

🤖 Generated with Claude Code

v0.1.0 — Initial release

Choose a tag to compare

@NagaYu NagaYu released this 27 Jun 04:07

🛡 SwiftGuard v0.1.0 — Initial release

A fully on-device security & quality auditor for Swift code. Powered by Apple's FoundationModels (on-device LLM / Private Cloud Compute), it audits your code without ever sending it off your Mac.

✨ Features

  • Reviews four dimensions in Japanese (streamed): 🔁 retain cycles / memory leaks, 🧵 thread-safety, ⚡️ performance, 🔐 Apple privacy-policy risks
  • Both a 💻 CLI (swiftguard) and a 🖼 SwiftUI desktop app
  • 🪝 Git pre-commit hook that blocks commits with dangerous code
  • 🧠 AI logic centralized in a shared SwiftGuardCore module

📦 Downloads

File Use
SwiftGuard-0.1.0.dmg Desktop app (universal: Apple Silicon + Intel)
swiftguard-cli-0.1.0-macos-universal.zip CLI binary (universal)

🖥 Requirements

  • macOS 26 (Tahoe) or later on an Apple-Intelligence-capable Mac with Apple Intelligence enabled

⚠️ Gatekeeper: these artifacts are ad-hoc signed (not notarized). On first launch, right-click SwiftGuard.app → Open, or for the CLI run xattr -dr com.apple.quarantine ./swiftguard.

🔐 Checksums (SHA-256)

SwiftGuard-0.1.0.dmg
f64ab68296d5f57605dd7084a24b9e784525acbae264cc0d7e7386e140bcddab

swiftguard-cli-0.1.0-macos-universal.zip
67b04eda190096a943e05db5a62d1377b458aba123404c9709a9d637c575cbf6

🤖 Generated with Claude Code