Conversation
This introduces apps/hivemind-demo, a deterministic coordinator/researcher/builder/reviewer/verifier loop that writes JSON state, compacts checkpoints, exposes a CLI, and ships tests/docs. The package stays self-contained so the existing cavemem MCP server remains unchanged while we prove the anti-context-bloat orchestration shape. Constraint: Existing repo already centers on memory + MCP, so the MVP had to land as an isolated workspace app Constraint: Verification required local dependency install because the worktree had no node_modules Rejected: Extending apps/mcp-server/hivemind into a full runtime | would mix read-only telemetry with execution orchestration Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep this package deterministic until a real ModelProvider/ToolRunner is wired behind the same checkpoint contract Tested: pnpm --filter @cavemem/hivemind-demo typecheck; pnpm --filter @cavemem/hivemind-demo test; pnpm --filter @cavemem/hivemind-demo build; node apps/hivemind-demo/dist/cli/index.js --demo --quiet --data-dir /tmp/hivemind-demo-run-final Not-tested: GitHub PR/merge flow blocked by invalid gh auth token
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
Verification