@programinglive/dev-workflow-mcp-server 1.5.2 → 1.5.4

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 (78) hide show
  1. package/.agent/workflows/dev-workflow-bugfix.md +250 -250
  2. package/.agent/workflows/dev-workflow-feature.md +201 -201
  3. package/.agent/workflows/dev-workflow-full-cycle.md +400 -400
  4. package/.agent/workflows/dev-workflow-refactor.md +238 -238
  5. package/.github/ISSUE_TEMPLATE/bug_report.md +34 -34
  6. package/.github/ISSUE_TEMPLATE/feature_request.md +25 -25
  7. package/.github/pull_request_template.md +22 -22
  8. package/.github/workflows/github-release.yml +56 -0
  9. package/.github/workflows/npm-publish.yml +50 -50
  10. package/.husky/commit-msg +0 -0
  11. package/CHANGELOG.md +759 -741
  12. package/CODE_OF_CONDUCT.md +79 -79
  13. package/CONTRIBUTING.md +60 -60
  14. package/LICENSE +21 -21
  15. package/README.md +632 -632
  16. package/SECURITY.md +20 -20
  17. package/db/index.js +204 -204
  18. package/docs/NETLIFY_DEPLOYMENT.md +125 -125
  19. package/docs/PLESK_DEPLOYMENT.md +170 -170
  20. package/docs/WORKFLOW-BEST-PRACTICES.md +58 -58
  21. package/docs/antigravity/EXAMPLES.md +535 -535
  22. package/docs/antigravity/GETTING-STARTED.md +292 -292
  23. package/docs/antigravity/TROUBLESHOOTING.md +742 -742
  24. package/docs/antigravity/WALKTHROUGH.md +25 -25
  25. package/docs/antigravity/WORKFLOW-TEMPLATES.md +670 -670
  26. package/docs/product/PRD.md +67 -67
  27. package/docs/release-notes/RELEASE_NOTES.md +233 -226
  28. package/docs/web-dashboard.md +175 -175
  29. package/exec.js +49 -49
  30. package/index.js +279 -279
  31. package/install.js +73 -73
  32. package/package.json +4 -4
  33. package/release-wrapper.js +192 -192
  34. package/scripts/build-docs.js +63 -63
  35. package/scripts/extract-release-notes.cjs +78 -0
  36. package/scripts/hello-world.js +1 -1
  37. package/scripts/release.cjs +252 -252
  38. package/scripts/release.js +252 -0
  39. package/scripts/update-release-notes.cjs +178 -178
  40. package/scripts/update-release-notes.js +182 -0
  41. package/server.json +23 -23
  42. package/tailwind.config.js +8 -8
  43. package/tests/build.test.js +83 -83
  44. package/tests/exec.test.js +35 -35
  45. package/tests/handlers.test.js +1058 -1058
  46. package/tests/hello-world.test.js +13 -13
  47. package/tests/mcpRegistry.test.js +65 -65
  48. package/tests/patch-release.test.js +7 -0
  49. package/tests/release-wrapper.test.js +107 -107
  50. package/tests/workflowState.test.js +505 -505
  51. package/tools/definitions.js +332 -332
  52. package/tools/handlers.js +1019 -1019
  53. package/vite.config.js +43 -43
  54. package/vite.web.config.js +23 -23
  55. package/web/README.md +36 -36
  56. package/web/app/docs/page.tsx +202 -202
  57. package/web/app/globals.css +90 -90
  58. package/web/app/layout.tsx +36 -36
  59. package/web/app/page.tsx +15 -15
  60. package/web/components/ApiReference.tsx +20 -20
  61. package/web/components/Features.tsx +61 -61
  62. package/web/components/Footer.tsx +9 -9
  63. package/web/components/Hero.tsx +96 -96
  64. package/web/components/History.tsx +143 -143
  65. package/web/components/Navbar.tsx +64 -64
  66. package/web/components/Terminal.tsx +114 -114
  67. package/web/eslint.config.mjs +18 -18
  68. package/web/lib/db.js +131 -131
  69. package/web/lib/docs.js +73 -73
  70. package/web/netlify.toml +3 -3
  71. package/web/next.config.ts +12 -12
  72. package/web/package-lock.json +6560 -6560
  73. package/web/package.json +28 -28
  74. package/web/postcss.config.mjs +9 -9
  75. package/web/server.js +31 -31
  76. package/web/tailwind.config.ts +19 -19
  77. package/web/tsconfig.json +42 -42
  78. package/workflow-state.js +612 -612
