claude-mpm 5.4.36__py3-none-any.whl → 5.4.62__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/CLAUDE_MPM_TEACHER_OUTPUT_STYLE.md +5 -0
- claude_mpm/agents/PM_INSTRUCTIONS.md +489 -177
- claude_mpm/agents/base_agent.json +1 -1
- claude_mpm/agents/frontmatter_validator.py +2 -2
- claude_mpm/cli/commands/configure_agent_display.py +12 -0
- claude_mpm/cli/commands/mpm_init/core.py +72 -0
- claude_mpm/cli/commands/profile.py +276 -0
- claude_mpm/cli/commands/skills.py +14 -18
- claude_mpm/cli/executor.py +10 -0
- claude_mpm/cli/parsers/base_parser.py +7 -0
- claude_mpm/cli/parsers/profile_parser.py +147 -0
- claude_mpm/cli/parsers/skills_parser.py +0 -6
- claude_mpm/cli/startup.py +433 -147
- claude_mpm/commands/mpm-config.md +13 -250
- claude_mpm/commands/mpm-doctor.md +9 -22
- claude_mpm/commands/mpm-help.md +5 -206
- claude_mpm/commands/mpm-init.md +81 -507
- claude_mpm/commands/mpm-monitor.md +15 -402
- claude_mpm/commands/mpm-organize.md +61 -441
- claude_mpm/commands/mpm-postmortem.md +6 -108
- claude_mpm/commands/mpm-session-resume.md +12 -363
- claude_mpm/commands/mpm-status.md +5 -69
- claude_mpm/commands/mpm-ticket-view.md +52 -495
- claude_mpm/commands/mpm-version.md +5 -107
- claude_mpm/core/optimized_startup.py +61 -0
- claude_mpm/core/shared/config_loader.py +3 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/0.DWzvg0-y.css +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/2.ThTw9_ym.css +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{CWc5urbQ.js → 4TdZjIqw.js} +1 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/5shd3_w0.js +24 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/B0uc0UOD.js +36 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/B7RN905-.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/B7xVLGWV.js +2 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BIF9m_hv.js +61 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BKjSRqUr.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BPYeabCQ.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BQaXIfA_.js +331 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{uj46x2Wr.js → BSNlmTZj.js} +1 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Be7GpZd6.js +7 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Bh0LDWpI.js +145 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BofRWZRR.js +10 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BovzEFCE.js +30 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/C30mlcqg.js +165 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/C4B-KCzX.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/C4JcI4KD.js +122 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CBBdVcY8.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CDuw-vjf.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/C_Usid8X.js +15 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Cfqx1Qun.js +10 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CiIAseT4.js +128 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CmKTTxBW.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CnA0NrzZ.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Cs_tUR18.js +24 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Cu_Erd72.js +261 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CyWMqx4W.js +43 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CzZX-COe.js +220 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CzeYkLYB.js +65 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/D3k0OPJN.js +4 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/D9lljYKQ.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DGkLK5U1.js +267 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DI7hHRFL.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DLVjFsZ3.js +139 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DUrLdbGD.js +89 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DVp1hx9R.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DY1XQ8fi.js +2 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DZX00Y4g.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Da0KfYnO.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DaimHw_p.js +68 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Dfy6j1xT.js +323 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Dhb8PKl3.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Dle-35c7.js +64 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DmxopI1J.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DwBR2MJi.js +60 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/GYwsonyD.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/Gi6I4Gst.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{DjhvlsAc.js → NqQ1dWOy.js} +1 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/RJiighC3.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/{N4qtv3Hx.js → Vzk33B_K.js} +1 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/ZGh7QtNv.js +7 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/bT1r9zLR.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/bTOqqlTd.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/eNVUfhuA.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/iEWssX7S.js +162 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/sQeU3Y1z.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/uuIeMWc-.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/app.D6-I5TpK.js +2 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/start.NWzMBYRp.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/{0.CAGBuiOw.js → 0.m1gL8KXf.js} +1 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/1.CgNOuw-d.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/2.C0GcWctS.js +1 -0
- claude_mpm/dashboard/static/svelte-build/_app/version.json +1 -1
- claude_mpm/dashboard/static/svelte-build/index.html +10 -10
- claude_mpm/dashboard-svelte/node_modules/katex/src/fonts/generate_fonts.py +58 -0
- claude_mpm/dashboard-svelte/node_modules/katex/src/metrics/extract_tfms.py +114 -0
- claude_mpm/dashboard-svelte/node_modules/katex/src/metrics/extract_ttfs.py +122 -0
- claude_mpm/dashboard-svelte/node_modules/katex/src/metrics/format_json.py +28 -0
- claude_mpm/dashboard-svelte/node_modules/katex/src/metrics/parse_tfm.py +211 -0
- claude_mpm/hooks/kuzu_memory_hook.py +5 -5
- claude_mpm/init.py +276 -0
- claude_mpm/services/agents/agent_builder.py +3 -3
- claude_mpm/services/agents/deployment/agent_deployment.py +22 -0
- claude_mpm/services/agents/deployment/agent_discovery_service.py +3 -1
- claude_mpm/services/agents/deployment/agent_format_converter.py +25 -13
- claude_mpm/services/agents/deployment/agent_template_builder.py +37 -17
- claude_mpm/services/agents/deployment/async_agent_deployment.py +31 -27
- claude_mpm/services/agents/deployment/local_template_deployment.py +3 -1
- claude_mpm/services/agents/deployment/multi_source_deployment_service.py +149 -4
- claude_mpm/services/agents/deployment/remote_agent_discovery_service.py +47 -26
- claude_mpm/services/agents/git_source_manager.py +21 -2
- claude_mpm/services/agents/sources/git_source_sync_service.py +116 -5
- claude_mpm/services/monitor/management/lifecycle.py +7 -1
- claude_mpm/services/pm_skills_deployer.py +711 -0
- claude_mpm/services/profile_manager.py +337 -0
- claude_mpm/services/skills/git_skill_source_manager.py +148 -11
- claude_mpm/services/skills/selective_skill_deployer.py +97 -48
- claude_mpm/services/skills_deployer.py +161 -65
- claude_mpm/skills/bundled/collaboration/brainstorming/SKILL.md +79 -0
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/SKILL.md +178 -0
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/agent-prompts.md +577 -0
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/coordination-patterns.md +467 -0
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/examples.md +537 -0
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/troubleshooting.md +730 -0
- claude_mpm/skills/bundled/collaboration/git-worktrees.md +317 -0
- claude_mpm/skills/bundled/collaboration/requesting-code-review/SKILL.md +112 -0
- claude_mpm/skills/bundled/collaboration/requesting-code-review/references/code-reviewer-template.md +146 -0
- claude_mpm/skills/bundled/collaboration/requesting-code-review/references/review-examples.md +412 -0
- claude_mpm/skills/bundled/collaboration/stacked-prs.md +251 -0
- claude_mpm/skills/bundled/collaboration/writing-plans/SKILL.md +81 -0
- claude_mpm/skills/bundled/collaboration/writing-plans/references/best-practices.md +362 -0
- claude_mpm/skills/bundled/collaboration/writing-plans/references/plan-structure-templates.md +312 -0
- claude_mpm/skills/bundled/debugging/root-cause-tracing/SKILL.md +152 -0
- claude_mpm/skills/bundled/debugging/root-cause-tracing/references/advanced-techniques.md +668 -0
- claude_mpm/skills/bundled/debugging/root-cause-tracing/references/examples.md +587 -0
- claude_mpm/skills/bundled/debugging/root-cause-tracing/references/integration.md +438 -0
- claude_mpm/skills/bundled/debugging/root-cause-tracing/references/tracing-techniques.md +391 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/CREATION-LOG.md +119 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/SKILL.md +148 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/references/anti-patterns.md +483 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/references/examples.md +452 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/references/troubleshooting.md +449 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/references/workflow.md +411 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/test-academic.md +14 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-1.md +58 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-2.md +68 -0
- claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-3.md +69 -0
- claude_mpm/skills/bundled/debugging/verification-before-completion/SKILL.md +131 -0
- claude_mpm/skills/bundled/debugging/verification-before-completion/references/gate-function.md +325 -0
- claude_mpm/skills/bundled/debugging/verification-before-completion/references/integration-and-workflows.md +490 -0
- claude_mpm/skills/bundled/debugging/verification-before-completion/references/red-flags-and-failures.md +425 -0
- claude_mpm/skills/bundled/debugging/verification-before-completion/references/verification-patterns.md +499 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/INTEGRATION.md +611 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/README.md +596 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/SKILL.md +260 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/examples/nextjs-env-structure.md +315 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/references/frameworks.md +436 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/references/security.md +433 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/references/synchronization.md +452 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/references/troubleshooting.md +404 -0
- claude_mpm/skills/bundled/infrastructure/env-manager/references/validation.md +420 -0
- claude_mpm/skills/bundled/main/artifacts-builder/SKILL.md +86 -0
- claude_mpm/skills/bundled/main/internal-comms/SKILL.md +43 -0
- claude_mpm/skills/bundled/main/internal-comms/examples/3p-updates.md +47 -0
- claude_mpm/skills/bundled/main/internal-comms/examples/company-newsletter.md +65 -0
- claude_mpm/skills/bundled/main/internal-comms/examples/faq-answers.md +30 -0
- claude_mpm/skills/bundled/main/internal-comms/examples/general-comms.md +16 -0
- claude_mpm/skills/bundled/main/mcp-builder/SKILL.md +160 -0
- claude_mpm/skills/bundled/main/mcp-builder/reference/design_principles.md +412 -0
- claude_mpm/skills/bundled/main/mcp-builder/reference/evaluation.md +602 -0
- claude_mpm/skills/bundled/main/mcp-builder/reference/mcp_best_practices.md +915 -0
- claude_mpm/skills/bundled/main/mcp-builder/reference/node_mcp_server.md +916 -0
- claude_mpm/skills/bundled/main/mcp-builder/reference/python_mcp_server.md +752 -0
- claude_mpm/skills/bundled/main/mcp-builder/reference/workflow.md +1237 -0
- claude_mpm/skills/bundled/main/skill-creator/SKILL.md +189 -0
- claude_mpm/skills/bundled/main/skill-creator/references/best-practices.md +500 -0
- claude_mpm/skills/bundled/main/skill-creator/references/creation-workflow.md +464 -0
- claude_mpm/skills/bundled/main/skill-creator/references/examples.md +619 -0
- claude_mpm/skills/bundled/main/skill-creator/references/progressive-disclosure.md +437 -0
- claude_mpm/skills/bundled/main/skill-creator/references/skill-structure.md +231 -0
- claude_mpm/skills/bundled/php/espocrm-development/SKILL.md +170 -0
- claude_mpm/skills/bundled/php/espocrm-development/references/architecture.md +602 -0
- claude_mpm/skills/bundled/php/espocrm-development/references/common-tasks.md +821 -0
- claude_mpm/skills/bundled/php/espocrm-development/references/development-workflow.md +742 -0
- claude_mpm/skills/bundled/php/espocrm-development/references/frontend-customization.md +726 -0
- claude_mpm/skills/bundled/php/espocrm-development/references/hooks-and-services.md +764 -0
- claude_mpm/skills/bundled/php/espocrm-development/references/testing-debugging.md +831 -0
- claude_mpm/skills/bundled/pm/pm-delegation-patterns/SKILL.md +167 -0
- claude_mpm/skills/bundled/pm/pm-git-file-tracking/SKILL.md +113 -0
- claude_mpm/skills/bundled/pm/pm-pr-workflow/SKILL.md +124 -0
- claude_mpm/skills/bundled/pm/pm-ticketing-integration/SKILL.md +154 -0
- claude_mpm/skills/bundled/pm/pm-verification-protocols/SKILL.md +198 -0
- claude_mpm/skills/bundled/react/flexlayout-react.md +742 -0
- claude_mpm/skills/bundled/rust/desktop-applications/SKILL.md +226 -0
- claude_mpm/skills/bundled/rust/desktop-applications/references/architecture-patterns.md +901 -0
- claude_mpm/skills/bundled/rust/desktop-applications/references/native-gui-frameworks.md +901 -0
- claude_mpm/skills/bundled/rust/desktop-applications/references/platform-integration.md +775 -0
- claude_mpm/skills/bundled/rust/desktop-applications/references/state-management.md +937 -0
- claude_mpm/skills/bundled/rust/desktop-applications/references/tauri-framework.md +770 -0
- claude_mpm/skills/bundled/rust/desktop-applications/references/testing-deployment.md +961 -0
- claude_mpm/skills/bundled/security-scanning.md +112 -0
- claude_mpm/skills/bundled/tauri/tauri-async-patterns.md +495 -0
- claude_mpm/skills/bundled/tauri/tauri-build-deploy.md +599 -0
- claude_mpm/skills/bundled/tauri/tauri-command-patterns.md +535 -0
- claude_mpm/skills/bundled/tauri/tauri-error-handling.md +613 -0
- claude_mpm/skills/bundled/tauri/tauri-event-system.md +648 -0
- claude_mpm/skills/bundled/tauri/tauri-file-system.md +673 -0
- claude_mpm/skills/bundled/tauri/tauri-frontend-integration.md +767 -0
- claude_mpm/skills/bundled/tauri/tauri-performance.md +669 -0
- claude_mpm/skills/bundled/tauri/tauri-state-management.md +573 -0
- claude_mpm/skills/bundled/tauri/tauri-testing.md +384 -0
- claude_mpm/skills/bundled/tauri/tauri-window-management.md +628 -0
- claude_mpm/skills/bundled/testing/condition-based-waiting/SKILL.md +119 -0
- claude_mpm/skills/bundled/testing/condition-based-waiting/references/patterns-and-implementation.md +253 -0
- claude_mpm/skills/bundled/testing/test-driven-development/SKILL.md +145 -0
- claude_mpm/skills/bundled/testing/test-driven-development/references/anti-patterns.md +543 -0
- claude_mpm/skills/bundled/testing/test-driven-development/references/examples.md +741 -0
- claude_mpm/skills/bundled/testing/test-driven-development/references/integration.md +470 -0
- claude_mpm/skills/bundled/testing/test-driven-development/references/philosophy.md +458 -0
- claude_mpm/skills/bundled/testing/test-driven-development/references/workflow.md +639 -0
- claude_mpm/skills/bundled/testing/test-quality-inspector/SKILL.md +458 -0
- claude_mpm/skills/bundled/testing/test-quality-inspector/examples/example-inspection-report.md +411 -0
- claude_mpm/skills/bundled/testing/test-quality-inspector/references/assertion-quality.md +317 -0
- claude_mpm/skills/bundled/testing/test-quality-inspector/references/inspection-checklist.md +270 -0
- claude_mpm/skills/bundled/testing/test-quality-inspector/references/red-flags.md +436 -0
- claude_mpm/skills/bundled/testing/testing-anti-patterns/SKILL.md +140 -0
- claude_mpm/skills/bundled/testing/testing-anti-patterns/references/completeness-anti-patterns.md +572 -0
- claude_mpm/skills/bundled/testing/testing-anti-patterns/references/core-anti-patterns.md +411 -0
- claude_mpm/skills/bundled/testing/testing-anti-patterns/references/detection-guide.md +569 -0
- claude_mpm/skills/bundled/testing/testing-anti-patterns/references/tdd-connection.md +695 -0
- claude_mpm/skills/bundled/testing/webapp-testing/SKILL.md +184 -0
- claude_mpm/skills/bundled/testing/webapp-testing/decision-tree.md +459 -0
- claude_mpm/skills/bundled/testing/webapp-testing/playwright-patterns.md +479 -0
- claude_mpm/skills/bundled/testing/webapp-testing/reconnaissance-pattern.md +687 -0
- claude_mpm/skills/bundled/testing/webapp-testing/server-management.md +758 -0
- claude_mpm/skills/bundled/testing/webapp-testing/troubleshooting.md +868 -0
- claude_mpm/skills/skill_manager.py +98 -3
- claude_mpm/templates/.pre-commit-config.yaml +112 -0
- {claude_mpm-5.4.36.dist-info → claude_mpm-5.4.62.dist-info}/METADATA +3 -2
- {claude_mpm-5.4.36.dist-info → claude_mpm-5.4.62.dist-info}/RECORD +244 -68
- claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/0.B_FtCwCQ.css +0 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/assets/2.Cl_eSA4x.css +0 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/BgChzWQ1.js +0 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/CIXEwuWe.js +0 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/chunks/DMkZpdF2.js +0 -2
- claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/app.DTL5mJO-.js +0 -2
- claude_mpm/dashboard/static/svelte-build/_app/immutable/entry/start.DzuEhzqh.js +0 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/1.DFLC8jdE.js +0 -1
- claude_mpm/dashboard/static/svelte-build/_app/immutable/nodes/2.DPvEihJJ.js +0 -10
- claude_mpm/hooks/claude_hooks/services/__pycache__/connection_manager.cpython-311.pyc +0 -0
- {claude_mpm-5.4.36.dist-info → claude_mpm-5.4.62.dist-info}/WHEEL +0 -0
- {claude_mpm-5.4.36.dist-info → claude_mpm-5.4.62.dist-info}/entry_points.txt +0 -0
- {claude_mpm-5.4.36.dist-info → claude_mpm-5.4.62.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-5.4.36.dist-info → claude_mpm-5.4.62.dist-info}/licenses/LICENSE-FAQ.md +0 -0
- {claude_mpm-5.4.36.dist-info → claude_mpm-5.4.62.dist-info}/top_level.txt +0 -0
claude_mpm/commands/mpm-init.md
CHANGED
|
@@ -4,543 +4,117 @@ command: init
|
|
|
4
4
|
aliases: [mpm-init]
|
|
5
5
|
migration_target: /mpm/system:init
|
|
6
6
|
category: system
|
|
7
|
-
|
|
8
|
-
description: Initialize or update project for Claude Code and Claude MPM
|
|
7
|
+
description: Initialize or update project for Claude Code and MPM
|
|
9
8
|
---
|
|
10
|
-
# /mpm-init
|
|
9
|
+
# /mpm-init
|
|
11
10
|
|
|
12
|
-
Initialize or intelligently update
|
|
11
|
+
Initialize or intelligently update project for Claude Code and Claude MPM.
|
|
13
12
|
|
|
14
13
|
## Usage
|
|
15
|
-
|
|
16
14
|
```
|
|
17
|
-
/mpm-init
|
|
18
|
-
/mpm-init update # Lightweight update based on recent git activity
|
|
19
|
-
/mpm-init context # Intelligent context analysis from git history
|
|
20
|
-
/mpm-init context --days 14 # Analyze last 14 days of git history
|
|
21
|
-
/mpm-init resume # Resume from stop event logs (NEW)
|
|
22
|
-
/mpm-init resume --list # List all sessions from logs
|
|
23
|
-
/mpm-init resume --session-id ID # Resume specific session
|
|
24
|
-
/mpm-init catchup # Quick commit history display (no analysis)
|
|
25
|
-
/mpm-init --review # Review project state without changes
|
|
26
|
-
/mpm-init --update # Full update of existing CLAUDE.md
|
|
27
|
-
/mpm-init --organize # Organize project structure
|
|
28
|
-
/mpm-init --force # Force recreate from scratch
|
|
29
|
-
/mpm-init --project-type web --framework react
|
|
30
|
-
/mpm-init --ast-analysis --comprehensive
|
|
15
|
+
/mpm-init [update|context|resume|catchup] [options]
|
|
31
16
|
```
|
|
32
17
|
|
|
33
|
-
##
|
|
34
|
-
|
|
35
|
-
This command has two primary modes:
|
|
36
|
-
- **Project initialization/updates**: Delegates to the Agentic Coder Optimizer agent for documentation, tooling, and workflow setup
|
|
37
|
-
- **Context analysis** (context/catchup): Provides intelligent project context from git history for resuming work
|
|
38
|
-
|
|
39
|
-
**Resume Modes**: The command provides two resume capabilities:
|
|
40
|
-
- `/mpm-init resume`: Reads stop event logs from `.claude-mpm/responses/` to help resume work
|
|
41
|
-
- `/mpm-init context`: Analyzes git history for intelligent work resumption (delegates to Research agent)
|
|
42
|
-
|
|
43
|
-
**Quick Update Mode**: Running `/mpm-init update` performs a lightweight update focused on recent git activity. It analyzes recent commits, generates an activity report, and updates documentation with minimal changes. Perfect for quick refreshes after development sprints.
|
|
44
|
-
|
|
45
|
-
**Smart Update Mode**: When CLAUDE.md exists, the command automatically offers to update rather than recreate, preserving your custom content while refreshing standard sections. Previous versions are archived in `docs/_archive/` for safety.
|
|
46
|
-
|
|
47
|
-
## Features
|
|
48
|
-
|
|
49
|
-
- **📚 Comprehensive CLAUDE.md**: Creates AI-optimized project documentation
|
|
50
|
-
- **🎯 Priority-based Organization**: Ranks instructions by importance (🔴🟡🟢⚪)
|
|
51
|
-
- **🔍 AST Analysis**: Deep code structure analysis for enhanced documentation
|
|
52
|
-
- **🚀 Single-path Workflows**: Establishes ONE way to do ANYTHING
|
|
53
|
-
- **🧠 Memory System**: Initializes project knowledge retention
|
|
54
|
-
- **🔧 Tool Configuration**: Sets up linting, formatting, testing
|
|
55
|
-
- **📝 Holistic Review**: Final organization and validation pass
|
|
56
|
-
- **🔒 GitIgnore Management**: Automatically excludes claude-mpm config directories
|
|
57
|
-
|
|
58
|
-
## Options
|
|
18
|
+
## Core Modes
|
|
59
19
|
|
|
60
|
-
###
|
|
61
|
-
- `--review`: Review project state without making changes
|
|
62
|
-
- `--update`: Update existing CLAUDE.md instead of recreating
|
|
63
|
-
- `--force`: Force reinitialization even if project is already configured
|
|
64
|
-
|
|
65
|
-
### Configuration Options
|
|
66
|
-
- `--project-type [type]`: Specify project type (web, api, cli, library, etc.)
|
|
67
|
-
- `--framework [name]`: Specify framework (react, vue, django, fastapi, etc.)
|
|
68
|
-
- `--ast-analysis`: Enable AST analysis for enhanced documentation (default: enabled)
|
|
69
|
-
- `--no-ast-analysis`: Disable AST analysis for faster initialization
|
|
70
|
-
- `--comprehensive`: Create comprehensive setup including CI/CD and deployment
|
|
71
|
-
- `--minimal`: Create minimal configuration (CLAUDE.md only)
|
|
72
|
-
|
|
73
|
-
### Organization Options
|
|
74
|
-
- `--organize`: Organize misplaced files into proper directories
|
|
75
|
-
- `--preserve-custom`: Preserve custom sections when updating (default)
|
|
76
|
-
- `--no-preserve-custom`: Don't preserve custom sections
|
|
77
|
-
- `--skip-archive`: Skip archiving existing files before updating
|
|
78
|
-
|
|
79
|
-
## Context Analysis
|
|
80
|
-
|
|
81
|
-
**Purpose**: Provide intelligent project context for resuming work by analyzing git history.
|
|
82
|
-
|
|
83
|
-
### Commands
|
|
84
|
-
|
|
85
|
-
#### `/mpm-init context` (Primary)
|
|
86
|
-
```bash
|
|
87
|
-
/mpm-init context # Analyze last 7 days of git history
|
|
88
|
-
/mpm-init context --days 14 # Analyze last 14 days
|
|
20
|
+
### Project Setup
|
|
89
21
|
```
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
- **Risks and blockers**: What needs attention (stalled work, conflicts, anti-patterns)
|
|
95
|
-
- **Recommended next actions**: What to work on next (logical continuations)
|
|
96
|
-
|
|
97
|
-
**How it works**:
|
|
98
|
-
1. Parses git history (default: last 7 days)
|
|
99
|
-
2. PM delegates to Research agent with structured prompt
|
|
100
|
-
3. Research analyzes work streams, intent, risks, recommendations
|
|
101
|
-
4. PM presents intelligent summary for seamless work resumption
|
|
102
|
-
|
|
103
|
-
**NOT session state**: This does NOT save/restore conversation state like Claude Code. Instead, it reconstructs project context from git history using conventional commits and commit message analysis.
|
|
104
|
-
|
|
105
|
-
#### `/mpm-init resume` (Stop Event Logs)
|
|
106
|
-
```bash
|
|
107
|
-
/mpm-init resume # Show latest session from logs
|
|
108
|
-
/mpm-init resume --list # List all sessions
|
|
109
|
-
/mpm-init resume --session-id ID # Resume specific session
|
|
110
|
-
/mpm-init resume --last 5 # Show last 5 sessions
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
Reads from stop event logs to help resume work from previous sessions:
|
|
114
|
-
|
|
115
|
-
**Data Sources** (two-tier strategy):
|
|
116
|
-
1. **Resume logs** (preferred): `.claude-mpm/resume-logs/*.md` - Structured 10k-token summaries
|
|
117
|
-
2. **Response logs** (fallback): `.claude-mpm/responses/*.json` - Raw conversation stop events
|
|
118
|
-
|
|
119
|
-
**What it shows**:
|
|
120
|
-
- When session ended (time ago)
|
|
121
|
-
- What was being worked on (request)
|
|
122
|
-
- Tasks completed (from PM responses)
|
|
123
|
-
- Files modified (from PM tracking)
|
|
124
|
-
- Next steps (from PM recommendations)
|
|
125
|
-
- Stop reason (why session ended)
|
|
126
|
-
- Token usage (context consumption)
|
|
127
|
-
- Git context (branch, working directory)
|
|
128
|
-
|
|
129
|
-
**How it works**:
|
|
130
|
-
1. Scans response logs in `.claude-mpm/responses/`
|
|
131
|
-
2. Groups by `session_id`
|
|
132
|
-
3. Parses PM response JSON for context
|
|
133
|
-
4. Extracts tasks, files, next steps from PM summaries
|
|
134
|
-
5. Displays comprehensive resume context
|
|
135
|
-
|
|
136
|
-
**Use Cases**:
|
|
137
|
-
- Resume work after context threshold pause
|
|
138
|
-
- Review what was accomplished in previous session
|
|
139
|
-
- Understand why session stopped (max_tokens, end_turn, etc.)
|
|
140
|
-
- See exact files and tasks from last session
|
|
141
|
-
|
|
142
|
-
**Difference from `context`**:
|
|
143
|
-
- **resume**: Reads actual stop event logs (what PM logged)
|
|
144
|
-
- **context**: Analyzes git commits (what was committed)
|
|
145
|
-
|
|
146
|
-
### `/mpm-init catchup` (Simple Git History)
|
|
147
|
-
```bash
|
|
148
|
-
/mpm-init catchup
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
Quick display of last 25 commits across all branches. No analysis - just raw git log output with authors and dates. Use this for quick "what happened recently?" checks.
|
|
152
|
-
|
|
153
|
-
**Distinction**:
|
|
154
|
-
- **catchup**: Quick commit history (instant, no analysis)
|
|
155
|
-
- **context**: Intelligent work resumption (10-30s, deep analysis)
|
|
156
|
-
|
|
157
|
-
## What This Command Does
|
|
158
|
-
|
|
159
|
-
### Auto-Detection (NEW)
|
|
160
|
-
When run without flags and CLAUDE.md exists:
|
|
161
|
-
1. Analyzes existing documentation
|
|
162
|
-
2. Shows current status (size, sections, priority markers)
|
|
163
|
-
3. Offers options:
|
|
164
|
-
- Update (smart merge)
|
|
165
|
-
- Recreate (fresh start)
|
|
166
|
-
- Review (analysis only)
|
|
167
|
-
- Cancel
|
|
168
|
-
|
|
169
|
-
### 1. Project Analysis
|
|
170
|
-
- Scans project structure and existing configurations
|
|
171
|
-
- Identifies project type, language, and frameworks
|
|
172
|
-
- Checks for existing documentation and tooling
|
|
173
|
-
|
|
174
|
-
### 2. CLAUDE.md Creation/Update
|
|
175
|
-
The command creates a well-organized CLAUDE.md with:
|
|
176
|
-
|
|
177
|
-
```markdown
|
|
178
|
-
## 🎯 Priority Index
|
|
179
|
-
### 🔴 CRITICAL Instructions
|
|
180
|
-
- Security rules, data handling, core business logic
|
|
181
|
-
|
|
182
|
-
### 🟡 IMPORTANT Instructions
|
|
183
|
-
- Key workflows, architecture decisions
|
|
184
|
-
|
|
185
|
-
### 🟢 STANDARD Instructions
|
|
186
|
-
- Common operations, coding standards
|
|
187
|
-
|
|
188
|
-
### ⚪ OPTIONAL Instructions
|
|
189
|
-
- Nice-to-have features, future enhancements
|
|
22
|
+
/mpm-init # Auto-detect: offer update or create
|
|
23
|
+
/mpm-init update # Quick update (30-day git activity)
|
|
24
|
+
/mpm-init --update # Full documentation refresh
|
|
25
|
+
/mpm-init --force # Force recreate from scratch
|
|
190
26
|
```
|
|
191
27
|
|
|
192
|
-
|
|
193
|
-
-
|
|
194
|
-
-
|
|
195
|
-
- ONE
|
|
196
|
-
-
|
|
197
|
-
|
|
198
|
-
### 4. AST Analysis (Optional)
|
|
199
|
-
When enabled, performs:
|
|
200
|
-
- Code structure extraction (classes, functions, methods)
|
|
201
|
-
- API documentation generation
|
|
202
|
-
- Architecture diagram creation
|
|
203
|
-
- Function signature and dependency mapping
|
|
204
|
-
- Creates DEVELOPER.md with technical details
|
|
205
|
-
- Adds CODE_STRUCTURE.md with AST insights
|
|
206
|
-
|
|
207
|
-
### 5. Tool Configuration
|
|
208
|
-
- Linting setup and configuration
|
|
209
|
-
- Code formatting standards
|
|
210
|
-
- Testing framework setup
|
|
211
|
-
- Pre-commit hooks if needed
|
|
212
|
-
|
|
213
|
-
### 6. Memory System
|
|
214
|
-
- Creates `.claude-mpm/memories/` directory
|
|
215
|
-
- Initializes memory files for project knowledge
|
|
216
|
-
- Documents memory usage patterns
|
|
217
|
-
|
|
218
|
-
### 7. GitIgnore Management (Automatic)
|
|
219
|
-
During initialization:
|
|
220
|
-
- **Automatic Updates**: Adds `.claude-mpm/` and `.claude/agents/` to `.gitignore`
|
|
221
|
-
- **Smart Detection**: Skips entries that already exist (no duplicates)
|
|
222
|
-
- **Safe Operation**: Creates `.gitignore` if missing, preserves existing content
|
|
223
|
-
- **Non-Blocking**: Continues initialization even if `.gitignore` update fails
|
|
224
|
-
|
|
225
|
-
**Entries Added**:
|
|
226
|
-
- `.claude-mpm/`: Configuration directory (sessions, logs, etc.)
|
|
227
|
-
- `.claude/agents/`: Agent runtime files
|
|
228
|
-
|
|
229
|
-
This ensures claude-mpm configuration files never get committed to version control.
|
|
230
|
-
|
|
231
|
-
### 8. Holistic Organization (Final Step)
|
|
232
|
-
After all tasks, performs a comprehensive review:
|
|
233
|
-
- Reorganizes content by priority
|
|
234
|
-
- Validates completeness
|
|
235
|
-
- Ensures single-path principle
|
|
236
|
-
- Adds meta-instructions for maintenance
|
|
28
|
+
**Delegates to Agentic Coder Optimizer agent** for:
|
|
29
|
+
- CLAUDE.md creation/update (with priority rankings 🔴🟡🟢⚪)
|
|
30
|
+
- AST analysis and code structure docs
|
|
31
|
+
- Single-path workflows (ONE way to do ANYTHING)
|
|
32
|
+
- Tool configuration, memory system, gitignore management
|
|
237
33
|
|
|
238
|
-
|
|
239
|
-
When updating existing documentation:
|
|
240
|
-
- **Smart Merging**: Intelligently merges new content with existing
|
|
241
|
-
- **Custom Preservation**: Keeps your project-specific sections
|
|
242
|
-
- **Automatic Archival**: Backs up previous version to `docs/_archive/`
|
|
243
|
-
- **Conflict Resolution**: Removes duplicate or contradictory information
|
|
244
|
-
- **Change Tracking**: Shows what was updated after completion
|
|
34
|
+
**Smart Update Mode:** Auto-detects existing CLAUDE.md and offers update vs recreate.
|
|
245
35
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
### Smart Auto-Detection (Recommended)
|
|
249
|
-
```bash
|
|
250
|
-
/mpm-init
|
|
36
|
+
### Context Analysis
|
|
251
37
|
```
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
### Quick Update (Lightweight)
|
|
255
|
-
```bash
|
|
256
|
-
/mpm-init update
|
|
38
|
+
/mpm-init context [--days N] # Intelligent git history analysis (default: 7 days)
|
|
39
|
+
/mpm-init catchup # Quick commit history (last 25 commits, no analysis)
|
|
257
40
|
```
|
|
258
|
-
Fast update based on recent 30-day git activity. Generates activity report and updates docs with minimal changes.
|
|
259
|
-
|
|
260
|
-
**Note**: Typing `/mpm-init update` executes `claude-mpm mpm-init --quick-update` automatically.
|
|
261
41
|
|
|
262
|
-
|
|
42
|
+
**context:** Delegates to Research agent for deep analysis of:
|
|
43
|
+
- Active work streams (from commit patterns)
|
|
44
|
+
- Intent and motivation (from messages)
|
|
45
|
+
- Risks and blockers
|
|
46
|
+
- Recommended next actions
|
|
263
47
|
|
|
264
|
-
|
|
48
|
+
**catchup:** Direct CLI execution, instant output.
|
|
265
49
|
|
|
266
|
-
|
|
267
|
-
```bash
|
|
268
|
-
/mpm-init context # Analyze last 7 days (default)
|
|
269
|
-
/mpm-init context --days 14 # Analyze last 14 days
|
|
270
|
-
/mpm-init context --days 30 # Analyze last 30 days
|
|
50
|
+
### Resume from Logs
|
|
271
51
|
```
|
|
272
|
-
|
|
273
|
-
This provides intelligent analysis including:
|
|
274
|
-
- **Work stream identification** from commit patterns
|
|
275
|
-
- **Intent analysis** (why work was done)
|
|
276
|
-
- **Risk detection** (stalled work, conflicts, etc.)
|
|
277
|
-
- **Recommended next actions** for seamless continuation
|
|
278
|
-
|
|
279
|
-
**How it works:**
|
|
280
|
-
1. Parses git history (7 days default)
|
|
281
|
-
2. PM delegates to Research agent with structured prompt
|
|
282
|
-
3. Research agent provides deep analysis
|
|
283
|
-
4. PM presents intelligent summary
|
|
284
|
-
|
|
285
|
-
**NOT session state**: This reconstructs context from git history, not saved conversation state.
|
|
286
|
-
|
|
287
|
-
**Backward Compatibility:**
|
|
288
|
-
```bash
|
|
289
|
-
/mpm-init resume # Still works but deprecated
|
|
52
|
+
/mpm-init resume [--list] [--session-id ID]
|
|
290
53
|
```
|
|
291
54
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
### Resume from Stop Event Logs
|
|
295
|
-
|
|
296
|
-
Display context from previous sessions using stop event logs:
|
|
297
|
-
|
|
298
|
-
```bash
|
|
299
|
-
/mpm-init resume # Show latest session
|
|
300
|
-
/mpm-init resume --list # List all available sessions
|
|
301
|
-
/mpm-init resume --session-id abc123 # Resume specific session
|
|
302
|
-
/mpm-init resume --last 10 # Show last 10 sessions
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
Shows comprehensive context including:
|
|
55
|
+
Reads stop event logs from `.claude-mpm/resume-logs/` and `.claude-mpm/responses/` showing:
|
|
306
56
|
- What was being worked on
|
|
307
|
-
- Tasks completed
|
|
308
|
-
-
|
|
309
|
-
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
✅
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
• Implement ResumeService class
|
|
339
|
-
• Add resume subcommand to mpm-init
|
|
340
|
-
• Test with real response logs
|
|
341
|
-
|
|
342
|
-
Git Context:
|
|
343
|
-
Branch: main
|
|
344
|
-
Working Directory: /Users/masa/Projects/claude-mpm
|
|
345
|
-
================================================================================
|
|
346
|
-
```
|
|
347
|
-
|
|
348
|
-
**Use Cases:**
|
|
349
|
-
- Resume after hitting context limit
|
|
350
|
-
- Review what was accomplished in last session
|
|
351
|
-
- See exact next steps recommended by PM
|
|
352
|
-
- Understand why session stopped
|
|
353
|
-
|
|
354
|
-
### Quick Git History (Catchup)
|
|
355
|
-
|
|
356
|
-
Display recent commit history without analysis:
|
|
357
|
-
|
|
358
|
-
```bash
|
|
359
|
-
/mpm-init catchup
|
|
360
|
-
```
|
|
361
|
-
|
|
362
|
-
Shows:
|
|
363
|
-
- Last 25 commits from all branches
|
|
364
|
-
- Author attribution and timestamps
|
|
365
|
-
- Contributor activity summary
|
|
366
|
-
|
|
367
|
-
Use this for quick "what happened recently?" checks. For intelligent analysis, use `context` instead.
|
|
368
|
-
|
|
369
|
-
### Review Project State
|
|
370
|
-
```bash
|
|
371
|
-
/mpm-init --review
|
|
372
|
-
```
|
|
373
|
-
Analyzes project structure, documentation, and git history without changes.
|
|
374
|
-
|
|
375
|
-
### Update Existing Documentation
|
|
376
|
-
```bash
|
|
377
|
-
/mpm-init --update
|
|
378
|
-
```
|
|
379
|
-
Updates CLAUDE.md while preserving custom sections.
|
|
380
|
-
|
|
381
|
-
### Organize Project Structure
|
|
382
|
-
```bash
|
|
383
|
-
/mpm-init --organize --update
|
|
384
|
-
```
|
|
385
|
-
Organizes misplaced files AND updates documentation.
|
|
386
|
-
|
|
387
|
-
### Web Project with React
|
|
388
|
-
```bash
|
|
389
|
-
/mpm-init --project-type web --framework react
|
|
390
|
-
```
|
|
391
|
-
Initializes with web-specific configurations and React patterns.
|
|
392
|
-
|
|
393
|
-
### Force Fresh Start
|
|
394
|
-
```bash
|
|
395
|
-
/mpm-init --force --comprehensive
|
|
396
|
-
```
|
|
397
|
-
Overwrites everything with comprehensive setup.
|
|
398
|
-
|
|
399
|
-
### Fast Mode (No AST)
|
|
400
|
-
```bash
|
|
401
|
-
/mpm-init --no-ast-analysis --minimal
|
|
402
|
-
```
|
|
403
|
-
Quick initialization without code analysis.
|
|
404
|
-
|
|
405
|
-
## Implementation
|
|
406
|
-
|
|
407
|
-
**IMPORTANT**: This slash command accepts an optional `update` argument for quick updates.
|
|
408
|
-
|
|
409
|
-
**Argument Processing**:
|
|
410
|
-
- When you type `/mpm-init update`, Claude executes `claude-mpm mpm-init --quick-update`
|
|
411
|
-
- When you type `/mpm-init` (no argument), Claude executes standard mode
|
|
412
|
-
- The slash command handler automatically maps the `update` argument to the `--quick-update` flag
|
|
413
|
-
|
|
414
|
-
This command routes between different modes:
|
|
415
|
-
|
|
416
|
-
### Context Analysis Commands
|
|
417
|
-
|
|
418
|
-
**IMPORTANT**: Context analysis commands (`/mpm-init context`, `/mpm-init catchup`) have distinct behaviors:
|
|
419
|
-
|
|
420
|
-
**`/mpm-init context` - Delegates to PM**:
|
|
421
|
-
```bash
|
|
422
|
-
claude-mpm mpm-init context --days 7
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
This command delegates work to the PM framework:
|
|
426
|
-
1. Parses git history (7 days default)
|
|
427
|
-
2. PM constructs structured Research delegation prompt
|
|
428
|
-
3. PM presents prompt for Research agent to analyze
|
|
429
|
-
4. Research identifies work streams, intent, risks, recommendations
|
|
430
|
-
5. PM synthesizes for user
|
|
431
|
-
|
|
432
|
-
This is intelligent analysis requiring Research agent expertise.
|
|
57
|
+
- Tasks completed, files modified
|
|
58
|
+
- Next steps, stop reason, token usage
|
|
59
|
+
- Git context (branch, status)
|
|
60
|
+
|
|
61
|
+
## Key Options
|
|
62
|
+
|
|
63
|
+
**Configuration:**
|
|
64
|
+
- `--project-type TYPE`: web, api, cli, library
|
|
65
|
+
- `--framework NAME`: react, django, fastapi, etc.
|
|
66
|
+
- `--ast-analysis` / `--no-ast-analysis`: Enable/disable code analysis
|
|
67
|
+
- `--comprehensive` / `--minimal`: Full setup vs CLAUDE.md only
|
|
68
|
+
|
|
69
|
+
**Organization:**
|
|
70
|
+
- `--organize`: Organize misplaced files
|
|
71
|
+
- `--preserve-custom`: Keep custom sections (default)
|
|
72
|
+
- `--review`: Review without changes
|
|
73
|
+
|
|
74
|
+
## What Gets Created
|
|
75
|
+
|
|
76
|
+
**New Projects:**
|
|
77
|
+
- ✅ CLAUDE.md (priority-ranked instructions)
|
|
78
|
+
- ✅ Single-path workflows (make build/test/deploy)
|
|
79
|
+
- ✅ Tool configs (linting, formatting, testing)
|
|
80
|
+
- ✅ Memory system (.claude-mpm/memories/)
|
|
81
|
+
- ✅ DEVELOPER.md, CODE_STRUCTURE.md (with AST)
|
|
82
|
+
- ✅ .gitignore updates (auto-adds .claude-mpm/)
|
|
83
|
+
|
|
84
|
+
**Updates:**
|
|
85
|
+
- ✅ Smart merging (preserves custom sections)
|
|
86
|
+
- ✅ Automatic archival (docs/_archive/)
|
|
87
|
+
- ✅ Change tracking
|
|
433
88
|
|
|
434
|
-
|
|
435
|
-
The PM creates a delegation prompt that asks Research to analyze:
|
|
436
|
-
- **Work Stream Identification**: Groups related commits into themes
|
|
437
|
-
- **Intent Analysis**: Infers why work was done from commit messages
|
|
438
|
-
- **Risk Detection**: Identifies stalled work, conflicts, and blockers
|
|
439
|
-
- **Recommended Actions**: Suggests logical next steps for continuation
|
|
89
|
+
## Examples
|
|
440
90
|
|
|
441
|
-
**`/mpm-init catchup` - Direct CLI execution**:
|
|
442
91
|
```bash
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
This executes directly via CLI without agent delegation:
|
|
447
|
-
- Displays last 25 commits from all branches
|
|
448
|
-
- Shows authors, dates, commit messages
|
|
449
|
-
- Instant output (no analysis)
|
|
450
|
-
|
|
451
|
-
This is a simple git log display utility.
|
|
92
|
+
# Quick start
|
|
93
|
+
/mpm-init # Auto-detect mode
|
|
452
94
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
### Project Initialization/Update Commands
|
|
95
|
+
# Quick update (lightweight)
|
|
96
|
+
/mpm-init update # 30-day activity report
|
|
456
97
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
claude-mpm mpm-init --quick-update
|
|
462
|
-
```
|
|
463
|
-
This triggers a lightweight update that analyzes recent git activity (30 days) and generates an activity report.
|
|
98
|
+
# Resume work
|
|
99
|
+
/mpm-init context --days 14 # Analyze last 2 weeks
|
|
100
|
+
/mpm-init resume # Show latest session from logs
|
|
101
|
+
/mpm-init catchup # Quick commit history
|
|
464
102
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
claude-mpm mpm-init [options]
|
|
103
|
+
# Full configuration
|
|
104
|
+
/mpm-init --project-type web --framework react --comprehensive
|
|
468
105
|
```
|
|
469
|
-
This triggers the full initialization or smart update flow.
|
|
470
|
-
|
|
471
|
-
The command delegates to the Agentic Coder Optimizer agent which:
|
|
472
|
-
1. Analyzes your project structure
|
|
473
|
-
2. Creates comprehensive documentation
|
|
474
|
-
3. Establishes single-path workflows
|
|
475
|
-
4. Configures development tools
|
|
476
|
-
5. Sets up memory systems
|
|
477
|
-
6. Performs AST analysis (if enabled)
|
|
478
|
-
7. Organizes everything with priority rankings
|
|
479
|
-
|
|
480
|
-
**Quick Update Mode** performs:
|
|
481
|
-
1. Git history analysis (last 30 days)
|
|
482
|
-
2. Recent activity report generation
|
|
483
|
-
3. Lightweight documentation updates
|
|
484
|
-
4. Change summary for PM memory
|
|
485
|
-
|
|
486
|
-
## Expected Output
|
|
487
|
-
|
|
488
|
-
### For New Projects
|
|
489
|
-
- ✅ **CLAUDE.md**: Main AI agent documentation with priority rankings
|
|
490
|
-
- ✅ **Project structure**: Standard directories created (tmp/, scripts/, docs/)
|
|
491
|
-
- ✅ **Single-path workflows**: Clear commands for all operations
|
|
492
|
-
- ✅ **Tool configurations**: Linting, formatting, testing setup
|
|
493
|
-
- ✅ **Memory system**: Initialized for knowledge retention
|
|
494
|
-
- ✅ **Developer docs**: Technical documentation (with AST analysis)
|
|
495
|
-
- ✅ **Priority organization**: Instructions ranked by importance
|
|
496
|
-
- ✅ **.gitignore**: Configuration directories automatically excluded
|
|
497
|
-
|
|
498
|
-
### For Existing Projects (Update Mode)
|
|
499
|
-
- ✅ **Updated CLAUDE.md**: Refreshed with latest standards
|
|
500
|
-
- ✅ **Preserved content**: Your custom sections maintained
|
|
501
|
-
- ✅ **Archive created**: Previous version in `docs/_archive/`
|
|
502
|
-
- ✅ **Structure verified**: Missing directories created
|
|
503
|
-
- ✅ **Files organized**: Misplaced files moved (if --organize)
|
|
504
|
-
- ✅ **Change summary**: Report of what was updated
|
|
505
|
-
- ✅ **.gitignore**: Config directories added if not present
|
|
506
|
-
|
|
507
|
-
### For Quick Update Mode (`/mpm-init update`)
|
|
508
|
-
- ✅ **Activity Report**: Summary of recent 30-day git activity
|
|
509
|
-
- ✅ **Recent Commits**: List of commits with authors and dates
|
|
510
|
-
- ✅ **Changed Files**: Files with most modifications
|
|
511
|
-
- ✅ **Active Branches**: Current and recent branch activity
|
|
512
|
-
- ✅ **Lightweight Doc Updates**: Append activity notes to CLAUDE.md
|
|
513
|
-
- ✅ **PM Memory Update**: Recommendations for project manager
|
|
514
|
-
- ✅ **Quick Check**: Verify CLAUDE.md freshness without full regeneration
|
|
515
106
|
|
|
516
|
-
## Notes
|
|
107
|
+
## Implementation Notes
|
|
517
108
|
|
|
518
|
-
|
|
519
|
-
- **
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
- **Stop Event Logs**: Response logs in `.claude-mpm/responses/` contain PM summaries with tasks, files, and next steps
|
|
524
|
-
- **Two-Tier Resume**: Prefers structured resume logs (`.claude-mpm/resume-logs/`), falls back to response logs
|
|
525
|
-
- **Smart Mode**: Automatically detects existing CLAUDE.md and offers update vs recreate
|
|
526
|
-
- **Safe Updates**: Previous versions always archived before updating
|
|
527
|
-
- **Custom Content**: Your project-specific sections are preserved by default
|
|
528
|
-
- **Git Integration**: Analyzes recent commits to understand project evolution and provide work context
|
|
529
|
-
- **Backward Compatibility**: All existing `resume` commands redirect to `context` with deprecation warning
|
|
530
|
-
- **Argument Processing**: The slash command processes the `update` argument and routes to `--quick-update` flag
|
|
531
|
-
- **Agent Delegation**:
|
|
532
|
-
- Project initialization and updates use the Agentic Coder Optimizer agent
|
|
533
|
-
- Context analysis (`context`) delegates to PM, who coordinates with Research agent
|
|
534
|
-
- Simple git history (`catchup`) executes directly via CLI without agent delegation
|
|
535
|
-
- **NOT Session State**: Context analysis reconstructs project understanding from git history, not saved conversation state
|
|
536
|
-
- AST analysis is enabled by default for comprehensive documentation
|
|
537
|
-
- Priority rankings help AI agents focus on critical instructions first
|
|
538
|
-
- The holistic review ensures documentation quality and completeness
|
|
539
|
-
- All documentation is optimized for AI agent understanding
|
|
109
|
+
**Delegation patterns:**
|
|
110
|
+
- **Project init/update:** → Agentic Coder Optimizer agent
|
|
111
|
+
- **context:** → PM → Research agent (structured analysis)
|
|
112
|
+
- **catchup:** → Direct CLI (git log wrapper)
|
|
113
|
+
- **resume:** → PM (reads logs, no delegation)
|
|
540
114
|
|
|
541
|
-
|
|
115
|
+
**Token budgets:**
|
|
116
|
+
- context analysis: 10-30s processing time
|
|
117
|
+
- resume display: ~10-20k tokens
|
|
118
|
+
- catchup: instant, minimal tokens
|
|
542
119
|
|
|
543
|
-
|
|
544
|
-
- `/mpm-agents`: Manage specialized agents
|
|
545
|
-
- `/mpm-config`: Configure Claude MPM settings
|
|
546
|
-
- `/mpm-doctor`: Diagnose and fix issues
|
|
120
|
+
See docs/commands/init.md for comprehensive documentation.
|