Skip to content

v0.2.0 — 6 audit dimensions & robustness

Latest

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