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.
Shell agent-teamsai-agentai-automationanthropicautonomous-agentawsbusiness-operationsclaudeclaude-codeclaude-code-plugindevopsecommerceinbox-zeroklaviyomarketingmcpmorning-briefingpr-automationshopifyterminal
Merge origin/main into cliproxy reauth cleanup
mission-workerfb7fb2245e13
diff --cc claude-ops/bin/ops-no-rm-rf-anchorindex 58b9cebf,22305ac2..62086118--- a/claude-ops/bin/ops-no-rm-rf-anchor+++ b/claude-ops/bin/ops-no-rm-rf-anchor@@@ -83,19 -83,32 +83,32 @@@ DANGER=$(set -f; while IFS= read -r segrest=$(echo "$seg" | sed -E 's/^.*[[:space:]]?rm([[:space:]]+|$)//')# Tokenize on spaces (best-effort — won't perfectly handle quoted-with-spaces but covers the patterns specified).for tok in $rest; do+ # NOTE: no `case` inside this block. This whole loop runs inside a+ # DANGER=$( ... ) command substitution, and under bash 3.2 a case pattern's+ # unbalanced `)` closes that substitution early. The file then fails to+ # parse, the hook emits nothing, and a missing deny reads as allow — so the+ # guard silently stopped blocking anything. bash 3.2 is Apple's /bin/bash,+ # so that was every stock macOS install. Keep these as plain string tests.+# Skip flags.- if [ "${tok#-}" != "$tok" ]; then+ if [[ "$tok" == -* ]]; thencontinuefi# Strip surrounding quotes for comparison.bare="${tok%\"}"; bare="${bare#\"}"bare="${bare%\'}"; bare="${bare#\'}"- if [[ "$bare" == "" || "$bare" == "/" || "$bare" == "/*" || "$bare" == "/." || \- "$bare" == "~" || "$bare" == "~/" || "$bare" == "~/*" || \- "$bare" == '$HOME' || "$bare" == '$HOME/' || "$bare" == '$HOME/*' || \- "$bare" == ".." || "$bare" == "../" || "$bare" == "../*" || \- "$bare" == "." ]]; then+ # Literal anchors, matching the original quoted case patterns exactly:+ # a quoted pattern in `case` is literal, so "/*" meant the two characters+ # `/` and `*`, never a glob over everything under root.+ is_danger=0+ for anchor in '' '/' '/*' '/.' '~' '~/' '~/*' '$HOME' '$HOME/' '$HOME/*' '..' '../' '../*' '.'; do- if [ "$bare" = "$anchor" ]; then++ if [[ "$bare" == "$anchor" ]]; then+ is_danger=1+ break+ fi+ done- if [ "$is_danger" -eq 1 ]; then++ if [[ "$is_danger" -eq 1 ]]; thenDANGER="$bare"breakfidiff --cc claude-ops/scripts/hermes-linear/alignment_lib.pyindex 7bb46577,9022d6a9..a166fd6f--- a/claude-ops/scripts/hermes-linear/alignment_lib.py+++ b/claude-ops/scripts/hermes-linear/alignment_lib.py@@@ -20,8 -20,8 +20,9 @@@ ENV_PATHS =HOME / ".mcp-secrets.env",)DEFAULT_API = "http://127.0.0.1:18790"-AURORA_COMPANY_ID = "c8435d96-f0c6-40c3-a6a0-53c0c5030707"-PRIMARY_COMPANY_ID = "32375bd0-2a89-4a27-ad4a-e2050459224b"+AURORA_COMPANY_ID = os.environ.get("PAPERCLIP_AURORA_COMPANY_ID", "")+CLIENT_COMPANY_ID = os.environ.get("PAPERCLIP_CLIENT_COMPANY_ID", "")++PRIMARY_COMPANY_ID = CLIENT_COMPANY_IDCLAIM_TTL_SECONDS = 2 * 60 * 60META_RE = re.compile(diff --cc claude-ops/scripts/hermes-linear/hea_linear_fix_all.pyindex 95677681,26cce806..4066e519--- a/claude-ops/scripts/hermes-linear/hea_linear_fix_all.py+++ b/claude-ops/scripts/hermes-linear/hea_linear_fix_all.py@@@ -94,12 -94,7 +94,12 @@@ MATERIAL_PREFIXES =def personal_key() -> str:- return (os.environ.get("LINEAR_API_KEY") or os.environ.get("TEAM_LINEAR_API_KEY") or "").strip()+ return (+ os.environ.get("LINEAR_API_KEY")+ or os.environ.get("CLIENT_LINEAR_API_KEY")- or os.environ.get("HEA" + "LIFY_LINEAR_API_KEY")++ or os.environ.get("TEAM_LINEAR_API_KEY")+ or ""+ ).strip()def agent_token() -> str:diff --cc claude-ops/scripts/hermes-linear/linear_paperclip_delegate_bridge.pyindex b3a191f0,5918c7f2..b23dbb98--- a/claude-ops/scripts/hermes-linear/linear_paperclip_delegate_bridge.py+++ b/claude-ops/scripts/hermes-linear/linear_paperclip_delegate_bridge.py@@@ -125,8 -126,7 +125,8 @@@ def agent_user_id() -> strdef personal_key() -> str:return (os.environ.get("LINEAR_API_KEY", "").strip()+ or os.environ.get("CLIENT_LINEAR_API_KEY", "").strip()- or os.environ.get("HEA" + "LIFY_LINEAR_API_KEY", "").strip()+ or os.environ.get("TEAM_LINEAR_API_KEY", "").strip())@@@ -1562,10 -1562,10 +1562,10 @@@ def main() -> intif m:created_ids.append(m.group(1))state.setdefault("seen", {})[n.get("identifier")] = {"at": now_iso(), "event": ev}- # Cost guard: at most one router wakeup per full-sync tick after batch creates- # Cost guard: at most ONE Qiubo wakeup per full-sync tick after batch creates- if created_ids and not args.dry_run and PRIMARY_COMPANY_ID in INBOUND_ROUTER_AGENT:++ # Cost guard: at most one router wakeup per full-sync tick after batch creates.+ if created_ids and not args.dry_run and CLIENT_COMPANY_ID in INBOUND_ROUTER_AGENT:wcode, wresp = wakeup_agent(- HEA_INBOUND_ASSIGNEE_AGENT_ID,+ CLIENT_INBOUND_ASSIGNEE_AGENT_ID,reason=f"inbound-linear-batch:{len(created_ids)}:{','.join(created_ids[:5])}",)if wcode in (200, 201, 202, 204):diff --cc claude-ops/scripts/hermes-linear/paperclip_linear_mirror.pyindex 22e49b4e,e77fdf7d..c416ce34--- a/claude-ops/scripts/hermes-linear/paperclip_linear_mirror.py+++ b/claude-ops/scripts/hermes-linear/paperclip_linear_mirror.py@@@ -46,8 -46,7 +46,8 @@@ CLIENT_TEAM_ID = os.environ.get("LINEARdef linear_key() -> str:return (os.environ.get("LINEAR_API_KEY", "").strip()+ or os.environ.get("CLIENT_LINEAR_API_KEY", "").strip()- or os.environ.get("HEA" + "LIFY_LINEAR_API_KEY", "").strip()+ or os.environ.get("TEAM_LINEAR_API_KEY", "").strip())