@dreb/coding-agent 2.10.0 → 2.11.1
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/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +1 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/tools/subagent.d.ts +4 -1
- package/dist/core/tools/subagent.d.ts.map +1 -1
- package/dist/core/tools/subagent.js +28 -10
- package/dist/core/tools/subagent.js.map +1 -1
- package/package.json +1 -1
- package/skills/mach6-implement/SKILL.md +3 -0
- package/skills/mach6-issue/SKILL.md +10 -3
- package/skills/mach6-plan/SKILL.md +11 -4
- package/skills/mach6-publish/SKILL.md +7 -1
- package/skills/mach6-push/SKILL.md +6 -2
- package/skills/mach6-review/SKILL.md +15 -5
|
@@ -14,6 +14,7 @@ argument-hint: "<pr-number> [code|errors|tests|completeness|simplify]"
|
|
|
14
14
|
2. **HTML markers** — Use `<!-- mach6-review -->` and `<!-- mach6-assessment -->` as the first line of comment bodies.
|
|
15
15
|
3. **No `#N` in comment bodies** — Use "finding 3", "item 3", "stage 2" etc. instead.
|
|
16
16
|
4. **Task tracking** — Use the `tasks_update` tool to show progress.
|
|
17
|
+
5. **Non-interactive `gh`** — Set `GH_PAGER=cat` and `GH_EDITOR=cat` before all `gh` commands to prevent interactive prompts from hanging the agent. Use `--body-file` instead of inline `--body` for all `gh pr comment`, `gh pr create`, and `gh issue create` calls to avoid shell interpretation of backticks.
|
|
17
18
|
|
|
18
19
|
**Important: Do NOT fix any issues in this session. Fixes happen via `/skill:mach6-implement`.**
|
|
19
20
|
|
|
@@ -95,7 +96,8 @@ Update task: review → completed, post-review → in_progress.
|
|
|
95
96
|
Compile all findings from all agents into a single structured comment:
|
|
96
97
|
|
|
97
98
|
```bash
|
|
98
|
-
|
|
99
|
+
cat > /tmp/gh-comment.md << 'MACH6_EOF'
|
|
100
|
+
<!-- mach6-review -->
|
|
99
101
|
## Code Review
|
|
100
102
|
|
|
101
103
|
### Critical
|
|
@@ -113,7 +115,9 @@ gh pr comment <pr-number> --body "<!-- mach6-review -->
|
|
|
113
115
|
**Agents run:** <list of agents>
|
|
114
116
|
|
|
115
117
|
---
|
|
116
|
-
*Reviewed by mach6*
|
|
118
|
+
*Reviewed by mach6*
|
|
119
|
+
MACH6_EOF
|
|
120
|
+
gh pr comment <pr-number> --body-file /tmp/gh-comment.md
|
|
117
121
|
```
|
|
118
122
|
|
|
119
123
|
Save the review comment URL:
|
|
@@ -152,7 +156,8 @@ Update task: assess → completed, post-assess → in_progress.
|
|
|
152
156
|
## Step 7: Post assessment
|
|
153
157
|
|
|
154
158
|
```bash
|
|
155
|
-
|
|
159
|
+
cat > /tmp/gh-comment.md << 'MACH6_EOF'
|
|
160
|
+
<!-- mach6-assessment -->
|
|
156
161
|
## Review Assessment
|
|
157
162
|
|
|
158
163
|
<link to review comment>
|
|
@@ -168,7 +173,9 @@ gh pr comment <pr-number> --body "<!-- mach6-assessment -->
|
|
|
168
173
|
<numbered list of what to fix, ordered by priority>
|
|
169
174
|
|
|
170
175
|
---
|
|
171
|
-
*Assessment by mach6*
|
|
176
|
+
*Assessment by mach6*
|
|
177
|
+
MACH6_EOF
|
|
178
|
+
gh pr comment <pr-number> --body-file /tmp/gh-comment.md
|
|
172
179
|
```
|
|
173
180
|
|
|
174
181
|
Update task: post-assess → completed, summary → in_progress.
|
|
@@ -182,7 +189,10 @@ Present to the user:
|
|
|
182
189
|
|
|
183
190
|
If any findings were classified as **deferred**, ask the user if they want to create issues for them:
|
|
184
191
|
```bash
|
|
185
|
-
|
|
192
|
+
cat > /tmp/gh-body.md << 'MACH6_EOF'
|
|
193
|
+
<body referencing PR and finding>
|
|
194
|
+
MACH6_EOF
|
|
195
|
+
gh issue create --title "<title>" --body-file /tmp/gh-body.md
|
|
186
196
|
```
|
|
187
197
|
|
|
188
198
|
Update task: summary → completed.
|