Skip to content

feat!: rebrand to deliberation v2 core + drop 1.x compat#55

Merged
antonbabenko merged 22 commits into
masterfrom
dev
May 30, 2026
Merged

feat!: rebrand to deliberation v2 core + drop 1.x compat#55
antonbabenko merged 22 commits into
masterfrom
dev

Conversation

@antonbabenko
Copy link
Copy Markdown
Owner

Release 2.0 - deliberation

Breaking release. Renames the plugin claude-delegator -> deliberation, namespaces the four bridge MCP servers, extracts a host-neutral core, and drops all 1.x backward-compat for clean single-name code.

Conventional Commits: this range contains a refactor!: / feat!: breaking change, so release automation bumps version.json 1.x -> 2.0.0 on merge and regenerates the manifests + CHANGELOG.

Highlights

Phase 2 core (host-neutral library + unified MCP server)

  • New core/ library: provider adapters (codex, gemini, grok, openai-compatible), orchestrate.js (server-side askAll fan-out + minimal single-round consensus), registry.js (per-alias OpenRouter expansion), a DelegationResult Success|Error discriminated union, and a config/cache path resolver.
  • New server/mcp/index.js: one stdio MCP server (deliberation) exposing ask-all, consensus, ask-gpt|gemini|grok|openrouter, and per-expert tools with readOnlyHint.
  • Strict typecheck gate (tsc --checkJs --noEmit; typescript + @types/node dev-only, runtime stays zero-dep), wired into CI.
  • Fixes the disabled-model dispatch bug structurally: selection and dispatch happen in one server call, so a disabled OpenRouter alias can never be dispatched from a stale client-side selection.

Rebrand to deliberation

  • Plugin name, slash namespace (/deliberation:*), config path (~/.claude/deliberation/config.json), grok cache, rules dir (~/.claude/rules/deliberation/), and manifest URLs all move to deliberation.
  • The four bridge MCP servers are namespaced: deliberation-codex, deliberation-gemini, deliberation-grok, deliberation-openrouter (tool ids mcp__deliberation-<p>__*), so they no longer collide with another plugin registering a bare codex/gemini/etc.
  • Host-neutral plugin description (Claude Code and any MCP host), synced with the marketplace entry.

1.x compatibility removed (clean naming)

  • No legacy config-path fallback, no CLAUDE_DELEGATOR_CONFIG env, no dual-path plugin-cache globs, no legacy bare-name MCP cleanup. deliberation paths only.
  • README gains a short "Upgrade from 1.x" section with the one-time migration steps.

Setup / uninstall hardening

  • /setup collapsed from ~14 fragile bash blocks to one main isolated call (no destructive op co-batched with real work), far fewer tokens, idempotent on re-run.
  • /uninstall removal consolidated into one isolated block.

Testing

  • 210 tests pass (node --test); strict typecheck exits clean over the checked set; CI green on dev. 60 files changed (+2023 / -865).

After merge (gated, NOT in this PR)

  1. Rename the GitHub repo antonbabenko/claude-delegator -> antonbabenko/deliberation (must precede the registry publish; the registry namespace is repo-bound).
  2. npm publish @antonbabenko/deliberation-core + @antonbabenko/deliberation-mcp, then submit to the Official MCP Registry.
  3. Un-draft and merge marketplace PR chore(marketplace): rename claude-delegator -> deliberation + advertise OpenRouter agent-plugins#38 (pinned to v2.0.0).

Full per-commit history is in the 21 commits in this range.

antonbabenko and others added 21 commits May 30, 2026 17:31
feat(core): extract deliberation-core + stdio MCP server (Phase 2 Waves 0-3)
ci(validate): install deps before typecheck
fix(setup): register deliberation MCP server
…ridge MCPs (#54)

* feat(core): add deliberation config/cache path resolver with legacy fallback

* refactor(server): rename claude-delegator->deliberation; wire path resolver; namespace serverInfo

* docs(core): update config path reference in registry

* refactor(commands): namespace bridge tool ids + rename to deliberation; dual-path expert-prompt glob; idempotent MCP migration

* refactor(rules): namespace bridge tool ids + rename to deliberation

* feat(plugin)!: rename plugin claude-delegator->deliberation (manifests, docs, assets)

* test: update grok/openrouter mocks for deliberation rename

* refactor: namespace remaining bare tool ids + deliberation config-path detection in docs/commands

* docs(plugin): host-neutral description, synced with marketplace PR #38

* docs(plugin): align description verbatim with marketplace PR #38

* refactor(setup): collapse to one main Bash call, drop destructive rm, no health handshakes

* refactor(uninstall): one isolated removal block, cover new+legacy cache/rules paths

* fix(setup): default alias-overwrite to Yes (recommended)

* refactor!: drop claude-delegator backward-compat (deliberation-only paths, globs, env)

* docs: deliberation-only paths + Upgrade from 1.x section

* docs: namespace remaining stale bare tool-ids (deliberation-*)

* docs: namespace remaining bare tool-ids in CLAUDE.md + CONTRIBUTING.md

* docs: namespace last bare tool-id in CONTRIBUTING.md
@antonbabenko antonbabenko changed the title Release 2.0: rebrand to deliberation + Phase 2 core + drop 1.x compat feat!: rebrand to deliberation v2 core + drop 1.x compat May 30, 2026
@antonbabenko antonbabenko merged commit 4cdc2b4 into master May 30, 2026
1 check passed
@antonbabenko antonbabenko deleted the dev branch May 30, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant