@yemi33/minions 0.1.2105 → 0.1.2107
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/README.md +6 -6
- package/dashboard/js/qa.js +392 -198
- package/dashboard/js/render-dispatch.js +3 -2
- package/dashboard/js/render-prd.js +1 -1
- package/dashboard/js/settings.js +1 -1
- package/dashboard/pages/qa.html +37 -112
- package/dashboard.js +110 -1
- package/docs/auto-discovery.md +7 -7
- package/docs/human-vs-automated.md +2 -2
- package/docs/index.html +1 -1
- package/docs/managed-spawn.md +1 -1
- package/docs/onboarding.md +2 -2
- package/docs/pr-review-fix-loop.md +1 -1
- package/docs/self-improvement.md +1 -1
- package/docs/slim-ux/concepts.md +2 -2
- package/docs/watches.md +1 -1
- package/engine/cli.js +1 -1
- package/engine/qa-sessions.js +65 -0
- package/engine/shared.js +113 -6
- package/engine/watch-actions.js +301 -0
- package/engine/watches.js +3 -2
- package/engine.js +18 -13
- package/package.json +1 -1
- package/playbooks/plan-to-prd.md +25 -0
- package/prompts/cc-system.md +9 -0
package/prompts/cc-system.md
CHANGED
|
@@ -150,6 +150,15 @@ curl -s -X POST http://localhost:{{dashboard_port}}/api/pipelines/trigger \
|
|
|
150
150
|
-d '{"id":"my-pipeline-id"}'
|
|
151
151
|
```
|
|
152
152
|
|
|
153
|
+
Set up a "watch + CC triage" follow-up — fire CC headlessly when a watch trips so it can reason over the completion-report / live-output and decide what to do (file a fix WI, post a comment, escalate, etc.) instead of being limited to the single-shape `dispatch-work-item` action:
|
|
154
|
+
```
|
|
155
|
+
curl -s -X POST http://localhost:{{dashboard_port}}/api/watches \
|
|
156
|
+
-H 'Content-Type: application/json' \
|
|
157
|
+
-H 'X-CC-Turn-Id: {{cc_turn_id}}' \
|
|
158
|
+
-d '{"target":"W-...","targetType":"work-item","condition":"failed","action":{"type":"cc-triage","params":{"prompt":"WI {{target}} failed. Read the completion report and tail of live-output. If it is a flaky CI failure (transient, unrelated to the diff), file a follow-up `fix` WI titled \"Investigate flake on {{target}}\". Otherwise post an inbox note explaining the root cause and do nothing else.","attachArtifacts":["completion-report","live-output"]}}}'
|
|
159
|
+
```
|
|
160
|
+
The `cc-triage` action is internal — it runs in an isolated CC session (not your interactive ccSession) and never shows up in the user's tab list. Use it when "fire a single fixed work item" isn't expressive enough.
|
|
161
|
+
|
|
153
162
|
Link an external PR for tracking:
|
|
154
163
|
```
|
|
155
164
|
curl -s -X POST http://localhost:{{dashboard_port}}/api/pull-requests/link \
|