Skip to content

chore: promote dev → main (genie mcp registration + rules-ghost fix, v5.260705.5) - #2527

Merged
namastex888 merged 3 commits into
mainfrom
dev
Jul 5, 2026
Merged

namastex888 merged 3 commits into
mainfrom
dev

Conversation

@namastex888

@namastex888 namastex888 commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

Promotion: 2 commits

  1. fix(plugin): register genie mcp server, stop stale v4 rules injection #2526 (twice-reviewed SHIP, merged to dev): registers the genie mcp stdio server via plugin .mcp.json (tools verified live: genie_board, genie_wish_status, genie_worktree_context, genie_task, genie_active); removes the SessionStart injection of stale v4 orchestration rules into ~/.claude/rules/ (the confirmed ghost-restorer fighting genie install's v4 cleanup); plugin rules rewritten lean-v5 (59→20, zero dead verbs); review-criteria + tmux-string dead names fixed.
  2. chore(version): bump to 5.260705.5 [auto-version] — the version-race fix proving itself: this tag/release cut fully autonomously on the natural dev merge (no manual dispatch, first time tonight).

Diff shape verified: 8 files, +36/−127, all under plugins/genie/ + version-stamped manifests. Release v5.260705.5 publishing now; on merge, the stable channel + marketplace advance and /plugin update + restart surfaces the genie MCP server.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N1FLEV2Qse3jbX5Wz1sjWE

Summary by CodeRabbit

  • New Features

    • Added a new MCP server entry for Genie, enabling it to run with the updated command flow.
    • Introduced multi-session cockpit launching and clearer orchestration guidance for managing background work in parallel.
  • Documentation

    • Updated the Genie review workflow and orchestration reference to reflect the latest command names and status flow.
  • Chores

    • Bumped the app and plugin version to 5.260705.5.

namastex888 and others added 3 commits July 5, 2026 01:16
plugins/genie/.mcp.json (new) registers the stdio server 'genie mcp' —
tools/list verified: genie_board, genie_wish_status,
genie_worktree_context, genie_task, genie_active.
smart-install.js no longer injects v4-era orchestration rules into
~/.claude/rules on SessionStart (this fought genie install's v4 cleanup
and resurrected the stale file); rules/genie-orchestration.md rewritten
lean-v5 plugin-native (59->20, zero dead verbs); review-criteria dead
skill names fixed; tmux error string modernized.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N1FLEV2Qse3jbX5Wz1sjWE
…ghost

fix(plugin): register genie mcp server, stop stale v4 rules injection
@coderabbitai

coderabbitai Bot commented Jul 5, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR bumps the genie plugin/package version from 5.260705.4 to 5.260705.5 across multiple manifest files, adds a new .mcp.json configuration defining the genie MCP server, and rewrites orchestration rules and review-criteria command references documentation.

Changes

Version Bump and MCP Configuration

Layer / File(s) Summary
Manifest version bumps
.claude-plugin/marketplace.json, package.json, plugins/genie/.claude-plugin/plugin.json, plugins/genie/package.json
Version field incremented from 5.260705.4 to 5.260705.5 in each manifest.
MCP server config
plugins/genie/.mcp.json
New file defining mcpServers.genie running the genie command with ["mcp"] args.

Documentation Rewrite

Layer / File(s) Summary
Review workflow command mapping
plugins/genie/references/review-criteria.md
Replaces /plan-review and /make with /wish, /review (plan mode), and /work in the workflow summary.
Orchestration rules rewrite
plugins/genie/rules/genie-orchestration.md
Rewrites intro, dispatch, task DB, and "Never" sections into a v5 playbook covering genie launch, genie task/board/done primitives, and prohibitions on terminal scraping and worker self-completion.

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

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the release promotion, MCP registration, rules fix, and version bump.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request bumps the genie plugin version to 5.260705.5 across several configuration files and adds an MCP server configuration. It refactors the agent orchestration documentation to reflect v5, transitioning to a zero-daemon, SQLite-backed task database model. Additionally, the rule injection logic has been removed from smart-install.js as rules are now loaded natively, and the tmux installation warning has been updated. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cced8b5ede

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +242 to +245
// NOTE: this script used to copy rules/genie-orchestration.md into
// ~/.claude/rules/ on version change. That injection is gone: the rules file
// is plugin-native (loaded from the plugin itself), and the copy kept
// resurrecting a file that `genie install`'s v4 cleanup deletes.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove stale global orchestration rules during upgrade

When a user upgrades the plugin from the previous release without re-running genie install, this removal leaves the previously injected ~/.claude/rules/genie-orchestration.md in place. That file was written by this hook and contains the old genie spawn/genie team create/“NEVER use Agent” guidance; the cleanup this comment relies on is only in the genie install finisher (src/genie-commands/install.ts lines 2-7), not in SessionStart. In that upgrade path Claude keeps loading a stale global rule that conflicts with the new plugin-native v5 guidance, so the hook should delete marker-matched rules or invoke the cleanup instead of only stopping the copy.

Useful? React with 👍 / 👎.

Comment thread plugins/genie/.mcp.json
{
"mcpServers": {
"genie": {
"command": "genie",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use a non-PATH-dependent MCP command

On installs where genie is not on the non-interactive PATH, this static plugin MCP config registers a server that Claude cannot spawn. The existing project registration path explicitly avoids bare genie and writes process.execPath because the binary may only live under ~/.genie/bin (src/term-commands/init.ts lines 156-165, README lines 115-120), so users can have a valid install while this plugin-level server still fails. Use an absolute or shell-resolved command here, or rely on the genie init/launch generated MCP configs.

Useful? React with 👍 / 👎.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@plugins/genie/.mcp.json`:
- Around line 4-5: The MCP config is still using a PATH-dependent bare command
name instead of an absolute executable path. Update the genie MCP entry in the
manifest to use the full executable path for the command while keeping the
existing args, and make sure the plugin manifest stays consistent with the
contract enforced by registerMcpConfigs() and its tests.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 887500a0-03cd-47fc-8f5c-991041eaa20f

📥 Commits

Reviewing files that changed from the base of the PR and between 548704b and cced8b5.

⛔ Files ignored due to path filters (1)
  • plugins/genie/scripts/smart-install.js is excluded by !plugins/genie/scripts/**
📒 Files selected for processing (7)
  • .claude-plugin/marketplace.json
  • package.json
  • plugins/genie/.claude-plugin/plugin.json
  • plugins/genie/.mcp.json
  • plugins/genie/package.json
  • plugins/genie/references/review-criteria.md
  • plugins/genie/rules/genie-orchestration.md

Comment thread plugins/genie/.mcp.json
Comment on lines +4 to +5
"command": "genie",
"args": ["mcp"]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Use the absolute executable path here.

Hard-coding genie makes this config PATH-dependent and breaks the same contract that registerMcpConfigs() and its tests enforce: the MCP server should launch via an absolute executable path, not a bare name.

Suggested fix
-      "command": "genie",
+      "command": "<absolute genie path>",

As per path instructions, verify plugin manifest updates are consistent.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@plugins/genie/.mcp.json` around lines 4 - 5, The MCP config is still using a
PATH-dependent bare command name instead of an absolute executable path. Update
the genie MCP entry in the manifest to use the full executable path for the
command while keeping the existing args, and make sure the plugin manifest stays
consistent with the contract enforced by registerMcpConfigs() and its tests.

Source: Path instructions

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