mapify-cli 3.5.0__tar.gz → 3.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/.gitignore +2 -0
  2. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/PKG-INFO +19 -4
  3. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/README.md +18 -3
  4. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/pyproject.toml +11 -1
  5. mapify_cli-3.7.0/src/mapify_cli/__init__.py +1300 -0
  6. mapify_cli-3.7.0/src/mapify_cli/cli_ui.py +320 -0
  7. mapify_cli-3.7.0/src/mapify_cli/config/__init__.py +38 -0
  8. mapify_cli-3.7.0/src/mapify_cli/config/mcp.py +293 -0
  9. mapify_cli-3.7.0/src/mapify_cli/config/project_config.py +275 -0
  10. mapify_cli-3.7.0/src/mapify_cli/config/settings.py +170 -0
  11. mapify_cli-3.7.0/src/mapify_cli/delivery/__init__.py +60 -0
  12. mapify_cli-3.7.0/src/mapify_cli/delivery/agent_generator.py +381 -0
  13. mapify_cli-3.7.0/src/mapify_cli/delivery/file_copier.py +442 -0
  14. mapify_cli-3.7.0/src/mapify_cli/delivery/managed_file_copier.py +349 -0
  15. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/repo_insight.py +76 -0
  16. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/schemas.py +162 -0
  17. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/actor.md +65 -37
  18. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/final-verifier.md +16 -1
  19. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/monitor.md +99 -54
  20. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/predictor.md +5 -22
  21. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/task-decomposer.md +35 -4
  22. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-check.md +116 -13
  23. mapify_cli-3.7.0/src/mapify_cli/templates/commands/map-efficient.md +822 -0
  24. mapify_cli-3.7.0/src/mapify_cli/templates/commands/map-learn.md +301 -0
  25. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-plan.md +159 -20
  26. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-resume.md +54 -27
  27. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-review.md +72 -0
  28. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-task.md +15 -11
  29. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-tdd.md +66 -35
  30. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/hooks/post-compact-context.py +1 -1
  31. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/hooks/ralph-context-pruner.py +3 -3
  32. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/hooks/ralph-iteration-logger.py +88 -0
  33. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/hooks/safety-guardrails.py +39 -3
  34. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/hooks/workflow-context-injector.py +94 -16
  35. mapify_cli-3.7.0/src/mapify_cli/templates/hooks/workflow-gate.py +273 -0
  36. mapify_cli-3.7.0/src/mapify_cli/templates/map/scripts/diagnostics.py +346 -0
  37. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/map/scripts/map_orchestrator.py +563 -295
  38. mapify_cli-3.7.0/src/mapify_cli/templates/map/scripts/map_step_runner.py +1326 -0
  39. mapify_cli-3.7.0/src/mapify_cli/templates/map/scripts/map_utils.py +30 -0
  40. mapify_cli-3.7.0/src/mapify_cli/templates/references/escalation-matrix.md +55 -0
  41. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/references/step-state-schema.md +1 -12
  42. mapify_cli-3.7.0/src/mapify_cli/templates/references/workflow-state-schema.md +5 -0
  43. mapify_cli-3.7.0/src/mapify_cli/templates/rules/learned/README.md +18 -0
  44. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/settings.json +6 -0
  45. mapify_cli-3.7.0/src/mapify_cli/templates/skills/map-learn/SKILL.md +321 -0
  46. mapify_cli-3.7.0/src/mapify_cli/templates/skills/map-learn/templates/example-rules.md +19 -0
  47. mapify_cli-3.7.0/src/mapify_cli/templates/skills/map-learn/templates/rules-unconditional.md +5 -0
  48. mapify_cli-3.7.0/src/mapify_cli/templates/skills/map-learn/templates/rules-with-paths.md +10 -0
  49. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/SKILL.md +1 -3
  50. mapify_cli-3.7.0/src/mapify_cli/templates/skills/skill-rules.json +51 -0
  51. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/workflow-rules.json +0 -19
  52. mapify_cli-3.5.0/src/mapify_cli/__init__.py +0 -2235
  53. mapify_cli-3.5.0/src/mapify_cli/templates/commands/map-debate.md +0 -417
  54. mapify_cli-3.5.0/src/mapify_cli/templates/commands/map-efficient.md +0 -764
  55. mapify_cli-3.5.0/src/mapify_cli/templates/commands/map-learn.md +0 -246
  56. mapify_cli-3.5.0/src/mapify_cli/templates/hooks/workflow-gate.py +0 -282
  57. mapify_cli-3.5.0/src/mapify_cli/templates/map/scripts/diagnostics.py +0 -159
  58. mapify_cli-3.5.0/src/mapify_cli/templates/map/scripts/map_step_runner.py +0 -456
  59. mapify_cli-3.5.0/src/mapify_cli/templates/references/escalation-matrix.md +0 -31
  60. mapify_cli-3.5.0/src/mapify_cli/templates/references/workflow-state-schema.md +0 -266
  61. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-cli-reference/SKILL.md +0 -124
  62. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-cli-reference/scripts/check-command.sh +0 -117
  63. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-workflows-guide/SKILL.md +0 -529
  64. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-workflows-guide/resources/agent-architecture.md +0 -266
  65. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-workflows-guide/resources/map-debug-deep-dive.md +0 -258
  66. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-workflows-guide/resources/map-efficient-deep-dive.md +0 -202
  67. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-workflows-guide/resources/map-fast-deep-dive.md +0 -234
  68. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-workflows-guide/resources/map-feature-deep-dive.md +0 -235
  69. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-workflows-guide/resources/map-refactor-deep-dive.md +0 -332
  70. mapify_cli-3.5.0/src/mapify_cli/templates/skills/map-workflows-guide/scripts/validate-workflow-choice.py +0 -159
  71. mapify_cli-3.5.0/src/mapify_cli/templates/skills/skill-rules.json +0 -75
  72. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/.claude/skills/README.md +0 -0
  73. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/dependency_graph.py +0 -0
  74. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/intent_detector.py +0 -0
  75. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/ralph_state.py +0 -0
  76. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/CLAUDE.md +0 -0
  77. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/debate-arbiter.md +0 -0
  78. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/documentation-reviewer.md +0 -0
  79. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/evaluator.md +0 -0
  80. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/reflector.md +0 -0
  81. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/research-agent.md +0 -0
  82. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/agents/synthesizer.md +0 -0
  83. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-debug.md +0 -0
  84. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-fast.md +0 -0
  85. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/commands/map-release.md +0 -0
  86. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/hooks/end-of-turn.sh +0 -0
  87. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/hooks/pre-compact-save-transcript.py +0 -0
  88. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/map/static-analysis/analyze.sh +0 -0
  89. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/map/static-analysis/handlers/common.sh +0 -0
  90. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/map/static-analysis/handlers/go.sh +0 -0
  91. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/map/static-analysis/handlers/python.sh +0 -0
  92. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/map/static-analysis/handlers/rust.sh +0 -0
  93. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/map/static-analysis/handlers/typescript.sh +0 -0
  94. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/ralph-loop-config.json +0 -0
  95. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/references/bash-guidelines.md +0 -0
  96. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/references/decomposition-examples.md +0 -0
  97. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/references/mcp-usage-examples.md +0 -0
  98. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/README.md +0 -0
  99. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/scripts/check-complete.sh +0 -0
  100. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/scripts/get-plan-path.sh +0 -0
  101. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/scripts/init-session.sh +0 -0
  102. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/scripts/show-focus.sh +0 -0
  103. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/templates/findings.md +0 -0
  104. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/templates/iteration_history.md +0 -0
  105. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/templates/progress.md +0 -0
  106. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/templates/skills/map-planning/templates/task_plan.md +0 -0
  107. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/tools/__init__.py +0 -0
  108. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/tools/validate_dependencies.py +0 -0
  109. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/verification_recorder.py +0 -0
  110. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/workflow_finalizer.py +0 -0
  111. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/workflow_logger.py +0 -0
  112. {mapify_cli-3.5.0 → mapify_cli-3.7.0}/src/mapify_cli/workflow_state.py +0 -0
