mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
A new keyless view (👑, after Swarm) that reads what .claude-flow/hive-mind/state.json records: the queen and her term, the consensus strategy with the fault tolerance and quorum it implies (the CLI's own calculateRequiredVotes arithmetic), every worker with its hive role and liveness (from .claude-flow/agents.json, where hive-mind spawn writes), open proposals against their bar with raft timeouts and Byzantine voters, decided history, and the shared-memory broadcasts. - gfx/hive.ts: a honeycomb of hex cells, the queen's crown centred, workers ringed clockwise; walls show each ballot on the picked proposal; one meter per proposal. xterm-256 colours only. A cell flashes for 2 s after its vote/join/leave event and is otherwise still (byte-identical frames); size depends on model and columns only. - data/events.ts: one event per new ballot and per join/leave, tagged with the worker. - Actions, each confirm-gated: vote through `hive-mind consensus` (the only path that carries the hive token) as the next registered worker without a ballot; propose, broadcast and spawn through `mcp exec` (no token needed). A second raft proposal in the same term is refused before it is asked. - Tabs: a view with key '' gets a Button without a hotkey; viewOf never matches ''. The first tab row now runs to the last digit-keyed view, so Hive-Mind sits after Swarm. - The swarm view's hive section is a short summary with "▸ open hive". Co-Authored-By: RuFlo <ruv@ruv.net>