claude-mpm 3.7.8__tar.gz → 3.8.1__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.
- claude_mpm-3.8.1/CLAUDE.md +257 -0
- {claude_mpm-3.7.8/src/claude_mpm.egg-info → claude_mpm-3.8.1}/PKG-INFO +58 -21
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/README.md +57 -20
- claude_mpm-3.8.1/VERSION +1 -0
- claude_mpm-3.8.1/scripts/ticket +38 -0
- claude_mpm-3.8.1/src/claude_mpm/VERSION +1 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/BASE_PM.md +0 -106
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/INSTRUCTIONS.md +0 -96
- claude_mpm-3.8.1/src/claude_mpm/agents/MEMORY.md +88 -0
- claude_mpm-3.8.1/src/claude_mpm/agents/WORKFLOW.md +86 -0
- claude_mpm-3.8.1/src/claude_mpm/agents/templates/code_analyzer.json +103 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/data_engineer.json +1 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/documentation.json +1 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/engineer.json +1 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/ops.json +1 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/qa.json +1 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/research.json +1 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/security.json +1 -1
- claude_mpm-3.8.1/src/claude_mpm/agents/templates/ticketing.json +156 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/version_control.json +1 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/web_qa.json +2 -2
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/web_ui.json +2 -2
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/__init__.py +2 -2
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/commands/__init__.py +2 -1
- claude_mpm-3.8.1/src/claude_mpm/cli/commands/tickets.py +640 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/parser.py +217 -5
- claude_mpm-3.8.1/src/claude_mpm/config/__init__.py +38 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/config/socketio_config.py +8 -5
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/constants.py +13 -0
- claude_mpm-3.8.1/src/claude_mpm/core/__init__.py +32 -0
- claude_mpm-3.8.1/src/claude_mpm/core/cache.py +596 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/claude_runner.py +166 -622
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/config.py +5 -1
- claude_mpm-3.8.1/src/claude_mpm/core/constants.py +339 -0
- claude_mpm-3.8.1/src/claude_mpm/core/container.py +786 -0
- claude_mpm-3.8.1/src/claude_mpm/core/exceptions.py +392 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/framework_loader.py +208 -94
- claude_mpm-3.8.1/src/claude_mpm/core/interactive_session.py +432 -0
- claude_mpm-3.8.1/src/claude_mpm/core/interfaces.py +963 -0
- claude_mpm-3.8.1/src/claude_mpm/core/lazy.py +467 -0
- claude_mpm-3.8.1/src/claude_mpm/core/logging_config.py +444 -0
- claude_mpm-3.8.1/src/claude_mpm/core/oneshot_session.py +465 -0
- claude_mpm-3.8.1/src/claude_mpm/core/optimized_agent_loader.py +485 -0
- claude_mpm-3.8.1/src/claude_mpm/core/optimized_startup.py +490 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/service_registry.py +52 -26
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/socketio_pool.py +162 -5
- claude_mpm-3.8.1/src/claude_mpm/core/types.py +292 -0
- claude_mpm-3.8.1/src/claude_mpm/core/typing_utils.py +477 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/hooks/claude_hooks/hook_handler.py +213 -99
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/init.py +2 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/__init__.py +78 -14
- claude_mpm-3.8.1/src/claude_mpm/services/agent/__init__.py +24 -0
- claude_mpm-3.7.8/src/claude_mpm/services/agents/deployment/agent_deployment.py → claude_mpm-3.8.1/src/claude_mpm/services/agent/deployment.py +569 -268
- claude_mpm-3.8.1/src/claude_mpm/services/agents/deployment/agent_deployment.py +2566 -0
- claude_mpm-3.8.1/src/claude_mpm/services/agents/management/agent_management_service.py +598 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/memory/agent_memory_manager.py +156 -1
- claude_mpm-3.8.1/src/claude_mpm/services/agents/registry/agent_registry.py +813 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/async_session_logger.py +8 -3
- claude_mpm-3.8.1/src/claude_mpm/services/communication/__init__.py +21 -0
- claude_mpm-3.8.1/src/claude_mpm/services/communication/socketio.py +1933 -0
- claude_mpm-3.8.1/src/claude_mpm/services/communication/websocket.py +479 -0
- claude_mpm-3.8.1/src/claude_mpm/services/core/__init__.py +123 -0
- claude_mpm-3.8.1/src/claude_mpm/services/core/base.py +247 -0
- {claude_mpm-3.7.8/src/claude_mpm → claude_mpm-3.8.1/src/claude_mpm/services}/core/interfaces.py +412 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/todo_task_tools.py +23 -23
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator.py +3 -2
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/health_monitor.py +4 -3
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/hook_service.py +64 -4
- claude_mpm-3.8.1/src/claude_mpm/services/infrastructure/__init__.py +21 -0
- claude_mpm-3.8.1/src/claude_mpm/services/infrastructure/logging.py +202 -0
- claude_mpm-3.8.1/src/claude_mpm/services/infrastructure/monitoring.py +893 -0
- claude_mpm-3.8.1/src/claude_mpm/services/memory/indexed_memory.py +648 -0
- claude_mpm-3.8.1/src/claude_mpm/services/project/__init__.py +21 -0
- claude_mpm-3.8.1/src/claude_mpm/services/project/analyzer.py +864 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/project_analyzer.py +95 -2
- claude_mpm-3.8.1/src/claude_mpm/services/project_registry.py +608 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/recovery_manager.py +15 -9
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/__init__.py +25 -0
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/handlers/__init__.py +25 -0
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/handlers/base.py +121 -0
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/handlers/connection.py +198 -0
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/handlers/file.py +213 -0
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/handlers/git.py +723 -0
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/handlers/memory.py +27 -0
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/handlers/project.py +25 -0
- claude_mpm-3.8.1/src/claude_mpm/services/socketio/handlers/registry.py +145 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/socketio_client_manager.py +12 -7
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/socketio_server.py +156 -30
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/ticket_manager.py +170 -7
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/error_handler.py +1 -1
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/validation/agent_validator.py +27 -14
- claude_mpm-3.8.1/src/claude_mpm/validation/frontmatter_validator.py +231 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1/src/claude_mpm.egg-info}/PKG-INFO +58 -21
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm.egg-info/SOURCES.txt +41 -1
- claude_mpm-3.7.8/CLAUDE.md +0 -198
- claude_mpm-3.7.8/VERSION +0 -1
- claude_mpm-3.7.8/scripts/ticket +0 -69
- claude_mpm-3.7.8/src/claude_mpm/VERSION +0 -1
- claude_mpm-3.7.8/src/claude_mpm/agents/templates/code_analyzer.json +0 -103
- claude_mpm-3.7.8/src/claude_mpm/agents/templates/ticketing.json +0 -161
- claude_mpm-3.7.8/src/claude_mpm/cli/commands/tickets.py +0 -63
- claude_mpm-3.7.8/src/claude_mpm/config/__init__.py +0 -47
- claude_mpm-3.7.8/src/claude_mpm/core/__init__.py +0 -42
- claude_mpm-3.7.8/src/claude_mpm/core/container.py +0 -347
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/LICENSE +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/MANIFEST.in +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/claude-mpm +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/pyproject.toml +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/requirements.txt +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/scripts/run_mpm.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/setup.cfg +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/setup.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/__main__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/BASE_AGENT_TEMPLATE.md +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/agent_loader.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/agent_loader_integration.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/agents_metadata.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/async_agent_loader.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/backups/INSTRUCTIONS.md +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/base_agent.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/base_agent_loader.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/frontmatter_validator.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/schema/agent_schema.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/system_agent_config.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/.claude-mpm/memories/README.md +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/.claude-mpm/memories/engineer_agent.md +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/.claude-mpm/memories/qa_agent.md +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/.claude-mpm/memories/research_agent.md +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/.claude-mpm/memories/version_control_agent.md +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/backup/data_engineer_agent_20250726_234551.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/backup/documentation_agent_20250726_234551.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/backup/engineer_agent_20250726_234551.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/backup/ops_agent_20250726_234551.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/backup/qa_agent_20250726_234551.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/backup/research_agent_20250726_234551.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/backup/security_agent_20250726_234551.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/agents/templates/backup/version_control_agent_20250726_234551.json +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/__main__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/commands/agents.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/commands/aggregate.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/commands/config.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/commands/info.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/commands/memory.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/commands/monitor.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/commands/run.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/ticket_cli.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli/utils.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli_module/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli_module/args.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli_module/commands.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/cli_module/migration_example.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/config/agent_config.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/config/paths.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/agent_name_normalizer.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/agent_registry.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/agent_session_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/base_service.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/config_aliases.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/config_paths.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/factories.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/hook_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/injectable_service.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/logger.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/minimal_framework_loader.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/mixins.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/pm_hook_interceptor.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/session_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/core/tool_access_control.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/index.html +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/open_dashboard.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/css/dashboard.css +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/agent-inference.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/event-processor.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/event-viewer.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/export-manager.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/file-tool-tracker.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/hud-library-loader.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/hud-manager.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/hud-visualizer.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/module-viewer.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/session-manager.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/socket-manager.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/ui-state-manager.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/components/working-directory.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/dashboard-original.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/dashboard.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/static/js/socket-client.js +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/templates/index.html +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/dashboard/test_dashboard.html +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/deployment_paths.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/experimental/cli_enhancements.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/generators/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/generators/agent_profile_generator.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/hooks/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/hooks/base_hook.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/hooks/claude_hooks/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/hooks/claude_hooks/hook_wrapper.sh +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/hooks/memory_integration_hook.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/hooks/tool_call_interceptor.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/hooks/validation_hooks.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/models/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/models/agent_definition.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/models/agent_session.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/scripts/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/scripts/socketio_daemon.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/scripts/start_activity_logging.py +0 -0
- /claude_mpm-3.7.8/src/claude_mpm/services/agents/management/agent_management_service.py → /claude_mpm-3.8.1/src/claude_mpm/services/agent/management.py +0 -0
- /claude_mpm-3.7.8/src/claude_mpm/services/agents/registry/agent_registry.py → /claude_mpm-3.8.1/src/claude_mpm/services/agent/registry.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/deployment/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/deployment/agent_lifecycle_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/deployment/agent_versioning.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/deployment/async_agent_deployment.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/loading/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/loading/agent_profile_loader.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/loading/base_agent_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/loading/framework_agent_loader.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/management/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/management/agent_capabilities_generator.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/memory/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/memory/agent_persistence_service.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/registry/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/registry/deployed_agent_discovery.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/agents/registry/modification_tracker.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/claude_session_logger.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/event_aggregator.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/exceptions.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/content_assembler.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/content_validator.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/deployment_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/agents.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/claude_pm_init.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/core_responsibilities.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/delegation_constraints.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/environment_config.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/footer.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/header.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/orchestration_principles.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/role_designation.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/subprocess_validation.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_generators/troubleshooting.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/section_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/framework_claude_md_generator/version_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/memory/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/memory/builder.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/memory/cache/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/memory/cache/shared_prompt_cache.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/memory/cache/simple_cache.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/memory/optimizer.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/memory/router.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/optimized_hook_service.py +0 -0
- /claude_mpm-3.7.8/src/claude_mpm/services/project_registry.py → /claude_mpm-3.8.1/src/claude_mpm/services/project/registry.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/response_tracker.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/standalone_socketio_server.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/ticket_manager_di.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/ticketing_service_original.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/version_control/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/version_control/branch_strategy.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/version_control/conflict_resolution.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/version_control/git_operations.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/services/version_control/semantic_versioning.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/ticket_wrapper.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/agent_dependency_loader.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/config_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/console.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/dependency_cache.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/dependency_manager.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/dependency_strategies.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/environment_context.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/framework_detection.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/import_migration_example.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/imports.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/path_operations.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/paths.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/robust_installer.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/utils/session_logging.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm/validation/__init__.py +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm.egg-info/dependency_links.txt +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm.egg-info/entry_points.txt +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm.egg-info/requires.txt +0 -0
- {claude_mpm-3.7.8 → claude_mpm-3.8.1}/src/claude_mpm.egg-info/top_level.txt +0 -0
| @@ -0,0 +1,257 @@ | |
| 1 | 
            +
            # Claude MPM Development Guidelines
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            This document provides development guidelines for the claude-mpm project codebase.
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            ## Project Overview
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            Claude MPM (Multi-Agent Project Manager) is a framework that extends Claude Desktop with multi-agent orchestration capabilities, featuring a modern service-oriented architecture with interface-based contracts and dependency injection.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            ## Architecture (v3.7.8+)
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            Following the TSK-0053 refactoring, Claude MPM features:
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            - **Service-Oriented Architecture**: Five specialized service domains
         | 
