CLI install command fails with argument parsing errors #3

Open
opened 2025-10-19 20:19:51 +00:00 by tegwick · 0 comments
Owner

Summary

The kaizen-agentic install command fails with argument parsing errors when attempting to install agents, preventing the basic functionality of adding agents to a project.

Environment

  • kaizen-agentic version: 1.0.0
  • Python version: 3.12.3
  • Operating System: Linux (WSL2) 6.6.87.2-microsoft-standard-WSL2
  • Installation method: pipx
  • Installation path: /home/worsch/.local/bin/kaizen-agentic

Expected Behavior

The command kaizen-agentic install tddai-assistant should successfully install the tddai-assistant agent into the current project directory.

Actual Behavior

The command fails with argument parsing errors despite the help text indicating it should accept AGENTS... as arguments.

Steps to Reproduce

  1. Install kaizen-agentic via pipx
  2. Navigate to a project directory
  3. Run: kaizen-agentic install tddai-assistant

Error Output

Warning: Failed to load agent .../agent-wisdom-encouragement.md: mapping values are not allowed here
Warning: Failed to load agent .../agent-tooling-optimization.md: No YAML frontmatter found
Warning: Failed to load agent .../agent-test-maintenance.md: No YAML frontmatter found
Installing agents to: /home/worsch/markitect_project
Usage: kaizen-agentic [OPTIONS]
Try 'kaizen-agentic --help' for help.

Error: Got unexpected extra argument (tddai-assistant)

Analysis

The CLI appears to have routing issues where the install subcommand is not properly receiving its arguments. The argument parsing seems to be falling back to the main command parser instead of the install subcommand parser.

Impact

This prevents the basic installation of agents, blocking the primary workflow of the kaizen-agentic framework for existing projects.

Priority

High - blocks core functionality of the framework.

## Summary The `kaizen-agentic install` command fails with argument parsing errors when attempting to install agents, preventing the basic functionality of adding agents to a project. ## Environment - **kaizen-agentic version:** 1.0.0 - **Python version:** 3.12.3 - **Operating System:** Linux (WSL2) 6.6.87.2-microsoft-standard-WSL2 - **Installation method:** pipx - **Installation path:** /home/worsch/.local/bin/kaizen-agentic ## Expected Behavior The command `kaizen-agentic install tddai-assistant` should successfully install the tddai-assistant agent into the current project directory. ## Actual Behavior The command fails with argument parsing errors despite the help text indicating it should accept AGENTS... as arguments. ## Steps to Reproduce 1. Install kaizen-agentic via pipx 2. Navigate to a project directory 3. Run: `kaizen-agentic install tddai-assistant` ## Error Output ``` Warning: Failed to load agent .../agent-wisdom-encouragement.md: mapping values are not allowed here Warning: Failed to load agent .../agent-tooling-optimization.md: No YAML frontmatter found Warning: Failed to load agent .../agent-test-maintenance.md: No YAML frontmatter found Installing agents to: /home/worsch/markitect_project Usage: kaizen-agentic [OPTIONS] Try 'kaizen-agentic --help' for help. Error: Got unexpected extra argument (tddai-assistant) ``` ## Analysis The CLI appears to have routing issues where the install subcommand is not properly receiving its arguments. The argument parsing seems to be falling back to the main command parser instead of the install subcommand parser. ## Impact This prevents the basic installation of agents, blocking the primary workflow of the kaizen-agentic framework for existing projects. ## Priority High - blocks core functionality of the framework.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coulomb/kaizen-agentic#3