Most developers assume brew tap requires a third-party Git forge account. In reality, Homebrew accepts any explicit HTTPS Smart Git URL directly, allowing engineering teams to host formulas, casks, and release tarballs entirely on infrastructure they control.
In this architecture note, we inspect the live sovereign tap at https://nandai.org/git/homebrew-destiny.git (cloned at commit 36fc42332878d0eeb18b7f3a5b217108ef538e3d), walk through its pinned Formula and Apple-notarized Cask definitions, and audit Brewfile lock posture via https://nandai.org/integrations/homebrew-cask-macos-deployment.
1. Sovereign Smart HTTP Git Tap Layout
Any read-only git-http-backend or static pack endpoint serving info/refs?service=git-upload-pack works seamlessly with Homebrew:
# Install the MIT verification CLI & 108-tool MCP server (macOS & Linux) brew tap karany97/destiny https://nandai.org/git/homebrew-destiny.git brew install karany97/destiny/destiny-verify destiny-verify self-test # Install the notarized Apple Silicon macOS desktop app (macOS 15.0+ Sequoia) brew install --cask karany97/destiny/destiny Cloning https://nandai.org/git/homebrew-destiny.git directly exposes both Formula/destiny-verify.rb and Casks/destiny.rb with zero third-party forge API tokens required:
class DestinyVerify < Formula desc "Zero-dependency Apple Silicon, SBOM, MCP, C2PA, AEO & CI security CLI" homepage "https://nandai.org/opensource" url "https://nandai.org/releases/destiny-verify-2.0.0.tar.gz" version "2.0.0" sha256 "05f9b8a62d2e2d7bd554c609fc4f18e59f171408aa0c6d75a17743b9c4a09763" license "MIT" revision 4 head "https://nandai.org/git/destiny.git", branch: "main" depends_on "python@3.12" Every upstream reference points strictly to sovereign TLS origins: the 6,511,290-byte archive at https://nandai.org/releases/destiny-verify-2.0.0.tar.gz (SHA-256: 05f9b8a62d2e2d7bd554c609fc4f18e59f171408aa0c6d75a17743b9c4a09763), head at https://nandai.org/git/destiny.git/, and the 271,345,746-byte notarized .dmg inside Casks/destiny.rb (SHA-256: 2da76c011c1bd511cc5547ff152b8b7382cf7793cc5d7e13078ba317abd54a3e, Apple Developer Team J5BH67967P, Notary Submission f000b0b4-a24e-4874-b62b-5a549f3c576b).
2. Auditing Tap Pinning & Brewfile Posture via MCP (audit_brewfile_and_mcp_lock)
Before accepting a Brewfile into an engineering fleet, verify that every tap uses HTTPS (never cleartext http://), casks never use sha256 :no_check, and scripts never pipe curl | bash. Tool audit_brewfile_and_mcp_lock on https://nandai.org/api/mcp verifies inline Brewfile manifests in one stateless call:
curl -sS -X POST https://nandai.org/api/mcp \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "audit_brewfile_and_mcp_lock", "arguments": { "manifest_or_path": "tap \"karany97/destiny\", \"https://nandai.org/git/homebrew-destiny.git\"\nbrew \"karany97/destiny/destiny-verify\"\ncask \"karany97/destiny/destiny\"\n" } } }' Live execution returns ok: true, taps_audited: 1, casks_audited: 1, brews_audited: 1, valid: true, score: 100, grade: "A+", clean: true, and bytes_uploaded: 0.
3. Standalone Python Formula & Live Tarball SHA-256 Verifier
Run this zero-dependency script in CI to prove that the sha256 pinned inside Formula/destiny-verify.rb matches the live downloaded .tar.gz and .sha256 sidecar byte-for-byte:
#!/usr/bin/env python3 """Verify sovereign Homebrew Formula SHA-256 against live release tarball.""" import hashlib import urllib.request EXPECTED_TAR_SHA256 = "05f9b8a62d2e2d7bd554c609fc4f18e59f171408aa0c6d75a17743b9c4a09763" TAR_URL = "https://nandai.org/releases/destiny-verify-2.0.0.tar.gz" SIDECAR_URL = "https://nandai.org/releases/destiny-verify-2.0.0.tar.gz.sha256" tgz_bytes = urllib.request.urlopen(TAR_URL, timeout=30).read() actual_sha = hashlib.sha256(tgz_bytes).hexdigest() sidecar_sha = urllib.request.urlopen(SIDECAR_URL, timeout=15).read().decode().strip().split()[0] assert actual_sha == EXPECTED_TAR_SHA256 == sidecar_sha, (actual_sha, sidecar_sha) print({"ok": True, "bytes": len(tgz_bytes), "sha256": actual_sha}) Verified Engineering Resources
- Homebrew Cask & DMG Deployment Guide:
https://nandai.org/integrations/homebrew-cask-macos-deployment - Sovereign Homebrew Tap Git URL:
https://nandai.org/git/homebrew-destiny.git/ - Pinned
destiny-verifyTarball & Sidecar:https://nandai.org/releases/destiny-verify-2.0.0.tar.gzandhttps://nandai.org/releases/destiny-verify-2.0.0.tar.gz.sha256 - Notarized DMG & Cryptographic Sums:
https://nandai.org/downloads/Destiny-macOS-AppleSilicon.dmgandhttps://nandai.org/downloads/SHA256SUMS.txt - Sovereign Git & Tarball Indices:
https://nandai.org/.well-known/sovereign-git-mirrors.jsonandhttps://nandai.org/.well-known/sovereign-source-tarball-index.json - 90-Second Terminal Quickstart:
https://nandai.org/quickstart/homebrew-cask-terminal-cli-developer-quickstart - Live
108-Tool MCP Endpoint:https://nandai.org/api/mcp

