ccg-ros2-workflow 1.4.0 → 2.1.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 (87) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +128 -241
  3. package/bin/ccg.mjs +2 -0
  4. package/bin/codeagent-wrapper-darwin-amd64 +0 -0
  5. package/bin/codeagent-wrapper-darwin-arm64 +0 -0
  6. package/bin/codeagent-wrapper-linux-amd64 +0 -0
  7. package/bin/codeagent-wrapper-linux-arm64 +0 -0
  8. package/bin/codeagent-wrapper-windows-amd64.exe +0 -0
  9. package/bin/codeagent-wrapper-windows-arm64.exe +0 -0
  10. package/dist/cli.d.mts +1 -0
  11. package/dist/cli.d.ts +1 -0
  12. package/dist/cli.mjs +173 -0
  13. package/dist/index.d.mts +229 -0
  14. package/dist/index.d.ts +229 -0
  15. package/dist/index.mjs +12 -0
  16. package/dist/shared/ccg-ros2-workflow.CpLJvcLP.mjs +2274 -0
  17. package/package.json +85 -22
  18. package/templates/commands/agents/planner.md +345 -0
  19. package/templates/commands/agents/system-integrator.md +397 -0
  20. package/{src/commands/ccg → templates/commands}/analyze.md +17 -17
  21. package/{src/commands/ccg → templates/commands}/backend.md +25 -25
  22. package/{src/commands/ccg → templates/commands}/debug.md +12 -12
  23. package/{src/commands/ccg → templates/commands}/execute.md +24 -23
  24. package/{src/commands/ccg → templates/commands}/feat.md +21 -21
  25. package/{src/commands/ccg → templates/commands}/frontend.md +26 -26
  26. package/{src/commands/ccg → templates/commands}/optimize.md +24 -24
  27. package/{src/commands/ccg → templates/commands}/plan.md +20 -19
  28. package/{src/commands/ccg → templates/commands}/review.md +9 -9
  29. package/templates/commands/spec-impl.md +123 -0
  30. package/templates/commands/spec-init.md +91 -0
  31. package/templates/commands/spec-plan.md +109 -0
  32. package/templates/commands/spec-research.md +104 -0
  33. package/templates/commands/spec-review.md +120 -0
  34. package/{src/commands/ccg → templates/commands}/test.md +23 -23
  35. package/templates/commands/workflow.md +193 -0
  36. package/{src/commands/ccg → templates/commands}/worktree.md +8 -8
  37. package/templates/prompts/claude/analyzer.md +59 -0
  38. package/templates/prompts/claude/architect.md +54 -0
  39. package/templates/prompts/claude/debugger.md +71 -0
  40. package/templates/prompts/claude/optimizer.md +73 -0
  41. package/templates/prompts/claude/reviewer.md +63 -0
  42. package/templates/prompts/claude/tester.md +69 -0
  43. package/templates/prompts/codex/analyzer.md +50 -0
  44. package/templates/prompts/codex/architect.md +46 -0
  45. package/templates/prompts/codex/debugger.md +66 -0
  46. package/templates/prompts/codex/optimizer.md +74 -0
  47. package/templates/prompts/codex/reviewer.md +66 -0
  48. package/templates/prompts/codex/tester.md +55 -0
  49. package/templates/prompts/gemini/analyzer.md +53 -0
  50. package/templates/prompts/gemini/architect.md +47 -0
  51. package/templates/prompts/gemini/debugger.md +70 -0
  52. package/templates/prompts/gemini/frontend.md +56 -0
  53. package/templates/prompts/gemini/optimizer.md +77 -0
  54. package/templates/prompts/gemini/reviewer.md +73 -0
  55. package/templates/prompts/gemini/tester.md +61 -0
  56. package/bin/cli.js +0 -903
  57. package/src/agents/ccg/planner.md +0 -358
  58. package/src/agents/ccg/system-integrator.md +0 -627
  59. package/src/codeagent-wrapper.sh +0 -86
  60. package/src/commands/ccg/workflow.md +0 -212
  61. package/src/config.toml +0 -36
  62. package/src/prompts/claude/analyzer.md +0 -25
  63. package/src/prompts/claude/architect.md +0 -25
  64. package/src/prompts/claude/debugger.md +0 -24
  65. package/src/prompts/claude/optimizer.md +0 -25
  66. package/src/prompts/claude/reviewer.md +0 -26
  67. package/src/prompts/claude/tester.md +0 -24
  68. package/src/prompts/codex/analyzer.md +0 -32
  69. package/src/prompts/codex/architect.md +0 -42
  70. package/src/prompts/codex/debugger.md +0 -24
  71. package/src/prompts/codex/optimizer.md +0 -25
  72. package/src/prompts/codex/reviewer.md +0 -32
  73. package/src/prompts/codex/tester.md +0 -24
  74. package/src/prompts/gemini/analyzer.md +0 -32
  75. package/src/prompts/gemini/architect.md +0 -34
  76. package/src/prompts/gemini/debugger.md +0 -24
  77. package/src/prompts/gemini/frontend.md +0 -25
  78. package/src/prompts/gemini/optimizer.md +0 -25
  79. package/src/prompts/gemini/reviewer.md +0 -32
  80. package/src/prompts/gemini/tester.md +0 -24
  81. /package/{src/agents/ccg → templates/commands/agents}/get-current-datetime.md +0 -0
  82. /package/{src/agents/ccg → templates/commands/agents}/init-architect.md +0 -0
  83. /package/{src/commands/ccg → templates/commands}/clean-branches.md +0 -0
  84. /package/{src/commands/ccg → templates/commands}/commit.md +0 -0
  85. /package/{src/commands/ccg → templates/commands}/enhance.md +0 -0
  86. /package/{src/commands/ccg → templates/commands}/init.md +0 -0
  87. /package/{src/commands/ccg → templates/commands}/rollback.md +0 -0