| 14 | 
            +
            - **Interface-Based Contracts**: All services implement explicit interfaces  
         | 
| 15 | 
            +
            - **Dependency Injection**: Service container with automatic resolution
         | 
| 16 | 
            +
            - **Performance Optimizations**: Lazy loading, multi-level caching, connection pooling
         | 
| 17 | 
            +
            - **Security Framework**: Input validation, path traversal prevention, secure operations
         | 
| 18 | 
            +
            - **Backward Compatibility**: Lazy imports maintain existing import paths
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            ## Key Documentation
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            ### Architecture and Development
         | 
| 23 | 
            +
            - 🏗️ **Architecture Overview**: See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for service-oriented architecture
         | 
| 24 | 
            +
            - 📁 **Project Structure**: See [docs/STRUCTURE.md](docs/STRUCTURE.md) for file organization
         | 
| 25 | 
            +
            - 🔧 **Service Layer Guide**: See [docs/developer/SERVICES.md](docs/developer/SERVICES.md) for service development
         | 
| 26 | 
            +
            - ⚡ **Performance Guide**: See [docs/PERFORMANCE.md](docs/PERFORMANCE.md) for optimization patterns
         | 
| 27 | 
            +
            - 🔒 **Security Guide**: See [docs/SECURITY.md](docs/SECURITY.md) for security framework
         | 
| 28 | 
            +
            - 🧪 **Testing Guide**: See [docs/TESTING.md](docs/TESTING.md) for testing strategies
         | 
| 29 | 
            +
            - 📚 **Migration Guide**: See [docs/MIGRATION.md](docs/MIGRATION.md) for upgrade instructions
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            ### Operations and Quality
         | 
| 32 | 
            +
            - 🧪 **Quality Assurance**: See [docs/QA.md](docs/QA.md) for testing guidelines
         | 
| 33 | 
            +
            - 🚀 **Deployment**: See [docs/DEPLOY.md](docs/DEPLOY.md) for versioning and deployment
         | 
| 34 | 
            +
            - 📊 **Logging**: See [docs/RESPONSE_LOGGING_CONFIG.md](docs/RESPONSE_LOGGING_CONFIG.md) for response logging configuration
         | 
