Skip to content

refactor: move CLI to top-level and clean up configs - #46

Merged
vinodmut merged 2 commits into
AgentToolkit:mainfrom
vinodmut:refactor
Feb 2, 2026
Merged

refactor: move CLI to top-level and clean up configs#46
vinodmut merged 2 commits into
AgentToolkit:mainfrom
vinodmut:refactor

Conversation

@vinodmut

@vinodmut vinodmut commented Jan 31, 2026

Copy link
Copy Markdown
Contributor
  • Move kaizen/frontend/cli to kaizen/cli
  • Update .gitignore for .claude directories and kaizen_data
  • Remove demo workdir config files (.claude/settings.local.json, .mcp.json)
  • Update pyproject.toml and tests for new CLI location

Summary by CodeRabbit

  • Documentation

    • Updated CLI usage examples and references to the new CLI entrypoint.
  • Chores

    • Switched packaged CLI entrypoint to the consolidated CLI module.
    • Removed demo environment configuration files.
    • Added new entries to the repository ignore list.
  • Tests

    • Adjusted unit tests to match the updated CLI entrypoint.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 31, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Entry point and references for the kaizen CLI moved from kaizen.frontend.cli.cli to kaizen.cli.cli. Demo-local MCP/Claude configuration files were removed. Documentation, tests, and the package script were updated; .gitignore gained entries for local/demo artifacts.

Changes

Cohort / File(s) Summary
CLI Path Migration
pyproject.toml, tests/unit/test_cli.py, README_phoenix_sync.md
Replaced references and script entry from kaizen.frontend.cli.cli to kaizen.cli.cli (project script, test imports/mocks, and README examples/systemd/cron snippets).
Demo Config Removal
demo/workdir/.claude/settings.local.json, demo/workdir/.mcp.json
Deleted demo/workdir local configuration files that contained MCP server endpoints and Claude/local permissions.
Repository Ignore & Docs
.gitignore, AGENTS.md
Added .gitignore entries (kaizen_data, demo/workdir/.claude/, .claude) and updated AGENTS.md project module list and coding standards (added "Use uv..." line).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested reviewers

  • visahak
  • gaodan-fang

Poem

🐰 I hopped through trees of code at night,

Shifted the CLI to shine its light,
Swept demo crumbs and ignored the rest,
Docs and tests now point to their nest. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'refactor: move CLI to top-level and clean up configs' directly and clearly summarizes the main changes: moving the CLI module to the top level and cleaning up configuration files.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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 and usage tips.

@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

🤖 Fix all issues with AI agents
In `@AGENTS.md`:
- Around line 67-68: Update the "Project Directory Tree" section in AGENTS.md to
reflect the CLI move by replacing any occurrences of "kaizen/frontend/cli" with
"kaizen/cli" (and adjust sibling tree entries if necessary so the visual tree
remains correct); search for the literal string "kaizen/frontend/cli" in
AGENTS.md and update it to "kaizen/cli" and verify the surrounding tree
formatting and links still render properly.

Comment thread AGENTS.md
- Move kaizen/frontend/cli to kaizen/cli
- Update .gitignore for .claude directories and kaizen_data
- Remove demo workdir config files (.claude/settings.local.json, .mcp.json)
- Update pyproject.toml and tests for new CLI location
Move cli from frontend subdirectory to kaizen top-level in the
project directory tree documentation.
@vinodmut
vinodmut merged commit 2cc9602 into AgentToolkit:main Feb 2, 2026
11 checks passed
@vinodmut
vinodmut deleted the refactor branch February 2, 2026 05:06
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