feat: Claude Code Hive plugin — native orchestration, 8 gate tools, 3 agents#84
Merged
Conversation
Claude-native implementation of Agent Hive as a Claude Code plugin. Same philosophy (P1-P7), different implementation — uses Claude Code's native primitives wherever possible. Key design decisions: - 3 agents (Hive/Opus, Forager/Sonnet, Hygienic/Opus) down from 7 - 8 MCP tools for gate enforcement only (down from 18) - Forager has ONE MCP tool (hive_worktree_commit) as hard gate (P7) - Workers use isolation:worktree, maxTurns:30 as circuit breaker - Native Agent() dispatch, TodoWrite tracking, AskUserQuestion - Tool allowlist = DAG fence (no Agent, no merge, no plan tools) Packages added: - packages/claude-code-hive/ — plugin (agents, skills, commands, hooks) - packages/hive-mcp/ — thin MCP server wrapping hive-core services Shared utils moved to hive-core: - worker-prompt.ts — worker prompt builder - prompt-budgeting.ts — deterministic prompt budgeting Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4b572c8 to
c8fb2c4
Compare
Owner
Author
|
Merged and tagged v1.4.6, but the tagged Release workflow partially failed. Observed state:
Authenticated Actions log for publish-hive-mcp shows the concrete failure:
This is not a repo build/package artifact failure. Local release checks were green, and local dry-run publish for hive-mcp succeeds. The blocker is the npm credential used by the workflow for hive-mcp publish. Recovery path after fixing the npm credential or package publish permission:
If the npm credential cannot be granted publish rights for hive-mcp under v1.4.6, cut a new patch release instead of retrying the same tag blindly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This branch rebases the Claude Code Hive work onto current
mainand tightens it around the current Hive / GitHub Copilot workflow instead of the earlier overengineered draft.The main outcome is a publishable Claude Code delivery path:
claude-code-hiveships the Claude-facing plugin assetshive-mcpships the MCP runtime those assets launchWhat Changed
Claude Code packaging
packages/claude-code-hiveas an npm package for the Claude plugin assetsplugin.json, agents, commands, hooks, instructions, generated skills, and package-local launcher scripts./scripts/launch-hive-mcp.mjsinstead of depending on a repo-local sibling pathMCP runtime
packages/hive-mcpas a publishable MCP server packagehive_feature_create,hive_plan_write, andhive_feature_completeShared runtime cleanup
hive-coreCI / release / recovery
hive-mcpandclaude-code-hiveopencode-hivehive-mcpclaude-code-hivehive-mcppublishes beforeclaude-code-hiveDocs
packages/claude-code-hive/README.mddocs/RELEASING.mdto document multi-package publish and recovery behaviorRepresentative Files
packages/claude-code-hive/plugin.jsonpackages/claude-code-hive/scripts/launch-hive-mcp.mjspackages/claude-code-hive/scripts/prepare-workspace-hive-mcp.mjspackages/claude-code-hive/scripts/verify-plugin-assets.mjspackages/hive-mcp/src/index.tspackages/hive-mcp/src/server.tspackages/hive-mcp/src/services.ts.github/workflows/ci.yml.github/workflows/release.ymlrelease-artifacts.test.mjsrelease-workflow.test.mjsValidation
Ran successfully before push:
node --test release-artifacts.test.mjsnode --test release-workflow.test.mjsbun run buildnpm -ws --if-present run testgit diff --check