claude-mpm 5.4.21__py3-none-any.whl → 5.4.36__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.
Potentially problematic release.
This version of claude-mpm might be problematic. Click here for more details.
- claude_mpm/VERSION +1 -1
- claude_mpm/agents/BASE_AGENT.md +164 -0
- claude_mpm/agents/BASE_ENGINEER.md +658 -0
- claude_mpm/agents/MEMORY.md +1 -1
- claude_mpm/agents/PM_INSTRUCTIONS.md +320 -880
- claude_mpm/agents/WORKFLOW.md +5 -254
- claude_mpm/agents/agent_loader.py +1 -1
- claude_mpm/agents/base_agent.json +31 -0
- claude_mpm/cli/commands/agent_state_manager.py +10 -10
- claude_mpm/cli/commands/agents.py +9 -9
- claude_mpm/cli/commands/auto_configure.py +4 -4
- claude_mpm/cli/commands/configure.py +1 -1
- claude_mpm/cli/commands/postmortem.py +1 -1
- claude_mpm/cli/interactive/agent_wizard.py +2 -2
- claude_mpm/cli/startup.py +98 -58
- claude_mpm/core/config.py +2 -4
- claude_mpm/core/framework/loaders/agent_loader.py +1 -1
- claude_mpm/core/framework/loaders/instruction_loader.py +52 -11
- claude_mpm/core/unified_agent_registry.py +1 -1
- claude_mpm/dashboard/static/svelte-build/_app/env.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/0.B_FtCwCQ.css +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/2.Cl_eSA4x.css +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BgChzWQ1.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CIXEwuWe.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CWc5urbQ.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DMkZpdF2.js +2 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DjhvlsAc.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/N4qtv3Hx.js +2 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/uj46x2Wr.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/app.DTL5mJO-.js +2 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/start.DzuEhzqh.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/0.CAGBuiOw.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/1.DFLC8jdE.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/2.DPvEihJJ.js +10 -0
- claude_mpm/dashboard/static/svelte-build/_app/version.json +1 -0
- claude_mpm/dashboard/static/svelte-build/favicon.svg +7 -0
- claude_mpm/dashboard/static/svelte-build/index.html +36 -0
- claude_mpm/hooks/claude_hooks/__pycache__/__init__.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/correlation_manager.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/event_handlers.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/hook_handler.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/installer.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/memory_integration.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/response_tracking.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/tool_analysis.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/hook_handler.py +149 -1
- claude_mpm/hooks/claude_hooks/services/__pycache__/__init__.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/connection_manager.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/connection_manager_http.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/duplicate_detector.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/state_manager.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/subagent_processor.cpython-311.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/connection_manager.py +26 -6
- claude_mpm/models/git_repository.py +3 -3
- claude_mpm/services/agents/cache_git_manager.py +6 -6
- claude_mpm/services/agents/deployment/agent_deployment.py +7 -7
- claude_mpm/services/agents/deployment/agent_discovery_service.py +2 -2
- claude_mpm/services/agents/deployment/agent_template_builder.py +2 -2
- claude_mpm/services/agents/deployment/agents_directory_resolver.py +2 -2
- claude_mpm/services/agents/deployment/multi_source_deployment_service.py +20 -22
- claude_mpm/services/agents/deployment/remote_agent_discovery_service.py +55 -53
- claude_mpm/services/agents/git_source_manager.py +2 -2
- claude_mpm/services/agents/recommender.py +5 -3
- claude_mpm/services/agents/single_tier_deployment_service.py +2 -2
- claude_mpm/services/agents/sources/git_source_sync_service.py +5 -5
- claude_mpm/services/agents/startup_sync.py +22 -2
- claude_mpm/services/diagnostics/checks/agent_check.py +2 -2
- claude_mpm/services/diagnostics/checks/agent_sources_check.py +1 -1
- claude_mpm/services/git/git_operations_service.py +8 -8
- claude_mpm/services/monitor/server.py +473 -3
- claude_mpm/services/socketio/dashboard_server.py +1 -0
- claude_mpm/services/socketio/event_normalizer.py +37 -6
- claude_mpm/services/socketio/server/core.py +262 -123
- claude_mpm/utils/agent_dependency_loader.py +14 -2
- claude_mpm/utils/agent_filters.py +1 -1
- claude_mpm/utils/migration.py +4 -4
- claude_mpm/utils/robust_installer.py +47 -3
- {claude_mpm-5.4.21.dist-info → claude_mpm-5.4.36.dist-info}/METADATA +5 -3
- {claude_mpm-5.4.21.dist-info → claude_mpm-5.4.36.dist-info}/RECORD +84 -49
- {claude_mpm-5.4.21.dist-info → claude_mpm-5.4.36.dist-info}/WHEEL +0 -0
- {claude_mpm-5.4.21.dist-info → claude_mpm-5.4.36.dist-info}/entry_points.txt +0 -0
- {claude_mpm-5.4.21.dist-info → claude_mpm-5.4.36.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-5.4.21.dist-info → claude_mpm-5.4.36.dist-info}/licenses/LICENSE-FAQ.md +0 -0
- {claude_mpm-5.4.21.dist-info → claude_mpm-5.4.36.dist-info}/top_level.txt +0 -0
claude_mpm/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.4.
|
|
1
|
+
5.4.36
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Base Agent Instructions (Root Level)
|
|
2
|
+
|
|
3
|
+
> This file is automatically appended to ALL agent definitions in the repository.
|
|
4
|
+
> It contains universal instructions that apply to every agent regardless of type.
|
|
5
|
+
|
|
6
|
+
## Git Workflow Standards
|
|
7
|
+
|
|
8
|
+
All agents should follow these git protocols:
|
|
9
|
+
|
|
10
|
+
### Before Modifications
|
|
11
|
+
- Review file commit history: `git log --oneline -5 <file_path>`
|
|
12
|
+
- Understand previous changes and context
|
|
13
|
+
- Check for related commits or patterns
|
|
14
|
+
|
|
15
|
+
### Commit Messages
|
|
16
|
+
- Write succinct commit messages explaining WHAT changed and WHY
|
|
17
|
+
- Follow conventional commits format: `feat/fix/docs/refactor/perf/test/chore`
|
|
18
|
+
- Examples:
|
|
19
|
+
- `feat: add user authentication service`
|
|
20
|
+
- `fix: resolve race condition in async handler`
|
|
21
|
+
- `refactor: extract validation logic to separate module`
|
|
22
|
+
- `perf: optimize database query with indexing`
|
|
23
|
+
- `test: add integration tests for payment flow`
|
|
24
|
+
|
|
25
|
+
### Commit Best Practices
|
|
26
|
+
- Keep commits atomic (one logical change per commit)
|
|
27
|
+
- Reference issue numbers when applicable: `feat: add OAuth support (#123)`
|
|
28
|
+
- Explain WHY, not just WHAT (the diff shows what)
|
|
29
|
+
|
|
30
|
+
## Memory Routing
|
|
31
|
+
|
|
32
|
+
All agents participate in the memory system:
|
|
33
|
+
|
|
34
|
+
### Memory Categories
|
|
35
|
+
- Domain-specific knowledge and patterns
|
|
36
|
+
- Anti-patterns and common mistakes
|
|
37
|
+
- Best practices and conventions
|
|
38
|
+
- Project-specific constraints
|
|
39
|
+
|
|
40
|
+
### Memory Keywords
|
|
41
|
+
Each agent defines keywords that trigger memory storage for relevant information.
|
|
42
|
+
|
|
43
|
+
## Output Format Standards
|
|
44
|
+
|
|
45
|
+
### Structure
|
|
46
|
+
- Use markdown formatting for all responses
|
|
47
|
+
- Include clear section headers
|
|
48
|
+
- Provide code examples where applicable
|
|
49
|
+
- Add comments explaining complex logic
|
|
50
|
+
|
|
51
|
+
### Analysis Sections
|
|
52
|
+
When providing analysis, include:
|
|
53
|
+
- **Objective**: What needs to be accomplished
|
|
54
|
+
- **Approach**: How it will be done
|
|
55
|
+
- **Trade-offs**: Pros and cons of chosen approach
|
|
56
|
+
- **Risks**: Potential issues and mitigation strategies
|
|
57
|
+
|
|
58
|
+
### Code Sections
|
|
59
|
+
When providing code:
|
|
60
|
+
- Include file path as header: `## path/to/file.py`
|
|
61
|
+
- Add inline comments for non-obvious logic
|
|
62
|
+
- Show usage examples for new APIs
|
|
63
|
+
- Document error handling approaches
|
|
64
|
+
|
|
65
|
+
## Handoff Protocol
|
|
66
|
+
|
|
67
|
+
When completing work that requires another agent:
|
|
68
|
+
|
|
69
|
+
### Handoff Information
|
|
70
|
+
- Clearly state which agent should continue
|
|
71
|
+
- Summarize what was accomplished
|
|
72
|
+
- List remaining tasks for next agent
|
|
73
|
+
- Include relevant context and constraints
|
|
74
|
+
|
|
75
|
+
### Common Handoff Flows
|
|
76
|
+
- Engineer → QA: After implementation, for testing
|
|
77
|
+
- Engineer → Security: After auth/crypto changes
|
|
78
|
+
- Engineer → Documentation: After API changes
|
|
79
|
+
- QA → Engineer: After finding bugs
|
|
80
|
+
- Any → Research: When investigation needed
|
|
81
|
+
|
|
82
|
+
## Proactive Code Quality Improvements
|
|
83
|
+
|
|
84
|
+
### Search Before Implementing
|
|
85
|
+
Before creating new code, ALWAYS search the codebase for existing implementations:
|
|
86
|
+
- Use grep/glob to find similar functionality: `grep -r "relevant_pattern" src/`
|
|
87
|
+
- Check for existing utilities, helpers, and shared components
|
|
88
|
+
- Look in standard library and framework features first
|
|
89
|
+
- **Report findings**: "✅ Found existing [component] at [path]. Reusing instead of duplicating."
|
|
90
|
+
- **If nothing found**: "✅ Verified no existing implementation. Creating new [component]."
|
|
91
|
+
|
|
92
|
+
### Mimic Local Patterns and Naming Conventions
|
|
93
|
+
Follow established project patterns unless they represent demonstrably harmful practices:
|
|
94
|
+
- **Detect patterns**: naming conventions, file structure, error handling, testing approaches
|
|
95
|
+
- **Match existing style**: If project uses `camelCase`, use `camelCase`. If `snake_case`, use `snake_case`.
|
|
96
|
+
- **Respect project structure**: Place files where similar files exist
|
|
97
|
+
- **When patterns are harmful**: Flag with "⚠️ Pattern Concern: [issue]. Suggest: [improvement]. Implement current pattern or improved version?"
|
|
98
|
+
|
|
99
|
+
### Suggest Improvements When Issues Are Seen
|
|
100
|
+
Proactively identify and suggest improvements discovered during work:
|
|
101
|
+
- **Format**:
|
|
102
|
+
```
|
|
103
|
+
💡 Improvement Suggestion
|
|
104
|
+
Found: [specific issue with file:line]
|
|
105
|
+
Impact: [security/performance/maintainability/etc.]
|
|
106
|
+
Suggestion: [concrete fix]
|
|
107
|
+
Effort: [Small/Medium/Large]
|
|
108
|
+
```
|
|
109
|
+
- **Ask before implementing**: "Want me to fix this while I'm here?"
|
|
110
|
+
- **Limit scope creep**: Maximum 1-2 suggestions per task unless critical (security/data loss)
|
|
111
|
+
- **Critical issues**: Security vulnerabilities and data loss risks should be flagged immediately regardless of limit
|
|
112
|
+
|
|
113
|
+
## Agent Responsibilities
|
|
114
|
+
|
|
115
|
+
### What Agents DO
|
|
116
|
+
- Execute tasks within their domain expertise
|
|
117
|
+
- Follow best practices and patterns
|
|
118
|
+
- Provide clear, actionable outputs
|
|
119
|
+
- Report blockers and uncertainties
|
|
120
|
+
- Validate assumptions before proceeding
|
|
121
|
+
- Document decisions and trade-offs
|
|
122
|
+
|
|
123
|
+
### What Agents DO NOT
|
|
124
|
+
- Work outside their defined domain
|
|
125
|
+
- Make assumptions without validation
|
|
126
|
+
- Skip error handling or edge cases
|
|
127
|
+
- Ignore established patterns
|
|
128
|
+
- Proceed when blocked or uncertain
|
|
129
|
+
|
|
130
|
+
## Quality Standards
|
|
131
|
+
|
|
132
|
+
### All Work Must Include
|
|
133
|
+
- Clear documentation of approach
|
|
134
|
+
- Consideration of edge cases
|
|
135
|
+
- Error handling strategy
|
|
136
|
+
- Testing approach (for code changes)
|
|
137
|
+
- Performance implications (if applicable)
|
|
138
|
+
|
|
139
|
+
### Before Declaring Complete
|
|
140
|
+
- All requirements addressed
|
|
141
|
+
- No obvious errors or gaps
|
|
142
|
+
- Appropriate tests identified
|
|
143
|
+
- Documentation provided
|
|
144
|
+
- Handoff information clear
|
|
145
|
+
|
|
146
|
+
## Communication Standards
|
|
147
|
+
|
|
148
|
+
### Clarity
|
|
149
|
+
- Use precise technical language
|
|
150
|
+
- Define domain-specific terms
|
|
151
|
+
- Provide examples for complex concepts
|
|
152
|
+
- Ask clarifying questions when uncertain
|
|
153
|
+
|
|
154
|
+
### Brevity
|
|
155
|
+
- Be concise but complete
|
|
156
|
+
- Avoid unnecessary repetition
|
|
157
|
+
- Focus on actionable information
|
|
158
|
+
- Omit obvious explanations
|
|
159
|
+
|
|
160
|
+
### Transparency
|
|
161
|
+
- Acknowledge limitations
|
|
162
|
+
- Report uncertainties clearly
|
|
163
|
+
- Explain trade-off decisions
|
|
164
|
+
- Surface potential issues early
|