From aba64f904c8e85f9186af0db1b16524ca01f574f Mon Sep 17 00:00:00 2001 From: brenpike Date: Sun, 23 Aug 2026 18:19:00 -0600 Subject: [PATCH 1/2] chore(claude): replace agent-framework with hivemind plugin config --- .claude/hooks/caveman-ultra-subagent.sh | 10 +++++ .claude/settings.json | 56 +++++++++++++++++++++++-- .gitattributes | 3 ++ .gitignore | 4 +- CLAUDE.md | 11 ++--- docs/performance-todo.md | 2 +- 6 files changed, 76 insertions(+), 10 deletions(-) create mode 100755 .claude/hooks/caveman-ultra-subagent.sh create mode 100644 .gitattributes diff --git a/.claude/hooks/caveman-ultra-subagent.sh b/.claude/hooks/caveman-ultra-subagent.sh new file mode 100755 index 0000000..9b52011 --- /dev/null +++ b/.claude/hooks/caveman-ultra-subagent.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +cat <<'EOF' +{ + "hookSpecificOutput": { + "hookEventName": "SubagentStart", + "additionalContext": "Caveman mode requirement for this project: operate in caveman ultra mode for this entire subagent conversation. Do not silently fall back to full, lite, or normal verbosity unless the user explicitly requests it." + } +} +EOF diff --git a/.claude/settings.json b/.claude/settings.json index 83ddb43..3ad9e86 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,7 +1,57 @@ { "enabledPlugins": { - "agent-framework@brenpike": true, - "claude-mem@thedotmack": true + "claude-mem@thedotmack": true, + "hivemind@brenpike": true, + "caveman@caveman": true, + "codex@openai-codex": true }, - "agent": "agent-framework:orchestrator" + "agent": "hivemind:overlord", + "pluginConfigs": { + "caveman@caveman": { + "options": { + "defaultLevel": "ultra" + } + } + }, + "hooks": { + "SubagentStart": [ + { + "hooks": [ + { + "type": "command", + "command": ".claude/hooks/caveman-ultra-subagent.sh" + } + ] + } + ] + }, + "permissions": { + "allow": [ + "Bash(echo *)", + "Bash(printf *)", + "Bash(cat *)", + "Bash(grep *)", + "Bash(jq *)", + "Bash(head *)", + "Bash(tail *)", + "Bash(ls *)", + "Bash(wc *)", + "Bash(sort *)", + "Bash(uniq *)", + "Bash(git ls-files *)", + "Bash(git ls-tree *)", + "Bash(git grep *)", + "Bash(git tag)", + "Bash(git tag -l*)", + "Bash(git tag --list*)", + "Bash(git stash list)", + "Bash(git stash show *)", + "Edit(.hivemind/review-loop/*)", + "Edit(.hivemind/runs/.init-inputs-*.json)", + "Edit(.hivemind/runs/.record-inputs-*.json)", + "Edit(.hivemind/runs/.markfb-inputs-*.json)", + "Edit(.hivemind/spawn-inputs.*.json)", + "Edit(.hivemind/seed-inputs-*.json)" + ] + } } diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e9b6c7e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# Shell scripts must keep LF endings so their shebang works after checkout +# on machines with core.autocrlf enabled. +*.sh text eol=lf diff --git a/.gitignore b/.gitignore index e1df85c..54c242a 100644 --- a/.gitignore +++ b/.gitignore @@ -465,4 +465,6 @@ nupkgs/ .claude/settings.local.json .claude/agent-memory/* -.claude/agent-memory/ \ No newline at end of file +.claude/agent-memory/ +.hivemind/ +.claude/worktrees/ diff --git a/CLAUDE.md b/CLAUDE.md index 2a0d0bc..e110cbd 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -36,20 +36,21 @@ Chatter.Rest.Hal is a .NET/C# implementation of the HAL (Hypertext Application L ## Multi-Agent Governance -This repository uses the [agent-framework](https://github.com/brenpike/agent-framework) Claude Code plugin. +This repository uses the [hivemind](https://github.com/brenpike/hivemind) Claude Code plugin. Enable the plugin in `.claude/settings.json`: ```json { "enabledPlugins": { - "agent-framework@brenpike": true - } + "hivemind@brenpike": true + }, + "agent": "hivemind:overlord" } ``` The plugin provides: -- Agents: `agent-framework:orchestrator` (default), `agent-framework:planner`, `agent-framework:coder`, `agent-framework:designer` -- Skills: `agent-framework:create-working-branch`, `agent-framework:checkpoint-commit`, `agent-framework:open-plan-pr`, and others +- Agents: `hivemind:overlord` (default), `hivemind:cerebrate`, `hivemind:drone`, `hivemind:changeling`, `hivemind:local-reviewer`, `hivemind:github-reviewer` +- Skills: `hivemind:create-working-branch`, `hivemind:molt`, `hivemind:open-plan-pr`, `hivemind:route-workflow`, `hivemind:seed-hive`, and others - Governance reference docs in the plugin's `governance/` directory Project-specific adapter details live in `CLAUDE.md` (this file). External reviewer guidance lives in `AGENTS.md`. diff --git a/docs/performance-todo.md b/docs/performance-todo.md index b14e87a..5804109 100644 --- a/docs/performance-todo.md +++ b/docs/performance-todo.md @@ -1,6 +1,6 @@ # Performance Improvement TODO -Static-analysis-identified performance improvements for the Chatter.Rest.Hal packages. Each item is self-contained: a planner or coder agent can implement it without re-reading the original analysis. +Static-analysis-identified performance improvements for the Chatter.Rest.Hal packages. Each item is self-contained: an implementing agent can implement it without re-reading the original analysis. ## Priority Summary From 3c50120d6642e8bcc3aafd75fb77d344cab8e87c Mon Sep 17 00:00:00 2001 From: brenpike Date: Sun, 23 Aug 2026 18:27:51 -0600 Subject: [PATCH 2/2] fix(claude-settings): address review feedback Resolve SubagentStart hook via "$CLAUDE_PROJECT_DIR" so it works when Claude Code launches from a repository subdirectory. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_016U4x5XQEA2zzprEz9BEq5Z --- .claude/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index 3ad9e86..9f93dcb 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -19,7 +19,7 @@ "hooks": [ { "type": "command", - "command": ".claude/hooks/caveman-ultra-subagent.sh" + "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/caveman-ultra-subagent.sh" } ] }