Skip to content

Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.

ops-mac: make the firewall change opt-in (#814)

Aurora Capital6855aa58c287
diff --git a/claude-ops/CHANGELOG.md b/claude-ops/CHANGELOG.md
index 205ca04c..ae3f1d07 100644
--- a/claude-ops/CHANGELOG.md
+++ b/claude-ops/CHANGELOG.md
@@ -1,5 +1,6 @@
## Unreleased
+- fix(ops-mac): the application firewall is opt-in. `/ops:mac fix` no longer offers to enable it and no longer lists it as a recommendation; the audit reports its state and stops. Turning the firewall on breaks local listeners (dev servers, MCP proxies, VNC, tunnels) and the user rarely connects the breakage to a `fix` run they asked for other reasons. `socketfilterfw` now runs only when the user asks for the firewall by name in that turn.
- fix(whatsapp): `apply-patches.py` Fix Q no longer appends a duplicate `/api/app_state_status` route. The sentinel gated on the comment text, which Fix Y later rewrote to `Fix Q/Y`, so on any tree that had taken Fix Y the check missed and a second `http.HandleFunc` for the same path was added. Go panics at startup on a duplicate pattern, so the bridge died on the next `go build`. The sentinel is now the handler registration itself, which is stable across variants.
- docs(whatsapp): stop assuming the MCP server is named `whatsapp`. Multi-account installs run one bridge and one server per account (`whatsapp-<label>`) and have no plain `mcp__whatsapp__*`, so every hardcoded reference failed with an unknown tool. Adds CLAUDE.md Rule 8 (resolve the name at runtime, pick the account deliberately, never send from the wrong number, Rule 6 applies to every variant) and points ops-inbox, ops-comms, comms-scanner, and `scripts/whatsapp/ENDPOINTS.md` at it. Also warns that `allowed-tools` entries are exact strings and that host send-gate hook matchers pinned to the literal `mcp__whatsapp__send_message` silently stop firing when an account is renamed or added.
- Security: replace direct/unattended Claude browser reauthentication with short-lived HMAC-approved, single-use staged enrollment and atomic rollback activation; legacy reauth wrappers now fail closed.
diff --git a/claude-ops/bin/ops-mac b/claude-ops/bin/ops-mac
index 5fb961fd..5ab9fc8c 100755
--- a/claude-ops/bin/ops-mac
+++ b/claude-ops/bin/ops-mac
@@ -237,7 +237,7 @@ audit() {
echo
echo "── SYSTEM HEALTH (machealth, ${MACHEALTH_TIMEOUT}s cap) ──"; p_health
echo
- echo "Tip: this is read-only. Remediate with /ops:mac fix (firewall, stale daemons, cache clean)."
+ echo "Tip: this is read-only. Remediate with /ops:mac fix (stale daemons, cache clean)."
}
# ─── dispatch ────────────────────────────────────────────────────────────────
diff --git a/claude-ops/skills/ops-mac/SKILL.md b/claude-ops/skills/ops-mac/SKILL.md
index d323a493..f5195c44 100644
--- a/claude-ops/skills/ops-mac/SKILL.md
+++ b/claude-ops/skills/ops-mac/SKILL.md
@@ -1,6 +1,6 @@
---
name: ops-mac
-description: macOS diagnose-and-fix command center. Wraps the macos-toolkit CLI suite (machealth, netwhiz, pstop, macdog, lanchr, macbroom, macctl, macfig, updater) behind one entrypoint — self-installs the suite on first use, runs a read-only baseline audit (security, launch agents, processes, network, disk, system health), and applies guarded fixes (firewall, stale daemons, cache cleanup) with per-action confirmation.
+description: macOS diagnose-and-fix command center. Wraps the macos-toolkit CLI suite (machealth, netwhiz, pstop, macdog, lanchr, macbroom, macctl, macfig, updater) behind one entrypoint — self-installs the suite on first use, runs a read-only baseline audit (security, launch agents, processes, network, disk, system health), and applies guarded fixes (stale daemons, cache cleanup) with per-action confirmation. The application firewall is reported only and changed solely on an explicit request.
argument-hint: '[audit|health|net|disk|procs|security|launchd|fix|ensure|update]'
allowed-tools:
- Bash
@@ -93,17 +93,23 @@ Run the audit first to know what's wrong, then offer fixes. **Per plugin Rule 5,
Common offenders and their guarded fixes:
-### 1. Firewall off
-```
-macdog reports the application firewall is OFF.
- [Enable firewall] [Enable + stealth mode] [Skip]
-```
-On confirm:
+### 1. Firewall — opt-in only, never offered
+
+The application firewall is **out of scope for `/ops:mac fix`**. Report its state in the audit
+and stop there. Do not offer to enable it, do not add it to a fix menu, and do not list it as a
+recommendation — a firewall that comes on unasked breaks local listeners (dev servers, MCP
+proxies, VNC, tunnels) that the user did not connect the change to.
+
+Touch it only when the user asks for the firewall by name in that turn ("turn the firewall on",
+"enable stealth mode"). Then confirm the single action and run:
+
```bash
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
# stealth (optional): sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on
```
+"Run `/ops:mac fix`" is not that request.
+
### 2. Stale / crashing launchd user daemons
For each actionable entry from `lanchr doctor` (missing binary, or repeated `exit 1`), confirm **individually**:
```