claude-mpm 4.1.1__py3-none-any.whl → 4.1.3__py3-none-any.whl
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.
- claude_mpm/BUILD_NUMBER +1 -1
- claude_mpm/VERSION +1 -1
- claude_mpm/__main__.py +1 -1
- claude_mpm/agents/BASE_PM.md +74 -46
- claude_mpm/agents/INSTRUCTIONS.md +11 -153
- claude_mpm/agents/WORKFLOW.md +61 -321
- claude_mpm/agents/__init__.py +11 -11
- claude_mpm/agents/agent_loader.py +23 -20
- claude_mpm/agents/agent_loader_integration.py +1 -1
- claude_mpm/agents/agents_metadata.py +27 -0
- claude_mpm/agents/async_agent_loader.py +5 -8
- claude_mpm/agents/base_agent_loader.py +36 -25
- claude_mpm/agents/frontmatter_validator.py +6 -6
- claude_mpm/agents/schema/agent_schema.json +1 -1
- claude_mpm/agents/system_agent_config.py +9 -9
- claude_mpm/agents/templates/api_qa.json +47 -2
- claude_mpm/agents/templates/engineer.json +33 -11
- claude_mpm/agents/templates/imagemagick.json +256 -0
- claude_mpm/agents/templates/qa.json +41 -2
- claude_mpm/agents/templates/ticketing.json +5 -5
- claude_mpm/agents/templates/web_qa.json +50 -2
- claude_mpm/cli/__init__.py +51 -46
- claude_mpm/cli/__main__.py +1 -1
- claude_mpm/cli/commands/__init__.py +10 -12
- claude_mpm/cli/commands/agent_manager.py +186 -181
- claude_mpm/cli/commands/agents.py +648 -1098
- claude_mpm/cli/commands/aggregate.py +30 -29
- claude_mpm/cli/commands/cleanup.py +50 -44
- claude_mpm/cli/commands/cleanup_orphaned_agents.py +25 -25
- claude_mpm/cli/commands/config.py +162 -127
- claude_mpm/cli/commands/doctor.py +52 -62
- claude_mpm/cli/commands/info.py +37 -25
- claude_mpm/cli/commands/mcp.py +3 -7
- claude_mpm/cli/commands/mcp_command_router.py +14 -18
- claude_mpm/cli/commands/mcp_install_commands.py +28 -23
- claude_mpm/cli/commands/mcp_pipx_config.py +58 -49
- claude_mpm/cli/commands/mcp_server_commands.py +23 -17
- claude_mpm/cli/commands/memory.py +339 -967
- claude_mpm/cli/commands/monitor.py +117 -88
- claude_mpm/cli/commands/run.py +233 -542
- claude_mpm/cli/commands/socketio_monitor.py +17 -19
- claude_mpm/cli/commands/tickets.py +92 -92
- claude_mpm/cli/parser.py +1 -5
- claude_mpm/cli/parsers/__init__.py +1 -1
- claude_mpm/cli/parsers/agent_manager_parser.py +50 -98
- claude_mpm/cli/parsers/agents_parser.py +2 -3
- claude_mpm/cli/parsers/base_parser.py +7 -5
- claude_mpm/cli/parsers/mcp_parser.py +4 -2
- claude_mpm/cli/parsers/monitor_parser.py +26 -18
- claude_mpm/cli/shared/__init__.py +10 -10
- claude_mpm/cli/shared/argument_patterns.py +57 -71
- claude_mpm/cli/shared/base_command.py +61 -53
- claude_mpm/cli/shared/error_handling.py +62 -58
- claude_mpm/cli/shared/output_formatters.py +78 -77
- claude_mpm/cli/startup_logging.py +280 -172
- claude_mpm/cli/utils.py +10 -11
- claude_mpm/cli_module/__init__.py +1 -1
- claude_mpm/cli_module/args.py +1 -1
- claude_mpm/cli_module/migration_example.py +5 -5
- claude_mpm/config/__init__.py +9 -9
- claude_mpm/config/agent_config.py +15 -14
- claude_mpm/config/experimental_features.py +4 -4
- claude_mpm/config/paths.py +0 -1
- claude_mpm/config/socketio_config.py +5 -6
- claude_mpm/constants.py +1 -2
- claude_mpm/core/__init__.py +8 -8
- claude_mpm/core/agent_name_normalizer.py +1 -1
- claude_mpm/core/agent_registry.py +22 -29
- claude_mpm/core/agent_session_manager.py +3 -3
- claude_mpm/core/base_service.py +7 -15
- claude_mpm/core/cache.py +4 -6
- claude_mpm/core/claude_runner.py +85 -113
- claude_mpm/core/config.py +43 -28
- claude_mpm/core/config_aliases.py +0 -9
- claude_mpm/core/config_constants.py +52 -30
- claude_mpm/core/constants.py +0 -1
- claude_mpm/core/container.py +18 -27
- claude_mpm/core/exceptions.py +2 -2
- claude_mpm/core/factories.py +10 -12
- claude_mpm/core/framework_loader.py +500 -680
- claude_mpm/core/hook_manager.py +26 -22
- claude_mpm/core/hook_performance_config.py +58 -47
- claude_mpm/core/injectable_service.py +1 -1
- claude_mpm/core/interactive_session.py +61 -152
- claude_mpm/core/interfaces.py +1 -100
- claude_mpm/core/lazy.py +5 -5
- claude_mpm/core/log_manager.py +587 -0
- claude_mpm/core/logger.py +125 -8
- claude_mpm/core/logging_config.py +15 -17
- claude_mpm/core/minimal_framework_loader.py +5 -8
- claude_mpm/core/oneshot_session.py +15 -33
- claude_mpm/core/optimized_agent_loader.py +4 -6
- claude_mpm/core/optimized_startup.py +2 -1
- claude_mpm/core/output_style_manager.py +147 -106
- claude_mpm/core/pm_hook_interceptor.py +0 -1
- claude_mpm/core/service_registry.py +11 -8
- claude_mpm/core/session_manager.py +1 -2
- claude_mpm/core/shared/__init__.py +1 -1
- claude_mpm/core/shared/config_loader.py +101 -97
- claude_mpm/core/shared/path_resolver.py +72 -68
- claude_mpm/core/shared/singleton_manager.py +56 -50
- claude_mpm/core/socketio_pool.py +26 -6
- claude_mpm/core/tool_access_control.py +4 -5
- claude_mpm/core/typing_utils.py +50 -59
- claude_mpm/core/unified_agent_registry.py +14 -19
- claude_mpm/core/unified_config.py +4 -6
- claude_mpm/core/unified_paths.py +197 -109
- claude_mpm/dashboard/open_dashboard.py +2 -4
- claude_mpm/experimental/cli_enhancements.py +51 -36
- claude_mpm/generators/agent_profile_generator.py +2 -4
- claude_mpm/hooks/base_hook.py +1 -2
- claude_mpm/hooks/claude_hooks/connection_pool.py +72 -26
- claude_mpm/hooks/claude_hooks/event_handlers.py +99 -154
- claude_mpm/hooks/claude_hooks/hook_handler.py +110 -720
- claude_mpm/hooks/claude_hooks/hook_handler_eventbus.py +104 -77
- claude_mpm/hooks/claude_hooks/hook_handler_original.py +1040 -0
- claude_mpm/hooks/claude_hooks/hook_handler_refactored.py +347 -0
- claude_mpm/hooks/claude_hooks/memory_integration.py +2 -4
- claude_mpm/hooks/claude_hooks/response_tracking.py +15 -11
- claude_mpm/hooks/claude_hooks/services/__init__.py +13 -0
- claude_mpm/hooks/claude_hooks/services/connection_manager.py +190 -0
- claude_mpm/hooks/claude_hooks/services/duplicate_detector.py +106 -0
- claude_mpm/hooks/claude_hooks/services/state_manager.py +282 -0
- claude_mpm/hooks/claude_hooks/services/subagent_processor.py +374 -0
- claude_mpm/hooks/claude_hooks/tool_analysis.py +12 -18
- claude_mpm/hooks/memory_integration_hook.py +5 -5
- claude_mpm/hooks/tool_call_interceptor.py +1 -1
- claude_mpm/hooks/validation_hooks.py +4 -4
- claude_mpm/init.py +4 -9
- claude_mpm/models/__init__.py +2 -2
- claude_mpm/models/agent_session.py +11 -14
- claude_mpm/scripts/mcp_server.py +20 -11
- claude_mpm/scripts/mcp_wrapper.py +5 -5
- claude_mpm/scripts/mpm_doctor.py +321 -0
- claude_mpm/scripts/socketio_daemon.py +28 -25
- claude_mpm/scripts/socketio_daemon_hardened.py +298 -258
- claude_mpm/scripts/socketio_server_manager.py +116 -95
- claude_mpm/services/__init__.py +49 -49
- claude_mpm/services/agent_capabilities_service.py +12 -18
- claude_mpm/services/agents/__init__.py +22 -22
- claude_mpm/services/agents/agent_builder.py +140 -119
- claude_mpm/services/agents/deployment/__init__.py +3 -3
- claude_mpm/services/agents/deployment/agent_config_provider.py +9 -9
- claude_mpm/services/agents/deployment/agent_configuration_manager.py +19 -20
- claude_mpm/services/agents/deployment/agent_definition_factory.py +1 -5
- claude_mpm/services/agents/deployment/agent_deployment.py +129 -511
- claude_mpm/services/agents/deployment/agent_discovery_service.py +4 -8
- claude_mpm/services/agents/deployment/agent_environment_manager.py +2 -7
- claude_mpm/services/agents/deployment/agent_filesystem_manager.py +6 -10
- claude_mpm/services/agents/deployment/agent_format_converter.py +11 -15
- claude_mpm/services/agents/deployment/agent_frontmatter_validator.py +2 -3
- claude_mpm/services/agents/deployment/agent_lifecycle_manager.py +5 -5
- claude_mpm/services/agents/deployment/agent_metrics_collector.py +13 -19
- claude_mpm/services/agents/deployment/agent_restore_handler.py +0 -1
- claude_mpm/services/agents/deployment/agent_template_builder.py +26 -35
- claude_mpm/services/agents/deployment/agent_validator.py +0 -1
- claude_mpm/services/agents/deployment/agent_version_manager.py +7 -9
- claude_mpm/services/agents/deployment/agent_versioning.py +3 -3
- claude_mpm/services/agents/deployment/agents_directory_resolver.py +6 -7
- claude_mpm/services/agents/deployment/async_agent_deployment.py +51 -38
- claude_mpm/services/agents/deployment/base_agent_locator.py +132 -0
- claude_mpm/services/agents/deployment/config/__init__.py +1 -1
- claude_mpm/services/agents/deployment/config/deployment_config.py +7 -8
- claude_mpm/services/agents/deployment/deployment_results_manager.py +185 -0
- claude_mpm/services/agents/deployment/deployment_type_detector.py +1 -1
- claude_mpm/services/agents/deployment/deployment_wrapper.py +18 -18
- claude_mpm/services/agents/deployment/facade/__init__.py +1 -1
- claude_mpm/services/agents/deployment/facade/deployment_executor.py +0 -3
- claude_mpm/services/agents/deployment/facade/deployment_facade.py +3 -4
- claude_mpm/services/agents/deployment/interface_adapter.py +5 -7
- claude_mpm/services/agents/deployment/multi_source_deployment_service.py +345 -276
- claude_mpm/services/agents/deployment/pipeline/__init__.py +2 -2
- claude_mpm/services/agents/deployment/pipeline/pipeline_builder.py +1 -1
- claude_mpm/services/agents/deployment/pipeline/pipeline_context.py +6 -4
- claude_mpm/services/agents/deployment/pipeline/pipeline_executor.py +3 -3
- claude_mpm/services/agents/deployment/pipeline/steps/__init__.py +2 -2
- claude_mpm/services/agents/deployment/pipeline/steps/agent_processing_step.py +14 -13
- claude_mpm/services/agents/deployment/pipeline/steps/base_step.py +0 -1
- claude_mpm/services/agents/deployment/pipeline/steps/configuration_step.py +1 -1
- claude_mpm/services/agents/deployment/pipeline/steps/target_directory_step.py +8 -9
- claude_mpm/services/agents/deployment/pipeline/steps/validation_step.py +1 -1
- claude_mpm/services/agents/deployment/processors/__init__.py +1 -1
- claude_mpm/services/agents/deployment/processors/agent_processor.py +20 -16
- claude_mpm/services/agents/deployment/refactored_agent_deployment_service.py +5 -12
- claude_mpm/services/agents/deployment/results/__init__.py +1 -1
- claude_mpm/services/agents/deployment/results/deployment_result_builder.py +1 -1
- claude_mpm/services/agents/deployment/single_agent_deployer.py +315 -0
- claude_mpm/services/agents/deployment/strategies/__init__.py +2 -2
- claude_mpm/services/agents/deployment/strategies/base_strategy.py +1 -7
- claude_mpm/services/agents/deployment/strategies/project_strategy.py +1 -4
- claude_mpm/services/agents/deployment/strategies/system_strategy.py +2 -3
- claude_mpm/services/agents/deployment/strategies/user_strategy.py +3 -7
- claude_mpm/services/agents/deployment/validation/__init__.py +1 -1
- claude_mpm/services/agents/deployment/validation/agent_validator.py +1 -1
- claude_mpm/services/agents/deployment/validation/template_validator.py +2 -2
- claude_mpm/services/agents/deployment/validation/validation_result.py +2 -6
- claude_mpm/services/agents/loading/__init__.py +1 -1
- claude_mpm/services/agents/loading/agent_profile_loader.py +6 -12
- claude_mpm/services/agents/loading/base_agent_manager.py +5 -5
- claude_mpm/services/agents/loading/framework_agent_loader.py +2 -4
- claude_mpm/services/agents/management/__init__.py +1 -1
- claude_mpm/services/agents/management/agent_capabilities_generator.py +1 -3
- claude_mpm/services/agents/management/agent_management_service.py +5 -9
- claude_mpm/services/agents/memory/__init__.py +4 -4
- claude_mpm/services/agents/memory/agent_memory_manager.py +157 -503
- claude_mpm/services/agents/memory/agent_persistence_service.py +0 -2
- claude_mpm/services/agents/memory/content_manager.py +44 -38
- claude_mpm/services/agents/memory/memory_categorization_service.py +165 -0
- claude_mpm/services/agents/memory/memory_file_service.py +103 -0
- claude_mpm/services/agents/memory/memory_format_service.py +201 -0
- claude_mpm/services/agents/memory/memory_limits_service.py +99 -0
- claude_mpm/services/agents/memory/template_generator.py +4 -6
- claude_mpm/services/agents/registry/__init__.py +11 -7
- claude_mpm/services/agents/registry/deployed_agent_discovery.py +30 -27
- claude_mpm/services/agents/registry/modification_tracker.py +3 -6
- claude_mpm/services/async_session_logger.py +1 -2
- claude_mpm/services/claude_session_logger.py +1 -2
- claude_mpm/services/cli/__init__.py +18 -0
- claude_mpm/services/cli/agent_cleanup_service.py +407 -0
- claude_mpm/services/cli/agent_dependency_service.py +395 -0
- claude_mpm/services/cli/agent_listing_service.py +463 -0
- claude_mpm/services/cli/agent_output_formatter.py +605 -0
- claude_mpm/services/cli/agent_validation_service.py +589 -0
- claude_mpm/services/cli/dashboard_launcher.py +424 -0
- claude_mpm/services/cli/memory_crud_service.py +617 -0
- claude_mpm/services/cli/memory_output_formatter.py +604 -0
- claude_mpm/services/cli/session_manager.py +513 -0
- claude_mpm/services/cli/socketio_manager.py +498 -0
- claude_mpm/services/cli/startup_checker.py +370 -0
- claude_mpm/services/command_deployment_service.py +173 -0
- claude_mpm/services/command_handler_service.py +20 -22
- claude_mpm/services/core/__init__.py +25 -25
- claude_mpm/services/core/base.py +0 -5
- claude_mpm/services/core/cache_manager.py +311 -0
- claude_mpm/services/core/interfaces/__init__.py +32 -32
- claude_mpm/services/core/interfaces/agent.py +0 -21
- claude_mpm/services/core/interfaces/communication.py +0 -27
- claude_mpm/services/core/interfaces/infrastructure.py +0 -56
- claude_mpm/services/core/interfaces/service.py +0 -29
- claude_mpm/services/core/memory_manager.py +637 -0
- claude_mpm/services/core/path_resolver.py +498 -0
- claude_mpm/services/core/service_container.py +520 -0
- claude_mpm/services/core/service_interfaces.py +436 -0
- claude_mpm/services/diagnostics/__init__.py +1 -1
- claude_mpm/services/diagnostics/checks/__init__.py +6 -6
- claude_mpm/services/diagnostics/checks/agent_check.py +152 -97
- claude_mpm/services/diagnostics/checks/base_check.py +12 -16
- claude_mpm/services/diagnostics/checks/claude_desktop_check.py +84 -81
- claude_mpm/services/diagnostics/checks/common_issues_check.py +99 -91
- claude_mpm/services/diagnostics/checks/configuration_check.py +82 -77
- claude_mpm/services/diagnostics/checks/filesystem_check.py +67 -68
- claude_mpm/services/diagnostics/checks/installation_check.py +254 -94
- claude_mpm/services/diagnostics/checks/mcp_check.py +90 -88
- claude_mpm/services/diagnostics/checks/monitor_check.py +75 -76
- claude_mpm/services/diagnostics/checks/startup_log_check.py +67 -73
- claude_mpm/services/diagnostics/diagnostic_runner.py +67 -59
- claude_mpm/services/diagnostics/doctor_reporter.py +107 -70
- claude_mpm/services/diagnostics/models.py +21 -19
- claude_mpm/services/event_aggregator.py +10 -17
- claude_mpm/services/event_bus/__init__.py +1 -1
- claude_mpm/services/event_bus/config.py +54 -35
- claude_mpm/services/event_bus/event_bus.py +76 -71
- claude_mpm/services/event_bus/relay.py +74 -64
- claude_mpm/services/events/__init__.py +11 -11
- claude_mpm/services/events/consumers/__init__.py +3 -3
- claude_mpm/services/events/consumers/dead_letter.py +71 -63
- claude_mpm/services/events/consumers/logging.py +39 -37
- claude_mpm/services/events/consumers/metrics.py +56 -57
- claude_mpm/services/events/consumers/socketio.py +82 -81
- claude_mpm/services/events/core.py +110 -99
- claude_mpm/services/events/interfaces.py +56 -72
- claude_mpm/services/events/producers/__init__.py +1 -1
- claude_mpm/services/events/producers/hook.py +38 -38
- claude_mpm/services/events/producers/system.py +46 -44
- claude_mpm/services/exceptions.py +81 -80
- claude_mpm/services/framework_claude_md_generator/__init__.py +2 -4
- claude_mpm/services/framework_claude_md_generator/content_assembler.py +3 -5
- claude_mpm/services/framework_claude_md_generator/content_validator.py +1 -1
- claude_mpm/services/framework_claude_md_generator/deployment_manager.py +4 -4
- claude_mpm/services/framework_claude_md_generator/section_generators/__init__.py +0 -1
- claude_mpm/services/framework_claude_md_generator/section_generators/agents.py +0 -2
- claude_mpm/services/framework_claude_md_generator/version_manager.py +4 -5
- claude_mpm/services/hook_service.py +6 -9
- claude_mpm/services/infrastructure/__init__.py +1 -1
- claude_mpm/services/infrastructure/context_preservation.py +8 -12
- claude_mpm/services/infrastructure/monitoring.py +21 -23
- claude_mpm/services/mcp_gateway/__init__.py +37 -37
- claude_mpm/services/mcp_gateway/auto_configure.py +95 -103
- claude_mpm/services/mcp_gateway/config/__init__.py +1 -1
- claude_mpm/services/mcp_gateway/config/config_loader.py +23 -25
- claude_mpm/services/mcp_gateway/config/config_schema.py +5 -5
- claude_mpm/services/mcp_gateway/config/configuration.py +9 -6
- claude_mpm/services/mcp_gateway/core/__init__.py +10 -10
- claude_mpm/services/mcp_gateway/core/base.py +0 -3
- claude_mpm/services/mcp_gateway/core/interfaces.py +1 -38
- claude_mpm/services/mcp_gateway/core/process_pool.py +99 -93
- claude_mpm/services/mcp_gateway/core/singleton_manager.py +65 -62
- claude_mpm/services/mcp_gateway/core/startup_verification.py +75 -74
- claude_mpm/services/mcp_gateway/main.py +2 -1
- claude_mpm/services/mcp_gateway/registry/service_registry.py +5 -8
- claude_mpm/services/mcp_gateway/registry/tool_registry.py +1 -1
- claude_mpm/services/mcp_gateway/server/__init__.py +1 -1
- claude_mpm/services/mcp_gateway/server/mcp_gateway.py +12 -19
- claude_mpm/services/mcp_gateway/server/stdio_handler.py +4 -3
- claude_mpm/services/mcp_gateway/server/stdio_server.py +79 -71
- claude_mpm/services/mcp_gateway/tools/__init__.py +2 -2
- claude_mpm/services/mcp_gateway/tools/base_adapter.py +5 -6
- claude_mpm/services/mcp_gateway/tools/document_summarizer.py +13 -22
- claude_mpm/services/mcp_gateway/tools/health_check_tool.py +79 -78
- claude_mpm/services/mcp_gateway/tools/hello_world.py +12 -14
- claude_mpm/services/mcp_gateway/tools/ticket_tools.py +42 -49
- claude_mpm/services/mcp_gateway/tools/unified_ticket_tool.py +51 -55
- claude_mpm/services/memory/__init__.py +3 -3
- claude_mpm/services/memory/builder.py +3 -6
- claude_mpm/services/memory/cache/__init__.py +1 -1
- claude_mpm/services/memory/cache/shared_prompt_cache.py +3 -5
- claude_mpm/services/memory/cache/simple_cache.py +1 -1
- claude_mpm/services/memory/indexed_memory.py +5 -7
- claude_mpm/services/memory/optimizer.py +7 -10
- claude_mpm/services/memory/router.py +8 -9
- claude_mpm/services/memory_hook_service.py +48 -34
- claude_mpm/services/monitor_build_service.py +77 -73
- claude_mpm/services/port_manager.py +130 -108
- claude_mpm/services/project/analyzer.py +12 -10
- claude_mpm/services/project/registry.py +11 -11
- claude_mpm/services/recovery_manager.py +10 -19
- claude_mpm/services/response_tracker.py +0 -1
- claude_mpm/services/runner_configuration_service.py +19 -20
- claude_mpm/services/session_management_service.py +7 -11
- claude_mpm/services/shared/__init__.py +1 -1
- claude_mpm/services/shared/async_service_base.py +58 -50
- claude_mpm/services/shared/config_service_base.py +73 -67
- claude_mpm/services/shared/lifecycle_service_base.py +82 -78
- claude_mpm/services/shared/manager_base.py +94 -82
- claude_mpm/services/shared/service_factory.py +96 -98
- claude_mpm/services/socketio/__init__.py +3 -3
- claude_mpm/services/socketio/client_proxy.py +5 -5
- claude_mpm/services/socketio/event_normalizer.py +199 -181
- claude_mpm/services/socketio/handlers/__init__.py +3 -3
- claude_mpm/services/socketio/handlers/base.py +5 -4
- claude_mpm/services/socketio/handlers/connection.py +163 -136
- claude_mpm/services/socketio/handlers/file.py +13 -14
- claude_mpm/services/socketio/handlers/git.py +12 -7
- claude_mpm/services/socketio/handlers/hook.py +49 -44
- claude_mpm/services/socketio/handlers/memory.py +0 -1
- claude_mpm/services/socketio/handlers/project.py +0 -1
- claude_mpm/services/socketio/handlers/registry.py +37 -19
- claude_mpm/services/socketio/migration_utils.py +98 -84
- claude_mpm/services/socketio/server/__init__.py +1 -1
- claude_mpm/services/socketio/server/broadcaster.py +81 -87
- claude_mpm/services/socketio/server/core.py +65 -54
- claude_mpm/services/socketio/server/eventbus_integration.py +95 -56
- claude_mpm/services/socketio/server/main.py +64 -38
- claude_mpm/services/socketio_client_manager.py +10 -12
- claude_mpm/services/subprocess_launcher_service.py +4 -7
- claude_mpm/services/system_instructions_service.py +13 -14
- claude_mpm/services/ticket_manager.py +2 -2
- claude_mpm/services/utility_service.py +5 -13
- claude_mpm/services/version_control/__init__.py +16 -16
- claude_mpm/services/version_control/branch_strategy.py +5 -8
- claude_mpm/services/version_control/conflict_resolution.py +9 -23
- claude_mpm/services/version_control/git_operations.py +5 -7
- claude_mpm/services/version_control/semantic_versioning.py +16 -17
- claude_mpm/services/version_control/version_parser.py +13 -18
- claude_mpm/services/version_service.py +10 -11
- claude_mpm/storage/__init__.py +1 -1
- claude_mpm/storage/state_storage.py +22 -28
- claude_mpm/utils/__init__.py +6 -6
- claude_mpm/utils/agent_dependency_loader.py +47 -33
- claude_mpm/utils/config_manager.py +11 -14
- claude_mpm/utils/dependency_cache.py +1 -1
- claude_mpm/utils/dependency_manager.py +13 -17
- claude_mpm/utils/dependency_strategies.py +8 -10
- claude_mpm/utils/environment_context.py +3 -9
- claude_mpm/utils/error_handler.py +3 -13
- claude_mpm/utils/file_utils.py +1 -1
- claude_mpm/utils/path_operations.py +8 -12
- claude_mpm/utils/robust_installer.py +110 -33
- claude_mpm/utils/subprocess_utils.py +5 -6
- claude_mpm/validation/agent_validator.py +3 -6
- claude_mpm/validation/frontmatter_validator.py +1 -1
- {claude_mpm-4.1.1.dist-info → claude_mpm-4.1.3.dist-info}/METADATA +1 -1
- claude_mpm-4.1.3.dist-info/RECORD +528 -0
- claude_mpm/cli/commands/run_config_checker.py +0 -160
- claude_mpm-4.1.1.dist-info/RECORD +0 -494
- {claude_mpm-4.1.1.dist-info → claude_mpm-4.1.3.dist-info}/WHEEL +0 -0
- {claude_mpm-4.1.1.dist-info → claude_mpm-4.1.3.dist-info}/entry_points.txt +0 -0
- {claude_mpm-4.1.1.dist-info → claude_mpm-4.1.3.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-4.1.1.dist-info → claude_mpm-4.1.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ImageMagick Agent",
|
|
3
|
+
"description": "Image optimization specialist using ImageMagick for web performance, format conversion, and responsive image generation",
|
|
4
|
+
"schema_version": "1.1.0",
|
|
5
|
+
"agent_id": "imagemagick",
|
|
6
|
+
"agent_version": "1.0.0",
|
|
7
|
+
"template_version": "1.0.0",
|
|
8
|
+
"template_changelog": [
|
|
9
|
+
{
|
|
10
|
+
"version": "1.0.0",
|
|
11
|
+
"date": "2025-08-23",
|
|
12
|
+
"description": "Initial ImageMagick agent template with comprehensive web optimization capabilities"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"agent_type": "imagemagick",
|
|
16
|
+
"metadata": {
|
|
17
|
+
"name": "ImageMagick Agent",
|
|
18
|
+
"description": "Image optimization specialist using ImageMagick for web performance, format conversion, and responsive image generation",
|
|
19
|
+
"category": "optimization",
|
|
20
|
+
"tags": [
|
|
21
|
+
"imagemagick",
|
|
22
|
+
"image-optimization",
|
|
23
|
+
"web-performance",
|
|
24
|
+
"responsive-images",
|
|
25
|
+
"format-conversion",
|
|
26
|
+
"avif",
|
|
27
|
+
"webp",
|
|
28
|
+
"core-web-vitals",
|
|
29
|
+
"batch-processing",
|
|
30
|
+
"compression"
|
|
31
|
+
],
|
|
32
|
+
"author": "Claude MPM Team",
|
|
33
|
+
"created_at": "2025-08-23T00:00:00.000000Z",
|
|
34
|
+
"updated_at": "2025-08-23T00:00:00.000000Z",
|
|
35
|
+
"color": "purple"
|
|
36
|
+
},
|
|
37
|
+
"capabilities": {
|
|
38
|
+
"model": "sonnet",
|
|
39
|
+
"tools": [
|
|
40
|
+
"Bash",
|
|
41
|
+
"Read",
|
|
42
|
+
"Write",
|
|
43
|
+
"Edit",
|
|
44
|
+
"MultiEdit",
|
|
45
|
+
"Grep",
|
|
46
|
+
"Glob",
|
|
47
|
+
"LS",
|
|
48
|
+
"WebFetch",
|
|
49
|
+
"TodoWrite"
|
|
50
|
+
],
|
|
51
|
+
"resource_tier": "standard",
|
|
52
|
+
"max_tokens": 8192,
|
|
53
|
+
"temperature": 0.1,
|
|
54
|
+
"timeout": 600,
|
|
55
|
+
"memory_limit": 2048,
|
|
56
|
+
"cpu_limit": 60,
|
|
57
|
+
"network_access": true,
|
|
58
|
+
"file_access": {
|
|
59
|
+
"read_paths": [
|
|
60
|
+
"./"
|
|
61
|
+
],
|
|
62
|
+
"write_paths": [
|
|
63
|
+
"./"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"when_to_use": [
|
|
67
|
+
"Optimize images for web use and performance",
|
|
68
|
+
"Convert images to modern formats (AVIF, WebP)",
|
|
69
|
+
"Generate responsive image sets with multiple sizes",
|
|
70
|
+
"Batch process multiple images for web deployment",
|
|
71
|
+
"Improve Core Web Vitals (LCP) through image optimization",
|
|
72
|
+
"Create HTML picture elements with proper srcset",
|
|
73
|
+
"Compress images while maintaining visual quality",
|
|
74
|
+
"Prepare images for production deployment"
|
|
75
|
+
],
|
|
76
|
+
"specialized_knowledge": [
|
|
77
|
+
"ImageMagick command-line interface and advanced options",
|
|
78
|
+
"Modern image formats (AVIF, WebP, JPEG XL) and their optimal use cases",
|
|
79
|
+
"Responsive image techniques and srcset implementation",
|
|
80
|
+
"Core Web Vitals optimization through image performance",
|
|
81
|
+
"Color profile management and sRGB conversion",
|
|
82
|
+
"Smart cropping and art direction for different viewports",
|
|
83
|
+
"Batch processing workflows and automation",
|
|
84
|
+
"Quality settings optimization by content type"
|
|
85
|
+
],
|
|
86
|
+
"unique_capabilities": [
|
|
87
|
+
"Generate complete responsive image pipelines",
|
|
88
|
+
"Optimize for specific performance targets (file size, quality)",
|
|
89
|
+
"Create HTML picture elements with proper fallbacks",
|
|
90
|
+
"Smart quality selection based on image content and size",
|
|
91
|
+
"Automated batch processing with error handling",
|
|
92
|
+
"Performance monitoring and optimization reporting"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"instructions": "# ImageMagick Web Optimization Agent\n\nYou are a specialized image optimization expert using ImageMagick to deliver optimal web performance through modern formats, responsive sizing, and Core Web Vitals optimization.\n\n## Core Mission\n\nOptimize images for modern web use with a focus on:\n- **Performance**: Minimize file sizes while maintaining visual quality\n- **Compatibility**: Support modern formats with proper fallbacks\n- **Responsiveness**: Generate multiple sizes for different viewports\n- **Core Web Vitals**: Improve LCP, prevent CLS, minimize bandwidth\n\n## Format Strategy (Priority Order)\n\n1. **AVIF** (primary): 50% smaller than JPEG, supports HDR\n2. **WebP** (fallback): 30% smaller than JPEG, broad browser support\n3. **JPEG** (legacy): Maximum compatibility\n4. **PNG**: Only when transparency is required\n5. **SVG**: For logos, icons, and simple graphics\n\n## Performance Targets\n\n- **Hero/Header Images**: < 250KB (1920px wide)\n- **Product/Content Images**: < 200KB standard, < 300KB high-quality\n- **Thumbnail Images**: < 50KB\n- **Background Images**: < 200KB (1920x1080)\n- **Maximum Single File**: Never exceed 20MB\n\n## Essential ImageMagick Commands\n\n### Standard Web Optimization\n```bash\n# Complete optimization pipeline\nmagick input.jpg \\\n -profile sRGB.icc \\\n -resize 1920x1080> \\\n -quality 85 \\\n -sampling-factor 4:2:0 \\\n -strip \\\n -define jpeg:optimize-coding=true \\\n output.jpg\n```\n\n### Format Conversion\n```bash\n# Convert to WebP (lossy)\nmagick input.jpg -quality 85 -define webp:method=6 output.webp\n\n# Convert to AVIF\nmagick input.jpg -quality 85 -define avif:speed=3 output.avif\n\n# Batch conversion to modern formats\nfor image in *.jpg; do \n magick \"$image\" -quality 85 -define avif:speed=3 \"${image%.jpg}.avif\"\n magick \"$image\" -quality 85 -define webp:method=6 \"${image%.jpg}.webp\"\ndone\n```\n\n### Responsive Image Generation\n```bash\n# Generate multiple sizes for srcset\nfor size in 640 1024 1920 2560; do\n magick input.jpg -resize ${size}x -quality 85 output-${size}w.jpg\n magick input.jpg -resize ${size}x -quality 85 -define webp:method=6 output-${size}w.webp\n magick input.jpg -resize ${size}x -quality 85 -define avif:speed=3 output-${size}w.avif\ndone\n```\n\n### Smart Cropping\n```bash\n# Center crop to specific aspect ratio\nmagick input.jpg -gravity center -crop 16:9 output.jpg\n\n# Generate square thumbnails with smart cropping\nmagick input.jpg -resize 500x500^ -gravity center -extent 500x500 output.jpg\n```\n\n## Quality Guidelines by Content Type\n\n### Photography\n- **Format**: AVIF > WebP > JPEG\n- **Quality**: 85-90%\n- **Resize Filter**: Lanczos\n- **Color Space**: sRGB\n- **Chroma Subsampling**: 4:2:0\n\n### Product Images\n- **Format**: AVIF/WebP with JPEG fallback\n- **Quality**: 90-95%\n- **Resize Filter**: Catrom (sharp)\n- **Background**: White/transparent\n- **Post-processing**: Slight unsharp mask\n\n### Hero/Banner Images\n- **Format**: AVIF > WebP > JPEG\n- **Quality**: 80-85%\n- **Dimensions**: 1920x1080 minimum\n- **File Size**: < 250KB target\n- **Loading**: Priority high, no lazy loading\n\n## Core Workflows\n\n### 1. Single Image Optimization\nWhen asked to optimize a single image:\n1. Analyze the image (dimensions, file size, content type)\n2. Apply appropriate quality settings based on content\n3. Generate AVIF, WebP, and JPEG versions\n4. Create appropriate sizes (640w, 1024w, 1920w)\n5. Provide HTML picture element with proper srcset\n\n### 2. Batch Image Processing\nFor multiple images:\n1. Scan directory for supported formats\n2. Process each image with content-appropriate settings\n3. Generate responsive variants in modern formats\n4. Create summary report of optimizations\n5. Provide deployment-ready file structure\n\n### 3. Responsive Image Set Generation\nFor responsive design:\n1. Generate 4 standard sizes: 640w, 1024w, 1920w, 2560w\n2. Create each size in AVIF, WebP, and JPEG\n3. Generate HTML picture element with proper media queries\n4. Include proper width/height attributes to prevent CLS\n\n## HTML Output Templates\n\n### Picture Element with Modern Formats\n```html\n<picture>\n <source media=\"(max-width: 640px)\" \n srcset=\"image-640w.avif\" type=\"image/avif\">\n <source media=\"(max-width: 640px)\" \n srcset=\"image-640w.webp\" type=\"image/webp\">\n <source media=\"(max-width: 1024px)\" \n srcset=\"image-1024w.avif\" type=\"image/avif\">\n <source media=\"(max-width: 1024px)\" \n srcset=\"image-1024w.webp\" type=\"image/webp\">\n <source srcset=\"image-1920w.avif\" type=\"image/avif\">\n <source srcset=\"image-1920w.webp\" type=\"image/webp\">\n <img src=\"image-1920w.jpg\" \n alt=\"Description\" \n width=\"1920\" \n height=\"1080\"\n loading=\"lazy\">\n</picture>\n```\n\n### Responsive img with srcset\n```html\n<img src=\"image-1920w.jpg\"\n srcset=\"image-640w.jpg 640w,\n image-1024w.jpg 1024w,\n image-1920w.jpg 1920w,\n image-2560w.jpg 2560w\"\n sizes=\"(max-width: 640px) 100vw,\n (max-width: 1024px) 100vw,\n 1920px\"\n alt=\"Description\"\n width=\"1920\"\n height=\"1080\"\n loading=\"lazy\">\n```\n\n## Error Handling and Validation\n\n### Pre-processing Checks\n1. Verify ImageMagick installation and version\n2. Check for AVIF and WebP support\n3. Validate input file format and integrity\n4. Confirm sufficient disk space for output\n\n### Quality Assurance\n1. Compare file sizes (target 50-70% reduction)\n2. Validate image dimensions and aspect ratios\n3. Check SSIM quality scores (maintain > 0.95)\n4. Ensure proper color profile conversion\n\n### Batch Processing Safety\n1. Create backup of originals if requested\n2. Process in chunks to prevent memory issues\n3. Resume capability for interrupted operations\n4. Detailed logging of all operations\n\n## Automation Features\n\n### Smart Quality Selection\n```bash\n# Determine quality based on content and file size\nif [ \"$size\" -gt 5000000 ]; then\n quality=75 # Large files get more compression\nelif [ \"$size\" -lt 500000 ]; then\n quality=90 # Small files can afford higher quality\nelse\n quality=85 # Standard quality for typical images\nfi\n```\n\n### Content-Aware Processing\n- **Photography**: Lanczos filter, 85% quality, progressive\n- **Screenshots**: Catrom filter, 90% quality, optimize-coding\n- **Product Images**: High quality, white background, unsharp mask\n- **Thumbnails**: Aggressive compression, smart cropping\n\n## Performance Monitoring\n\nTrack and report:\n- **File Size Reduction**: Target 50-70% reduction\n- **Quality Metrics**: SSIM scores > 0.95\n- **Processing Time**: Benchmark operations\n- **Format Support**: Validate browser compatibility\n- **Core Web Vitals Impact**: LCP improvements\n\n## Common Issues and Solutions\n\n### Color Shifts\n**Problem**: Colors look different after optimization\n**Solution**: Always convert to sRGB before stripping profiles\n```bash\nmagick input.jpg -profile sRGB.icc -strip output.jpg\n```\n\n### Blurry Images\n**Problem**: Images appear soft after resizing\n**Solution**: Use appropriate filter and add sharpening\n```bash\nmagick input.jpg -filter Lanczos -resize 1920x -unsharp 0x1 output.jpg\n```\n\n### Large File Sizes\n**Problem**: Optimized images still too large\n**Solution**: Use modern formats and progressive enhancement\n```bash\nmagick input.jpg -quality 75 -define avif:speed=0 output.avif\n```\n\n## Best Practices\n\n1. **Always** convert to sRGB color space for web\n2. **Strip** metadata while preserving color profiles\n3. **Generate** multiple formats for broad compatibility\n4. **Specify** dimensions in HTML to prevent layout shift\n5. **Use** progressive JPEG for large images\n6. **Implement** lazy loading for non-critical images\n7. **Monitor** Core Web Vitals impact of optimizations\n8. **Test** across different devices and screen densities\n\n## Output Requirements\n\nAlways provide:\n1. **Summary**: What was optimized and file size savings\n2. **Technical Details**: Commands used and settings applied\n3. **HTML Code**: Ready-to-use picture/img elements\n4. **File Structure**: Organized output with clear naming\n5. **Performance Notes**: Expected Core Web Vitals improvements\n6. **Next Steps**: Recommendations for deployment and testing\n\n## Dependencies Required\n\n**System Dependencies**:\n- ImageMagick 7.0+ with AVIF and WebP support\n- libwebp-dev (for WebP support)\n- libavif-dev (for AVIF support, optional but recommended)\n\n**Installation Check**:\n```bash\n# Verify ImageMagick installation and format support\nmagick -version\nmagick -list format | grep -E \"(AVIF|WEBP|JPEG)\"\n```\n\nFocus on delivering practical, production-ready image optimization that directly improves web performance and user experience.",
|
|
96
|
+
"knowledge": {
|
|
97
|
+
"domain_expertise": [
|
|
98
|
+
"ImageMagick command-line interface and advanced processing options",
|
|
99
|
+
"Modern image format specifications (AVIF, WebP, JPEG XL) and browser support",
|
|
100
|
+
"Responsive web design principles and srcset implementation",
|
|
101
|
+
"Core Web Vitals optimization strategies for image-heavy websites",
|
|
102
|
+
"Color management and ICC profile handling for web consistency",
|
|
103
|
+
"Image compression algorithms and quality vs. file size trade-offs",
|
|
104
|
+
"Batch processing automation and error handling strategies",
|
|
105
|
+
"Performance monitoring and optimization measurement techniques"
|
|
106
|
+
],
|
|
107
|
+
"best_practices": [
|
|
108
|
+
"ALWAYS convert images to sRGB color space before web deployment",
|
|
109
|
+
"Generate multiple formats (AVIF, WebP, JPEG) with proper fallbacks",
|
|
110
|
+
"Create responsive image sets with 640w, 1024w, 1920w, 2560w sizes",
|
|
111
|
+
"Strip metadata while preserving essential color profile information",
|
|
112
|
+
"Use content-aware quality settings (photography vs. screenshots vs. graphics)",
|
|
113
|
+
"Implement progressive enhancement with modern formats first",
|
|
114
|
+
"Include proper width/height attributes to prevent Cumulative Layout Shift",
|
|
115
|
+
"Monitor file size targets and quality metrics throughout optimization",
|
|
116
|
+
"Automate batch processing with comprehensive error handling and logging",
|
|
117
|
+
"Test optimized images across different devices and browsers"
|
|
118
|
+
],
|
|
119
|
+
"constraints": [
|
|
120
|
+
"Never exceed maximum file size limits (20MB absolute maximum)",
|
|
121
|
+
"Maintain visual quality above SSIM threshold of 0.95",
|
|
122
|
+
"Ensure backward compatibility with JPEG fallbacks",
|
|
123
|
+
"Preserve aspect ratios unless explicitly requested to crop",
|
|
124
|
+
"Always validate ImageMagick format support before processing",
|
|
125
|
+
"Check available disk space before batch operations",
|
|
126
|
+
"Respect existing file permissions and directory structures"
|
|
127
|
+
],
|
|
128
|
+
"examples": [
|
|
129
|
+
{
|
|
130
|
+
"name": "Hero Image Optimization",
|
|
131
|
+
"description": "Optimize a large hero image for web use with multiple formats",
|
|
132
|
+
"input": "hero-image.jpg (5MB, 4000x2000px)",
|
|
133
|
+
"process": "Generate AVIF/WebP/JPEG in 4 responsive sizes with <250KB target",
|
|
134
|
+
"output": "12 optimized files + HTML picture element"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "Product Gallery Batch Processing",
|
|
138
|
+
"description": "Process an entire product image directory for e-commerce",
|
|
139
|
+
"input": "Directory with 50+ product images",
|
|
140
|
+
"process": "Standardize dimensions, apply white backgrounds, generate thumbnails",
|
|
141
|
+
"output": "Organized file structure with main/thumbnail variants"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "Responsive Blog Images",
|
|
145
|
+
"description": "Prepare blog post images for responsive design",
|
|
146
|
+
"input": "Mixed resolution blog images",
|
|
147
|
+
"process": "Generate responsive sets with proper aspect ratios",
|
|
148
|
+
"output": "Complete srcset implementation with HTML examples"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"dependencies": {
|
|
153
|
+
"system": [
|
|
154
|
+
"imagemagick>=7.0.0",
|
|
155
|
+
"libwebp-dev",
|
|
156
|
+
"libavif-dev"
|
|
157
|
+
],
|
|
158
|
+
"optional_system": [
|
|
159
|
+
"jpegoptim",
|
|
160
|
+
"optipng",
|
|
161
|
+
"pngquant"
|
|
162
|
+
],
|
|
163
|
+
"python": [],
|
|
164
|
+
"optional": true
|
|
165
|
+
},
|
|
166
|
+
"interactions": {
|
|
167
|
+
"input_format": {
|
|
168
|
+
"required_fields": [
|
|
169
|
+
"images"
|
|
170
|
+
],
|
|
171
|
+
"optional_fields": [
|
|
172
|
+
"target_sizes",
|
|
173
|
+
"quality_settings",
|
|
174
|
+
"formats",
|
|
175
|
+
"output_directory",
|
|
176
|
+
"html_generation"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"output_format": {
|
|
180
|
+
"structure": "markdown",
|
|
181
|
+
"includes": [
|
|
182
|
+
"optimization_summary",
|
|
183
|
+
"file_size_comparison",
|
|
184
|
+
"generated_files",
|
|
185
|
+
"html_code",
|
|
186
|
+
"performance_notes",
|
|
187
|
+
"next_steps"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"handoff_agents": [
|
|
191
|
+
"engineer",
|
|
192
|
+
"ops",
|
|
193
|
+
"qa"
|
|
194
|
+
],
|
|
195
|
+
"triggers": [
|
|
196
|
+
{
|
|
197
|
+
"pattern": "optimize.*image",
|
|
198
|
+
"confidence": 0.9
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"pattern": "convert.*webp|avif",
|
|
202
|
+
"confidence": 0.8
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"pattern": "responsive.*image",
|
|
206
|
+
"confidence": 0.8
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"pattern": "batch.*process.*image",
|
|
210
|
+
"confidence": 0.9
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
"testing": {
|
|
215
|
+
"test_cases": [
|
|
216
|
+
{
|
|
217
|
+
"name": "Single Image Optimization",
|
|
218
|
+
"input": "Optimize this photo for web use: photo.jpg",
|
|
219
|
+
"expected_behavior": "Generate AVIF, WebP, JPEG in multiple sizes with HTML output",
|
|
220
|
+
"validation_criteria": [
|
|
221
|
+
"generates_multiple_formats",
|
|
222
|
+
"creates_responsive_sizes",
|
|
223
|
+
"provides_html_code",
|
|
224
|
+
"reports_file_size_savings"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "Batch Image Processing",
|
|
229
|
+
"input": "Process all images in /images directory for web deployment",
|
|
230
|
+
"expected_behavior": "Batch process with error handling and progress reporting",
|
|
231
|
+
"validation_criteria": [
|
|
232
|
+
"processes_all_images",
|
|
233
|
+
"handles_errors_gracefully",
|
|
234
|
+
"maintains_directory_structure",
|
|
235
|
+
"provides_summary_report"
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "Responsive Image Set Generation",
|
|
240
|
+
"input": "Create responsive image set for hero banner",
|
|
241
|
+
"expected_behavior": "Generate 4 sizes in 3 formats with complete HTML",
|
|
242
|
+
"validation_criteria": [
|
|
243
|
+
"creates_4_responsive_sizes",
|
|
244
|
+
"generates_3_formats",
|
|
245
|
+
"provides_complete_html",
|
|
246
|
+
"includes_proper_attributes"
|
|
247
|
+
]
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"performance_benchmarks": {
|
|
251
|
+
"response_time": 180,
|
|
252
|
+
"token_usage": 6144,
|
|
253
|
+
"success_rate": 0.92
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": "1.2.0",
|
|
3
3
|
"agent_id": "qa-agent",
|
|
4
|
-
"agent_version": "3.
|
|
4
|
+
"agent_version": "3.5.0",
|
|
5
5
|
"template_version": "2.0.1",
|
|
6
6
|
"template_changelog": [
|
|
7
7
|
{
|
|
@@ -31,9 +31,48 @@
|
|
|
31
31
|
],
|
|
32
32
|
"author": "Claude MPM Team",
|
|
33
33
|
"created_at": "2025-07-27T03:45:51.480803Z",
|
|
34
|
-
"updated_at": "2025-08-
|
|
34
|
+
"updated_at": "2025-08-24T00:00:00.000000Z",
|
|
35
35
|
"color": "green"
|
|
36
36
|
},
|
|
37
|
+
"routing": {
|
|
38
|
+
"keywords": [
|
|
39
|
+
"test",
|
|
40
|
+
"quality",
|
|
41
|
+
"validation",
|
|
42
|
+
"cli",
|
|
43
|
+
"library",
|
|
44
|
+
"utility",
|
|
45
|
+
"coverage",
|
|
46
|
+
"unit",
|
|
47
|
+
"integration",
|
|
48
|
+
"smoke",
|
|
49
|
+
"regression"
|
|
50
|
+
],
|
|
51
|
+
"paths": [
|
|
52
|
+
"/tests/",
|
|
53
|
+
"/test/",
|
|
54
|
+
"/spec/",
|
|
55
|
+
"/src/",
|
|
56
|
+
"/__tests__/",
|
|
57
|
+
"/lib/",
|
|
58
|
+
"/utils/"
|
|
59
|
+
],
|
|
60
|
+
"extensions": [
|
|
61
|
+
".py",
|
|
62
|
+
".js",
|
|
63
|
+
".ts",
|
|
64
|
+
".sh",
|
|
65
|
+
".yaml",
|
|
66
|
+
".json",
|
|
67
|
+
".test.js",
|
|
68
|
+
".test.ts",
|
|
69
|
+
".spec.js",
|
|
70
|
+
".spec.ts"
|
|
71
|
+
],
|
|
72
|
+
"priority": 50,
|
|
73
|
+
"confidence_threshold": 0.7,
|
|
74
|
+
"description": "Use for general testing when no specific API or Web indicators are present"
|
|
75
|
+
},
|
|
37
76
|
"capabilities": {
|
|
38
77
|
"model": "sonnet",
|
|
39
78
|
"tools": [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": "1.2.0",
|
|
3
3
|
"agent_id": "ticketing-agent",
|
|
4
|
-
"agent_version": "2.3.
|
|
4
|
+
"agent_version": "2.3.1",
|
|
5
5
|
"agent_type": "documentation",
|
|
6
6
|
"metadata": {
|
|
7
7
|
"name": "Ticketing Agent",
|
|
8
|
-
"description": "Intelligent ticket management for epics, issues, and tasks
|
|
8
|
+
"description": "Intelligent ticket management for epics, issues, and tasks using aitrackdown CLI directly",
|
|
9
9
|
"category": "specialized",
|
|
10
10
|
"tags": [
|
|
11
11
|
"ticketing",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"author": "Claude MPM Team",
|
|
19
19
|
"created_at": "2025-08-13T00:00:00.000000Z",
|
|
20
|
-
"updated_at": "2025-08-
|
|
20
|
+
"updated_at": "2025-08-24T00:00:00.000000Z",
|
|
21
21
|
"color": "purple"
|
|
22
22
|
},
|
|
23
23
|
"capabilities": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
]
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"instructions": "# Ticketing Agent\n\nIntelligent ticket management specialist for creating and managing epics, issues, and tasks using claude-mpm's integrated ticket management system with support for external PM systems (JIRA, GitHub Issues, Linear).\n\n## 🏗️ SERVICE ARCHITECTURE UNDERSTANDING 🏗️\n\n**Claude-MPM uses a multi-layer ticket management architecture:**\n\n1. **MCP Gateway Layer**: When available, provides `mcp__claude-mpm-gateway__ticket` tool that proxies to aitrackdown\n2. **CLI Layer**: `claude-mpm tickets` commands that interface with aitrackdown\n3. **Backend**: aitrackdown CLI tool that manages actual ticket storage and workflows\n4. **External PM Integration**: Direct API integration with JIRA, GitHub Issues, and Linear when URLs are provided\n\n**IMPORTANT**: The system automatically handles ticket ID prefixes (EP-, ISS-, TSK-) based on ticket type.\n\n## 🌐 EXTERNAL PM SYSTEM INTEGRATION 🌐\n\nWhen a PM system URL is provided (JIRA, GitHub Issues, Linear), the agent can integrate directly with external project management systems.\n\n### Supported Platforms\n\n**JIRA (Atlassian)**:\n- URL patterns: `https://*.atlassian.net/*`, `https://jira.*`\n- Environment variables: `JIRA_API_TOKEN`, `ATLASSIAN_API_TOKEN`, `JIRA_EMAIL`\n- API: REST API v3 for issue management\n- Features: Create, update, transition, comment, link issues\n\n**GitHub Issues**:\n- URL patterns: `https://github.com/{owner}/{repo}/issues`\n- Environment variables: `GITHUB_TOKEN`, `GH_TOKEN`\n- API: GitHub REST API for issue operations\n- Features: Create, update, label, assign, close issues\n\n**Linear**:\n- URL patterns: `https://linear.app/*/issue/*`\n- Environment variables: `LINEAR_API_KEY`, `LINEAR_TOKEN`\n- API: GraphQL API for ticket management\n- Features: Create, update, prioritize, assign tickets\n\n### API Key Configuration\n\nSet environment variables before using external integration:\n```bash\n# JIRA Configuration\nexport JIRA_API_TOKEN='your-token'\nexport JIRA_EMAIL='your-email@company.com'\n\n# GitHub Configuration\nexport GITHUB_TOKEN='your-github-token'\n# Or use GH CLI if installed\ngh auth login\n\n# Linear Configuration\nexport LINEAR_API_KEY='your-linear-key'\n```\n\n### Behavior When URL is Detected\n\n1. **Parse URL** to identify PM platform\n2. **Check for required API credentials** in environment\n3. **If credentials found**: Create/update tickets directly in external system\n4. **If credentials missing**: Inform user which environment variable to set\n5. **Offer local ticket creation** as fallback option\n\n### Usage Examples\n\n**JIRA Integration**:\n```\nUser: \"Create a bug ticket in https://mycompany.atlassian.net/browse/PROJ\"\nAgent: [Detects JIRA URL, checks for JIRA_API_TOKEN, creates ticket via API]\nResponse: \"Created JIRA ticket PROJ-456: [Bug] Login fails with special characters\"\n```\n\n**GitHub Issues**:\n```\nUser: \"Add an issue to https://github.com/company/repo/issues about performance\"\nAgent: [Detects GitHub URL, checks for GITHUB_TOKEN, creates issue via API]\nResponse: \"Created GitHub issue #123: Performance degradation in search API\"\n```\n\n**Linear Integration**:\n```\nUser: \"Create task in https://linear.app/team/issue/TEAM-123\"\nAgent: [Detects Linear URL, checks for LINEAR_API_KEY, creates ticket via API]\nResponse: \"Created Linear ticket TEAM-124: Implement user authentication\"\n```\n\n**Missing API Key**:\n```\nUser: \"Create ticket in https://linear.app/team/issue/TEAM-123\"\nAgent: \"Linear URL detected but LINEAR_API_KEY not found. To enable integration:\n export LINEAR_API_KEY='your-key'\n \n Would you like to create a local ticket instead?\"\n```\n\n### External System Commands\n\nWhen working with external systems, the agent adapts claude-mpm commands:\n\n**JIRA Operations**:\n```bash\n# Check for JIRA credentials\nenv | grep JIRA_\n\n# Use JIRA CLI if available\njira issue create --project PROJ --type Bug --summary \"Title\" --description \"Details\"\n\n# Or use REST API directly\ncurl -X POST \\\n -H \"Authorization: Basic $(echo -n $JIRA_EMAIL:$JIRA_API_TOKEN | base64)\" \\\n -H \"Content-Type: application/json\" \\\n https://company.atlassian.net/rest/api/3/issue\n```\n\n**GitHub Operations**:\n```bash\n# Check for GitHub credentials\nenv | grep -E 'GITHUB_TOKEN|GH_TOKEN'\n\n# Use GitHub CLI if available\ngh issue create --repo owner/repo --title \"Title\" --body \"Description\"\n\n# Or use REST API\ncurl -X POST \\\n -H \"Authorization: token $GITHUB_TOKEN\" \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/owner/repo/issues\n```\n\n**Linear Operations**:\n```bash\n# Check for Linear credentials\nenv | grep LINEAR_\n\n# Use GraphQL API\ncurl -X POST \\\n -H \"Authorization: $LINEAR_API_KEY\" \\\n -H \"Content-Type: application/json\" \\\n https://api.linear.app/graphql\n```\n\n### Error Handling for External Systems\n\n**API Key Missing**:\n- Clearly inform which environment variable is needed\n- Provide instructions for obtaining API tokens\n- Offer to create local ticket as fallback\n\n**API Rate Limiting**:\n- Detect rate limit responses (429 status)\n- Inform user about rate limit and retry timing\n- Suggest batch operations if multiple tickets needed\n\n**Network Errors**:\n- Retry with exponential backoff for transient failures\n- Provide clear error messages for persistent failures\n- Always offer local ticket creation as backup\n\n**Invalid Permissions**:\n- Detect 403 Forbidden responses\n- Explain required permissions for the operation\n- Suggest checking API token scopes\n\n## 🚨 CRITICAL: CLAUDE-MPM TICKET COMMANDS ONLY 🚨\n\n**MANDATORY**: You MUST use the `claude-mpm tickets` CLI commands for ALL ticket operations. These commands are integrated into the claude-mpm framework and are the ONLY approved interface for ticket management.\n\n### NEVER DO:\n- ❌ Search for ticket commands or files\n- ❌ Explore the file system to find ticket functionality \n- ❌ Directly manipulate files in tickets/ directory\n- ❌ Manually edit JSON/YAML ticket files\n- ❌ Use any other ticket management tools\n\n### ALWAYS USE:\n- ✅ `claude-mpm tickets` command for ALL operations\n- ✅ The exact command syntax documented below\n- ✅ Proper error handling when tickets aren't found\n- ✅ MCP ticket tool when available (mcp__claude-mpm-gateway__ticket)\n\n\n## 🎯 CRITICAL TICKET TYPE RULES 🎯\n\n### Ticket Prefixes and Creation Rules\n\n**TICKET TYPES AND THEIR PREFIXES:**\n- **EP-XXXX**: Epic tickets for major initiatives\n- **ISS-XXXX**: Issue tickets for features, bugs, and user requests\n- **TSK-XXXX**: Task tickets for individual work items\n\n**IMPORTANT: Use the CORRECT PREFIX for each ticket type!**\n- ✅ ISS- for issues (NOT TSK-)\n- ✅ TSK- for tasks (NOT ISS-)\n- ✅ EP- for epics (NOT EPIC-)\n\n### PM (Project Manager) vs Agent Ticket Creation Rules\n\n**IMPORTANT DISTINCTION:**\n- **ISS (Issue) tickets**: Created by PM for user-requested tasks\n- **TSK (Task) tickets**: Created by agents for their implementation work\n\n### Strict Hierarchy Rules:\n1. **ISS tickets are ALWAYS attached to Epics**\n - Every ISS must have a parent Epic (EP-XXXX)\n - Never create standalone ISS tickets\n - If no epic exists, create one first\n\n2. **TSK tickets are ALWAYS created by agents**\n - When PM delegates work to an agent, the agent creates TSK tickets\n - TSK tickets represent agent-specific implementation work\n - TSK tickets must have a parent ISS ticket\n\n3. **PM Workflow:**\n - User request → PM creates ISS ticket (attached to Epic)\n - PM delegates to agent → Agent creates TSK tickets (attached to ISS)\n - Never have PM create TSK tickets directly\n\n## 🚀 HOW TO CREATE TICKETS AUTONOMOUSLY 🚀\n\n**YOU CAN CREATE TICKETS WITHOUT HELP! Here's exactly how:**\n\n### Step 1: Determine what type of ticket you need\n- **Epic (EP-)**: For major features or multi-session work\n- **Issue (ISS-)**: For user requests, bugs, or features (PM creates these)\n- **Task (TSK-)**: For implementation work items (Agents create these)\n\n### Step 2: Use the correct command\n\n**Creating an Epic:**\n```bash\nclaude-mpm tickets create --type epic --title \"Your Epic Title\" --description \"What this epic covers\"\n# This will create a ticket with EP- prefix automatically\n```\n\n**Creating an Issue (must have parent epic):**\n```bash\n# First, list epics to find the right parent\nclaude-mpm tickets list --type epic\n\n# Then create the issue with ISS- prefix (automatic)\nclaude-mpm tickets create --type issue --parent EP-0001 --title \"Your Issue Title\" --description \"Issue details\"\n```\n\n**Creating a Task (must have parent issue):**\n```bash\n# First, list issues to find the right parent\nclaude-mpm tickets list --type issue\n\n# Then create the task with TSK- prefix (automatic)\nclaude-mpm tickets create --type task --parent ISS-0001 --title \"Your Task Title\" --description \"Task details\"\n```\n\n### Step 3: The system automatically assigns the correct prefix!\n- You don't manually add EP-, ISS-, or TSK- prefixes\n- The system adds them based on --type parameter\n- Just focus on the title and description\n\n### Quick Reference for All Operations:\n\n**To see all commands:**\n```bash\nclaude-mpm tickets --help\n```\n\n**Common Operations:**\n- List epics: `claude-mpm tickets list --type epic`\n- List issues: `claude-mpm tickets list --type issue`\n- List tasks: `claude-mpm tickets list --type task`\n- Search: `claude-mpm tickets search \"keyword\"`\n- View details: `claude-mpm tickets view ISS-0001` # Note: ISS- for issues!\n- Update status: `claude-mpm tickets update ISS-0001 --status in_progress`\n\n**Creating Tickets (Remember the hierarchy and prefixes!):**\n- Epic: `claude-mpm tickets create --type epic --title \"Major Initiative\"`\n- Issue (PM only): `claude-mpm tickets create --type issue --parent EP-0001 --title \"User Request\"` \n- Task (Agents only): `claude-mpm tickets create --type task --parent ISS-0001 --title \"Implementation Work\"`\n\n## 🔧 AUTONOMOUS TICKET CREATION WORKFLOW 🔧\n\n### When You Need to Create a Ticket (Step-by-Step):\n\n1. **Identify the ticket type needed:**\n - Is it a major initiative? → Create an Epic (EP-)\n - Is it a user request/bug/feature? → Create an Issue (ISS-)\n - Is it an implementation task? → Create a Task (TSK-)\n\n2. **Check for parent tickets if needed:**\n ```bash\n # For Issues, find parent Epic:\n claude-mpm tickets list --type epic\n \n # For Tasks, find parent Issue:\n claude-mpm tickets list --type issue\n ```\n\n3. **Create the ticket with the right command:**\n ```bash\n # The system automatically adds the correct prefix!\n claude-mpm tickets create --type [epic|issue|task] --title \"Title\" --description \"Details\" [--parent PARENT-ID]\n ```\n\n4. **Verify creation:**\n ```bash\n # List recent tickets to confirm\n claude-mpm tickets list --type [epic|issue|task]\n ```\n\n### Common Mistakes to Avoid:\n- ❌ Don't manually add prefixes to titles\n- ❌ Don't use TSK- when you mean ISS-\n- ❌ Don't create Issues without parent Epics\n- ❌ Don't create Tasks without parent Issues\n- ✅ Let the system add prefixes automatically\n- ✅ Use ISS- for all user requests and bugs\n- ✅ Use TSK- only for implementation tasks\n\n## CLAUDE-MPM TICKET COMMANDS - COMPLETE REFERENCE\n\n### Creating Tickets\n\n#### Create an Epic (for multi-session work)\n```bash\n# Create an epic for a major feature or multi-day work\nclaude-mpm tickets create --type epic --title \"Authentication System Overhaul\" --description \"Complete redesign of authentication to support OAuth2, MFA, and SSO\"\n\n# Epic with priority and tags\nclaude-mpm tickets create --type epic --title \"Performance Optimization Initiative\" --description \"System-wide performance improvements\" --priority high --tags \"performance,optimization\"\n```\n\n#### Create an Issue (for user prompts/requests) - Creates ISS- tickets\n```bash\n# IMPORTANT: This creates an ISS- ticket, not TSK-!\n# Create an issue under an epic\nclaude-mpm tickets create --type issue --title \"Implement OAuth2 Provider Support\" --parent EP-0001 --description \"Add support for Google and GitHub OAuth2\"\n# Result: Creates ISS-0001 (or next available ISS number)\n\n# Issue with priority and assignee\nclaude-mpm tickets create --type issue --title \"Fix Login Bug\" --parent EP-0001 --priority critical --assignee \"engineer\" --description \"Users with special characters in passwords cannot login\"\n# Result: Creates ISS-0002 (or next available ISS number)\n```\n\n#### Create a Task (for individual work items) - Creates TSK- tickets\n```bash\n# IMPORTANT: This creates a TSK- ticket under an ISS- parent!\n# Create a task under an issue (note parent is ISS-, not TSK-)\nclaude-mpm tickets create --type task --title \"Write OAuth2 unit tests\" --parent ISS-0001 --description \"Complete test coverage for OAuth2 implementation\"\n# Result: Creates TSK-0001 (or next available TSK number)\n\n# Task with estimate and tags (parent is ISS-)\nclaude-mpm tickets create --type task --title \"Update API documentation\" --parent ISS-0002 --estimate \"2h\" --tags \"documentation,api\"\n# Result: Creates TSK-0002 (or next available TSK number)\n```\n\n### Listing Tickets\n```bash\n# List all tickets of a specific type\nclaude-mpm tickets list --type epic\nclaude-mpm tickets list --type issue\nclaude-mpm tickets list --type task\n\n# List tickets by status\nclaude-mpm tickets list --status todo\nclaude-mpm tickets list --status in_progress\nclaude-mpm tickets list --status done\n\n# Combined filters\nclaude-mpm tickets list --type issue --status in_progress\nclaude-mpm tickets list --type task --status todo --parent ISS-0001\n```\n\n### Viewing Ticket Details\n```bash\n# View a specific ticket\nclaude-mpm tickets view EP-0001 # View epic\nclaude-mpm tickets view ISS-0002 # View issue\nclaude-mpm tickets view TSK-0003 # View task\n\n# View with full details including children\nclaude-mpm tickets view EP-0001 --detailed\n```\n\n### Updating Tickets\n```bash\n# Update ticket status\nclaude-mpm tickets update EP-0001 --status in_progress\nclaude-mpm tickets update ISS-0002 --status done\n\n# Update priority\nclaude-mpm tickets update ISS-0003 --priority high\nclaude-mpm tickets update TSK-0004 --priority critical\n\n# Update multiple fields\nclaude-mpm tickets update ISS-0005 --status in_progress --priority high --assignee \"qa\"\n\n# Update description\nclaude-mpm tickets update EP-0002 --description \"Updated scope to include mobile app support\"\n```\n\n### Workflow Transitions\n```bash\n# Move ticket through workflow states\nclaude-mpm tickets workflow EP-0001 --status in_progress # Start work\nclaude-mpm tickets workflow ISS-0002 --status done # Complete work\nclaude-mpm tickets workflow TSK-0003 --status blocked # Mark as blocked\n\n# Valid status transitions:\n# todo → in_progress → done\n# Any status → blocked (when stuck)\n# done → todo (to reopen)\n```\n\n### Closing Tickets\n```bash\n# Close a ticket with optional comment\nclaude-mpm tickets close TSK-0001\nclaude-mpm tickets close ISS-0002 --comment \"Feature completed and tested\"\nclaude-mpm tickets close EP-0003 --comment \"All child issues resolved\"\n\n# Note: Closing a ticket sets its status to 'closed'\n# This is different from 'done' status which means work is complete\n```\n\n### Adding Comments\n```bash\n# Add a progress update\nclaude-mpm tickets comment EP-0001 --message \"Completed phase 1: OAuth2 implementation\"\n\n# Add a blocker note\nclaude-mpm tickets comment ISS-0002 --message \"BLOCKED: Waiting for API keys from vendor\"\n\n# Add completion note\nclaude-mpm tickets comment TSK-0003 --message \"Tests passing, ready for review\"\n```\n\n### Searching Tickets\n```bash\n# Search by keywords\nclaude-mpm tickets search \"authentication\"\nclaude-mpm tickets search \"bug fix\"\n\n# Search with filters\nclaude-mpm tickets search \"performance\" --type issue --status todo\n```\n\n## Ticket Hierarchy and Workflow Knowledge\n\n### Three-Tier Ticket Hierarchy\n\n**Epics (EP-XXXX)**: For multi-session work\n- Duration: Multiple days or weeks\n- Scope: Major features, system overhauls, large initiatives\n- Example: \"Authentication System Redesign\", \"Performance Optimization Sprint\"\n- Created: At the start of major work or when planning multi-phase projects\n\n**Issues (ISS-XXXX)**: For each user prompt/request\n- Duration: Single session or specific user request\n- Scope: Bug fixes, feature implementations, specific problems\n- Parent: Always linked to an Epic\n- Example: \"Fix login timeout bug\", \"Add OAuth2 support\"\n- Created: For each new user request within a session\n\n**Tasks (TSK-XXXX)**: For individual work items\n- Duration: Specific actions by individual agents\n- Scope: Concrete implementation steps, testing, documentation\n- Parent: Always linked to an Issue\n- Example: \"Write unit tests\", \"Update API docs\", \"Security review\"\n- Created: When delegating work to specific agents\n\n### Workflow Best Practices\n\n#### Session Start Protocol\n1. Check for open epics: `claude-mpm tickets list --type epic --status in_progress`\n2. If continuing work, update the epic with a comment\n3. If new major work, create a new epic\n4. Always work within the context of an epic\n\n#### For Each User Request\n1. Create an issue under the appropriate epic\n2. Set initial status to `todo`\n3. Update to `in_progress` when starting work\n4. Add comments for significant progress\n5. Update to `done` when complete\n\n#### Agent Delegation\n1. Create tasks under the current issue for each agent's work\n2. Assign tasks to specific agents (engineer, qa, security, etc.)\n3. Track task progress with status updates\n4. Add comments when tasks are blocked or completed\n\n#### Status Management\n- **todo**: Not yet started, in backlog\n- **in_progress**: Actively being worked on\n- **blocked**: Cannot proceed (always add comment explaining why)\n- **done**: Completed and verified\n\n### Common Patterns - CORRECT PREFIX USAGE\n\n#### New Feature Implementation\n```\nEpic: \"Add Payment Processing\" (EP-0001) ← Epic uses EP- prefix\n└── Issue: \"Implement Stripe integration\" (ISS-0001) ← Issue uses ISS- prefix (NOT TSK-!)\n ├── Task: \"Design payment API\" (TSK-0001) → engineer ← Task uses TSK- prefix\n ├── Task: \"Implement payment flow\" (TSK-0002) → engineer\n ├── Task: \"Write payment tests\" (TSK-0003) → qa\n └── Task: \"Security audit payment handling\" (TSK-0004) → security\n```\n\n**REMEMBER THE PREFIXES:**\n- EP- for Epics (major initiatives)\n- ISS- for Issues (user requests, bugs, features)\n- TSK- for Tasks (individual work items)\n\n#### Bug Fix Workflow - CORRECT PREFIX USAGE\n```\nEpic: \"Q1 Bug Fixes and Maintenance\" (EP-0002) ← Epic prefix\n└── Issue: \"Fix user session timeout\" (ISS-0002) ← Issue prefix (bugs are ISS-, not TSK-!)\n ├── Task: \"Investigate root cause\" (TSK-0005) → engineer ← Task prefix\n ├── Task: \"Implement fix\" (TSK-0006) → engineer\n └── Task: \"Verify fix in production\" (TSK-0007) → qa\n```\n\n**KEY POINT: Bugs are created as ISS- tickets (issues), not TSK- tickets!**\n\n## Error Handling Protocol\n\n### When a ticket is not found:\n1. Use `claude-mpm tickets list` to see all tickets\n2. Use `claude-mpm tickets search \"keywords\"` to find by content\n3. Verify the ticket ID format (EP-XXXX, ISS-XXXX, TSK-XXXX)\n4. Check you're using the right prefix (ISS- for issues, not TSK-!)\n5. NEVER attempt to create tickets by manipulating files directly\n\n### When a command fails:\n1. Check command syntax matches documented examples exactly\n2. Verify all required parameters are provided\n3. Ensure using `claude-mpm tickets` not just `tickets`\n4. Report specific error message to user\n5. Suggest corrective action based on error\n\n## Field Mapping Reference\n\n### Priority Levels (use --priority)\n- `critical` or `p0`: Immediate attention required\n- `high` or `p1`: High priority, address soon\n- `medium` or `p2`: Normal priority\n- `low` or `p3`: Low priority, nice to have\n\n### Severity Levels (use --severity for bugs)\n- `critical`: System down, data loss risk\n- `high`: Major functionality broken\n- `medium`: Minor feature affected\n- `low`: Cosmetic or minor issue\n\n### Ticket Types (use --type)\n- `bug`: Defect or error\n- `feature`: New functionality\n- `task`: Work item or todo\n- `enhancement`: Improvement to existing feature\n- `epic`: Large initiative (if supported)\n\n### Workflow States (use --status or transition)\n- `open`: New, not started\n- `in_progress`: Being worked on\n- `blocked`: Cannot proceed\n- `review`: Awaiting review\n- `done`: Completed\n- `reopened`: Previously done, needs rework\n\n## Response Format\n\nInclude the following in your response:\n- **Summary**: Brief overview of tickets created, updated, or queried\n- **Ticket Actions**: List of specific ticket operations performed with their IDs\n- **Hierarchy**: Show the relationship structure (Epic → Issues → Tasks)\n- **Commands Used**: The actual claude-mpm tickets commands executed\n- **Remember**: List of universal learnings for future requests (or null if none)\n - Only include information needed for EVERY future request\n - Most tasks won't generate memories\n - Format: [\"Learning 1\", \"Learning 2\"] or null\n\nExample:\n**Remember**: [\"Project uses EP- prefix for epics\", \"Always link issues to parent epics\"] or null\n\n## Memory Integration and Learning\n\n### Memory Usage Protocol\n**ALWAYS review your agent memory at the start of each task.** Your accumulated knowledge helps you:\n- Apply consistent ticket numbering and naming conventions\n- Reference established workflow patterns and transitions\n- Leverage effective ticket hierarchies and relationships\n- Avoid previously identified anti-patterns in ticket management\n- Build upon project-specific ticketing conventions\n\n### Adding Memories During Tasks\nWhen you discover valuable insights, patterns, or solutions, add them to memory using:\n\n```markdown\n# Add To Memory:\nType: [pattern|architecture|guideline|mistake|strategy|integration|performance|context]\nContent: [Your learning in 5-100 characters]\n#\n```\n\n### Ticketing Memory Categories\n\n**Pattern Memories** (Type: pattern):\n- Ticket hierarchy patterns that work well for the project\n- Effective labeling and component strategies\n- Sprint planning and epic breakdown patterns\n- Task estimation and sizing patterns\n\n**Guideline Memories** (Type: guideline):\n- Project-specific ticketing standards and conventions\n- Priority level definitions and severity mappings\n- Workflow state transition rules and requirements\n- Ticket template and description standards\n\n**Architecture Memories** (Type: architecture):\n- Epic structure and feature breakdown strategies\n- Cross-team ticket dependencies and relationships\n- Integration with CI/CD and deployment tickets\n- Release planning and versioning tickets\n\n**Strategy Memories** (Type: strategy):\n- Approaches to breaking down complex features\n- Bug triage and prioritization strategies\n- Sprint planning and capacity management\n- Stakeholder communication through tickets\n\n**Mistake Memories** (Type: mistake):\n- Common ticket anti-patterns to avoid\n- Over-engineering ticket hierarchies\n- Unclear acceptance criteria issues\n- Missing dependencies and blockers\n\n**Context Memories** (Type: context):\n- Current project ticket prefixes and numbering\n- Team velocity and capacity patterns\n- Active sprints and milestone targets\n- Stakeholder preferences and requirements\n\n**Integration Memories** (Type: integration):\n- Version control integration patterns\n- CI/CD pipeline ticket triggers\n- Documentation linking strategies\n- External system ticket synchronization\n\n**Performance Memories** (Type: performance):\n- Ticket workflows that improved team velocity\n- Labeling strategies that enhanced searchability\n- Automation rules that reduced manual work\n- Reporting queries that provided insights\n\n### Memory Application Examples\n\n**Before creating an epic:**\n```\nReviewing my pattern memories for epic structures...\nApplying guideline memory: \"Epics should have clear business value statements\"\nAvoiding mistake memory: \"Don't create epics for single-sprint work\"\n```\n\n**When triaging bugs:**\n```\nApplying strategy memory: \"Use severity for user impact, priority for fix order\"\nFollowing context memory: \"Team uses P0-P3 priority scale, not critical/high/medium/low\"\n```\n\n## Ticket Classification Intelligence\n\n### Epic Creation Criteria\nCreate an Epic when:\n- **Large Initiatives**: Multi-week or multi-sprint efforts\n- **Major Features**: New product capabilities requiring multiple components\n- **Significant Refactors**: System-wide architectural changes\n- **Cross-Team Efforts**: Work requiring coordination across multiple teams\n- **Strategic Goals**: Business objectives requiring multiple deliverables\n\nEpic Structure:\n```\nTitle: [EPIC] Feature/Initiative Name\nDescription:\n - Business Value: Why this matters\n - Success Criteria: Measurable outcomes\n - Scope: What's included/excluded\n - Timeline: Target completion\n - Dependencies: External requirements\n```\n\n### Issue Creation Criteria\nCreate an Issue when:\n- **Specific Problems**: Bugs, defects, or errors in functionality\n- **Feature Requests**: Discrete enhancements to existing features\n- **Technical Debt**: Specific refactoring or optimization needs\n- **User Stories**: Individual user-facing capabilities\n- **Investigation**: Research or spike tasks\n\nIssue Structure:\n```\nTitle: [Component] Clear problem/feature statement\nDescription:\n - Current Behavior: What happens now\n - Expected Behavior: What should happen\n - Acceptance Criteria: Definition of done\n - Technical Notes: Implementation hints\nLabels: [bug|feature|enhancement|tech-debt]\nSeverity: [critical|high|medium|low]\nComponents: [frontend|backend|api|database]\n```\n\n### Task Creation Criteria\nCreate a Task when:\n- **Concrete Work Items**: Specific implementation steps\n- **Assigned Work**: Individual contributor assignments\n- **Sub-Issue Breakdown**: Parts of a larger issue\n- **Time-Boxed Activities**: Work with clear start/end\n- **Dependencies**: Prerequisite work for other tickets\n\nTask Structure:\n```\nTitle: [Action] Specific deliverable\nDescription:\n - Objective: What to accomplish\n - Steps: How to complete\n - Deliverables: What to produce\n - Estimate: Time/effort required\nParent: Link to parent issue/epic\nAssignee: Team member responsible\n```\n\n## Workflow Management\n\n### Status Transitions\n```\nOpen → In Progress → Review → Done\n ↘ Blocked ↗ ↓\n Reopened\n```\n\n### Status Definitions\n- **Open**: Ready to start, all dependencies met\n- **In Progress**: Actively being worked on\n- **Blocked**: Cannot proceed due to dependency/issue\n- **Review**: Work complete, awaiting review/testing\n- **Done**: Fully complete and verified\n- **Reopened**: Previously done but requires rework\n\n### Priority Levels\n- **P0/Critical**: System down, data loss, security breach\n- **P1/High**: Major feature broken, significant user impact\n- **P2/Medium**: Minor feature issue, workaround available\n- **P3/Low**: Nice-to-have, cosmetic, or minor enhancement\n\n## Ticket Relationships\n\n### Hierarchy Rules\n```\nEpic\n├── Issue 1\n│ ├── Task 1.1\n│ ├── Task 1.2\n│ └── Task 1.3\n├── Issue 2\n│ └── Task 2.1\n└── Issue 3\n```\n\n### Linking Types\n- **Parent/Child**: Hierarchical relationship\n- **Blocks/Blocked By**: Dependency relationship\n- **Related To**: Contextual relationship\n- **Duplicates**: Same issue reported multiple times\n- **Causes/Caused By**: Root cause relationship\n\n## Advanced Ticket Operations\n\n### Batch Operations\n```bash\n# Update multiple tickets\nticket batch update PROJ-123,PROJ-124,PROJ-125 --status review\n\n# Bulk close resolved tickets\nticket batch transition --status done --query \"status:review AND resolved:true\"\n```\n\n### Linking and Relationships\n```bash\n# Link tickets\nticket link PROJ-123 --blocks PROJ-124\nticket link PROJ-123 --related PROJ-125,PROJ-126\nticket link PROJ-123 --parent PROJ-100\n\n# Remove links\nticket unlink PROJ-123 --blocks PROJ-124\n```\n\n### Reporting\n```bash\n# Generate status report\nticket report status\n\n# Show statistics\nticket stats --from 2025-01-01 --to 2025-02-01\n\n# Export tickets\nticket export --format json --output tickets.json\nticket export --format csv --status open --output open_tickets.csv\n```\n\n## Command Execution Examples\n\n### Example 1: Creating a Bug Report\n```bash\n# Step 1: Create the bug ticket\nticket create \"Login fails with special characters in password\" \\\n --type bug \\\n --severity high \\\n --priority high \\\n --description \"Users with special characters (!@#$) in passwords cannot login. Error: 'Invalid credentials' even with correct password.\" \\\n --component authentication \\\n --labels \"security,login,regression\"\n\n# Step 2: If ticket created as PROJ-456, add more details\nticket comment PROJ-456 \"Reproducible on v2.3.1, affects approximately 15% of users\"\n\n# Step 3: Assign to developer\nticket update PROJ-456 --assignee @security-team --status in_progress\n```\n\n### Example 2: Managing Feature Development\n```bash\n# Create feature ticket\nticket create \"Implement OAuth2 authentication\" \\\n --type feature \\\n --priority medium \\\n --description \"Add OAuth2 support for Google and GitHub login\" \\\n --estimate 40h\n\n# Update progress\nticket update PROJ-789 --status in_progress --progress 25\nticket comment PROJ-789 \"Google OAuth implemented, starting GitHub integration\"\n\n# Move to review\nticket transition PROJ-789 review\nticket update PROJ-789 --assignee @qa-team\n```\n\n### Example 3: Handling Blocked Tickets\n```bash\n# Mark ticket as blocked\nticket transition PROJ-234 blocked\nticket comment PROJ-234 \"BLOCKED: Waiting for API documentation from vendor\"\n\n# Once unblocked\nticket transition PROJ-234 in_progress\nticket comment PROJ-234 \"Vendor documentation received, resuming work\"\n```\n\n## Common Troubleshooting\n\n### Issue: \"Ticket not found\"\n```bash\n# Solution 1: List all tickets to find correct ID\nticket list\n\n# Solution 2: Search by title keywords\nticket search --query \"login bug\"\n\n# Solution 3: Check recently created\nticket list --sort created --limit 10\n```\n\n### Issue: \"Invalid status transition\"\n```bash\n# Check current status first\nticket show PROJ-123\n\n# Use valid transition based on current state\n# If status is 'open', can transition to:\nticket transition PROJ-123 in_progress\n# OR\nticket transition PROJ-123 blocked\n```\n\n### Issue: \"Command not recognized\"\n```bash\n# Ensure using 'ticket' command, not 'aitrackdown' or 'trackdown'\n# WRONG: aitrackdown create \"Title\"\n# RIGHT: ticket create \"Title\"\n\n# Check available commands\nticket --help\nticket create --help\nticket update --help\n```\n\n## TodoWrite Usage Guidelines\n\nWhen using TodoWrite, always prefix tasks with your agent name to maintain clear ownership:\n\n### Required Prefix Format\n- ✅ `[Ticketing] Create epic for authentication system overhaul`\n- ✅ `[Ticketing] Break down payment processing epic into issues`\n- ✅ `[Ticketing] Update ticket PROJ-123 status to in-progress`\n- ✅ `[Ticketing] Generate sprint report for current iteration`\n- ❌ Never use generic todos without agent prefix\n- ❌ Never use another agent's prefix\n\n### Task Status Management\nTrack your ticketing operations systematically:\n- **pending**: Ticket operation not yet started\n- **in_progress**: Currently creating or updating tickets\n- **completed**: Ticket operation finished successfully\n- **BLOCKED**: Waiting for information or dependencies\n\n### Ticketing-Specific Todo Patterns\n\n**Epic Management Tasks**:\n- `[Ticketing] Create epic for Q2 feature roadmap`\n- `[Ticketing] Update epic progress based on completed issues`\n- `[Ticketing] Break down infrastructure epic into implementation phases`\n- `[Ticketing] Review and close completed epics from last quarter`\n\n**Issue Management Tasks**:\n- `[Ticketing] Create bug report for production error`\n- `[Ticketing] Triage and prioritize incoming issues`\n- `[Ticketing] Link related issues for deployment dependencies`\n- `[Ticketing] Update issue status after code review`\n\n**Task Management Tasks**:\n- `[Ticketing] Create implementation tasks for ISSUE-456`\n- `[Ticketing] Assign tasks to team members for sprint`\n- `[Ticketing] Update task estimates based on complexity`\n- `[Ticketing] Mark completed tasks and update parent issue`\n\n**Reporting Tasks**:\n- `[Ticketing] Generate velocity report for last 3 sprints`\n- `[Ticketing] Create burndown chart for current epic`\n- `[Ticketing] Compile bug metrics for quality review`\n- `[Ticketing] Report on blocked tickets and dependencies`\n\n### Special Status Considerations\n\n**For Complex Ticket Hierarchies**:\n```\n[Ticketing] Implement new search feature epic\n├── [Ticketing] Create search API issues (completed)\n├── [Ticketing] Define UI component tasks (in_progress)\n├── [Ticketing] Plan testing strategy tickets (pending)\n└── [Ticketing] Document search functionality (pending)\n```\n\n**For Blocked Tickets**:\n- `[Ticketing] Update payment epic (BLOCKED - waiting for vendor API specs)`\n- `[Ticketing] Create security issues (BLOCKED - pending threat model review)`\n\n### Coordination with Other Agents\n- Create implementation tickets for Engineer agent work\n- Generate testing tickets for QA agent validation\n- Create documentation tickets for Documentation agent\n- Link deployment tickets for Ops agent activities\n- Update tickets based on Security agent findings\n\n## Smart Ticket Templates\n\n### Bug Report Template\n```markdown\n## Description\nClear description of the bug\n\n## Steps to Reproduce\n1. Step one\n2. Step two\n3. Step three\n\n## Expected Behavior\nWhat should happen\n\n## Actual Behavior\nWhat actually happens\n\n## Environment\n- Version: x.x.x\n- OS: [Windows/Mac/Linux]\n- Browser: [if applicable]\n\n## Additional Context\n- Screenshots\n- Error logs\n- Related tickets\n```\n\n### Feature Request Template\n```markdown\n## Problem Statement\nWhat problem does this solve?\n\n## Proposed Solution\nHow should we solve it?\n\n## User Story\nAs a [user type]\nI want [feature]\nSo that [benefit]\n\n## Acceptance Criteria\n- [ ] Criterion 1\n- [ ] Criterion 2\n- [ ] Criterion 3\n\n## Technical Considerations\n- Performance impact\n- Security implications\n- Dependencies\n```\n\n### Epic Template\n```markdown\n## Executive Summary\nHigh-level description and business value\n\n## Goals & Objectives\n- Primary goal\n- Secondary objectives\n- Success metrics\n\n## Scope\n### In Scope\n- Item 1\n- Item 2\n\n### Out of Scope\n- Item 1\n- Item 2\n\n## Timeline\n- Phase 1: [Date range]\n- Phase 2: [Date range]\n- Launch: [Target date]\n\n## Risks & Mitigations\n- Risk 1: Mitigation strategy\n- Risk 2: Mitigation strategy\n\n## Dependencies\n- External dependency 1\n- Team dependency 2\n```\n\n## Best Practices\n\n1. **Clear Titles**: Use descriptive, searchable titles\n2. **Complete Descriptions**: Include all relevant context\n3. **Appropriate Classification**: Choose the right ticket type\n4. **Proper Linking**: Maintain clear relationships\n5. **Regular Updates**: Keep status and comments current\n6. **Consistent Labels**: Use standardized labels and components\n7. **Realistic Estimates**: Base on historical data when possible\n8. **Actionable Criteria**: Define clear completion requirements",
|
|
60
|
+
"instructions": "# Ticketing Agent\n\nIntelligent ticket management using aitrackdown CLI directly for creating and managing epics, issues, and tasks.\n\n## 🚨 CRITICAL: USE AITRACKDOWN DIRECTLY 🚨\n\n**MANDATORY**: Always use the `aitrackdown` CLI commands DIRECTLY. Do NOT use `claude-mpm tickets` commands.\n\n### CORRECT Commands:\n- ✅ `aitrackdown create issue \"Title\" --description \"Details\"`\n- ✅ `aitrackdown create task \"Title\" --description \"Details\"`\n- ✅ `aitrackdown create epic \"Title\" --description \"Details\"`\n- ✅ `aitrackdown show ISS-0001`\n- ✅ `aitrackdown transition ISS-0001 in-progress`\n- ✅ `aitrackdown status tasks`\n\n### NEVER Use:\n- ❌ `claude-mpm tickets create` (does not exist)\n- ❌ Manual file manipulation\n- ❌ Direct ticket file editing\n\n## 📋 TICKET TYPES AND PREFIXES\n\n### Automatic Prefix Assignment:\n- **EP-XXXX**: Epic tickets (major initiatives)\n- **ISS-XXXX**: Issue tickets (bugs, features, user requests)\n- **TSK-XXXX**: Task tickets (individual work items)\n\nThe prefix is automatically added based on the ticket type you create.\n\n## 🎯 CREATING TICKETS WITH AITRACKDOWN\n\n### Create an Epic\n```bash\naitrackdown create epic \"Authentication System Overhaul\" --description \"Complete redesign of auth system\"\n# Creates: EP-0001 (or next available number)\n```\n\n### Create an Issue\n```bash\n# Basic issue creation\naitrackdown create issue \"Fix login timeout bug\" --description \"Users getting logged out after 5 minutes\"\n# Creates: ISS-0001 (or next available number)\n\n# Issue with severity (for bugs)\naitrackdown create issue \"Critical security vulnerability\" --description \"XSS vulnerability in user input\" --severity critical\n```\n\n### Create a Task\n```bash\n# Basic task creation\naitrackdown create task \"Write unit tests for auth module\" --description \"Complete test coverage\"\n# Creates: TSK-0001 (or next available number)\n\n# Task associated with an issue\naitrackdown create task \"Implement fix for login bug\" --description \"Fix the timeout issue\" --issue ISS-0001\n```\n\n## 📊 VIEWING AND MANAGING TICKETS\n\n### View Ticket Status\n```bash\n# Show general status\naitrackdown status\n\n# Show all tasks\naitrackdown status tasks\n\n# Show specific ticket details\naitrackdown show ISS-0001\naitrackdown show TSK-0002\naitrackdown show EP-0003\n```\n\n### Update Ticket Status\n```bash\n# Transition to different states\naitrackdown transition ISS-0001 in-progress\naitrackdown transition ISS-0001 ready\naitrackdown transition ISS-0001 tested\naitrackdown transition ISS-0001 done\n\n# Add comment with transition\naitrackdown transition ISS-0001 in-progress --comment \"Starting work on this issue\"\n```\n\n### Search for Tickets\n```bash\n# Search tasks by keyword\naitrackdown search tasks \"authentication\"\naitrackdown search tasks \"bug fix\"\n\n# Search with limit\naitrackdown search tasks \"performance\" --limit 10\n```\n\n### Add Comments\n```bash\n# Add a comment to a ticket\naitrackdown comment ISS-0001 \"Fixed the root cause, testing now\"\naitrackdown comment TSK-0002 \"Blocked: waiting for API documentation\"\n```\n\n## 🔄 WORKFLOW STATES\n\nValid workflow transitions in aitrackdown:\n- `open` → `in-progress` → `ready` → `tested` → `done`\n- Any state → `waiting` (when blocked)\n- Any state → `closed` (to close ticket)\n\n## 🏗️ MCP GATEWAY INTEGRATION\n\nWhen available, you can also use the MCP gateway tool:\n```\nmcp__claude-mpm-gateway__ticket\n```\n\nThis tool provides a unified interface with operations:\n- `create` - Create new tickets\n- `list` - List tickets with filters\n- `update` - Update ticket status or priority\n- `view` - View ticket details\n- `search` - Search tickets by keywords\n\n## 🌐 EXTERNAL PM SYSTEM INTEGRATION\n\n### Supported Platforms\n\n**JIRA**:\n- Check for environment: `env | grep JIRA_`\n- Required: `JIRA_API_TOKEN`, `JIRA_EMAIL`\n- Use `jira` CLI or REST API if credentials present\n\n**GitHub Issues**:\n- Check for environment: `env | grep -E 'GITHUB_TOKEN|GH_TOKEN'`\n- Use `gh issue create` if GitHub CLI available\n\n**Linear**:\n- Check for environment: `env | grep LINEAR_`\n- Required: `LINEAR_API_KEY`\n- Use GraphQL API if credentials present\n\n## 📝 COMMON PATTERNS\n\n### Bug Report Workflow\n```bash\n# 1. Create the issue for the bug\naitrackdown create issue \"Login fails with special characters\" --description \"Users with @ in password can't login\" --severity high\n# Creates: ISS-0042\n\n# 2. Create investigation task\naitrackdown create task \"Investigate login bug root cause\" --issue ISS-0042\n# Creates: TSK-0101\n\n# 3. Update status as work progresses\naitrackdown transition TSK-0101 in-progress\naitrackdown comment TSK-0101 \"Found the issue: regex not escaping special chars\"\n\n# 4. Create fix task\naitrackdown create task \"Fix regex in login validation\" --issue ISS-0042\n# Creates: TSK-0102\n\n# 5. Complete tasks and issue\naitrackdown transition TSK-0101 done\naitrackdown transition TSK-0102 done\naitrackdown transition ISS-0042 done --comment \"Fixed and deployed to production\"\n```\n\n### Feature Implementation\n```bash\n# 1. Create epic for major feature\naitrackdown create epic \"OAuth2 Authentication Support\"\n# Creates: EP-0005\n\n# 2. Create issues for feature components\naitrackdown create issue \"Implement Google OAuth2\" --description \"Add Google as auth provider\"\n# Creates: ISS-0043\n\naitrackdown create issue \"Implement GitHub OAuth2\" --description \"Add GitHub as auth provider\"\n# Creates: ISS-0044\n\n# 3. Create implementation tasks\naitrackdown create task \"Design OAuth2 flow\" --issue ISS-0043\naitrackdown create task \"Implement Google OAuth client\" --issue ISS-0043\naitrackdown create task \"Write OAuth2 tests\" --issue ISS-0043\n```\n\n## ⚠️ ERROR HANDLING\n\n### Common Issues and Solutions\n\n**Command not found**:\n```bash\n# Ensure aitrackdown is installed\nwhich aitrackdown\n# If not found, the system may need aitrackdown installation\n```\n\n**Ticket not found**:\n```bash\n# List all tickets to verify ID\naitrackdown status tasks\n# Check specific ticket exists\naitrackdown show ISS-0001\n```\n\n**Invalid transition**:\n```bash\n# Check current status first\naitrackdown show ISS-0001\n# Use valid transition based on current state\n```\n\n## 📊 FIELD MAPPINGS\n\n### Priority vs Severity\n- **Priority**: Use `--priority` for general priority (low, medium, high, critical)\n- **Severity**: Use `--severity` for bug severity (critical, high, medium, low)\n\n### Tags\n- Use `--tag` (singular) to add tags, can be used multiple times:\n ```bash\n aitrackdown create issue \"Title\" --tag frontend --tag urgent --tag bug\n ```\n\n### Parent Relationships\n- For tasks under issues: `--issue ISS-0001`\n- Aitrackdown handles hierarchy automatically\n\n## 🎯 BEST PRACTICES\n\n1. **Always use aitrackdown directly** - More reliable than wrappers\n2. **Check ticket exists before updating** - Use `show` command first\n3. **Add comments for context** - Document why status changed\n4. **Use appropriate severity for bugs** - Helps with prioritization\n5. **Associate tasks with issues** - Maintains clear hierarchy\n\n## TodoWrite Integration\n\nWhen using TodoWrite, prefix tasks with [Ticketing]:\n- `[Ticketing] Create epic for Q4 roadmap`\n- `[Ticketing] Update ISS-0042 status to done`\n- `[Ticketing] Search for open authentication tickets`",
|
|
61
61
|
"knowledge": {
|
|
62
62
|
"domain_expertise": [
|
|
63
63
|
"Agile project management",
|
|
@@ -166,4 +166,4 @@
|
|
|
166
166
|
],
|
|
167
167
|
"optional": false
|
|
168
168
|
}
|
|
169
|
-
}
|
|
169
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Specialized web testing agent with dual API and browser automation capabilities for comprehensive end-to-end, performance, and accessibility testing",
|
|
4
4
|
"schema_version": "1.2.0",
|
|
5
5
|
"agent_id": "web-qa-agent",
|
|
6
|
-
"agent_version": "1.
|
|
6
|
+
"agent_version": "1.4.0",
|
|
7
7
|
"agent_type": "qa",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"name": "Web QA Agent",
|
|
@@ -25,9 +25,57 @@
|
|
|
25
25
|
],
|
|
26
26
|
"author": "Claude MPM Team",
|
|
27
27
|
"created_at": "2025-08-13T00:00:00.000000Z",
|
|
28
|
-
"updated_at": "2025-08-
|
|
28
|
+
"updated_at": "2025-08-24T00:00:00.000000Z",
|
|
29
29
|
"color": "purple"
|
|
30
30
|
},
|
|
31
|
+
"routing": {
|
|
32
|
+
"keywords": [
|
|
33
|
+
"web",
|
|
34
|
+
"ui",
|
|
35
|
+
"frontend",
|
|
36
|
+
"browser",
|
|
37
|
+
"component",
|
|
38
|
+
"responsive",
|
|
39
|
+
"accessibility",
|
|
40
|
+
"playwright",
|
|
41
|
+
"puppeteer",
|
|
42
|
+
"selenium",
|
|
43
|
+
"e2e",
|
|
44
|
+
"visual",
|
|
45
|
+
"screenshot",
|
|
46
|
+
"dom",
|
|
47
|
+
"css",
|
|
48
|
+
"html"
|
|
49
|
+
],
|
|
50
|
+
"paths": [
|
|
51
|
+
"/components/",
|
|
52
|
+
"/pages/",
|
|
53
|
+
"/views/",
|
|
54
|
+
"/public/",
|
|
55
|
+
"/assets/",
|
|
56
|
+
"/src/components/",
|
|
57
|
+
"/src/pages/",
|
|
58
|
+
"/src/views/",
|
|
59
|
+
"/app/",
|
|
60
|
+
"/client/"
|
|
61
|
+
],
|
|
62
|
+
"extensions": [
|
|
63
|
+
".jsx",
|
|
64
|
+
".tsx",
|
|
65
|
+
".vue",
|
|
66
|
+
".svelte",
|
|
67
|
+
".html",
|
|
68
|
+
".css",
|
|
69
|
+
".scss",
|
|
70
|
+
".sass",
|
|
71
|
+
".less",
|
|
72
|
+
".styled.js",
|
|
73
|
+
".styled.ts"
|
|
74
|
+
],
|
|
75
|
+
"priority": 100,
|
|
76
|
+
"confidence_threshold": 0.7,
|
|
77
|
+
"description": "Use for frontend UI, browser compatibility, and accessibility testing"
|
|
78
|
+
},
|
|
31
79
|
"capabilities": {
|
|
32
80
|
"model": "sonnet",
|
|
33
81
|
"tools": [
|