| 35 | 
            +
            - 🔢 **Versioning**: See [docs/VERSIONING.md](docs/VERSIONING.md) for version management
         | 
| 36 | 
            +
            - 🧠 **Memory System**: See [docs/MEMORY.md](docs/MEMORY.md) for agent memory management
         | 
| 37 | 
            +
             | 
| 38 | 
            +
            ## Development Guidelines
         | 
| 39 | 
            +
             | 
| 40 | 
            +
            ### Critical Principles
         | 
| 41 | 
            +
             | 
| 42 | 
            +
            **🔴 NEVER ASSUME - ALWAYS VERIFY**
         | 
| 43 | 
            +
            - **NEVER assume** file locations, configurations, or implementations
         | 
| 44 | 
            +
            - **ALWAYS verify** by reading actual files and checking current state
         | 
| 45 | 
            +
            - **ALWAYS check** existing code patterns before implementing
         | 
| 46 | 
            +
            - **NEVER guess** at directory structures or file contents
         | 
| 47 | 
            +
            - **ALWAYS confirm** dependencies and imports exist before using them
         | 
| 48 | 
            +
             | 
| 49 | 
            +
            ### Project Structure Requirements
         | 
| 50 | 
            +
             | 
| 51 | 
            +
            1. **File Organization**: Always refer to `docs/STRUCTURE.md` when creating new files
         | 
| 52 | 
            +
               - **Scripts**: ALL scripts go in `/scripts/`, NEVER in project root
         | 
| 53 | 
            +
               - **Tests**: ALL tests go in `/tests/`, NEVER in project root
         | 
| 54 | 
            +
               - **Python modules**: Always under `/src/claude_mpm/`
         | 
| 55 | 
            +
               
         | 
| 56 | 
            +
            2. **Import Conventions**: 
         | 
| 57 | 
            +
               - Use full package names: `from claude_mpm.module import ...`
         | 
| 58 | 
            +
               - Never use relative imports in main code
         | 
| 59 | 
            +
               - Check existing patterns before adding new imports
         | 
| 60 | 
            +
             | 
| 61 | 
            +
            ### Testing Requirements
         | 
| 62 | 
            +
             | 
| 63 | 
            +
            **After significant changes, always run:**
         | 
| 64 | 
            +
            ```bash
         | 
| 65 | 
            +
            # Quick E2E tests
         | 
| 66 | 
            +
            ./scripts/run_e2e_tests.sh
         | 
| 67 | 
            +
             | 
| 68 | 
            +
            # Full test suite
         | 
| 69 | 
            +
            ./scripts/run_all_tests.sh
         | 
| 70 | 
            +
             | 
| 71 | 
            +
            # Lint and type checks
         | 
| 72 | 
            +
            ./scripts/run_lint.sh
         | 
| 73 | 
            +
            ```
         | 
| 74 | 
            +
             | 
| 75 | 
            +
            See [docs/QA.md](docs/QA.md) for detailed testing procedures.
         | 
| 76 | 
            +
             | 
| 77 | 
            +
            ### Key System Components
         | 
| 78 | 
            +
             | 
| 79 | 
            +
            When modifying the codebase, understand these core systems:
         | 
| 80 | 
            +
             | 
| 81 | 
            +
            1. **Framework Loader** (`src/claude_mpm/core/framework_loader.py`)
         | 
| 82 | 
            +
               - Loads PM instructions from `src/claude_mpm/agents/INSTRUCTIONS.md`
         | 
| 83 | 
            +
               - Manages agent discovery and capabilities
         | 
| 84 | 
            +
               - DO NOT duplicate CLAUDE.md content here
         | 
| 85 | 
            +
             | 
| 86 | 
            +
            2. **Hook System** (`src/claude_mpm/hooks/`)
         | 
| 87 | 
            +
               - Extensibility through pre/post hooks
         | 
| 88 | 
            +
               - Response logging via `SubagentStop` and `Stop` events
         | 
| 89 | 
            +
               - Structured JSON responses for proper logging
         | 
| 90 | 
            +
             | 
| 91 | 
            +
            3. **Services Layer** (`src/claude_mpm/services/`)
         | 
| 92 | 
            +
               - **Core Services**: Foundation interfaces and base classes
         | 
| 93 | 
            +
               - **Agent Services**: Agent lifecycle, deployment, and management
         | 
| 94 | 
            +
               - **Communication Services**: Real-time WebSocket and SocketIO
         | 
| 95 | 
            +
               - **Project Services**: Project analysis and workspace management
         | 
| 96 | 
            +
               - **Infrastructure Services**: Logging, monitoring, and error handling
         | 
| 97 | 
            +
               - **Legacy Structure**: Maintained for backward compatibility
         | 
| 98 | 
            +
             | 
| 99 | 
            +
            4. **CLI System** (`src/claude_mpm/cli/`)
         | 
| 100 | 
            +
               - Modular command structure
         | 
| 101 | 
            +
               - See [CLI Architecture](src/claude_mpm/cli/README.md) for adding new commands
         | 
| 102 | 
            +
             | 
| 103 | 
            +
            ### Common Development Tasks
         | 
| 104 | 
            +
             | 
| 105 | 
            +
            #### Adding a New Service
         | 
| 106 | 
            +
            1. **Create Interface**: Define service contract in `src/claude_mpm/services/core/interfaces.py`
         | 
| 107 | 
            +
            2. **Implement Service**: Create implementation in appropriate service domain
         | 
| 108 | 
            +
            3. **Register Service**: Add to service container if using dependency injection
         | 
| 109 | 
            +
            4. **Add Tests**: Create unit, integration, and interface compliance tests
         | 
| 110 | 
            +
            5. **Update Documentation**: Document service in [docs/developer/SERVICES.md](docs/developer/SERVICES.md)
         | 
| 111 | 
            +
             | 
| 112 | 
            +
            #### Service Development Patterns
         | 
| 113 | 
            +
            ```python
         | 
| 114 | 
            +
            # 1. Define interface
         | 
| 115 | 
            +
            class IMyService(ABC):
         | 
| 116 | 
            +
                @abstractmethod
         | 
| 117 | 
            +
                def my_operation(self, param: str) -> bool:
         | 
| 118 | 
            +
                    pass
         | 
| 119 | 
            +
             | 
| 120 | 
            +
            # 2. Implement service
         | 
| 121 | 
            +
            class MyService(BaseService, IMyService):
         | 
| 122 | 
            +
                def __init__(self, dependency: IDependency):
         | 
| 123 | 
            +
                    super().__init__("MyService")
         | 
| 124 | 
            +
                    self.dependency = dependency
         | 
| 125 | 
            +
                
         | 
| 126 | 
            +
                async def initialize(self) -> bool:
         | 
| 127 | 
            +
                    # Initialize service
         | 
| 128 | 
            +
                    return True
         | 
| 129 | 
            +
                
         | 
| 130 | 
            +
                def my_operation(self, param: str) -> bool:
         | 
| 131 | 
            +
                    # Implementation
         | 
| 132 | 
            +
                    return True
         | 
| 133 | 
            +
             | 
| 134 | 
            +
            # 3. Register in container
         | 
| 135 | 
            +
            container.register(IMyService, MyService, singleton=True)
         | 
| 136 | 
            +
             | 
| 137 | 
            +
            # 4. Test interface compliance
         | 
| 138 | 
            +
            def test_service_implements_interface():
         | 
| 139 | 
            +
                service = MyService(mock_dependency)
         | 
| 140 | 
            +
                assert isinstance(service, IMyService)
         | 
| 141 | 
            +
            ```
         | 
