@mthanhlm/autodev 0.3.0 → 0.3.1
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.
|
@@ -5,7 +5,7 @@ Clean or archive autodev state without flags. Prefer preserving useful project c
|
|
|
5
5
|
<rules>
|
|
6
6
|
- Ask the user which cleanup action to take. Do not rely on flags.
|
|
7
7
|
- Archive before delete when a safe archive path makes sense.
|
|
8
|
-
- Require
|
|
8
|
+
- Require a second explicit `AskUserQuestion` confirmation before deleting all `.autodev/` state.
|
|
9
9
|
- Never touch repository code outside `.autodev/`.
|
|
10
10
|
</rules>
|
|
11
11
|
|
|
@@ -36,8 +36,12 @@ node "$HOME/.claude/autodev/bin/autodev-tools.cjs" cleanup
|
|
|
36
36
|
- update `.autodev/STATE.md` to `Current Step: track-selection` and `Next Command: /autodev`
|
|
37
37
|
|
|
38
38
|
6. For `delete all .autodev state`:
|
|
39
|
-
- use the `AskUserQuestion` tool to ask
|
|
40
|
-
-
|
|
39
|
+
- use the `AskUserQuestion` tool to ask for one more confirmation
|
|
40
|
+
- the confirmation should clearly say this removes the entire `.autodev/` directory and cannot be undone by the workflow
|
|
41
|
+
- offer only:
|
|
42
|
+
- delete all `.autodev/` state
|
|
43
|
+
- cancel cleanup
|
|
44
|
+
- only remove `.autodev/` if the user confirms the delete option
|
|
41
45
|
|
|
42
46
|
7. End with:
|
|
43
47
|
- what was archived or deleted
|
package/package.json
CHANGED