moai-adk 0.6.3__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of moai-adk might be problematic. Click here for more details.
- {moai_adk-0.6.3 → moai_adk-0.7.0}/PKG-INFO +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/pyproject.toml +1 -1
- moai_adk-0.7.0/src/moai_adk/core/config/__init__.py +13 -0
- moai_adk-0.7.0/src/moai_adk/core/config/migration.py +113 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/project/phase_executor.py +7 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/debug-helper.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/doc-syncer.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/git-manager.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/implementation-planner.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/project-manager.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/quality-gate.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/spec-builder.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/tag-agent.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/trust-checker.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/commands/alfred/0-project.md +46 -29
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/commands/alfred/1-plan.md +102 -14
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/commands/alfred/2-run.md +25 -13
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/commands/alfred/3-sync.md +34 -17
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/config.json +4 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/CLAUDE.md +1 -1
- {moai_adk-0.6.3 → moai_adk-0.7.0}/.gitignore +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/LICENSE +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/README.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/__main__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/commands/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/commands/backup.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/commands/doctor.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/commands/init.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/commands/status.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/commands/update.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/main.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/prompts/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/cli/prompts/init_prompts.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/diagnostics/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/diagnostics/slash_commands.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/git/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/git/branch.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/git/branch_manager.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/git/checkpoint.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/git/commit.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/git/event_detector.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/git/manager.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/project/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/project/backup_utils.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/project/checker.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/project/detector.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/project/initializer.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/project/validator.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/quality/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/quality/trust_checker.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/quality/validators/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/quality/validators/base_validator.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/template/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/template/backup.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/template/config.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/template/languages.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/template/merger.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/core/template/processor.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/cc-manager.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/skill-factory.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/HOOK_SCHEMA_VALIDATION.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/README.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/core/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/core/context.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/core/project.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/core/tags.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/handlers/session.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/handlers/user.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/hooks/alfred/test_hook_output.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/settings.json +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-database/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-database/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-security/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-security/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-c/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-c/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-go/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-go/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-java/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-java/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-php/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-php/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-python/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-python/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-r/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-r/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/CHECKLIST.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/METADATA.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-UPDATE-ADVISOR.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/STRUCTURE.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/WEB-RESEARCH.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/scripts/generate-structure.sh +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/scripts/validate-skill.sh +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/templates/SKILL_TEMPLATE.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/templates/examples-template.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/templates/reference-template.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-skill-factory/templates/scripts-template.sh +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.github/ISSUE_TEMPLATE/spec.yml +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.github/workflows/moai-gitflow.yml +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.github/workflows/spec-issue-sync.yml +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.gitignore +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/CLAUDE-RULES.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/CONFIG-SCHEMA.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/GITFLOW-PROTECTION-POLICY.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/SPEC-METADATA.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/config-schema.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/memory/spec-metadata.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/project/product.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/project/structure.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.moai/project/tech.md +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/utils/__init__.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/utils/banner.py +0 -0
- {moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/utils/logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: moai-adk
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: MoAI Agentic Development Kit - SPEC-First TDD with Alfred SuperAgent & Complete Skills v2.0
|
|
5
5
|
Project-URL: Homepage, https://github.com/modu-ai/moai-adk
|
|
6
6
|
Project-URL: Repository, https://github.com/modu-ai/moai-adk
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Configuration management for MoAI-ADK."""
|
|
2
|
+
|
|
3
|
+
from moai_adk.core.config.migration import (
|
|
4
|
+
get_conversation_language,
|
|
5
|
+
get_conversation_language_name,
|
|
6
|
+
migrate_config_to_nested_structure,
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
__all__ = [
|
|
10
|
+
"migrate_config_to_nested_structure",
|
|
11
|
+
"get_conversation_language",
|
|
12
|
+
"get_conversation_language_name",
|
|
13
|
+
]
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# @CODE:LANG-FIX-001:MIGRATION | SPEC: .moai/specs/SPEC-LANG-FIX-001/spec.md
|
|
2
|
+
"""Configuration migration utilities for legacy flat config structure.
|
|
3
|
+
|
|
4
|
+
Supports migration from legacy flat config.json structure to new nested language structure.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from typing import Any
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def migrate_config_to_nested_structure(config: dict[str, Any]) -> dict[str, Any]:
|
|
11
|
+
"""Migrate legacy flat config to nested language structure.
|
|
12
|
+
|
|
13
|
+
This function handles the transition from legacy flat config:
|
|
14
|
+
"conversation_language": "ko"
|
|
15
|
+
"locale": "ko"
|
|
16
|
+
|
|
17
|
+
To new nested structure:
|
|
18
|
+
"language": {
|
|
19
|
+
"conversation_language": "ko",
|
|
20
|
+
"conversation_language_name": "한국어"
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
Args:
|
|
24
|
+
config: Configuration dictionary that may have legacy structure.
|
|
25
|
+
|
|
26
|
+
Returns:
|
|
27
|
+
Configuration dictionary with nested language structure.
|
|
28
|
+
"""
|
|
29
|
+
# If config already has nested language structure, return as-is
|
|
30
|
+
if "language" in config and isinstance(config["language"], dict):
|
|
31
|
+
return config
|
|
32
|
+
|
|
33
|
+
# If config has legacy flat structure, migrate it
|
|
34
|
+
if "conversation_language" in config and "language" not in config:
|
|
35
|
+
# Extract conversation language from legacy location
|
|
36
|
+
conversation_language = config.pop("conversation_language", "en")
|
|
37
|
+
locale = config.pop("locale", None)
|
|
38
|
+
|
|
39
|
+
# Map language codes to language names
|
|
40
|
+
language_names = {
|
|
41
|
+
"en": "English",
|
|
42
|
+
"ko": "한국어",
|
|
43
|
+
"ja": "日本語",
|
|
44
|
+
"zh": "中文",
|
|
45
|
+
"es": "Español",
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
language_name = language_names.get(conversation_language, "English")
|
|
49
|
+
|
|
50
|
+
# Create new nested language structure
|
|
51
|
+
config["language"] = {
|
|
52
|
+
"conversation_language": conversation_language,
|
|
53
|
+
"conversation_language_name": language_name,
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
return config
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def get_conversation_language(config: dict[str, Any]) -> str:
|
|
60
|
+
"""Get conversation language from config with fallback handling.
|
|
61
|
+
|
|
62
|
+
Handles both legacy flat and new nested config structures.
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
config: Configuration dictionary.
|
|
66
|
+
|
|
67
|
+
Returns:
|
|
68
|
+
Language code (e.g., "ko", "en", "ja").
|
|
69
|
+
"""
|
|
70
|
+
# First, try to get from nested structure (new format)
|
|
71
|
+
language_config = config.get("language", {})
|
|
72
|
+
if isinstance(language_config, dict):
|
|
73
|
+
result = language_config.get("conversation_language")
|
|
74
|
+
if result:
|
|
75
|
+
return result
|
|
76
|
+
|
|
77
|
+
# Fall back to legacy flat structure
|
|
78
|
+
result = config.get("conversation_language")
|
|
79
|
+
if result:
|
|
80
|
+
return result
|
|
81
|
+
|
|
82
|
+
# Default to English
|
|
83
|
+
return "en"
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def get_conversation_language_name(config: dict[str, Any]) -> str:
|
|
87
|
+
"""Get conversation language name from config with fallback handling.
|
|
88
|
+
|
|
89
|
+
Handles both legacy flat and new nested config structures.
|
|
90
|
+
|
|
91
|
+
Args:
|
|
92
|
+
config: Configuration dictionary.
|
|
93
|
+
|
|
94
|
+
Returns:
|
|
95
|
+
Language name (e.g., "한국어", "English").
|
|
96
|
+
"""
|
|
97
|
+
# First, try to get from nested structure (new format)
|
|
98
|
+
language_config = config.get("language", {})
|
|
99
|
+
if isinstance(language_config, dict):
|
|
100
|
+
result = language_config.get("conversation_language_name")
|
|
101
|
+
if result:
|
|
102
|
+
return result
|
|
103
|
+
|
|
104
|
+
# If we have the language code, try to map it
|
|
105
|
+
language_code = get_conversation_language(config)
|
|
106
|
+
language_names = {
|
|
107
|
+
"en": "English",
|
|
108
|
+
"ko": "한국어",
|
|
109
|
+
"ja": "日本語",
|
|
110
|
+
"zh": "中文",
|
|
111
|
+
"es": "Español",
|
|
112
|
+
}
|
|
113
|
+
return language_names.get(language_code, "English")
|
|
@@ -142,6 +142,11 @@ class PhaseExecutor:
|
|
|
142
142
|
|
|
143
143
|
# Set template variable context (if provided)
|
|
144
144
|
if config:
|
|
145
|
+
# @TAG:LANG-FIX-001:PY-CONFIG | Read language from nested config structure
|
|
146
|
+
language_config = config.get("language", {})
|
|
147
|
+
if not isinstance(language_config, dict):
|
|
148
|
+
language_config = {}
|
|
149
|
+
|
|
145
150
|
context = {
|
|
146
151
|
"MOAI_VERSION": __version__,
|
|
147
152
|
"CREATION_TIMESTAMP": datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
|
|
@@ -151,7 +156,8 @@ class PhaseExecutor:
|
|
|
151
156
|
"PROJECT_VERSION": config.get("version", "0.1.0"),
|
|
152
157
|
"PROJECT_OWNER": config.get("author", "@user"),
|
|
153
158
|
"AUTHOR": config.get("author", "@user"),
|
|
154
|
-
"CONVERSATION_LANGUAGE":
|
|
159
|
+
"CONVERSATION_LANGUAGE": language_config.get("conversation_language", "en"),
|
|
160
|
+
"CONVERSATION_LANGUAGE_NAME": language_config.get("conversation_language_name", "English"),
|
|
155
161
|
"CODEBASE_LANGUAGE": config.get("language", "generic"),
|
|
156
162
|
}
|
|
157
163
|
processor.set_context(context)
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/debug-helper.md
RENAMED
|
@@ -6,7 +6,7 @@ model: sonnet
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Debug Helper - Integrated debugging expert
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
You are the integrated debugging expert responsible for **all errors**.
|
|
12
12
|
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/doc-syncer.md
RENAMED
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Doc Syncer - Document Management/Synchronization Expert
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
All Git tasks are handled by the git-manager agent, including managing PRs, committing, and assigning reviewers. doc-syncer is only responsible for document synchronization.
|
|
12
12
|
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/git-manager.md
RENAMED
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Git Manager - Agent dedicated to Git tasks
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
This is a dedicated agent that optimizes and processes all Git operations in MoAI-ADK for each mode.
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@ model: sonnet
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Implementation Planner - Implementation Strategist
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
You are an expert in analyzing SPECs to determine the optimal implementation strategy and library version.
|
|
12
12
|
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/project-manager.md
RENAMED
|
@@ -6,7 +6,7 @@ model: sonnet
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Project Manager - Project Manager Agent
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
You are a Senior Project Manager Agent managing successful projects.
|
|
12
12
|
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/quality-gate.md
RENAMED
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Quality Gate - Quality Verification Gate
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
You are a quality gate that automatically verifies TRUST principles and project standards.
|
|
12
12
|
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/spec-builder.md
RENAMED
|
@@ -8,7 +8,7 @@ model: sonnet
|
|
|
8
8
|
**Priority:** This guideline is **subordinate to the command guideline (`/alfred:1-plan`). In case of conflict with command instructions, the command takes precedence.
|
|
9
9
|
|
|
10
10
|
# SPEC Builder - SPEC Creation Expert
|
|
11
|
-
> Interactive prompts
|
|
11
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
12
12
|
|
|
13
13
|
You are a SPEC expert agent responsible for SPEC document creation and intelligent verification.
|
|
14
14
|
|
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# TAG System Agent - sole TAG management authority
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
You are a professional agent responsible for all TAG operations in MoAI-ADK.
|
|
12
12
|
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/tdd-implementer.md
RENAMED
|
@@ -6,7 +6,7 @@ model: sonnet
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# TDD Implementer - TDD implementation expert
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
You are a TDD expert who strictly adheres to the RED-GREEN-REFACTOR cycle and keeps track of the TAG chain.
|
|
12
12
|
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/agents/alfred/trust-checker.md
RENAMED
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Trust Checker - Integrated Quality Verification Expert
|
|
9
|
-
> Interactive prompts
|
|
9
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
10
10
|
|
|
11
11
|
You are the agent responsible for the TRUST 5 principles, code standards, and security checks.
|
|
12
12
|
|
{moai_adk-0.6.3 → moai_adk-0.7.0}/src/moai_adk/templates/.claude/commands/alfred/0-project.md
RENAMED
|
@@ -6,21 +6,21 @@ description: "Initialize project document - create product/structure/tech.md and
|
|
|
6
6
|
# - ja: "プロジェクト文書の初期化 - product/structure/tech.mdの作成と言語別最適化設定"
|
|
7
7
|
# - zh: "初始化项目文档 - 创建product/structure/tech.md并设置语言优化"
|
|
8
8
|
allowed-tools:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
- Read
|
|
10
|
+
- Write
|
|
11
|
+
- Edit
|
|
12
|
+
- MultiEdit
|
|
13
|
+
- Grep
|
|
14
|
+
- Glob
|
|
15
|
+
- TodoWrite
|
|
16
|
+
- Bash(ls:*)
|
|
17
|
+
- Bash(find:*)
|
|
18
|
+
- Bash(cat:*)
|
|
19
|
+
- Task
|
|
20
20
|
---
|
|
21
21
|
|
|
22
22
|
# 📋 MoAI-ADK Step 0: Initialize/Update Universal Language Support Project Documentation
|
|
23
|
-
> Interactive prompts
|
|
23
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
24
24
|
|
|
25
25
|
## 🎯 Command Purpose
|
|
26
26
|
|
|
@@ -267,7 +267,7 @@ The following patterns are considered "template defaults" (not merged):
|
|
|
267
267
|
- "Define your key user base"
|
|
268
268
|
- "Describe the core problem you are trying to solve"
|
|
269
269
|
- "List the strengths and differences of your project"
|
|
270
|
-
- "
|
|
270
|
+
- "MoAI-ADK", "MoAI-Agentic Development Kit", etc. Variable format
|
|
271
271
|
- Guide phrases such as "Example:", "Sample:", "Example:", etc.
|
|
272
272
|
|
|
273
273
|
**STEP 3: Extract user customization**
|
|
@@ -477,21 +477,38 @@ Alfred starts project initialization by calling the project-manager agent with t
|
|
|
477
477
|
- Approved Interview Plan: [Plan Summary]
|
|
478
478
|
|
|
479
479
|
**Execution**:
|
|
480
|
-
```
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
480
|
+
```
|
|
481
|
+
Call the Task tool:
|
|
482
|
+
- subagent_type: "project-manager"
|
|
483
|
+
- description: "Initialize project with conversation language support"
|
|
484
|
+
- prompt: """You are project-manager agent.
|
|
485
|
+
|
|
486
|
+
LANGUAGE CONFIGURATION:
|
|
487
|
+
- conversation_language: {{CONVERSATION_LANGUAGE}}
|
|
488
|
+
- language_name: {{CONVERSATION_LANGUAGE_NAME}}
|
|
489
|
+
|
|
490
|
+
PROJECT_TYPE: [new|existing]
|
|
491
|
+
DETECTED_LANGUAGES: [detected codebase languages]
|
|
492
|
+
|
|
493
|
+
CRITICAL INSTRUCTION:
|
|
494
|
+
All interviews and generated documentation MUST be in conversation_language:
|
|
495
|
+
- product.md: Generate in {{CONVERSATION_LANGUAGE}}
|
|
496
|
+
- structure.md: Generate in {{CONVERSATION_LANGUAGE}}
|
|
497
|
+
- tech.md: Generate in {{CONVERSATION_LANGUAGE}}
|
|
498
|
+
|
|
499
|
+
If conversation_language is 'ko': All narrative content in Korean
|
|
500
|
+
If conversation_language is 'ja': All narrative content in Japanese
|
|
501
|
+
If conversation_language is other: Follow the specified language
|
|
502
|
+
|
|
503
|
+
After project initialization, update .moai/config.json with nested language structure:
|
|
504
|
+
{
|
|
505
|
+
"language": {
|
|
506
|
+
"conversation_language": "{{CONVERSATION_LANGUAGE}}",
|
|
507
|
+
"conversation_language_name": "{{CONVERSATION_LANGUAGE_NAME}}"
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
TASK: Conduct project interviews and create/update product/structure/tech.md documents."""
|
|
495
512
|
```
|
|
496
513
|
|
|
497
514
|
**Outcome**: The project-manager agent conducts structured interviews entirely in the selected language and creates/updates product/structure/tech.md documents in that language.
|
|
@@ -1110,7 +1127,7 @@ Alfred: Skill("moai-alfred-template-generator")
|
|
|
1110
1127
|
✅ Project customized optimization completed!
|
|
1111
1128
|
|
|
1112
1129
|
📊 Optimization results:
|
|
1113
|
-
- **Project**:
|
|
1130
|
+
- **Project**: MoAI-ADK
|
|
1114
1131
|
- **Category**: web-api
|
|
1115
1132
|
- **Main language**: python
|
|
1116
1133
|
- **Framework**: fastapi
|
|
@@ -21,7 +21,7 @@ allowed-tools:
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
23
|
# 🏗️ MoAI-ADK Step 1: Establish a plan (Plan) - Always make a plan first and then proceed.
|
|
24
|
-
> Interactive prompts
|
|
24
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
25
25
|
|
|
26
26
|
## 🎯 Command Purpose
|
|
27
27
|
|
|
@@ -29,6 +29,22 @@ allowed-tools:
|
|
|
29
29
|
|
|
30
30
|
**Plan for**: $ARGUMENTS
|
|
31
31
|
|
|
32
|
+
## 🤖 CodeRabbit AI Integration (Local Only)
|
|
33
|
+
|
|
34
|
+
This local environment includes CodeRabbit AI review integration for SPEC documents:
|
|
35
|
+
|
|
36
|
+
**Automatic workflows:**
|
|
37
|
+
- ✅ SPEC review: CodeRabbit analyzes SPEC metadata and EARS structure
|
|
38
|
+
- ✅ GitHub Issue sync: SPEC files automatically create/update GitHub Issues
|
|
39
|
+
- ✅ Auto-approval: Draft PRs are approved when quality meets standards (80%+)
|
|
40
|
+
- ✅ SPEC quality validation: Checklist for metadata, structure, and content
|
|
41
|
+
|
|
42
|
+
**Scope:**
|
|
43
|
+
- 🏠 **Local environment**: Full CodeRabbit integration with auto-approval
|
|
44
|
+
- 📦 **Published packages**: Users get GitHub Issue sync only (no CodeRabbit)
|
|
45
|
+
|
|
46
|
+
> See `.coderabbit.yaml` for detailed review rules and SPEC validation checklist
|
|
47
|
+
|
|
32
48
|
## 💡 Planning philosophy: "Always make a plan first and then proceed."
|
|
33
49
|
|
|
34
50
|
`/alfred:1-plan` is a general-purpose command that **creates a plan**, rather than simply “creating” a SPEC document.
|
|
@@ -126,14 +142,28 @@ Invoking the Task tool (Explore agent):
|
|
|
126
142
|
Call the Task tool:
|
|
127
143
|
- subagent_type: "spec-builder"
|
|
128
144
|
- description: "Analyze the plan and establish a plan"
|
|
129
|
-
- prompt: "
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
145
|
+
- prompt: """You are spec-builder agent.
|
|
146
|
+
|
|
147
|
+
LANGUAGE CONFIGURATION:
|
|
148
|
+
- conversation_language: {{CONVERSATION_LANGUAGE}}
|
|
149
|
+
- language_name: {{CONVERSATION_LANGUAGE_NAME}}
|
|
150
|
+
|
|
151
|
+
CRITICAL INSTRUCTION:
|
|
152
|
+
All SPEC documents and analysis must be generated in conversation_language.
|
|
153
|
+
- If conversation_language is 'ko' (Korean): Generate ALL analysis, plans, and SPEC documents in Korean
|
|
154
|
+
- If conversation_language is 'ja' (Japanese): Generate ALL analysis, plans, and SPEC documents in Japanese
|
|
155
|
+
- If conversation_language is other language: Follow the specified language
|
|
156
|
+
|
|
157
|
+
TASK:
|
|
158
|
+
Please analyze the project document and suggest SPEC candidates.
|
|
159
|
+
Run in analysis mode, and must include the following:
|
|
160
|
+
1. In-depth analysis of product/structure/tech.md
|
|
161
|
+
2. Identify SPEC candidates and Determine priorities
|
|
162
|
+
3. Design EARS structure
|
|
163
|
+
4. Wait for user approval
|
|
164
|
+
|
|
165
|
+
User input: $ARGUMENTS
|
|
166
|
+
(Optional) Explore results: $EXPLORE_RESULTS"""
|
|
137
167
|
```
|
|
138
168
|
|
|
139
169
|
### Plan analysis progress
|
|
@@ -172,14 +202,30 @@ After user approval (collected via `Skill("moai-alfred-interactive-questions")`)
|
|
|
172
202
|
```
|
|
173
203
|
1. Call spec-builder (create plan):
|
|
174
204
|
- subagent_type: "spec-builder"
|
|
175
|
-
- description: "Create SPEC document"
|
|
176
|
-
|
|
177
|
-
|
|
205
|
+
- description: "Create SPEC document"
|
|
206
|
+
- prompt: """You are spec-builder agent.
|
|
207
|
+
|
|
208
|
+
LANGUAGE CONFIGURATION:
|
|
209
|
+
- conversation_language: {{CONVERSATION_LANGUAGE}}
|
|
210
|
+
- language_name: {{CONVERSATION_LANGUAGE_NAME}}
|
|
211
|
+
|
|
212
|
+
CRITICAL INSTRUCTION:
|
|
213
|
+
ALL SPEC documents MUST be generated in conversation_language:
|
|
214
|
+
- spec.md: Full document in conversation_language
|
|
215
|
+
- plan.md: Full document in conversation_language
|
|
216
|
+
- acceptance.md: Full document in conversation_language
|
|
217
|
+
|
|
218
|
+
YAML frontmatter and @TAG identifiers MUST remain in English.
|
|
219
|
+
Code examples and technical keywords can be mixed (code in English, narrative in user language).
|
|
220
|
+
|
|
221
|
+
TASK:
|
|
222
|
+
Please fill out the SPEC document according to the plan approved in STEP 1.
|
|
223
|
+
Create a specification for the EARS structure."""
|
|
178
224
|
|
|
179
225
|
2. Invoke git-manager (Git task):
|
|
180
226
|
- subagent_type: "git-manager"
|
|
181
|
-
- description: "Create Git branch/PR"
|
|
182
|
-
|
|
227
|
+
- description: "Create Git branch/PR"
|
|
228
|
+
- prompt: "After completing the plan, please create a branch and Draft PR."
|
|
183
229
|
```
|
|
184
230
|
|
|
185
231
|
## function
|
|
@@ -549,6 +595,48 @@ The `git-manager` agent does **all at once** after the SPEC is complete:
|
|
|
549
595
|
3. **Initial commit**: Commit SPEC document and create tags
|
|
550
596
|
4. **Remote Sync**: Apply synchronization strategy for each mode
|
|
551
597
|
|
|
598
|
+
### Phase 3.5: CodeRabbit SPEC Review (Local Only)
|
|
599
|
+
|
|
600
|
+
**After Draft PR is created, CodeRabbit automatically:**
|
|
601
|
+
|
|
602
|
+
```bash
|
|
603
|
+
echo "🤖 Waiting for CodeRabbit SPEC review..."
|
|
604
|
+
|
|
605
|
+
# CodeRabbit triggers automatically on Draft PR creation
|
|
606
|
+
# Review includes:
|
|
607
|
+
# - SPEC metadata validation (YAML frontmatter)
|
|
608
|
+
# - EARS structure completeness check
|
|
609
|
+
# - Acceptance criteria quality (Given-When-Then)
|
|
610
|
+
# - @TAG system traceability
|
|
611
|
+
# - Documentation clarity
|
|
612
|
+
|
|
613
|
+
# Expected time: 1-2 minutes
|
|
614
|
+
for i in {1..12}; do
|
|
615
|
+
sleep 10
|
|
616
|
+
|
|
617
|
+
# Check PR review status
|
|
618
|
+
approval=$(gh pr view $pr_num --json reviewDecision --jq '.reviewDecision')
|
|
619
|
+
|
|
620
|
+
if [ "$approval" = "APPROVED" ]; then
|
|
621
|
+
echo "✅ CodeRabbit approved SPEC PR!"
|
|
622
|
+
echo "→ Ready for development with /alfred:2-run SPEC-$spec_id"
|
|
623
|
+
break
|
|
624
|
+
fi
|
|
625
|
+
|
|
626
|
+
echo "⏳ CodeRabbit reviewing... ($i/12)"
|
|
627
|
+
done
|
|
628
|
+
```
|
|
629
|
+
|
|
630
|
+
**CodeRabbit review includes:**
|
|
631
|
+
- ✅ YAML frontmatter validation (7 required fields)
|
|
632
|
+
- ✅ HISTORY section structure and completeness
|
|
633
|
+
- ✅ EARS requirements clarity (Ubiquitous/Event/State/Optional/Constraints)
|
|
634
|
+
- ✅ Acceptance criteria quality (Given-When-Then scenarios)
|
|
635
|
+
- ✅ @TAG system compliance (SPEC/TEST/CODE/DOC traceability)
|
|
636
|
+
- ✅ Documentation and formatting
|
|
637
|
+
|
|
638
|
+
See `.coderabbit.yaml` for detailed SPEC review checklist.
|
|
639
|
+
|
|
552
640
|
## Writing Tips
|
|
553
641
|
|
|
554
642
|
- Information that is not in the product/structure/tech document is supplemented by asking a new question.
|
|
@@ -24,7 +24,7 @@ allowed-tools:
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
26
|
# ⚒️ MoAI-ADK Phase 2: Run the plan - Flexible implementation strategy
|
|
27
|
-
> Interactive prompts
|
|
27
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
28
28
|
|
|
29
29
|
## 🎯 Command Purpose
|
|
30
30
|
|
|
@@ -188,19 +188,31 @@ After user approval (gathered through `Skill("moai-alfred-interactive-questions"
|
|
|
188
188
|
**STEP 2 calls tdd-implementer using the Task tool**:
|
|
189
189
|
|
|
190
190
|
```
|
|
191
|
-
Task tool
|
|
191
|
+
Call the Task tool:
|
|
192
192
|
- subagent_type: "tdd-implementer"
|
|
193
|
-
- description: "Execute task"
|
|
194
|
-
- prompt: "
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
193
|
+
- description: "Execute task with TDD implementation"
|
|
194
|
+
- prompt: """You are tdd-implementer agent.
|
|
195
|
+
|
|
196
|
+
LANGUAGE CONFIGURATION:
|
|
197
|
+
- conversation_language: {{CONVERSATION_LANGUAGE}}
|
|
198
|
+
- language_name: {{CONVERSATION_LANGUAGE_NAME}}
|
|
199
|
+
|
|
200
|
+
CRITICAL INSTRUCTION:
|
|
201
|
+
Code and technical output MUST be in English.
|
|
202
|
+
Code comments MAY be in {{CONVERSATION_LANGUAGE}} if appropriate.
|
|
203
|
+
Test descriptions and documentation can use {{CONVERSATION_LANGUAGE}}.
|
|
204
|
+
|
|
205
|
+
TASK: Execute the task according to the plan approved in STEP 1.
|
|
206
|
+
|
|
207
|
+
For TDD scenario:
|
|
208
|
+
- Perform RED → GREEN → REFACTOR cycle
|
|
209
|
+
- Perform the following for each TAG:
|
|
210
|
+
1. RED Phase: Write a test that fails with the @TEST:ID tag
|
|
211
|
+
2. GREEN Phase: Minimal implementation with the @CODE:ID tag
|
|
212
|
+
3. REFACTOR Phase: Improve code quality
|
|
213
|
+
4. Verify TAG completion conditions and proceed to the next TAG
|
|
214
|
+
|
|
215
|
+
Execute on: $ARGUMENTS"""
|
|
204
216
|
```
|
|
205
217
|
|
|
206
218
|
## 🔗 TDD optimization for each language
|
|
@@ -5,23 +5,24 @@ description: "Document synchronization + PR Ready conversion"
|
|
|
5
5
|
# - ko: "문서 동기화 + PR Ready 전환"
|
|
6
6
|
# - ja: "ドキュメント同期 + PR Ready変換"
|
|
7
7
|
# - zh: "文档同步 + PR Ready转换"
|
|
8
|
-
argument-hint:
|
|
8
|
+
argument-hint: 'Mode target path - Mode: auto (default)|force|status|project, target
|
|
9
|
+
path: Synchronization target path'
|
|
9
10
|
allowed-tools:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- MultiEdit
|
|
15
|
+
- Bash(git:*)
|
|
16
|
+
- Bash(gh:*)
|
|
17
|
+
- Bash(python3:*)
|
|
18
|
+
- Task
|
|
19
|
+
- Grep
|
|
20
|
+
- Glob
|
|
21
|
+
- TodoWrite
|
|
21
22
|
---
|
|
22
23
|
|
|
23
24
|
# 📚 MoAI-ADK Step 3: Document Synchronization (+Optional PR Ready)
|
|
24
|
-
> Interactive prompts
|
|
25
|
+
> **Note**: Interactive prompts use `Skill("moai-alfred-interactive-questions")` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
|
|
25
26
|
|
|
26
27
|
## 🚀 START HERE
|
|
27
28
|
|
|
@@ -160,10 +161,26 @@ Invoking the Task tool (Explore agent):
|
|
|
160
161
|
|
|
161
162
|
2. doc-syncer call (synchronization plan):
|
|
162
163
|
- subagent_type: "doc-syncer"
|
|
163
|
-
- description: "Establish a document synchronization plan"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
- description: "Establish a document synchronization plan"
|
|
165
|
+
- prompt: """You are doc-syncer agent.
|
|
166
|
+
|
|
167
|
+
LANGUAGE CONFIGURATION:
|
|
168
|
+
- conversation_language: {{CONVERSATION_LANGUAGE}}
|
|
169
|
+
- language_name: {{CONVERSATION_LANGUAGE_NAME}}
|
|
170
|
+
|
|
171
|
+
CRITICAL INSTRUCTION:
|
|
172
|
+
Documentation updates MUST respect conversation_language:
|
|
173
|
+
- User-facing documentation (README, guides): {{CONVERSATION_LANGUAGE}}
|
|
174
|
+
- SPEC documents (spec.md, plan.md, acceptance.md): {{CONVERSATION_LANGUAGE}}
|
|
175
|
+
- Code comments: {{CONVERSATION_LANGUAGE}} (when not technical keywords)
|
|
176
|
+
- Technical documentation and YAML frontmatter: English
|
|
177
|
+
|
|
178
|
+
TASK:
|
|
179
|
+
Please analyze Git changes and establish a document synchronization plan.
|
|
180
|
+
Ensure all documentation updates align with the conversation_language setting.
|
|
181
|
+
|
|
182
|
+
$ARGUMENTS
|
|
183
|
+
(Optional) TAG validation results: $TAG_VALIDATION_RESULTS"""
|
|
167
184
|
```
|
|
168
185
|
|
|
169
186
|
### Synchronization analysis in progress
|