Skip to content

Commit b43078c

Browse files
Merge fix/install-mdd-already-installed-wording: improve already-installed messaging
2 parents 9ab3b02 + f96e2fc commit b43078c

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

.claude/commands/install-mdd.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,25 @@ INSTALLED_VERSION=$(grep "^mdd_version:" "$TARGET/.claude/commands/mdd.md" | awk
5555
INSTALLED_VERSION=${INSTALLED_VERSION:-0}
5656
```
5757

58-
If versions differ, surface the mismatch:
58+
If versions differ, present an upgrade prompt:
5959
```
60-
MDD is already installed in this project.
60+
✅ MDD is already installed in this project.
61+
6162
Installed: v<INSTALLED_VERSION>
62-
Available: v<SOURCE_VERSION> ← update available
63-
```
63+
Available: v<SOURCE_VERSION> ← upgrade available
6464
65-
Ask: "Update mdd.md to v<SOURCE_VERSION> and reset .mdd/.startup.md? (yes / no)"
65+
Upgrade mdd.md from v<INSTALLED_VERSION> to v<SOURCE_VERSION>?
66+
Your docs, audits, and .startup.md are not affected. (yes / no)
67+
```
6668

6769
If versions are equal:
6870
```
69-
MDD is already installed in this project (v<VERSION> — up to date).
71+
✅ MDD is already installed (v<VERSION> — up to date).
72+
73+
Everything looks good. You can re-run the installer if you need to
74+
repair missing directories or re-generate a blank .mdd/.startup.md.
7075
```
71-
Ask: "Re-run to reset .mdd/.startup.md and ensure directories exist? (yes / no)"
76+
Ask: "Repair / re-generate any missing MDD files? (yes / no)"
7277

7378
If no: exit with `"Nothing changed."`
7479
If yes: continue (existing docs and audits are preserved — only missing pieces are created).

0 commit comments

Comments
 (0)