@@ -42,11 +42,13 @@ coverage.json
42
42
  .claude/sessions/
43
43
  .claude/metrics/
44
44
  .claude/cache/
45
+ .claude/worktrees/
45
46
 
46
47
  # MAP runtime files (but keep static-analysis and orchestrator scripts)
47
48
  .map/*
48
49
  !.map/static-analysis/
49
50
  !.map/scripts/
51
+ .map/scripts/.map/
50
52
 
51
53
  # Temporary verification files
52
54
  mapify_cli_verification_*.json
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapify-cli
3
- Version: 3.5.0
3
+ Version: 3.7.0
4
4
  Summary: MAP Framework installer - Modular Agentic Planner for Claude Code
5
5
  Project-URL: Homepage, https://github.com/azalio/map-framework
6
6
  Project-URL: Repository, https://github.com/azalio/map-framework.git
@@ -41,10 +41,11 @@ Based on [MAP cognitive architecture](https://github.com/Shanka123/MAP) (Nature
41
41
 
42
42
  ## Why MAP?
43
43
 
44
- - **Structured workflows** — 12 specialized agents instead of single-prompt chaos
44
+ - **Structured workflows** — 11 specialized agents instead of single-prompt chaos
45
45
  - **Quality gates** — automatic validation catches errors before they compound
46
46
  - **40-60% cost savings** — prevents circular reasoning and scope creep
47
47
  - **Learning system** — captures patterns for reuse across projects
48
+ - **Persistent artifacts** — `/map-plan`, `/map-efficient`, and `/map-check` keep branch-scoped research, session, review, QA, and verification artifacts inside `.map/<branch>/`
48
49
 
49
50
  ## Quick Start
50
51
 
@@ -79,16 +80,25 @@ claude
79
80
  | `/map-efficient` | Production features, refactoring, complex tasks (recommended) |
80
81
  | `/map-debug` | Bug fixes and debugging |
81
82
  | `/map-fast` | Small, low-risk changes |
82
- | `/map-debate` | Complex decisions with multi-variant synthesis |
83
83
  | `/map-review` | Pre-commit code review |
84
84
  | `/map-check` | Quality gates and verification |
85
85
  | `/map-plan` | Task decomposition without implementation |
86
+ | `/map-task` | Execute a single subtask from an existing plan |
87
+ | `/map-tdd` | Test-first implementation workflow |
86
88
  | `/map-release` | Package release workflow |
87
89
  | `/map-resume` | Resume interrupted workflows |
88
90
  | `/map-learn` | Extract lessons after workflow completion |
89
91
 
90
92
  [Detailed usage and options →](docs/USAGE.md)
91
93
 
94
+ Canonical MAP flows:
95
+
96
+ - Standard: `/map-plan` -> `/map-efficient` -> `/map-check` -> `/map-review`
97
+ - Full TDD: `/map-plan` -> `/map-tdd` -> `/map-check` -> `/map-review`
98
+ - Targeted subtask TDD: `/map-plan` -> `/map-tdd ST-001` -> `/map-task ST-001` -> ... -> `/map-check` -> `/map-review`
99
+
100
+ These workflows maintain branch-scoped artifacts like `code-review-001.md`, `qa-001.md`, `verification-summary.md`, `pr-draft.md`, and run dossiers under `.map/<branch>/`.
101
+
92
102
  ## How It Works
93
103
 
94
104
  MAP orchestrates specialized agents through slash commands:
@@ -114,11 +124,16 @@ The orchestration lives in `.claude/commands/map-*.md` prompts created by `mapif
114
124
  | [Installation](docs/INSTALL.md) | All install methods, PATH setup, troubleshooting |
115
125
  | [Usage Guide](docs/USAGE.md) | Workflows, examples, cost optimization, playbook |
116
126
  | [Architecture](docs/ARCHITECTURE.md) | Agents, MCP integration, customization |
127
+ | [Platform Spec](docs/MAP_PLATFORM_SPEC.md) | Platform refactor roadmap, codebase analysis |
128
+
129
+ ## Case Study
130
+
131
+ - [DevOpsConf 2026 case study](https://github.com/azalio/devopsconf-ai-develop) — real production case: SPEC -> PLAN -> TEST -> CODE -> REVIEW -> LEARN
117
132
 
118
133
  ## Trouble?
119
134
 
120
135
  - **Command not found** → Run `mapify init` in your project first
121
- - **Agent errors** → Check `.claude/agents/` has all 12 `.md` files
136
+ - **Agent errors** → Check `.claude/agents/` has all 11 shipped agent `.md` files
122
137
  - [More help →](docs/INSTALL.md#troubleshooting)
123
138
 
124
139
  ## Contributing
@@ -9,10 +9,11 @@ Based on [MAP cognitive architecture](https://github.com/Shanka123/MAP) (Nature
9
9
 
10
10
  ## Why MAP?
11
11
 
12
- - **Structured workflows** — 12 specialized agents instead of single-prompt chaos
12
+ - **Structured workflows** — 11 specialized agents instead of single-prompt chaos
13
13
  - **Quality gates** — automatic validation catches errors before they compound
14
14
  - **40-60% cost savings** — prevents circular reasoning and scope creep
15
15
  - **Learning system** — captures patterns for reuse across projects
16
+ - **Persistent artifacts** — `/map-plan`, `/map-efficient`, and `/map-check` keep branch-scoped research, session, review, QA, and verification artifacts inside `.map/<branch>/`
16
17
 
17
18
  ## Quick Start
18
19
 
@@ -47,16 +48,25 @@ claude
47
48
  | `/map-efficient` | Production features, refactoring, complex tasks (recommended) |
48
49
  | `/map-debug` | Bug fixes and debugging |
49
50
  | `/map-fast` | Small, low-risk changes |
50
- | `/map-debate` | Complex decisions with multi-variant synthesis |
51
51
  | `/map-review` | Pre-commit code review |
52
52
  | `/map-check` | Quality gates and verification |
53
53
  | `/map-plan` | Task decomposition without implementation |
54
+ | `/map-task` | Execute a single subtask from an existing plan |
55
+ | `/map-tdd` | Test-first implementation workflow |
54
56
  | `/map-release` | Package release workflow |
55
57
  | `/map-resume` | Resume interrupted workflows |
56
58
  | `/map-learn` | Extract lessons after workflow completion |
57
59
 
58
60
  [Detailed usage and options →](docs/USAGE.md)
59
61
 
62
+ Canonical MAP flows:
63
+
64
+ - Standard: `/map-plan` -> `/map-efficient` -> `/map-check` -> `/map-review`
65
+ - Full TDD: `/map-plan` -> `/map-tdd` -> `/map-check` -> `/map-review`
66
+ - Targeted subtask TDD: `/map-plan` -> `/map-tdd ST-001` -> `/map-task ST-001` -> ... -> `/map-check` -> `/map-review`
67
+
68
+ These workflows maintain branch-scoped artifacts like `code-review-001.md`, `qa-001.md`, `verification-summary.md`, `pr-draft.md`, and run dossiers under `.map/<branch>/`.
69
+
60
70
  ## How It Works
61
71
 
62
72
  MAP orchestrates specialized agents through slash commands:
@@ -82,11 +92,16 @@ The orchestration lives in `.claude/commands/map-*.md` prompts created by `mapif
82
92
  | [Installation](docs/INSTALL.md) | All install methods, PATH setup, troubleshooting |
83
93
  | [Usage Guide](docs/USAGE.md) | Workflows, examples, cost optimization, playbook |
84
94
  | [Architecture](docs/ARCHITECTURE.md) | Agents, MCP integration, customization |
95
+ | [Platform Spec](docs/MAP_PLATFORM_SPEC.md) | Platform refactor roadmap, codebase analysis |
96
+
97
+ ## Case Study
98
+
99
+ - [DevOpsConf 2026 case study](https://github.com/azalio/devopsconf-ai-develop) — real production case: SPEC -> PLAN -> TEST -> CODE -> REVIEW -> LEARN
85
100
 
86
101
  ## Trouble?
87
102
 
88
103
  - **Command not found** → Run `mapify init` in your project first
89
- - **Agent errors** → Check `.claude/agents/` has all 12 `.md` files
104
+ - **Agent errors** → Check `.claude/agents/` has all 11 shipped agent `.md` files
90
105
  - [More help →](docs/INSTALL.md#troubleshooting)
91
106
 
92
107
  ## Contributing
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mapify-cli"
3
- version = "3.5.0"
3
+ version = "3.7.0"
4
4
  description = "MAP Framework installer - Modular Agentic Planner for Claude Code"
5
5
  authors = [{ name = "MAP Framework Contributors" }]
6
6
  readme = "README.md"
@@ -49,6 +49,16 @@ include = [
49
49
  [tool.hatch.build.targets.wheel]
50
50
  packages = ["src/mapify_cli"]
51
51
 
52
+ [tool.mypy]
53
+ ignore_missing_imports = false
54
+ exclude = [
55
+ "src/mapify_cli/templates/map/scripts/",
56
+ ]
57
+
58
+ [[tool.mypy.overrides]]
59
+ module = "yaml"
60
+ ignore_missing_imports = true
61
+
52
62
  [project.urls]
53
63
  Homepage = "https://github.com/azalio/map-framework"
54
64
  Repository = "https://github.com/azalio/map-framework.git"