Skip to content

Rename darkmatter formula to wn for the White Noise CLI#1

Merged
erskingardner merged 1 commit into
masterfrom
claude/eloquent-benz-168d0f
Jul 6, 2026
Merged

Rename darkmatter formula to wn for the White Noise CLI#1
erskingardner merged 1 commit into
masterfrom
claude/eloquent-benz-168d0f

Conversation

@erskingardner

@erskingardner erskingardner commented Jul 6, 2026

Copy link
Copy Markdown
Member

Retires the experimental darkmatter naming to match marmot-protocol/mdk#725, which renamed the CLI binaries dm/dmdwn/wnd and moved the canonical source to marmot-protocol/mdk.

Changes

  • Formula/darkmatter.rbFormula/wn.rb — class Wn, homepage/source now marmot-protocol/mdk, built from the public v0.9.1 release tarball with a pinned sha256. Installs wn and wnd.
  • formula_renames.json — maps darkmatterwn so existing installs resolve on brew upgrade.
  • README.md — adds the brew install marmot-protocol/tap/wn example.

Verification

Ran locally against the real v0.9.1 tag:

  • brew style — no offenses
  • brew audit --strict --online — clean
  • brew install --build-from-source — built wn 0.9.1
  • brew test — passes (wn/wnd --help, offline settings show)

🤖 Generated with Claude Code


Open in Stage

Summary by CodeRabbit

  • New Features

    • Added a new installable formula for the White Noise CLI, including basic command verification.
    • Documented the recommended installation command in the README.
  • Bug Fixes

    • Replaced the previous darkmatter formula with the new wn formula name.
  • Chores

    • Added a formula rename mapping to preserve the package transition.

Retire the experimental "darkmatter" naming to match marmot-protocol/mdk
PR #725, which renamed the CLI binaries dm/dmd to wn/wnd and moved the
canonical source to marmot-protocol/mdk.

- Rename Formula/darkmatter.rb -> Formula/wn.rb; build wn/wnd from the
  public v0.9.1 release tarball with a pinned sha256
- Add formula_renames.json so existing darkmatter installs upgrade to wn
- Document the wn install example in the README

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cursor

cursor Bot commented Jul 6, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e985b9fd-978d-4e05-832f-b644f2a3cd73

📥 Commits

Reviewing files that changed from the base of the PR and between 09a9917 and c41a19b.

📒 Files selected for processing (4)
  • Formula/darkmatter.rb
  • Formula/wn.rb
  • README.md
  • formula_renames.json

Walkthrough

This PR removes the darkmatter Homebrew formula and adds a new wn formula for the White Noise CLI, including metadata, build/install logic, and tests. README.md gains an install example, and formula_renames.json maps darkmatter to wn.

Changes

Darkmatter to Wn formula migration

Layer / File(s) Summary
Wn formula metadata and install
Formula/wn.rb, Formula/darkmatter.rb
Removes the darkmatter formula entirely; adds the new Wn formula with description, homepage, pinned tarball URL/SHA, license, head source, Rust build dependency, and a cargo install implementation for the crates/cli crate.
Wn formula test block
Formula/wn.rb
Adds a test validating wn/wnd --help output and a settings show command using a temporary home and file secret store, asserting theme=system.
README and rename mapping updates
README.md, formula_renames.json
Adds an install example for wn/wnd in README.md and a formula_renames.json mapping darkmatter to wn.

Estimated code review effort: 2 (Simple) | ~10 minutes

Related PRs: None identified.

Suggested labels: formula, documentation

Suggested reviewers: None identified.

🐰 A darkmatter fades into the night,
While wn CLI steps into the light,
Cargo builds its bins with care,
README shows you how and where,
A rename maps the old to new—
Homebrew hops along, on cue!

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/eloquent-benz-168d0f

Comment @coderabbitai help to get the list of available commands.

@stage-review

stage-review Bot commented Jul 6, 2026

Copy link
Copy Markdown

Ready to review this PR? Stage has broken it down into 2 individual chapters for you:

Title
1 Migrate darkmatter formula to wn
2 Configure formula migration and documentation
Open in Stage

Chapters generated by Stage for commit c41a19b on Jul 6, 2026 12:38pm UTC.

@erskingardner
erskingardner merged commit 67f8f78 into master Jul 6, 2026
1 of 4 checks passed
@erskingardner
erskingardner deleted the claude/eloquent-benz-168d0f branch July 6, 2026 12:39
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