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.

feat(09-01): add ubuntu-24.04 CI matrix + OS-guard test scripts

auroracapital01c70c842325
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f897be73..ec9f0c39 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,7 +7,10 @@ on:
jobs:
lint-and-check:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, ubuntu-24.04]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
@@ -44,3 +47,19 @@ jobs:
chmod +x gitleaks
- name: Run gitleaks
run: ./gitleaks detect --source . --config claude-ops/.gitleaks.toml --verbose
+
+ test-suite:
+ runs-on: ${{ matrix.os }}
+ needs: lint-and-check
+ strategy:
+ matrix:
+ os: [ubuntu-latest, ubuntu-24.04]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Install test dependencies
+ run: |
+ sudo apt-get install -y shellcheck 2>/dev/null || true
+ - name: Run full test suite
+ run: bash claude-ops/tests/run-all.sh
+ env:
+ CI: true
diff --git a/claude-ops/tests/test-bin-scripts.sh b/claude-ops/tests/test-bin-scripts.sh
index 144823ca..38e733b9 100755
--- a/claude-ops/tests/test-bin-scripts.sh
+++ b/claude-ops/tests/test-bin-scripts.sh
@@ -2,6 +2,9 @@
# test-bin-scripts.sh — Validates bin/ scripts
set -euo pipefail
+IS_MACOS=false
+[[ "$(uname)" == "Darwin" ]] && IS_MACOS=true
+
PLUGIN_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
BIN_DIR="$PLUGIN_ROOT/bin"
@@ -57,10 +60,35 @@ for script in "${script_files[@]}"; do
echo " SKIP: shellcheck not installed"
fi
+ # 4. macOS-only tool checks
+ if $IS_MACOS; then
+ # Verify script doesn't call macOS-only tools without guards
+ if grep -qE "(security find-generic-password|pbcopy|osascript|defaults read)" "$script" 2>/dev/null; then
+ ok "macOS-only tool usage present (macOS environment)"
+ fi
+ else
+ # On Linux: check that macOS-only tool calls are guarded
+ unguarded=false
+ while IFS= read -r line; do
+ # Skip lines that are comments
+ [[ "$line" =~ ^[[:space:]]*# ]] && continue
+ # Check for macOS-only tools outside of IS_MACOS guards
+ if echo "$line" | grep -qE "(security find-generic-password|pbcopy|osascript|defaults read)"; then
+ unguarded=true
+ break
+ fi
+ done < "$script"
+ if $unguarded; then
+ err "unguarded macOS-only tool call in $name (wrap with IS_MACOS guard)"
+ else
+ ok "no unguarded macOS-only tool calls (Linux safe)"
+ fi
+ fi
+
echo ""
done
-# 4. Cross-check: ops-setup-install handles all tools listed in ops-setup-preflight
+# 5. Cross-check: ops-setup-install handles all tools listed in ops-setup-preflight
echo "Cross-check: ops-setup-install vs ops-setup-preflight"
preflight="$BIN_DIR/ops-setup-preflight"
install_script="$BIN_DIR/ops-setup-install"
diff --git a/claude-ops/tests/test-skills-lint.sh b/claude-ops/tests/test-skills-lint.sh
index 7007ca25..a59f6650 100755
--- a/claude-ops/tests/test-skills-lint.sh
+++ b/claude-ops/tests/test-skills-lint.sh
@@ -2,6 +2,9 @@
# test-skills-lint.sh — Validates all SKILL.md files in skills/
set -euo pipefail
+IS_MACOS=false
+[[ "$(uname)" == "Darwin" ]] && IS_MACOS=true
+
PLUGIN_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
SKILLS_DIR="$PLUGIN_ROOT/skills"