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.
- package/LICENSE +21 -0
- package/README.md +128 -241
- package/bin/ccg.mjs +2 -0
- package/bin/codeagent-wrapper-darwin-amd64 +0 -0
- package/bin/codeagent-wrapper-darwin-arm64 +0 -0
- package/bin/codeagent-wrapper-linux-amd64 +0 -0
- package/bin/codeagent-wrapper-linux-arm64 +0 -0
- package/bin/codeagent-wrapper-windows-amd64.exe +0 -0
- package/bin/codeagent-wrapper-windows-arm64.exe +0 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.mjs +173 -0
- package/dist/index.d.mts +229 -0
- package/dist/index.d.ts +229 -0
- package/dist/index.mjs +12 -0
- package/dist/shared/ccg-ros2-workflow.CpLJvcLP.mjs +2274 -0
- package/package.json +85 -22
- package/templates/commands/agents/planner.md +345 -0
- package/templates/commands/agents/system-integrator.md +397 -0
- package/{src/commands/ccg → templates/commands}/analyze.md +17 -17
- package/{src/commands/ccg → templates/commands}/backend.md +25 -25
- package/{src/commands/ccg → templates/commands}/debug.md +12 -12
- package/{src/commands/ccg → templates/commands}/execute.md +24 -23
- package/{src/commands/ccg → templates/commands}/feat.md +21 -21
- package/{src/commands/ccg → templates/commands}/frontend.md +26 -26
- package/{src/commands/ccg → templates/commands}/optimize.md +24 -24
- package/{src/commands/ccg → templates/commands}/plan.md +20 -19
- package/{src/commands/ccg → templates/commands}/review.md +9 -9
- package/templates/commands/spec-impl.md +123 -0
- package/templates/commands/spec-init.md +91 -0
- package/templates/commands/spec-plan.md +109 -0
- package/templates/commands/spec-research.md +104 -0
- package/templates/commands/spec-review.md +120 -0
- package/{src/commands/ccg → templates/commands}/test.md +23 -23
- package/templates/commands/workflow.md +193 -0
- package/{src/commands/ccg → templates/commands}/worktree.md +8 -8
- package/templates/prompts/claude/analyzer.md +59 -0
- package/templates/prompts/claude/architect.md +54 -0
- package/templates/prompts/claude/debugger.md +71 -0
- package/templates/prompts/claude/optimizer.md +73 -0
- package/templates/prompts/claude/reviewer.md +63 -0
- package/templates/prompts/claude/tester.md +69 -0
- package/templates/prompts/codex/analyzer.md +50 -0
- package/templates/prompts/codex/architect.md +46 -0
- package/templates/prompts/codex/debugger.md +66 -0
- package/templates/prompts/codex/optimizer.md +74 -0
- package/templates/prompts/codex/reviewer.md +66 -0
- package/templates/prompts/codex/tester.md +55 -0
- package/templates/prompts/gemini/analyzer.md +53 -0
- package/templates/prompts/gemini/architect.md +47 -0
- package/templates/prompts/gemini/debugger.md +70 -0
- package/templates/prompts/gemini/frontend.md +56 -0
- package/templates/prompts/gemini/optimizer.md +77 -0
- package/templates/prompts/gemini/reviewer.md +73 -0
- package/templates/prompts/gemini/tester.md +61 -0
- package/bin/cli.js +0 -903
- package/src/agents/ccg/planner.md +0 -358
- package/src/agents/ccg/system-integrator.md +0 -627
- package/src/codeagent-wrapper.sh +0 -86
- package/src/commands/ccg/workflow.md +0 -212
- package/src/config.toml +0 -36
- package/src/prompts/claude/analyzer.md +0 -25
- package/src/prompts/claude/architect.md +0 -25
- package/src/prompts/claude/debugger.md +0 -24
- package/src/prompts/claude/optimizer.md +0 -25
- package/src/prompts/claude/reviewer.md +0 -26
- package/src/prompts/claude/tester.md +0 -24
- package/src/prompts/codex/analyzer.md +0 -32
- package/src/prompts/codex/architect.md +0 -42
- package/src/prompts/codex/debugger.md +0 -24
- package/src/prompts/codex/optimizer.md +0 -25
- package/src/prompts/codex/reviewer.md +0 -32
- package/src/prompts/codex/tester.md +0 -24
- package/src/prompts/gemini/analyzer.md +0 -32
- package/src/prompts/gemini/architect.md +0 -34
- package/src/prompts/gemini/debugger.md +0 -24
- package/src/prompts/gemini/frontend.md +0 -25
- package/src/prompts/gemini/optimizer.md +0 -25
- package/src/prompts/gemini/reviewer.md +0 -32
- package/src/prompts/gemini/tester.md +0 -24
- /package/{src/agents/ccg → templates/commands/agents}/get-current-datetime.md +0 -0
- /package/{src/agents/ccg → templates/commands/agents}/init-architect.md +0 -0
- /package/{src/commands/ccg → templates/commands}/clean-branches.md +0 -0
- /package/{src/commands/ccg → templates/commands}/commit.md +0 -0
- /package/{src/commands/ccg → templates/commands}/enhance.md +0 -0
- /package/{src/commands/ccg → templates/commands}/init.md +0 -0
- /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
|
-
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|