This repository was archived by the owner on Jul 17, 2026. It is now read-only.
docs(adr): ADR-0006 — rhiza-cli as the Claude Code plugin home#598
Merged
Conversation
Proposes relocating the Claude Code plugin (currently in rhiza-config) into
rhiza-cli so engine logic lives once and slash commands wrap the co-located
CLI via `uvx --from "${CLAUDE_PLUGIN_ROOT}" rhiza …`. Status: Proposed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Architecture Decision Record (ADR) proposing to relocate the Claude Code plugin from rhiza-config into rhiza-cli so plugin slash commands can wrap the co-located CLI engine and avoid logic/version drift.
Changes:
- Add ADR-0006 documenting the proposed consolidation of the plugin into this repository.
- Update the ADR index to include ADR-0006.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/adr/README.md | Adds ADR-0006 to the ADR index table. |
| docs/adr/0006-rhiza-cli-as-claude-plugin.md | Introduces ADR-0006 describing the motivation, decision, rollout phases, consequences, and alternatives. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+9
to
+13
| - **`rhiza-cli`** (this repo) — the engine. A Typer application (`rhiza`) with real | ||
| domain models (`models/lock.py`, `models/template.py`, the `_git/` merge engine) | ||
| and eight commands: `init`, `sync`, `status`, `tree`, `validate`, `list`, | ||
| `uninstall`, `summarise`. It is pip/uv-installable (`project.scripts.rhiza`) and | ||
| is what `make sync` invokes inside managed repos. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Adds ADR-0006 (status: Proposed) proposing that the Claude Code plugin — currently the separate
rhiza-configrepo — be relocated intorhiza-cli, so engine logic lives once and slash commands wrap the co-located CLI.Key points:
uvx --from "${CLAUDE_PLUGIN_ROOT}" rhiza …(no separate install; guarantees version parity)./stats→rhiza stats, reusingmodels/lock.py/template.pyinstead of regex, deduped vsstatus/tree/summarise); judgement commands (/boost,/quality,/revisit) stay Markdown but delegate mechanical steps to the CLI.rhiza-configretired to a marketplace pointer/redirect.Docs-only: adds
docs/adr/0006-rhiza-cli-as-claude-plugin.mdand an index row indocs/adr/README.md.🤖 Generated with Claude Code