Skip to content

Add a bounded hivemind MVP inside the monorepo#4

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/anti-context-bloat-hivemind-mvp-2026-04-23-17-52
Apr 23, 2026
Merged

Add a bounded hivemind MVP inside the monorepo#4
NagyVikt merged 1 commit intomainfrom
agent/codex/anti-context-bloat-hivemind-mvp-2026-04-23-17-52

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Summary

  • add a self-contained apps/hivemind-demo workspace app
  • implement bounded coordinator/researcher/builder/reviewer/verifier orchestration with JSON checkpoints
  • add CLI, docs, tests, and ignore local run outputs

Verification

  • 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-hook

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
@NagyVikt NagyVikt merged commit 93bef9b into main Apr 23, 2026
1 of 3 checks passed
@NagyVikt NagyVikt deleted the agent/codex/anti-context-bloat-hivemind-mvp-2026-04-23-17-52 branch April 24, 2026 07:45
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