@@ -1,58 +1,58 @@
1
- # Workflow Best Practices
2
-
3
- ## Correct Release Workflow Order
4
-
5
- To avoid needing `--force` flag for releases, follow this exact order:
6
-
7
- 1. **Start Task**: `mcp0_start_task`
8
- 2. **Fix/Implement**: Make your code changes
9
- 3. **Mark Fixed**: `mcp0_mark_bug_fixed`
10
- 4. **Tests**: `mcp0_create_tests` + `mcp0_run_tests` (or `mcp0_skip_tests` with reason)
11
- 5. **Documentation**: `mcp0_create_documentation`
12
- 6. **Ready Check**: `mcp0_check_ready_to_commit`
13
- 7. **Commit & Push**: `mcp0_commit_and_push`
14
- 8. **Release**: `mcp0_perform_release` ⚠️ **MUST come BEFORE complete_task**
15
- 9. **Complete**: `mcp0_complete_task`
16
-
17
- ## Common Mistakes
18
-
19
- ### ❌ Wrong Order (causes forced releases)
20
- ```
21
- check_ready → commit → complete → release // WRONG!
22
- ```
23
-
24
- ### ✅ Correct Order
25
- ```
26
- check_ready → commit → release → complete // CORRECT!
27
- ```
28
-
29
- ## Why This Matters
30
-
31
- - `complete_task` **resets the workflow state**
32
- - `perform_release` **checks the workflow state** before running
33
- - If you complete before releasing, the state is cleared and release guards fail
34
- - Using `--force` bypasses guards but doesn't fix the root cause
35
-
36
- ## State Transitions
37
-
38
- 1. After `commit_and_push`: `currentPhase = "release"`
39
- 2. After `perform_release`: `currentPhase = "ready_to_complete"`, `released = true`
40
- 3. After `complete_task`: State is reset to idle
41
-
42
- ## Solution
43
-
44
- Always call `perform_release` BEFORE `complete_task`. Never use `--force` unless absolutely necessary.
45
-
46
- ## Documentation Phase Expectations
47
-
48
- During the documentation step (`mcp0_create_documentation`), make sure the core project docs are created or updated as needed:
49
-
50
- 1. `docs/product/PRD.md` – Product Requirements Document
51
- 2. `README.md` – Project overview and usage
52
- 3. `docs/release-notes/RELEASE_NOTES.md` – Release notes for changes in this task/version
53
-
54
- If one or more of these files already exist, **update them** instead of creating new variants. Use the `documentationType` argument to reflect what you touched:
55
-
56
- - `"PRD"` when you added/updated the PRD
57
- - `"README"` when you updated the main README
58
- - `"RELEASE_NOTES"` when you updated the release notes
1
+ # Workflow Best Practices
2
+
3
+ ## Correct Release Workflow Order
4
+
5
+ To avoid needing `--force` flag for releases, follow this exact order:
6
+
7
+ 1. **Start Task**: `mcp0_start_task`
8
+ 2. **Fix/Implement**: Make your code changes
9
+ 3. **Mark Fixed**: `mcp0_mark_bug_fixed`
10
+ 4. **Tests**: `mcp0_create_tests` + `mcp0_run_tests` (or `mcp0_skip_tests` with reason)
11
+ 5. **Documentation**: `mcp0_create_documentation`
12
+ 6. **Ready Check**: `mcp0_check_ready_to_commit`
13
+ 7. **Commit & Push**: `mcp0_commit_and_push`
14
+ 8. **Release**: `mcp0_perform_release` ⚠️ **MUST come BEFORE complete_task**
15
+ 9. **Complete**: `mcp0_complete_task`
16
+
17
+ ## Common Mistakes
18
+
19
+ ### ❌ Wrong Order (causes forced releases)
20
+ ```
21
+ check_ready → commit → complete → release // WRONG!
22
+ ```
23
+
24
+ ### ✅ Correct Order
25
+ ```
26
+ check_ready → commit → release → complete // CORRECT!
27
+ ```
28
+
29
+ ## Why This Matters
30
+
31
+ - `complete_task` **resets the workflow state**
32
+ - `perform_release` **checks the workflow state** before running
33
+ - If you complete before releasing, the state is cleared and release guards fail
34
+ - Using `--force` bypasses guards but doesn't fix the root cause
35
+
36
+ ## State Transitions
37
+
38
+ 1. After `commit_and_push`: `currentPhase = "release"`
39
+ 2. After `perform_release`: `currentPhase = "ready_to_complete"`, `released = true`
40
+ 3. After `complete_task`: State is reset to idle
41
+
42
+ ## Solution
43
+
44
+ Always call `perform_release` BEFORE `complete_task`. Never use `--force` unless absolutely necessary.
45
+
46
+ ## Documentation Phase Expectations
47
+
48
+ During the documentation step (`mcp0_create_documentation`), make sure the core project docs are created or updated as needed:
49
+
50
+ 1. `docs/product/PRD.md` – Product Requirements Document
51
+ 2. `README.md` – Project overview and usage
52
+ 3. `docs/release-notes/RELEASE_NOTES.md` – Release notes for changes in this task/version
53
+
54
+ If one or more of these files already exist, **update them** instead of creating new variants. Use the `documentationType` argument to reflect what you touched:
55
+
56
+ - `"PRD"` when you added/updated the PRD
57
+ - `"README"` when you updated the main README
58
+ - `"RELEASE_NOTES"` when you updated the release notes