| 142 | 
            +
             | 
| 143 | 
            +
            #### Modifying PM Instructions
         | 
| 144 | 
            +
            1. Edit `src/claude_mpm/agents/INSTRUCTIONS.md` for PM behavior
         | 
| 145 | 
            +
            2. Edit `src/claude_mpm/agents/BASE_PM.md` for framework requirements
         | 
| 146 | 
            +
            3. Test with `./claude-mpm run` in interactive mode
         | 
| 147 | 
            +
            4. Update tests for PM behavior changes
         | 
| 148 | 
            +
             | 
| 149 | 
            +
            #### Adding CLI Commands
         | 
| 150 | 
            +
            1. Create command module in `src/claude_mpm/cli/commands/`
         | 
| 151 | 
            +
            2. Register in `src/claude_mpm/cli/parser.py`
         | 
| 152 | 
            +
            3. Follow existing command patterns
         | 
| 153 | 
            +
            4. Use dependency injection for service access
         | 
| 154 | 
            +
            5. Add comprehensive tests and documentation
         | 
| 155 | 
            +
             | 
| 156 | 
            +
            #### Performance Optimization
         | 
| 157 | 
            +
            1. **Identify Bottlenecks**: Use profiling tools and performance tests
         | 
| 158 | 
            +
            2. **Implement Caching**: Add appropriate caching layers
         | 
| 159 | 
            +
            3. **Lazy Loading**: Defer expensive operations until needed
         | 
| 160 | 
            +
            4. **Connection Pooling**: Reuse expensive connections
         | 
| 161 | 
            +
            5. **Monitor Metrics**: Track performance over time
         | 
| 162 | 
            +
             | 
| 163 | 
            +
            ## Common Issues and Solutions
         | 
| 164 | 
            +
             | 
| 165 | 
            +
            ### Architecture-Related Issues
         | 
| 166 | 
            +
            1. **Service Resolution Errors**: Ensure services are registered in container before resolving
         | 
| 167 | 
            +
            2. **Interface Compliance**: Verify services implement all required interface methods
         | 
| 168 | 
            +
            3. **Circular Dependencies**: Use dependency injection and avoid circular imports
         | 
| 169 | 
            +
            4. **Cache Performance**: Monitor cache hit rates and adjust TTL settings
         | 
| 170 | 
            +
             | 
| 171 | 
            +
            ### Legacy Compatibility Issues
         | 
| 172 | 
            +
            1. **Import Errors**: Use new service paths or rely on lazy import compatibility
         | 
| 173 | 
            +
            2. **Service Instantiation**: Use service container instead of direct instantiation
         | 
| 174 | 
            +
            3. **Configuration Schema**: Update config files to new structure
         | 
| 175 | 
            +
             | 
| 176 | 
            +
            ### Performance Issues
         | 
| 177 | 
            +
            1. **Slow Startup**: Check lazy loading implementation and cache warming
         | 
| 178 | 
            +
            2. **Memory Usage**: Monitor service memory consumption and optimization
         | 
| 179 | 
            +
            3. **Cache Misses**: Verify cache configuration and invalidation strategies
         | 
| 180 | 
            +
             | 
| 181 | 
            +
            ### Traditional Issues
         | 
| 182 | 
            +
            1. **Import Errors**: Ensure virtual environment is activated and PYTHONPATH includes `src/`
         | 
| 183 | 
            +
            2. **Hook Service Errors**: Check port availability (8080-8099)
         | 
| 184 | 
            +
            3. **Version Errors**: Run `pip install -e .` to ensure proper installation
         | 
| 185 | 
            +
            4. **Agent Loading**: Check `.claude/agents/` for deployed agents
         | 
| 186 | 
            +
             | 
| 187 | 
            +
            ## Contributing
         | 
| 188 | 
            +
             | 
| 189 | 
            +
            ### Code Quality Standards
         | 
| 190 | 
            +
            1. **Follow Architecture**: Use service-oriented patterns and interface-based design
         | 
| 191 | 
            +
            2. **Structure Compliance**: Follow the structure in `docs/STRUCTURE.md`
         | 
| 192 | 
            +
            3. **Interface Design**: Define clear contracts for all services
         | 
| 193 | 
            +
            4. **Dependency Injection**: Use service container for loose coupling
         | 
| 194 | 
            +
            5. **Performance**: Implement caching and lazy loading where appropriate
         | 
| 195 | 
            +
            6. **Security**: Follow security guidelines in `docs/SECURITY.md`
         | 
| 196 | 
            +
             | 
| 197 | 
            +
            ### Testing Requirements
         | 
| 198 | 
            +
            1. **Unit Tests**: Test individual services and components (85%+ coverage)
         | 
| 199 | 
            +
            2. **Integration Tests**: Test service interactions and interfaces
         | 
| 200 | 
            +
            3. **Performance Tests**: Verify caching and optimization features
         | 
| 201 | 
            +
            4. **Security Tests**: Validate input validation and security measures
         | 
| 202 | 
            +
            5. **E2E Tests**: Test complete user workflows
         | 
| 203 | 
            +
             | 
| 204 | 
            +
            ### Documentation Standards
         | 
| 205 | 
            +
            1. **Service Documentation**: Document all interfaces and implementations
         | 
| 206 | 
            +
            2. **Architecture Updates**: Keep architecture docs current
         | 
| 207 | 
            +
            3. **Migration Guides**: Document breaking changes and upgrade paths
         | 
| 208 | 
            +
            4. **Performance Metrics**: Document performance expectations and benchmarks
         | 
| 209 | 
            +
             | 
| 210 | 
            +
            ### Version Management
         | 
