Skip to content

chernistry/bernstein

v1.6.6 Breaking

This release includes breaking changes for platform teams planning a safe upgrade.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

agent-framework agent-orchestrator agentic-ai ai-agents ai-coding aider
+14 more
anthropic claude-code cli-tool codex-cli coding-agent deterministic-scheduler hmac-audit llm mcp-server model-context-protocol multi-agent parallel-worktrees python swe-bench

Affected surfaces

breaking_upgrade

Summary

AI summary

20 critical orchestration bugs fixed and agent resilience improvements shipped.

Full changelog

v1.6.6

Multi-adapter orchestration

Bernstein now runs with any combination of CLI agents — no Claude Code dependency required. Configure per-role adapters in bernstein.yaml:

role_model_policy:
  backend:
    cli: qwen
    model: qwen3.6-plus
  security:
    cli: gemini
    model: gemini-3.1-pro-preview

The internal scheduler LLM also accepts any adapter (internal_llm_provider: gemini).

20 critical orchestration bug fixes

Deep audit found and fixed 20 severe bugs across the tick pipeline:

  • Merge serialization — concurrent merges no longer corrupt the git index
  • Completion ordering — worktree cleanup now happens AFTER PR creation (40+ tasks had work silently lost)
  • Quality gate timeouts — timed-out required gates now block the merge instead of silently passing
  • Auto-format race — runs sequentially before parallel gates, not concurrently
  • Agent lifecycle — zombie agents tracked immediately after spawn, claimed tasks released on failure
  • Push retry queue — failed pushes are retried on subsequent ticks instead of being silently lost

Proactive agent resilience

  • Scope-aware budget$2/$5/$15 per task scope instead of hardcoded $5, doubles on retry
  • Scope-aware max_turns — large tasks get 2x more turns than small tasks
  • Git health pre-check — stale index.lock files removed before worktree creation
  • Completion instructions in system prompt — survive context truncation

Adapter improvements

  • Qwen adapter maps all model aliases to real API IDs (coder-modelqwen3.6-plus)
  • Gemini adapter uses OAuth without requiring API keys
  • Router bypassed when explicit cli + model configured per role

Other

  • 30-point UI/UX program started (10/30 complete — TUI shell, layout, search, timeline)
  • CONTRIBUTORS.md updated with 12 community contributors
  • Release notes cleaned up for all prior versions

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track chernistry/bernstein

Get notified when new releases ship.

Sign up free

About chernistry/bernstein

Deterministic multi-agent orchestrator for 18 CLI coding agents (Claude Code, Codex, Cursor, Aider, Gemini CLI, OpenAI Agents SDK, and more). MCP server mode (stdio + HTTP/SSE) exposes the orchestrator to any MCP client. Git worktree isolation per agent, HMAC-chained audit trail, cost-aware model routing via contextual bandit. ~11K monthly PyPI downloads, Apache 2.0.

All releases →

Related context

Beta — feedback welcome: [email protected]