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.

chore(ci): concurrency cancel-in-progress + merge gates (#666)

Aurora Capital1d826c008e12
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7a16f325..1506c008 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,6 +5,11 @@ on:
push:
branches: [dev]
+
+concurrency:
+ # Auto-cancel superseded runs for same workflow+ref/PR (Sam 2026-07-14)
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
jobs:
lint-and-check:
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml
index 24f8b51a..5d38c75b 100644
--- a/.github/workflows/claude.yml
+++ b/.github/workflows/claude.yml
@@ -10,6 +10,11 @@ on:
pull_request_review:
types: [submitted]
+
+concurrency:
+ # Auto-cancel superseded runs for same workflow+ref/PR (Sam 2026-07-14)
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
jobs:
claude:
if: |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ce4ee9be..b6fd149f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -5,6 +5,11 @@ on:
tags:
- "v*"
+
+concurrency:
+ # Auto-cancel superseded runs for same workflow+ref/PR (Sam 2026-07-14)
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
permissions:
contents: write
pull-requests: write
diff --git a/claude-ops/scripts/account-rotation/crs-health-watch.mjs b/claude-ops/scripts/account-rotation/crs-health-watch.mjs
index c5b6983f..9fa7e0cd 100755
--- a/claude-ops/scripts/account-rotation/crs-health-watch.mjs
+++ b/claude-ops/scripts/account-rotation/crs-health-watch.mjs
@@ -102,7 +102,9 @@ function probe() {
}).trim();
// Phase 1b: also fail probe on CRS-reported degraded (inference smoke is the separate hard check for "inference=false")
let body = '';
- try { body = execFileSync('curl', ['-sS', '--max-time', '2', HEALTH_URL], { encoding: 'utf8', timeout: 3000 }).trim(); } catch {}
+ try {
+ body = execFileSync('curl', ['-sS', '--max-time', '2', HEALTH_URL], { encoding: 'utf8', timeout: 3000 }).trim();
+ } catch {}
if (body && /"status"\s*:\s*"(degraded|unhealthy)"/i.test(body)) return false;
return code === '200';
} catch {
diff --git a/docs/MERGE_GATES.md b/docs/MERGE_GATES.md
new file mode 100644
index 00000000..fa4e77e7
--- /dev/null
+++ b/docs/MERGE_GATES.md
@@ -0,0 +1,39 @@
+# Merge gates
+
+**Agents:** admin-merge when the **required** status context is green. Do not wait for optional bots or long smokes unless they are named as required.
+
+## Required
+
+| Typical required context | Notes |
+|--------------------------|--------|
+| **`CI Summary`** (if present) | Only required context on many Healify `dev` branches |
+| Else: branch-protection required checks | `gh api repos/.../branches/<branch>/protection` |
+
+When required green + no conflicts:
+
+```bash
+gh pr merge <N> --admin --squash --delete-branch
+```
+
+Do **not** ask Sam for merge approval.
+
+## Not required
+
+- Names containing **NOT required for merge**
+- Seer · CodeRabbit · Cursor · Vercel Agent · Graphite mergeability
+- Device Farm / long simulator smokes (unless explicitly required)
+- Vercel “Canceled by Ignored Build Step”
+
+## Concurrency
+
+Every workflow must cancel superseded runs:
+
+```yaml
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+```
+
+## Doctrine
+
+`~/.claude/memory/admin-merge-ci-gates.md`