Analytics view + hivemind→mynd rename - #61
Merged
Merged
Conversation
Replaces the placeholder Analytics view with the full design_handoff_analytics build: stat strip, growth chart, top tags, composition, connection health, and most-connected memories. Ported the math from the handoff's useAnalytics.ts 1:1, adapted to this app's real field names and design tokens (--hm-*, IBM Plex), and extended every 2-segment layer split to 3 (personal/workspace/org) to match the actual data model. Edge origin (manual/inferred/auto) is derived from link_text/reason since edges have no explicit origin field. Reorders the sidebar nav to graph, memories, analytics, feedback, settings, and makes Graph the default view on first load. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sweeps the remaining plain-branding "hivemind" references (test fixture tags, doc examples, UI copy, e2e config) over to "mynd", case-preserving. Deliberately leaves the legacy-compat surface untouched everywhere it exists specifically to detect or migrate pre-rename installs: LEGACY_KEY, LEGACY_UNITS, LEGACY_LAUNCH_AGENT_LABELS, LEGACY_GLOBAL_CLAUDE_MARKER, PROJECT_CONFIG_NAMES' .hivemind.toml fallback, and dir_migrate.rs in full - renaming those would delete the migration behavior and falsify the tests that assert it. hive/discovery.rs and hive/network_guard.rs's mDNS service type had no current/legacy pair, so it moves to _mynd._tcp.local. outright - this device won't discover, or be discovered by, peers still on the old build until they upgrade too. dashboard/playwright.config.js was pointing e2e runs at a `--bin hivemind` that hasn't existed since the binary rename to `mynd`; fixed alongside. TODO.md, docs/superpowers/**, and the 2026-09-18 audit doc are left alone - they're historical records of the rename decision itself and the audit's findings, not stale branding. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
design_handoff_analytics/): stat strip, growth chart, top tags, composition, connection health, and most-connected memories. Ported the math 1:1, adapted colors/fonts to the app's existing--hm-*design system, and extended the 2-layer (personal/workspace) split bars to 3 (personal/workspace/org) to match the real data model.LEGACY_KEY,LEGACY_UNITS,LEGACY_LAUNCH_AGENT_LABELS,LEGACY_GLOBAL_CLAUDE_MARKER,PROJECT_CONFIG_NAMES'.hivemind.tomlfallback,dir_migrate.rs) deliberately left untouched — it exists specifically to detect/migrate pre-rename installs.hive/discovery.rs's mDNS service type had no legacy pair, so it moved to_mynd._tcp.local.outright (breaking peer-discovery with any not-yet-upgraded instance). Also fixesdashboard/playwright.config.js, which was pointing e2e runs at a--bin hivemindthat hasn't existed since the binary rename.Test plan
cargo build— passcargo test— 794 passed (779 lib + 15 integration), 0 failedcd dashboard && npm run build— pass