Skip to content

Rename macOS app package from EigenInference to Darkbloom - #79

Closed
ethenotethan wants to merge 1 commit into
masterfrom
rename/eigeninference-to-darkbloom
Closed

ethenotethan wants to merge 1 commit into
masterfrom
rename/eigeninference-to-darkbloom

Conversation

@ethenotethan

Copy link
Copy Markdown
Contributor

Summary

  • Renames the Swift package at app/EigenInference to app/Darkbloom, unifying the brand across the macOS menu bar app (directory, SPM target/module name, source file names, type names, and produced .app / binary names)
  • Drops the legacy eigeninference backward-compat shims in ConfigManager (migration path) and SecurityManager (MDM-profile fallback), and replaces stale eigeninference_provider references in doc comments / test fixtures with the darkbloom tracing target the Rust provider actually emits
  • Updates external references that point into the renamed directory: scripts/build-bundle.sh, scripts/bundle-app.sh, .github/workflows/release.yml, the provider/src/inference.rs bundle-discovery test, and repo docs (README, AGENTS, CLAUDE, CONTRIBUTING, docs/ARCHITECTURE, docs/release-pipeline)

Out of scope

Intentionally left alone (separate concerns / separate subprojects / wire compat):

  • Provider bundle tarball naming (eigeninference-bundle-*.tar.gz, eigeninference-python-*.tar.gz)
  • Enclave subproject (eigeninference-enclave binary, Sources/EigenInferenceEnclave)
  • MDM enrollment profile filenames (EigenInference-Enroll-*.mobileconfig) — device rollout risk
  • E2E sealed content-type (Application/EigenInference-Sealed+JSON) — wire protocol
  • Top-level project prose in docs/ARCHITECTURE.md about EigenInference the product

Test plan

  • cd app/Darkbloom && swift build -c release — builds, produces Darkbloom binary
  • No remaining `EigenInference` / `eigeninference` / `DarkBloom` strings inside `app/Darkbloom/` (verified with grep)
  • `cargo test inference::tests::test_python_runtime_roots_discovers_bundle_and_home_runtime` passes with renamed `Darkbloom.app` path
  • `cargo check --tests` with `python` feature — compiles
  • CI green on this branch (release workflow + ci workflow)
  • Pre-existing `DarkbloomAppTests.swift` compile errors for `TrustLevel.selfSigned` and `BenchmarkResults` exist on master too and are unrelated to this rename (confirmed by reverting and re-running)

Components touched

  • provider (Rust) — only the `test_python_runtime_roots_discovers_bundle_and_home_runtime` test name for `.app` bundle
  • app (macOS Swift) — full package rename
  • infra / CI / release — `scripts/build-bundle.sh`, `scripts/bundle-app.sh`, `.github/workflows/release.yml`
  • docs — README, AGENTS, CLAUDE, CONTRIBUTING, docs/ARCHITECTURE, docs/release-pipeline

Protocol / interface changes

  • No protocol/interface changes

Notes for reviewers

  • Git detects every source/resource file as a pure rename, so reviewing the non-rename diffs (Package.swift, ConfigManager.swift, SecurityManager.swift, StatusViewModel.swift, DesignSystem.swift, MenuBarView.swift, DashboardView.swift, DarkbloomApp.swift, LaunchAgentManager.swift, tests) will be sufficient.
  • The produced `.app` is now `Darkbloom.app` and its inner binary is `Darkbloom`. Any external system that downloads `EigenInference-latest.dmg` or looks for `EigenInference.app` / `Contents/MacOS/EigenInference` will need to be updated in a follow-up. The install.sh served from the coordinator still downloads the provider bundle (out of scope of this rename) and is unaffected.

Renames the Swift package at app/EigenInference to app/Darkbloom,
unifying the brand across the macOS menu bar app:

- Directories: app/EigenInference, Sources/EigenInference,
  Tests/EigenInferenceTests → Darkbloom equivalents
- Swift package target + module name → Darkbloom
- EigenInferenceApp.swift → DarkbloomApp.swift
- EigenInferenceAppTests.swift → DarkbloomAppTests.swift
- struct DarkBloomApp / DarkBloomBrand → DarkbloomApp / DarkbloomBrand
- App bundle produced by build scripts + CI: EigenInference.app →
  Darkbloom.app, binary name EigenInference → Darkbloom, plist keys
  CFBundleName / CFBundleExecutable / CFBundleDisplayName → Darkbloom
- Dropped legacy eigeninference config-migration path in ConfigManager
  and eigeninference MDM-profile fallback in SecurityManager
- Dropped stale eigeninference_provider references in doc comments /
  test fixtures; actual Rust provider tracing target is 'darkbloom'
- Updated external refs: scripts/build-bundle.sh, scripts/bundle-app.sh,
  .github/workflows/release.yml, provider/src/inference.rs test,
  README, AGENTS, CLAUDE, CONTRIBUTING, docs/ARCHITECTURE,
  docs/release-pipeline

Out of scope and left alone: provider bundle tarball naming
(eigeninference-bundle-*.tar.gz), enclave subproject
(eigeninference-enclave binary and Sources/EigenInferenceEnclave),
MDM enrollment profile filenames (EigenInference-Enroll-*.mobileconfig),
E2E sealed content-type (Application/EigenInference-Sealed+JSON),
and top-level project descriptions.
@ethenotethan
ethenotethan requested a review from Gajesh2007 April 22, 2026 08:48
@hankbobtheresearchoor

Copy link
Copy Markdown
Contributor

Hermes Agent Review

Verdict: Minor suggestions

⚠️ Warning

  1. Legacy config migration path removed without transition plan — ConfigManager.swift previously fell back to eigeninference/provider.toml if darkbloom/provider.toml did not exist. This PR removes that fallback entirely. Existing users who have not yet migrated their config will silently get a fresh default config on next launch. Consider logging a one-time warning when the legacy path exists but is no longer read, or shipping a one-time auto-migration copy.

  2. SecurityManager drops eigeninference MDM profile check — Removing the eigeninference substring from the MDM profile detection means providers enrolled under the old profile name will no longer be recognized as MDM-managed. If any deployed providers use the legacy enrollment profile, their SecurityManager trust level will silently downgrade after this update.

💡 Suggestion

  1. bundle-app.sh has indentation inconsistency — Line 453 (echo "# or drag Darkbloom.app...") appears to have extra indentation (4 spaces prefix) compared to surrounding echo statements, suggesting an accidental indent during the rename. Minor but will look odd in terminal output.

  2. DMG download path change is deployment-breaking — The DMG filename changes from EigenInference-latest.dmg to Darkbloom-latest.dmg and the web path changes accordingly. Any bookmarked URLs, install scripts, or auto-updater logic pointing at the old path will 404. The PR description acknowledges this is out of scope but it is worth flagging that a redirect or symlink strategy should be planned before this lands.

✅ Looks Good

  1. Git correctly detects all source/resource files as pure renames — the rename is clean and mechanical.

  2. The DarkBloomApp → DarkbloomApp casing normalization is a good consistency fix.

  3. CI/release workflow, test imports, and Package.swift are all consistently updated.

Reviewed by Hermes Agent (hankbob)

cursor Bot pushed a commit that referenced this pull request Jul 10, 2026
POST /v1/admin/clear-orphans adopts all active jobs, recovers reserved,
and force-settles held (default full refund) in one admin call.
Gajesh2007 added a commit that referenced this pull request Jul 20, 2026
Replace the pre-merge feature commit with the tree-identical upstream main commit after mlx-swift-lm PRs #78 and #79 merged.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants