@mthanhlm/autodev 0.4.3 → 0.5.0

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 (73) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/PUBLISH.md +9 -40
  3. package/README.md +70 -91
  4. package/autodev/bin/autodev-tools.cjs +587 -811
  5. package/autodev/templates/brief.md +19 -0
  6. package/autodev/templates/context.md +16 -0
  7. package/autodev/templates/plan.md +26 -46
  8. package/autodev/templates/run.md +20 -0
  9. package/bin/install.js +229 -342
  10. package/commands/autodev/index.md +117 -9
  11. package/commands/autodev/status.md +22 -0
  12. package/hooks/autodev-auto-format.js +3 -3
  13. package/hooks/autodev-git-guard.js +5 -7
  14. package/hooks/autodev-paths.js +3 -3
  15. package/package.json +4 -5
  16. package/scripts/run-tests.cjs +10 -0
  17. package/agents/autodev-codebase-domain.md +0 -25
  18. package/agents/autodev-codebase-quality.md +0 -25
  19. package/agents/autodev-codebase-runtime.md +0 -25
  20. package/agents/autodev-codebase-structure.md +0 -25
  21. package/agents/autodev-review-integration.md +0 -30
  22. package/agents/autodev-review-polish.md +0 -30
  23. package/agents/autodev-review-quality.md +0 -30
  24. package/agents/autodev-review-security.md +0 -30
  25. package/agents/autodev-task-worker.md +0 -39
  26. package/autodev/templates/codebase/domain.md +0 -13
  27. package/autodev/templates/codebase/quality.md +0 -13
  28. package/autodev/templates/codebase/runtime.md +0 -13
  29. package/autodev/templates/codebase/structure.md +0 -13
  30. package/autodev/templates/codebase/summary.md +0 -13
  31. package/autodev/templates/config.json +0 -22
  32. package/autodev/templates/project-state.md +0 -13
  33. package/autodev/templates/project.md +0 -24
  34. package/autodev/templates/requirements.md +0 -14
  35. package/autodev/templates/review.md +0 -27
  36. package/autodev/templates/roadmap.md +0 -17
  37. package/autodev/templates/state.md +0 -13
  38. package/autodev/templates/summary.md +0 -22
  39. package/autodev/templates/task-summary.md +0 -18
  40. package/autodev/templates/task.md +0 -23
  41. package/autodev/templates/track-state.md +0 -14
  42. package/autodev/templates/track.md +0 -24
  43. package/autodev/templates/uat.md +0 -18
  44. package/autodev/workflows/autodev.md +0 -79
  45. package/autodev/workflows/cleanup.md +0 -51
  46. package/autodev/workflows/execute-phase.md +0 -127
  47. package/autodev/workflows/explore-codebase.md +0 -66
  48. package/autodev/workflows/help.md +0 -110
  49. package/autodev/workflows/new-project.md +0 -101
  50. package/autodev/workflows/plan-phase.md +0 -126
  51. package/autodev/workflows/progress.md +0 -18
  52. package/autodev/workflows/review-phase.md +0 -73
  53. package/autodev/workflows/review-plan.md +0 -55
  54. package/autodev/workflows/review-task.md +0 -70
  55. package/autodev/workflows/verify-work.md +0 -57
  56. package/commands/autodev/cleanup.md +0 -23
  57. package/commands/autodev/execute-phase.md +0 -29
  58. package/commands/autodev/explore-codebase.md +0 -33
  59. package/commands/autodev/help.md +0 -18
  60. package/commands/autodev/new-project.md +0 -30
  61. package/commands/autodev/plan-phase.md +0 -26
  62. package/commands/autodev/progress.md +0 -18
  63. package/commands/autodev/review-phase.md +0 -29
  64. package/commands/autodev/review-task.md +0 -25
  65. package/commands/autodev/verify-work.md +0 -24
  66. package/hooks/autodev-context-monitor.js +0 -59
  67. package/hooks/autodev-phase-boundary.sh +0 -49
  68. package/hooks/autodev-prompt-guard.js +0 -55
  69. package/hooks/autodev-read-guard.js +0 -42
  70. package/hooks/autodev-session-state.sh +0 -51
  71. package/hooks/autodev-statusline.js +0 -78
  72. package/hooks/autodev-workflow-guard.js +0 -43
  73. package/hooks/hooks.json +0 -89
@@ -0,0 +1,19 @@
1
+ # Brief
2
+
3
+ ## Summary
4
+ [What this repo or product is, in one sentence.]
5
+
6
+ ## Current Goal
7
+ [What the user wants to ship or change now.]
8
+
9
+ ## Users
10
+ - [Primary user or operator]
11
+
12
+ ## Constraints
13
+ - [Technical or business constraint]
14
+
15
+ ## Definition Of Done
16
+ - [Observable completion signal]
17
+
18
+ ## Out Of Scope
19
+ - [What this run should not expand into]
@@ -0,0 +1,16 @@
1
+ # Context Snapshot
2
+
3
+ ## Architecture
4
+ - [High-level shape]
5
+
6
+ ## Entry Points
7
+ - [Main app, server, CLI, worker, or test entry points]
8
+
9
+ ## Safe Change Points
10
+ - [Files or subsystems that look safe to edit]
11
+
12
+ ## Risks
13
+ - [Hotspots, unclear ownership, or fragile seams]
14
+
15
+ ## Notes For The Current Goal
16
+ - [Only what matters for the active work]
@@ -1,46 +1,26 @@
1
- # Phase [N] Plan: [Name]
2
-
3
- Type: [feature|bugfix|refactor|research|polish]
4
-
5
- ## Goal
6
- [Phase goal]
7
-
8
- ## Inputs
9
- - PROJECT.md
10
- - codebase summary if available
11
- - TRACK.md
12
- - REQUIREMENTS.md
13
- - ROADMAP.md
14
- - Current codebase state
15
-
16
- ## Execution Model
17
- - This phase is executed through task files.
18
- - Keep one orchestration session for the phase.
19
- - Execute one task at a time.
20
- - No waves by default.
21
- - If review or verification finds blockers, keep the same phase open and append remediation tasks instead of creating a replacement phase.
22
-
23
- ## Phase-Level Risks
24
- - [Risk]
25
-
26
- ## Shared Verification
27
- - [Command]
28
- - [Manual check]
29
-
30
- ## Task List
31
- | Task | Status | Depends On | Goal |
32
- | --- | --- | --- | --- |
33
- | 01 | pending | none | [Concrete task goal] |
34
- | 02 | pending | 01 | [Concrete task goal] |
35
-
36
- ## Revision Rules
37
- - Preserve completed task rows and summaries as history.
38
- - Append remediation tasks after the highest existing task number.
39
- - Only rewrite pending tasks when needed for clarity.
40
-
41
- ## Notes
42
- - [Anything the delegated agents must know]
43
-
44
- ## Git Policy
45
- - Read-only only.
46
- - Allowed: `git status`, `git diff`, `git log`, `git show`, `git rev-parse`, `git ls-files`, `git branch --show-current`.
1
+ # Active Plan
2
+
3
+ Goal: [What this plan should deliver]
4
+
5
+ Done Definition:
6
+ - [What must be true before the work is complete]
7
+
8
+ ## Item 01: [Title]
9
+ Status: pending
10
+ Goal: [What this item accomplishes]
11
+ Files:
12
+ - [path]
13
+ Acceptance:
14
+ - [Observable result]
15
+ Verification:
16
+ - [Command or explicit manual check]
17
+
18
+ ## Item 02: [Title]
19
+ Status: pending
20
+ Goal: [What this item accomplishes]
21
+ Files:
22
+ - [path]
23
+ Acceptance:
24
+ - [Observable result]
25
+ Verification:
26
+ - [Command or explicit manual check]
@@ -0,0 +1,20 @@
1
+ # Run Report
2
+
3
+ Kind: [execute|repair|plan|context]
4
+ Started: [ISO timestamp]
5
+ Outcome: pending
6
+
7
+ ## Observed
8
+ - [Facts only]
9
+
10
+ ## Inferred
11
+ - [Only if needed]
12
+
13
+ ## Files Changed
14
+ - [path]
15
+
16
+ ## Verification
17
+ - [Command and result]
18
+
19
+ ## Unknowns
20
+ - [none]