| 211 | 
            +
            Use [Conventional Commits](https://www.conventionalcommits.org/) for automatic versioning:
         | 
| 212 | 
            +
            - `feat:` for new features (minor version bump)
         | 
| 213 | 
            +
            - `fix:` for bug fixes (patch version bump)
         | 
| 214 | 
            +
            - `feat!:` or `BREAKING CHANGE:` for breaking changes (major version bump)
         | 
| 215 | 
            +
            - `perf:` for performance improvements
         | 
| 216 | 
            +
            - `refactor:` for code refactoring
         | 
| 217 | 
            +
            - `docs:` for documentation updates
         | 
| 218 | 
            +
             | 
| 219 | 
            +
            ## Deployment Process
         | 
| 220 | 
            +
             | 
| 221 | 
            +
            See [docs/DEPLOY.md](docs/DEPLOY.md) for the complete deployment process:
         | 
| 222 | 
            +
            - Version management with `./scripts/manage_version.py`
         | 
| 223 | 
            +
            - Building and publishing to PyPI
         | 
| 224 | 
            +
            - Creating GitHub releases
         | 
| 225 | 
            +
            - Post-deployment verification
         | 
| 226 | 
            +
             | 
| 227 | 
            +
            ## TSK-0053 Refactoring Achievements
         | 
| 228 | 
            +
             | 
| 229 | 
            +
            The service layer architecture refactoring delivered:
         | 
| 230 | 
            +
             | 
| 231 | 
            +
            ### Technical Achievements
         | 
| 232 | 
            +
            - **Service-Oriented Architecture**: Complete redesign with five specialized service domains
         | 
| 233 | 
            +
            - **Interface-Based Contracts**: All major services implement explicit interfaces
         | 
| 234 | 
            +
            - **Dependency Injection**: Service container with automatic dependency resolution
         | 
| 235 | 
            +
            - **50-80% Performance Improvement**: Through lazy loading and intelligent caching
         | 
| 236 | 
            +
            - **Enhanced Security**: Comprehensive input validation and sanitization framework
         | 
| 237 | 
            +
            - **Backward Compatibility**: Lazy imports maintain existing import paths
         | 
| 238 | 
            +
             | 
| 239 | 
            +
            ### Quality Improvements
         | 
| 240 | 
            +
            - **Better Testability**: Interface-based architecture enables easy mocking and testing
         | 
| 241 | 
            +
            - **Improved Maintainability**: Clear separation of concerns and service boundaries
         | 
| 242 | 
            +
            - **Enhanced Reliability**: Comprehensive testing with 85%+ coverage target
         | 
| 243 | 
            +
            - **Developer Experience**: Rich documentation and migration guides
         | 
| 244 | 
            +
             | 
| 245 | 
            +
            ### Future-Proofing
         | 
| 246 | 
            +
            - **Scalability**: Service-oriented design supports future growth
         | 
| 247 | 
            +
            - **Extensibility**: Plugin architecture through interfaces and hooks
         | 
| 248 | 
            +
            - **Modularity**: Clear service boundaries enable independent development
         | 
| 249 | 
            +
            - **Performance**: Intelligent caching and resource optimization foundations
         | 
| 250 | 
            +
             | 
| 251 | 
            +
            ## Important Notes
         | 
| 252 | 
            +
             | 
| 253 | 
            +
            - This file (CLAUDE.md) contains ONLY development guidelines for this project
         | 
| 254 | 
            +
            - Framework features and usage are documented in the framework itself
         | 
| 255 | 
            +
            - Claude Desktop automatically reads this file - keep it focused on development tasks
         | 
| 256 | 
            +
            - Do not include end-user documentation or framework features here
         | 
| 257 | 
            +
            - The refactored architecture enables faster development and better code quality
         | 
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            Metadata-Version: 2.4
         | 
| 2 2 | 
             
            Name: claude-mpm
         | 
| 3 | 
            -
            Version: 3. | 
| 3 | 
            +
            Version: 3.8.1
         | 
| 4 4 | 
             
            Summary: Claude Multi-agent Project Manager - Clean orchestration with ticket management
         | 
| 5 5 | 
             
            Home-page: https://github.com/bobmatnyc/claude-mpm
         | 
| 6 6 | 
             
            Author: Claude MPM Team
         | 
| @@ -189,6 +189,26 @@ Dependencies are automatically aggregated from all agent sources (PROJECT > USER | |
| 189 189 |  | 
| 190 190 | 
             
            For comprehensive documentation, see [docs/AGENT_DEPENDENCIES.md](docs/AGENT_DEPENDENCIES.md).
         | 
| 191 191 |  | 
| 192 | 
            +
            ## Architecture
         | 
| 193 | 
            +
             | 
| 194 | 
            +
            Claude MPM v3.7.8+ features a **modern service-oriented architecture** with:
         | 
| 195 | 
            +
             | 
| 196 | 
            +
            ### Service Layer Organization
         | 
| 197 | 
            +
            - **Core Services**: Foundation interfaces and dependency injection
         | 
| 198 | 
            +
            - **Agent Services**: Agent lifecycle, deployment, and management
         | 
| 199 | 
            +
            - **Communication Services**: Real-time WebSocket and SocketIO
         | 
| 200 | 
            +
            - **Project Services**: Project analysis and workspace management
         | 
| 201 | 
            +
            - **Infrastructure Services**: Logging, monitoring, and error handling
         | 
| 202 | 
            +
             | 
| 203 | 
            +
            ### Key Architectural Features
         | 
| 204 | 
            +
            - **Interface-Based Design**: All services implement well-defined contracts
         | 
| 205 | 
            +
            - **Dependency Injection**: Loose coupling through service container
         | 
| 206 | 
            +
            - **Lazy Loading**: Performance optimization with deferred initialization
         | 
| 207 | 
            +
            - **Multi-Level Caching**: Intelligent caching with TTL and invalidation
         | 
| 208 | 
            +
            - **Security Framework**: Input validation, path sanitization, and secure operations
         | 
| 209 | 
            +
             | 
| 210 | 
            +
            For detailed architecture information, see [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md).
         | 
| 211 | 
            +
             | 
| 192 212 | 
             
            ## Key Capabilities
         | 
| 193 213 |  | 
| 194 214 | 
             
            ### Multi-Agent Orchestration
         | 
| @@ -246,31 +266,48 @@ See [docs/developer/11-dashboard/README.md](docs/developer/11-dashboard/README.m | |
| 246 266 |  | 
| 247 267 | 
             
            ## Documentation
         | 
| 248 268 |  | 
| 269 | 
            +
            ### User Documentation
         | 
| 249 270 | 
             
            - **[Quick Start Guide](QUICKSTART.md)** - Get running in 5 minutes
         | 
| 250 271 | 
             
            - **[Agent Memory System](docs/MEMORY.md)** - Comprehensive memory documentation
         | 
| 251 272 | 
             
            - **[Monitoring Dashboard](docs/developer/11-dashboard/README.md)** - Real-time monitoring features
         | 
| 252 | 
            -
            - **[Project Structure](docs/STRUCTURE.md)** - Codebase organization
         | 
| 253 | 
            -
            - **[Deployment Guide](docs/DEPLOY.md)** - Publishing and versioning
         | 
| 254 273 | 
             
            - **[User Guide](docs/user/)** - Detailed usage documentation
         | 
| 255 | 
            -
            - **[Developer Guide](docs/developer/)** - Architecture and API reference
         | 
| 256 | 
            -
             | 
| 257 | 
            -
            ## Recent Updates (v3.4.27)
         | 
| 258 | 
            -
             | 
| 259 | 
            -
            ### Core System Enhancements
         | 
| 260 | 
            -
            - **Project Structure Reorganization**: Centralized path management with ClaudeMPMPaths enum
         | 
| 261 | 
            -
            - **Agent Services Hierarchy**: Reorganized agent and memory services into hierarchical structures  
         | 
| 262 | 
            -
            - **Response Logging Improvements**: Flat structure logging without session_ prefix
         | 
| 263 | 
            -
            - **Memory System Expansion**: Added data_engineer and test_integration agents with specialized keywords
         | 
| 264 | 
            -
            - **Path Management System**: Implemented centralized configuration path handling
         | 
| 265 274 |  | 
| 266 | 
            -
            ###  | 
| 267 | 
            -
            - ** | 
| 268 | 
            -
            - ** | 
| 269 | 
            -
            - ** | 
| 270 | 
            -
            - ** | 
| 271 | 
            -
            - ** | 
| 272 | 
            -
             | 
| 273 | 
            -
             | 
| 275 | 
            +
            ### Developer Documentation
         | 
| 276 | 
            +
            - **[Architecture Overview](docs/ARCHITECTURE.md)** - Service-oriented architecture and design
         | 
| 277 | 
            +
            - **[Service Layer Guide](docs/developer/SERVICES.md)** - Service interfaces and implementations
         | 
| 278 | 
            +
            - **[Performance Guide](docs/PERFORMANCE.md)** - Optimization and caching strategies
         | 
| 279 | 
            +
            - **[Security Guide](docs/SECURITY.md)** - Security framework and best practices
         | 
| 280 | 
            +
            - **[Testing Guide](docs/TESTING.md)** - Testing patterns and strategies
         | 
| 281 | 
            +
            - **[Migration Guide](docs/MIGRATION.md)** - Upgrading from previous versions
         | 
| 282 | 
            +
            - **[Project Structure](docs/STRUCTURE.md)** - Codebase organization
         | 
| 283 | 
            +
            - **[Deployment Guide](docs/DEPLOY.md)** - Publishing and versioning
         | 
| 284 | 
            +
            - **[Developer Guide](docs/developer/)** - API reference and internals
         | 
| 285 | 
            +
             | 
| 286 | 
            +
            ## Recent Updates (v3.7.8)
         | 
| 287 | 
            +
             | 
| 288 | 
            +
            ### TSK-0053: Service Layer Architecture Refactoring
         | 
| 289 | 
            +
            - **Service-Oriented Architecture**: Complete redesign with five service domains
         | 
| 290 | 
            +
            - **Interface-Based Contracts**: All services implement explicit interfaces
         | 
| 291 | 
            +
            - **Dependency Injection System**: Service container with automatic dependency resolution
         | 
| 292 | 
            +
            - **Performance Optimizations**: Lazy loading, multi-level caching, connection pooling
         | 
| 293 | 
            +
            - **Security Framework**: Input validation, path traversal prevention, secure operations
         | 
| 294 | 
            +
            - **Backward Compatibility**: Lazy imports maintain existing import paths
         | 
| 295 | 
            +
             | 
| 296 | 
            +
            ### Key Improvements
         | 
| 297 | 
            +
            - **50-80% Performance Improvement**: Optimized caching and lazy loading
         | 
| 298 | 
            +
            - **Enhanced Security**: Comprehensive input validation and sanitization
         | 
| 299 | 
            +
            - **Better Testability**: Interface-based architecture enables easy mocking
         | 
| 300 | 
            +
            - **Improved Maintainability**: Clear separation of concerns and service boundaries
         | 
| 301 | 
            +
            - **Developer Experience**: Rich documentation and migration guides
         | 
| 302 | 
            +
             | 
| 303 | 
            +
            ### Architecture Benefits
         | 
| 304 | 
            +
            - **Scalability**: Service-oriented design supports future growth
         | 
| 305 | 
            +
            - **Extensibility**: Plugin architecture through interfaces and hooks
         | 
| 306 | 
            +
            - **Reliability**: Comprehensive testing with 85%+ coverage
         | 
| 307 | 
            +
            - **Security**: Defense-in-depth security architecture
         | 
| 308 | 
            +
            - **Performance**: Intelligent caching and resource optimization
         | 
| 309 | 
            +
             | 
| 310 | 
            +
            See [CHANGELOG.md](CHANGELOG.md) for full history and [docs/MIGRATION.md](docs/MIGRATION.md) for upgrade instructions.
         | 
| 274 311 |  | 
| 275 312 | 
             
            ## Development
         | 
| 276 313 |  | 
| @@ -94,6 +94,26 @@ Dependencies are automatically aggregated from all agent sources (PROJECT > USER | |
| 94 94 |  | 
| 95 95 | 
             
            For comprehensive documentation, see [docs/AGENT_DEPENDENCIES.md](docs/AGENT_DEPENDENCIES.md).
         | 
| 96 96 |  | 
| 97 | 
            +
            ## Architecture
         | 
| 98 | 
            +
             | 
| 99 | 
            +
            Claude MPM v3.7.8+ features a **modern service-oriented architecture** with:
         | 
| 100 | 
            +
             | 
| 101 | 
            +
            ### Service Layer Organization
         | 
| 102 | 
            +
            - **Core Services**: Foundation interfaces and dependency injection
         | 
| 103 | 
            +
            - **Agent Services**: Agent lifecycle, deployment, and management
         | 
| 104 | 
            +
            - **Communication Services**: Real-time WebSocket and SocketIO
         | 
| 105 | 
            +
            - **Project Services**: Project analysis and workspace management
         | 
| 106 | 
            +
            - **Infrastructure Services**: Logging, monitoring, and error handling
         | 
| 107 | 
            +
             | 
| 108 | 
            +
            ### Key Architectural Features
         | 
| 109 | 
            +
            - **Interface-Based Design**: All services implement well-defined contracts
         | 
| 110 | 
            +
            - **Dependency Injection**: Loose coupling through service container
         | 
| 111 | 
            +
            - **Lazy Loading**: Performance optimization with deferred initialization
         | 
| 112 | 
            +
            - **Multi-Level Caching**: Intelligent caching with TTL and invalidation
         | 
| 113 | 
            +
            - **Security Framework**: Input validation, path sanitization, and secure operations
         | 
| 114 | 
            +
             | 
| 115 | 
            +
            For detailed architecture information, see [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md).
         | 
| 116 | 
            +
             | 
| 97 117 | 
             
            ## Key Capabilities
         | 
| 98 118 |  | 
| 99 119 | 
             
            ### Multi-Agent Orchestration
         | 
| @@ -151,31 +171,48 @@ See [docs/developer/11-dashboard/README.md](docs/developer/11-dashboard/README.m | |
| 151 171 |  | 
| 152 172 | 
             
            ## Documentation
         | 
| 153 173 |  | 
| 174 | 
            +
            ### User Documentation
         | 
| 154 175 | 
             
            - **[Quick Start Guide](QUICKSTART.md)** - Get running in 5 minutes
         | 
| 155 176 | 
             
            - **[Agent Memory System](docs/MEMORY.md)** - Comprehensive memory documentation
         | 
| 156 177 | 
             
            - **[Monitoring Dashboard](docs/developer/11-dashboard/README.md)** - Real-time monitoring features
         | 
| 157 | 
            -
            - **[Project Structure](docs/STRUCTURE.md)** - Codebase organization
         | 
| 158 | 
            -
            - **[Deployment Guide](docs/DEPLOY.md)** - Publishing and versioning
         | 
| 159 178 | 
             
            - **[User Guide](docs/user/)** - Detailed usage documentation
         | 
| 160 | 
            -
            - **[Developer Guide](docs/developer/)** - Architecture and API reference
         | 
| 161 | 
            -
             | 
| 162 | 
            -
            ## Recent Updates (v3.4.27)
         | 
| 163 | 
            -
             | 
| 164 | 
            -
            ### Core System Enhancements
         | 
| 165 | 
            -
            - **Project Structure Reorganization**: Centralized path management with ClaudeMPMPaths enum
         | 
| 166 | 
            -
            - **Agent Services Hierarchy**: Reorganized agent and memory services into hierarchical structures  
         | 
| 167 | 
            -
            - **Response Logging Improvements**: Flat structure logging without session_ prefix
         | 
| 168 | 
            -
            - **Memory System Expansion**: Added data_engineer and test_integration agents with specialized keywords
         | 
| 169 | 
            -
            - **Path Management System**: Implemented centralized configuration path handling
         | 
| 170 179 |  | 
| 171 | 
            -
            ###  | 
| 172 | 
            -
            - ** | 
| 173 | 
            -
            - ** | 
| 174 | 
            -
            - ** | 
| 175 | 
            -
            - ** | 
| 176 | 
            -
            - ** | 
| 177 | 
            -
             | 
| 178 | 
            -
             | 
| 180 | 
            +
            ### Developer Documentation
         | 
| 181 | 
            +
            - **[Architecture Overview](docs/ARCHITECTURE.md)** - Service-oriented architecture and design
         | 
| 182 | 
            +
            - **[Service Layer Guide](docs/developer/SERVICES.md)** - Service interfaces and implementations
         | 
| 183 | 
            +
            - **[Performance Guide](docs/PERFORMANCE.md)** - Optimization and caching strategies
         | 
| 184 | 
            +
            - **[Security Guide](docs/SECURITY.md)** - Security framework and best practices
         | 
| 185 | 
            +
            - **[Testing Guide](docs/TESTING.md)** - Testing patterns and strategies
         | 
| 186 | 
            +
            - **[Migration Guide](docs/MIGRATION.md)** - Upgrading from previous versions
         | 
| 187 | 
            +
            - **[Project Structure](docs/STRUCTURE.md)** - Codebase organization
         | 
| 188 | 
            +
            - **[Deployment Guide](docs/DEPLOY.md)** - Publishing and versioning
         | 
| 189 | 
            +
            - **[Developer Guide](docs/developer/)** - API reference and internals
         | 
| 190 | 
            +
             | 
| 191 | 
            +
            ## Recent Updates (v3.7.8)
         | 
| 192 | 
            +
             | 
| 193 | 
            +
            ### TSK-0053: Service Layer Architecture Refactoring
         | 
| 194 | 
            +
            - **Service-Oriented Architecture**: Complete redesign with five service domains
         | 
| 195 | 
            +
            - **Interface-Based Contracts**: All services implement explicit interfaces
         | 
| 196 | 
            +
            - **Dependency Injection System**: Service container with automatic dependency resolution
         | 
| 197 | 
            +
            - **Performance Optimizations**: Lazy loading, multi-level caching, connection pooling
         | 
| 198 | 
            +
            - **Security Framework**: Input validation, path traversal prevention, secure operations
         | 
| 199 | 
            +
            - **Backward Compatibility**: Lazy imports maintain existing import paths
         | 
| 200 | 
            +
             | 
| 201 | 
            +
            ### Key Improvements
         | 
| 202 | 
            +
            - **50-80% Performance Improvement**: Optimized caching and lazy loading
         | 
| 203 | 
            +
            - **Enhanced Security**: Comprehensive input validation and sanitization
         | 
| 204 | 
            +
            - **Better Testability**: Interface-based architecture enables easy mocking
         | 
| 205 | 
            +
            - **Improved Maintainability**: Clear separation of concerns and service boundaries
         | 
| 206 | 
            +
            - **Developer Experience**: Rich documentation and migration guides
         | 
| 207 | 
            +
             | 
| 208 | 
            +
            ### Architecture Benefits
         | 
| 209 | 
            +
            - **Scalability**: Service-oriented design supports future growth
         | 
| 210 | 
            +
            - **Extensibility**: Plugin architecture through interfaces and hooks
         | 
| 211 | 
            +
            - **Reliability**: Comprehensive testing with 85%+ coverage
         | 
| 212 | 
            +
            - **Security**: Defense-in-depth security architecture
         | 
| 213 | 
            +
            - **Performance**: Intelligent caching and resource optimization
         | 
| 214 | 
            +
             | 
| 215 | 
            +
            See [CHANGELOG.md](CHANGELOG.md) for full history and [docs/MIGRATION.md](docs/MIGRATION.md) for upgrade instructions.
         | 
| 179 216 |  | 
| 180 217 | 
             
            ## Development
         | 
| 181 218 |  | 
    
        claude_mpm-3.8.1/VERSION
    ADDED
    
    | @@ -0,0 +1 @@ | |
| 1 | 
            +
            3.8.1
         | 
| @@ -0,0 +1,38 @@ | |
| 1 | 
            +
            #!/usr/bin/env bash
         | 
| 2 | 
            +
            # Ticket Management Shell Wrapper for claude-mpm
         | 
| 3 | 
            +
            #
         | 
| 4 | 
            +
            # WHY: This shell script provides backward compatibility for users who use the
         | 
| 5 | 
            +
            # 'ticket' command directly from the shell. It delegates all operations to the
         | 
| 6 | 
            +
            # integrated claude-mpm tickets command.
         | 
| 7 | 
            +
            #
         | 
| 8 | 
            +
            # DESIGN DECISION: This thin wrapper maintains the existing shell interface while
         | 
| 9 | 
            +
            # delegating to the new claude-mpm tickets subcommands for consistency.
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            # Find the project root
         | 
| 12 | 
            +
            SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
         | 
| 13 | 
            +
            PROJECT_ROOT="$( cd "$SCRIPT_DIR/.." && pwd )"
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            # Check if we should use local claude-mpm or installed version
         | 
| 16 | 
            +
            if [ -f "$PROJECT_ROOT/claude-mpm" ] && [ -d "$PROJECT_ROOT/src/claude_mpm" ]; then
         | 
| 17 | 
            +
                # Use local development version
         | 
| 18 | 
            +
                CLAUDE_MPM="$PROJECT_ROOT/claude-mpm"
         | 
| 19 | 
            +
            else
         | 
| 20 | 
            +
                # Use installed version
         | 
| 21 | 
            +
                CLAUDE_MPM="claude-mpm"
         | 
| 22 | 
            +
            fi
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            # Check if claude-mpm is available
         | 
| 25 | 
            +
            if ! command -v "$CLAUDE_MPM" &> /dev/null && [ "$CLAUDE_MPM" = "claude-mpm" ]; then
         | 
| 26 | 
            +
                echo "Error: claude-mpm not found. Please ensure it's installed and in your PATH."
         | 
| 27 | 
            +
                echo "Install with: pip install claude-mpm"
         | 
| 28 | 
            +
                exit 1
         | 
| 29 | 
            +
            fi
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            # Delegate to claude-mpm tickets command
         | 
| 32 | 
            +
            # If no arguments or help requested, show help
         | 
| 33 | 
            +
            if [ $# -eq 0 ] || [ "$1" = "help" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
         | 
| 34 | 
            +
                exec "$CLAUDE_MPM" tickets --help
         | 
| 35 | 
            +
            else
         | 
| 36 | 
            +
                # Pass all arguments to claude-mpm tickets
         | 
| 37 | 
            +
                exec "$CLAUDE_MPM" tickets "$@"
         | 
| 38 | 
            +
            fi
         | 
| @@ -0,0 +1 @@ | |
| 1 | 
            +
            3.8.1
         | 
| @@ -2,12 +2,6 @@ | |
| 2 2 |  | 
| 3 3 | 
             
            **CRITICAL**: These are non-negotiable framework requirements that apply to ALL PM configurations.
         | 
| 4 4 |  | 
| 5 | 
            -
            ## Temporal Context
         | 
| 6 | 
            -
            **Today's Date**: {{current-date}}
         | 
| 7 | 
            -
            Apply date awareness to all time-sensitive tasks and decisions.
         | 
| 8 | 
            -
             | 
| 9 | 
            -
            {{agent-capabilities}}
         | 
| 10 | 
            -
             | 
| 11 5 | 
             
            ## TodoWrite Framework Requirements
         | 
| 12 6 |  | 
| 13 7 | 
             
            ### Mandatory [Agent] Prefix Rules
         | 
| @@ -62,95 +56,6 @@ Apply date awareness to all time-sensitive tasks and decisions. | |
| 62 56 | 
             
            - Include acceptance criteria where helpful
         | 
| 63 57 | 
             
            - Reference relevant files or context
         | 
| 64 58 |  | 
| 65 | 
            -
            ## Memory Management Protocol
         | 
| 66 | 
            -
             | 
| 67 | 
            -
            ### Memory Evaluation (MANDATORY for ALL user prompts)
         | 
| 68 | 
            -
             | 
| 69 | 
            -
            **Memory Trigger Words/Phrases**:
         | 
| 70 | 
            -
            - "remember", "don't forget", "keep in mind", "note that"
         | 
| 71 | 
            -
            - "make sure to", "always", "never", "important"
         | 
| 72 | 
            -
            - "going forward", "in the future", "from now on"
         | 
| 73 | 
            -
            - "this pattern", "this approach", "this way"
         | 
| 74 | 
            -
            - Project-specific standards or requirements
         | 
| 75 | 
            -
             | 
| 76 | 
            -
            **When Memory Indicators Detected**:
         | 
| 77 | 
            -
            1. **Extract Key Information**: Identify facts, patterns, or guidelines to preserve
         | 
| 78 | 
            -
            2. **Determine Agent & Type**:
         | 
| 79 | 
            -
               - Code patterns/standards → Engineer Agent (type: pattern)
         | 
| 80 | 
            -
               - Architecture decisions → Research Agent (type: architecture)
         | 
| 81 | 
            -
               - Testing requirements → QA Agent (type: guideline)
         | 
| 82 | 
            -
               - Security policies → Security Agent (type: guideline)
         | 
| 83 | 
            -
               - Documentation standards → Documentation Agent (type: guideline)
         | 
| 84 | 
            -
               - Deployment patterns → Ops Agent (type: strategy)
         | 
| 85 | 
            -
               - Data schemas → Data Engineer Agent (type: architecture)
         | 
| 86 | 
            -
            3. **Delegate Storage**: Use memory task format with appropriate agent
         | 
| 87 | 
            -
            4. **Confirm to User**: "Storing this information: [brief summary] for [agent]"
         | 
| 88 | 
            -
             | 
| 89 | 
            -
            ### Memory Storage Task Format
         | 
| 90 | 
            -
             | 
| 91 | 
            -
            ```
         | 
| 92 | 
            -
            Task: Store project-specific memory
         | 
| 93 | 
            -
            Agent: <appropriate agent based on content>
         | 
| 94 | 
            -
            Context:
         | 
| 95 | 
            -
              Goal: Preserve important project knowledge for future reference
         | 
| 96 | 
            -
              Memory Request: <user's original request>
         | 
| 97 | 
            -
              Suggested Format:
         | 
| 98 | 
            -
                # Add To Memory:
         | 
| 99 | 
            -
                Type: <pattern|architecture|guideline|mistake|strategy|integration|performance|context>
         | 
| 100 | 
            -
                Content: <concise summary under 100 chars>
         | 
| 101 | 
            -
                #
         | 
| 102 | 
            -
            ```
         | 
| 103 | 
            -
             | 
| 104 | 
            -
            ### Agent Memory Routing Matrix
         | 
| 105 | 
            -
             | 
| 106 | 
            -
            **Engineering Agent Memory**:
         | 
| 107 | 
            -
            - Implementation patterns and anti-patterns
         | 
| 108 | 
            -
            - Code architecture and design decisions
         | 
| 109 | 
            -
            - Performance optimizations and bottlenecks
         | 
| 110 | 
            -
            - Technology stack choices and constraints
         | 
| 111 | 
            -
             | 
| 112 | 
            -
            **Research Agent Memory**:
         | 
| 113 | 
            -
            - Analysis findings and investigation results
         | 
| 114 | 
            -
            - Domain knowledge and business logic
         | 
| 115 | 
            -
            - Architectural decisions and trade-offs
         | 
| 116 | 
            -
            - Codebase patterns and conventions
         | 
| 117 | 
            -
             | 
| 118 | 
            -
            **QA Agent Memory**:
         | 
| 119 | 
            -
            - Testing strategies and coverage requirements
         | 
| 120 | 
            -
            - Quality standards and acceptance criteria
         | 
| 121 | 
            -
            - Bug patterns and regression risks
         | 
| 122 | 
            -
            - Test infrastructure and tooling
         | 
| 123 | 
            -
             | 
| 124 | 
            -
            **Security Agent Memory**:
         | 
| 125 | 
            -
            - Security patterns and vulnerabilities
         | 
| 126 | 
            -
            - Threat models and attack vectors
         | 
| 127 | 
            -
            - Compliance requirements and policies
         | 
| 128 | 
            -
            - Authentication/authorization patterns
         | 
| 129 | 
            -
             | 
| 130 | 
            -
            **Documentation Agent Memory**:
         | 
| 131 | 
            -
            - Writing standards and style guides
         | 
| 132 | 
            -
            - Content organization patterns
         | 
| 133 | 
            -
            - API documentation conventions
         | 
| 134 | 
            -
            - User guide templates
         | 
| 135 | 
            -
             | 
| 136 | 
            -
            **Data Engineer Agent Memory**:
         | 
| 137 | 
            -
            - Data pipeline patterns and ETL strategies
         | 
| 138 | 
            -
            - Schema designs and migrations
         | 
| 139 | 
            -
            - Performance tuning techniques
         | 
| 140 | 
            -
            - Data quality requirements
         | 
| 141 | 
            -
             | 
| 142 | 
            -
            **Ops Agent Memory**:
         | 
| 143 | 
            -
            - Deployment patterns and rollback procedures
         | 
| 144 | 
            -
            - Infrastructure configurations
         | 
| 145 | 
            -
            - Monitoring and alerting strategies
         | 
| 146 | 
            -
            - CI/CD pipeline requirements
         | 
| 147 | 
            -
             | 
| 148 | 
            -
            **Version Control Agent Memory**:
         | 
| 149 | 
            -
            - Branching strategies and conventions
         | 
| 150 | 
            -
            - Commit message standards
         | 
| 151 | 
            -
            - Code review processes
         | 
| 152 | 
            -
            - Release management patterns
         | 
| 153 | 
            -
             | 
| 154 59 | 
             
            ## PM Response Format
         | 
| 155 60 |  | 
| 156 61 | 
             
            **CRITICAL**: As the PM, you must also provide structured responses for logging and tracking.
         | 
| @@ -260,14 +165,3 @@ The authentication system is now complete with support for Google, GitHub, and M | |
| 260 165 | 
             
              ]
         | 
| 261 166 | 
             
            }
         | 
| 262 167 | 
             
            ```
         | 
| 263 | 
            -
             | 
| 264 | 
            -
            ## Framework Integration Notes
         | 
| 265 | 
            -
             | 
| 266 | 
            -
            **IMPORTANT**: These framework requirements are injected AFTER custom INSTRUCTIONS.md to ensure:
         | 
| 267 | 
            -
            1. Core framework behaviors are always preserved
         | 
| 268 | 
            -
            2. TodoWrite prefix rules are consistently enforced
         | 
| 269 | 
            -
            3. Memory management protocols are standardized
         | 
| 270 | 
            -
            4. Response formats enable proper logging
         | 
| 271 | 
            -
            5. Custom instructions cannot override framework requirements
         | 
| 272 | 
            -
             | 
| 273 | 
            -
            This separation ensures the PM system maintains architectural integrity while allowing project-specific customization through INSTRUCTIONS.md.
         |