@mthanhlm/autodev 0.3.2 → 0.3.3
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.
|
@@ -8,6 +8,7 @@ Use `/autodev` as the single entrypoint for the normal workflow. Route automatic
|
|
|
8
8
|
- Keep the model `project -> track -> phase -> tasks`.
|
|
9
9
|
- Brownfield repositories should be mapped before detailed phase planning.
|
|
10
10
|
- Never run git write commands.
|
|
11
|
+
- Keep router context small. Do not preload workflow files that are not selected by the current route.
|
|
11
12
|
</rules>
|
|
12
13
|
|
|
13
14
|
<process>
|
|
@@ -19,17 +20,19 @@ node "$HOME/.claude/autodev/bin/autodev-tools.cjs" status
|
|
|
19
20
|
|
|
20
21
|
2. Inspect the returned `route.kind`, `project_type`, `tracks`, and active track data.
|
|
21
22
|
|
|
22
|
-
3. Route as follows
|
|
23
|
-
- `init_project`:
|
|
24
|
-
- `explore_codebase`:
|
|
25
|
-
- `plan_phase`:
|
|
26
|
-
- `execute_phase`:
|
|
27
|
-
- `review_phase`:
|
|
28
|
-
- `verify_phase`:
|
|
23
|
+
3. Route as follows:
|
|
24
|
+
- `init_project`: read `@~/.claude/autodev/workflows/new-project.md`, then perform that workflow.
|
|
25
|
+
- `explore_codebase`: read `@~/.claude/autodev/workflows/explore-codebase.md`, then perform that workflow.
|
|
26
|
+
- `plan_phase`: read `@~/.claude/autodev/workflows/plan-phase.md`, then perform that workflow.
|
|
27
|
+
- `execute_phase`: read `@~/.claude/autodev/workflows/execute-phase.md`, then perform that workflow, which should advance one task-sized unit in the current phase session by trying a fresh task worker first and falling back cleanly when delegation is unavailable.
|
|
28
|
+
- `review_phase`: read `@~/.claude/autodev/workflows/review-phase.md`, then perform that workflow.
|
|
29
|
+
- `verify_phase`: read `@~/.claude/autodev/workflows/verify-work.md`, then perform that workflow.
|
|
29
30
|
|
|
30
|
-
4.
|
|
31
|
+
4. Read only the workflow file needed for the selected route. Do not load the others "just in case".
|
|
31
32
|
|
|
32
|
-
5. If the route is `
|
|
33
|
+
5. Do not stop after identifying a brownfield codebase route. If the route is `explore_codebase`, perform the exploration as part of the same `/autodev` run instead of telling the user to switch commands.
|
|
34
|
+
|
|
35
|
+
6. If the route is `track_select` or `track_setup`, handle it directly:
|
|
33
36
|
- If tracks exist, ask whether to continue one of them or create a new track.
|
|
34
37
|
- If no tracks exist, ask only for the current initiative name, desired outcome, and likely phase types.
|
|
35
38
|
- Create or repair:
|
|
@@ -47,16 +50,16 @@ node "$HOME/.claude/autodev/bin/autodev-tools.cjs" status
|
|
|
47
50
|
|
|
48
51
|
- After track setup, continue in the same turn by re-running the route logic mentally and executing the next step.
|
|
49
52
|
|
|
50
|
-
|
|
53
|
+
7. If the route is `track_complete`, ask whether the user wants to:
|
|
51
54
|
- start a new track
|
|
52
55
|
- run cleanup
|
|
53
56
|
- stop here
|
|
54
57
|
|
|
55
|
-
|
|
58
|
+
8. When the user chooses a new track at step 7, create it immediately and continue routing in the same turn.
|
|
56
59
|
|
|
57
|
-
|
|
60
|
+
9. Every time you finish a routed step, keep both project-level and track-level state aligned. Default the state files to `Next Command: /autodev`.
|
|
58
61
|
|
|
59
|
-
|
|
62
|
+
10. End with:
|
|
60
63
|
- what step you completed
|
|
61
64
|
- the current route reason in plain language
|
|
62
65
|
- `/autodev` as the default next command
|
|
@@ -20,14 +20,6 @@ Use `/autodev` as the default command. Inspect `.autodev/` state, route automati
|
|
|
20
20
|
|
|
21
21
|
<execution_context>
|
|
22
22
|
@~/.claude/autodev/workflows/autodev.md
|
|
23
|
-
@~/.claude/autodev/workflows/new-project.md
|
|
24
|
-
@~/.claude/autodev/workflows/explore-codebase.md
|
|
25
|
-
@~/.claude/autodev/workflows/plan-phase.md
|
|
26
|
-
@~/.claude/autodev/workflows/execute-phase.md
|
|
27
|
-
@~/.claude/autodev/workflows/review-phase.md
|
|
28
|
-
@~/.claude/autodev/workflows/verify-work.md
|
|
29
|
-
@~/.claude/autodev/workflows/cleanup.md
|
|
30
|
-
@~/.claude/autodev/workflows/progress.md
|
|
31
23
|
</execution_context>
|
|
32
24
|
|
|
33
25
|
<process>
|
package/package.json
CHANGED