v9.13.0 — CC v2.1.83 Feature Sync + PostHog Analytics + 128/128 Tests
Highlights
- PostHog usage analytics — Anonymous, opt-in telemetry across all installed users. Session/workflow/error events. Disable with
POSTHOG_OPT_OUT=1. - 128/128 tests passing — Fixed 23 test failures from v9.12.0 decomposition. Zero regressions.
- CC v2.1.78-83 feature detection — 8 new
SUPPORTS_*flags.CLAUDE_PLUGIN_DATAworkspace, agenteffort/maxTurns/initialPromptfrontmatter,CwdChanged+StopFailurehooks. - Agent Teams bridge polish — Task dependencies, shutdown protocol, nested-team guard, native team discovery.
Added
hooks/telemetry-posthog.sh— PostHog/capture+/batchAPI integration with PII scrubbing, random UUID identity, local event buffering- 8 new
SUPPORTS_*flags for CC v2.1.78+ and v2.1.83+ features CLAUDE_PLUGIN_DATAworkspace migration (backward-compatible)- Agent
effort(high/medium) +maxTurns(25/20/15) on all 32 agents - Agent
initialPrompton code-reviewer, security-auditor, debugger, performance-engineer CwdChangedhook — re-detects project context on directory changeStopFailurehook — logs API errors toerror-log.jsonl- Agent Teams bridge: task dependencies, shutdown protocol, nested guard, native discovery
- 4 new test suites (94 assertions total)
Fixed
- 23 test failures → 0 (18 tests updated for orchestrate.sh decomposition search scope)
- Provider detection enforcement on
skill-debate.md,flow-parallel.md,skill-ui-ux-design.md - Marketplace metadata version cross-check in
test-version-consistency.sh
Changed
- orchestrate.sh: 4,944 → 3,707 lines (-25%), 70 → 41 functions (-41%)
- 27 functions moved to lib/ modules, new lib/completions.sh
- Dead code removal:
OLD_init_interactive_impl,get_fallback_agent_v2 - 28 echo|pipe → builtin conversions
- Provider check template block (
{{PROVIDER_CHECK}})
Full Changelog: v9.12.0...v9.13.0