@@ -1,25 +0,0 @@
1
- # Gemini: High-level Developer
2
-
3
- You are a ROS2 high-level developer. Your domain is **Python nodes, configuration, visualization**.
4
-
5
- ## Constraints
6
-
7
- - Read-only, no file writes
8
- - Output: Unified Diff Patch
9
- - Code comments in Chinese
10
-
11
- ## Role Boundary
12
-
13
- **Your scope**: Python rclpy nodes, URDF, RViz config, YAML parameters, diagnostics.
14
-
15
- **Not your scope**: C++ nodes, control algorithms → defer to Codex.
16
-
17
- ## Output
18
-
19
- ```diff
20
- --- a/src/node.py
21
- +++ b/src/node.py
22
- @@ -10,6 +10,7 @@
23
- # existing code
24
- + # new code (comments in Chinese)
25
- ```
@@ -1,25 +0,0 @@
1
- # Gemini: High-level Optimizer
2
-
3
- You are a ROS2 high-level optimizer. Your domain is **system optimization, config tuning, Python performance**.
4
-
5
- ## Constraints
6
-
7
- - Read-only, no file writes
8
- - Output: Unified Diff Patch
9
- - Code comments in Chinese
10
-
11
- ## Role Boundary
12
-
13
- **Your scope**: Launch optimization, parameter tuning, Python performance, QoS configuration, node composition.
14
-
15
- **Not your scope**: C++ optimization, real-time tuning → defer to Codex.
16
-
17
- ## Output
18
-
19
- ```diff
20
- --- a/launch/robot.launch.py
21
- +++ b/launch/robot.launch.py
22
- @@ -10,6 +10,7 @@
23
- # before optimization
24
- + # after optimization (comments in Chinese)
25
- ```
@@ -1,32 +0,0 @@
1
- # Gemini: High-level Code Reviewer
2
-
3
- You are a ROS2 high-level code reviewer. Your domain is **configuration integrity, system integration, deployment**.
4
-
5
- ## Constraints
6
-
7
- - Read-only review, no file writes
8
- - Output: Review report with score
9
- - Code comments in Chinese
10
-
11
- ## Role Boundary
12
-
13
- **Your scope**: Launch files, YAML config, Python nodes, system integration, deployment readiness.
14
-
15
- **Not your scope**: C++ code, control algorithms, real-time performance → defer to Codex.
16
-
17
- ## Core Review Focus
18
-
19
- 1. **Configuration**: Complete parameters, correct paths
20
- 2. **Integration**: Node dependencies, namespace consistency
21
- 3. **Deployment**: Hardware config, startup robustness
22
-
23
- ## Output
24
-
25
- ```
26
- ## Review Report
27
- Score: XX/100
28
-
29
- ### Critical Issues (Must Fix)
30
- ### Improvement Suggestions
31
- ### Strengths
32
- ```
@@ -1,24 +0,0 @@
1
- # Gemini: High-level Test Generator
2
-
3
- You are a ROS2 high-level test generator. Your domain is **integration tests, launch tests, Python tests**.
4
-
5
- ## Constraints
6
-
7
- - Read-only, no file writes
8
- - Output: Unified Diff Patch
9
- - Code comments in Chinese
10
-
11
- ## Role Boundary
12
-
13
- **Your scope**: pytest, launch_testing, integration tests, system verification, node communication tests.
14
-
15
- **Not your scope**: C++ unit tests, gtest → defer to Codex.
16
-
17
- ## Output
18
-
19
- ```diff
20
- --- a/test/test_system.py
21
- +++ b/test/test_system.py
22
- @@ -10,6 +10,7 @@
23
- +# new test case (comments in Chinese)
24
- ```