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
fix(ops-release): multi-line CHANGELOG notes via temp file; backfill v2.20.12 entry (#490)
Aurora Capital1007eceead51
diff --git a/claude-ops/CHANGELOG.md b/claude-ops/CHANGELOG.mdindex 82915d89..7245c34e 100644--- a/claude-ops/CHANGELOG.md+++ b/claude-ops/CHANGELOG.md@@ -1,5 +1,13 @@# Changelog+## [2.20.12] - 2026-06-03++### Changed+ops-rotate-setup: delegate OAuth capture to rotate.mjs (Turnstile-capable browser-driver cascade) and write the consumed `Claude-Rotation-<key>`/`$USER` keychain schema; rewrite setup-account.mjs as a thin wrapper over `rotate.mjs --setup --only=<email> --auto --skip-valid`; update SKILL.md token-check, keychain references, and failure modes to match. The prior implementation launched a fresh Playwright Chromium (blocked by Cloudflare Turnstile, so the magic link was never sent) and wrote a sessionKey cookie under a keychain coordinate no consumer reads.++### Fixed+ops-release: CHANGELOG prepend now passes the multi-line section to awk via a temp file (`getline`), fixing the `awk: newline in string` error that silently skipped the changelog entry when `--notes` spanned multiple lines.+## [2.20.11] - 2026-06-03### Changeddiff --git a/claude-ops/bin/ops-release b/claude-ops/bin/ops-releaseindex 49a50043..fc3ac6d4 100755--- a/claude-ops/bin/ops-release+++ b/claude-ops/bin/ops-release@@ -134,12 +134,17 @@ if [ -n "$PACKAGE_REL" ] && [ -f "$WT/$PACKAGE_REL" ]; thenjq empty "$WT/$PACKAGE_REL" || { echo "ops-release: produced invalid $PACKAGE_REL" >&2; exit 1; }fi-# 4. prepend CHANGELOG section before the first existing "## [" entry-awk -v sec="$changelog_section" '- !done && /^## [0-9[]/ { print sec; print ""; done=1 }+# 4. prepend CHANGELOG section before the first existing "## [" entry.+# The section is multi-line; pass it via a temp file (awk -v mangles embedded+# newlines → "awk: newline in string"), reading it with getline at the insert.+sec_file="$(mktemp)"; printf '%s\n' "$changelog_section" >"$sec_file"+awk -v secfile="$sec_file" '+ function emit_sec( line) { while ((getline line < secfile) > 0) print line; print "" }+ !done && /^## [0-9[]/ { emit_sec(); done=1 }{ print }- END { if (!done) { print ""; print sec } }+ END { if (!done) { print ""; emit_sec() } }' "$wCL" >"$wCL.tmp" && mv "$wCL.tmp" "$wCL"+rm -f "$sec_file"echo "ops-release: bumped plugin.json + marketplace.json$([ -n "$PACKAGE_REL" ] && echo " + $PACKAGE_REL") + CHANGELOG.md"