@rudderhq/agent-runtime-codex-local 0.2.9-canary.1 → 0.2.9-canary.11
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/package.json +2 -2
- package/skills/rudder/SKILL.md +16 -10
- package/skills/rudder/references/cli-reference.md +16 -14
- package/skills/rudder/references/organization-skills.md +2 -2
- package/skills/rudder-create-agent/SKILL.md +5 -2
- package/skills/rudder-create-agent/references/api-reference.md +1 -1
- package/skills/rudder-create-agent/references/cli-reference.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rudderhq/agent-runtime-codex-local",
|
|
3
|
-
"version": "0.2.9-canary.
|
|
3
|
+
"version": "0.2.9-canary.11",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"homepage": "https://github.com/Undertone0809/rudder",
|
|
6
6
|
"bugs": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"probe:quota": "pnpm exec tsx src/cli/quota-probe.ts --json"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@rudderhq/agent-runtime-utils": "0.2.9-canary.
|
|
71
|
+
"@rudderhq/agent-runtime-utils": "0.2.9-canary.11",
|
|
72
72
|
"picocolors": "^1.1.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
package/skills/rudder/SKILL.md
CHANGED
|
@@ -155,26 +155,26 @@ permission to take over implementation unless explicitly asked:
|
|
|
155
155
|
- approve:
|
|
156
156
|
|
|
157
157
|
```bash
|
|
158
|
-
rudder issue review "<issue-id-or-identifier>" --decision approve --comment "<
|
|
158
|
+
rudder issue review "<issue-id-or-identifier>" --decision approve --comment-file "<path>" --json
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
- request changes and return the issue to the assignee:
|
|
162
162
|
|
|
163
163
|
```bash
|
|
164
|
-
rudder issue review "<issue-id-or-identifier>" --decision request_changes --comment "<
|
|
164
|
+
rudder issue review "<issue-id-or-identifier>" --decision request_changes --comment-file "<path>" --json
|
|
165
165
|
```
|
|
166
166
|
|
|
167
167
|
- keep the issue in its current review/blocker state because specific evidence
|
|
168
168
|
or follow-up is still missing:
|
|
169
169
|
|
|
170
170
|
```bash
|
|
171
|
-
rudder issue review "<issue-id-or-identifier>" --decision needs_followup --comment "<
|
|
171
|
+
rudder issue review "<issue-id-or-identifier>" --decision needs_followup --comment-file "<path>" --json
|
|
172
172
|
```
|
|
173
173
|
|
|
174
174
|
- block the issue:
|
|
175
175
|
|
|
176
176
|
```bash
|
|
177
|
-
rudder issue review "<issue-id-or-identifier>" --decision blocked --comment "<
|
|
177
|
+
rudder issue review "<issue-id-or-identifier>" --decision blocked --comment-file "<path>" --json
|
|
178
178
|
```
|
|
179
179
|
|
|
180
180
|
Use `blocked` to confirm a human/external blocker. The comment must name the next human action; Rudder records a human handoff and removes the issue from repeated reviewer pickup until the board changes the issue.
|
|
@@ -182,23 +182,29 @@ Use `blocked` to confirm a human/external blocker. The comment must name the nex
|
|
|
182
182
|
- progress-only update:
|
|
183
183
|
|
|
184
184
|
```bash
|
|
185
|
-
rudder issue comment "<issue-id-or-identifier>" --body "<
|
|
185
|
+
rudder issue comment "<issue-id-or-identifier>" --body-file "<path>" [--image "<path>"] --json
|
|
186
186
|
```
|
|
187
187
|
|
|
188
188
|
- completion:
|
|
189
189
|
|
|
190
190
|
```bash
|
|
191
|
-
rudder issue done "<issue-id-or-identifier>" --comment "<
|
|
191
|
+
rudder issue done "<issue-id-or-identifier>" --comment-file "<path>" [--image "<path>"] --json
|
|
192
192
|
```
|
|
193
193
|
|
|
194
194
|
- blocker:
|
|
195
195
|
|
|
196
196
|
```bash
|
|
197
|
-
rudder issue block "<issue-id-or-identifier>" --comment "<
|
|
197
|
+
rudder issue block "<issue-id-or-identifier>" --comment-file "<path>" [--image "<path>"] --json
|
|
198
198
|
```
|
|
199
199
|
|
|
200
200
|
- generic patch when workflow commands are not enough:
|
|
201
201
|
|
|
202
|
+
Issue comment and close-out commands accept comment bodies only from files or
|
|
203
|
+
stdin. For any multiline Markdown, command names, code spans, code blocks,
|
|
204
|
+
validation summaries, or screenshot evidence, write the body to a temporary
|
|
205
|
+
Markdown file and pass `--body-file <path>` or `--comment-file <path>`. Pass
|
|
206
|
+
`-` to read from stdin.
|
|
207
|
+
|
|
202
208
|
Add `--image "<path>"` one or more times when the close-out/progress comment should include local screenshots or images. Supported local image types are PNG, JPEG, WebP, and GIF; the CLI uploads them as issue attachments and appends Markdown image links.
|
|
203
209
|
|
|
204
210
|
If your comment mentions a screenshot path or uses a screenshot as validation evidence, attach that file with `--image "<path>"`. Do not leave only a local `/tmp/...` or workspace image path in the comment, because board users may not be able to inspect it from Rudder.
|
|
@@ -233,7 +239,7 @@ rudder agent skills create "$RUDDER_AGENT_ID" --name "<name>" --description "<de
|
|
|
233
239
|
|
|
234
240
|
This creates the package under `AGENT_HOME/skills` and does not require organization skill mutation permission.
|
|
235
241
|
|
|
236
|
-
When a board user
|
|
242
|
+
When a board user or authorized agent asks you to find, import, inspect, or assign organization skills:
|
|
237
243
|
|
|
238
244
|
1. Read `references/organization-skills.md`
|
|
239
245
|
2. Use the CLI surfaces in this order:
|
|
@@ -268,8 +274,8 @@ Typical flow:
|
|
|
268
274
|
```bash
|
|
269
275
|
rudder issue documents get "<issue-id-or-identifier>" plan --json
|
|
270
276
|
rudder issue documents revisions "<issue-id-or-identifier>" plan --json
|
|
271
|
-
rudder issue documents put "<issue-id-or-identifier>" plan --title "Plan" --format markdown --body "<
|
|
272
|
-
rudder issue comment "<issue-id-or-identifier>" --body "<
|
|
277
|
+
rudder issue documents put "<issue-id-or-identifier>" plan --title "Plan" --format markdown --body-file "<path>" --json
|
|
278
|
+
rudder issue comment "<issue-id-or-identifier>" --body-file "<path>" --json
|
|
273
279
|
```
|
|
274
280
|
|
|
275
281
|
Planning rules:
|
|
@@ -29,22 +29,22 @@ Direct API fallback is allowed for heartbeat close-out only when a required CLI
|
|
|
29
29
|
| `rudder issue search <query> [--org-id <id>]` | Search issues with the server-side issue index across title, identifier, description, and comments. | no | required | no | no |
|
|
30
30
|
| `rudder issue context <issue>` | Read the compact heartbeat context for an issue. | no | no | no | no |
|
|
31
31
|
| `rudder issue checkout <issue>` | Atomically checkout an issue for the current or specified agent. | yes | no | required | attached when available |
|
|
32
|
-
| `rudder issue comment <issue> --body <
|
|
32
|
+
| `rudder issue comment <issue> --body-file <path> [--image <path>]` | Add a comment to an issue, optionally uploading images and appending Markdown image links. | yes | no | no | attached when available |
|
|
33
33
|
| `rudder issue comments list <issue>` | List issue comments, optionally only newer comments after a cursor. | no | no | no | no |
|
|
34
34
|
| `rudder issue comments get <issue> <comment-id>` | Read one issue comment by id. | no | no | no | no |
|
|
35
|
-
| `rudder issue update <issue> ... [--image <path>]` | Apply generic issue updates when workflow commands are not enough, optionally uploading images for the update comment. | yes | no | no | attached when available |
|
|
36
|
-
| `rudder issue review <issue> --decision <decision> --comment <
|
|
35
|
+
| `rudder issue update <issue> ... [--comment-file <path>] [--image <path>]` | Apply generic issue updates when workflow commands are not enough, optionally uploading images for the update comment. | yes | no | no | attached when available |
|
|
36
|
+
| `rudder issue review <issue> --decision <decision> --comment-file <path>` | Record a structured reviewer decision with a required comment. | yes | no | no | attached when available |
|
|
37
37
|
| `rudder issue commit <issue> --sha <sha> --message <subject>` | Report a code commit created during issue work as structured issue activity. | yes | no | no | attached when available |
|
|
38
|
-
| `rudder issue done <issue> --comment <
|
|
39
|
-
| `rudder issue block <issue> --comment <
|
|
38
|
+
| `rudder issue done <issue> --comment-file <path> [--image <path>]` | Mark an issue done with a required completion comment, optionally uploading images. | yes | no | no | attached when available |
|
|
39
|
+
| `rudder issue block <issue> --comment-file <path> [--image <path>]` | Mark an issue blocked with a required blocker comment, optionally uploading images. | yes | no | no | attached when available |
|
|
40
40
|
| `rudder issue release <issue>` | Release an issue back to todo and clear ownership. | yes | no | no | attached when available |
|
|
41
41
|
| `rudder issue documents list <issue>` | List issue documents. | no | no | no | no |
|
|
42
42
|
| `rudder issue documents get <issue> <key>` | Read one issue document by key. | no | no | no | no |
|
|
43
|
-
| `rudder issue documents put <issue> <key> --body <
|
|
43
|
+
| `rudder issue documents put <issue> <key> --body-file <path>` | Create or update an issue document. | yes | no | no | attached when available |
|
|
44
44
|
| `rudder issue documents revisions <issue> <key>` | List revisions for an issue document. | no | no | no | no |
|
|
45
45
|
| `rudder approval get <approval-id>` | Read one approval request. | no | no | no | no |
|
|
46
46
|
| `rudder approval issues <approval-id>` | List the issues linked to an approval. | no | no | no | no |
|
|
47
|
-
| `rudder approval comment <approval-id> --body <
|
|
47
|
+
| `rudder approval comment <approval-id> --body-file <path>` | Add a comment to an approval. | yes | no | no | attached when available |
|
|
48
48
|
| `rudder skill list --org-id <id>` | List organization-visible skills. | no | required | no | no |
|
|
49
49
|
| `rudder skill get <skill-id> --org-id <id>` | Read one organization skill detail. | no | required | no | no |
|
|
50
50
|
| `rudder skill file <skill-id> --org-id <id> [--path SKILL.md]` | Read one file from an organization skill package. | no | required | no | no |
|
|
@@ -56,13 +56,15 @@ Direct API fallback is allowed for heartbeat close-out only when a required CLI
|
|
|
56
56
|
|
|
57
57
|
Before a successful `todo` or `in_progress` issue run exits, leave one close-out signal with the command that matches the outcome:
|
|
58
58
|
|
|
59
|
-
- progress remains: `rudder issue comment <issue> --body <
|
|
60
|
-
- work is complete: `rudder issue done <issue> --comment <
|
|
61
|
-
- work is blocked: `rudder issue block <issue> --comment <
|
|
59
|
+
- progress remains: `rudder issue comment <issue> --body-file <path> [--image <path>]`
|
|
60
|
+
- work is complete: `rudder issue done <issue> --comment-file <path> [--image <path>]`
|
|
61
|
+
- work is blocked: `rudder issue block <issue> --comment-file <path> [--image <path>]`
|
|
62
62
|
- ownership changes: add an explicit handoff comment before or with the assignee update
|
|
63
63
|
|
|
64
64
|
If an issue has a reviewer, moving it to `blocked` is also a reviewer handoff: the reviewer should confirm the blocker, request changes, approve, or keep explicit follow-up open with `rudder issue review`.
|
|
65
65
|
|
|
66
|
+
Issue comment and close-out commands accept comment bodies only from files or stdin. For any multiline Markdown, command names, code spans, code blocks, test summaries, or screenshot evidence, write the comment to a temporary Markdown file and pass `--body-file <path>` or `--comment-file <path>`, or pass `-` to read the body from stdin.
|
|
67
|
+
|
|
66
68
|
`--image` may be repeated. The CLI uploads each local PNG/JPEG/WebP/GIF as an issue attachment and appends Markdown image links to the comment text before sending it.
|
|
67
69
|
|
|
68
70
|
If your issue comment cites a screenshot path or visual validation artifact, attach that file with `--image <path>` instead of leaving only the local path in the text.
|
|
@@ -77,10 +79,10 @@ Local runtime `HOME` is isolated from the operator home. Codex local runs and ru
|
|
|
77
79
|
|
|
78
80
|
When the inbox row or wake context says `relationship: "reviewer"`, `role: "reviewer"`, or `wakeSource: "review"`, finish the review with one structured reviewer decision. Reviewer work can be either `in_review` or `blocked`; blocked reviewer work means blocker triage, not implementation takeover.
|
|
79
81
|
|
|
80
|
-
- approve: `rudder issue review <issue> --decision approve --comment <
|
|
81
|
-
- request changes: `rudder issue review <issue> --decision request_changes --comment <
|
|
82
|
-
- needs follow-up: `rudder issue review <issue> --decision needs_followup --comment <
|
|
83
|
-
- blocked or blocker confirmed: `rudder issue review <issue> --decision blocked --comment <
|
|
82
|
+
- approve: `rudder issue review <issue> --decision approve --comment-file <path>`
|
|
83
|
+
- request changes: `rudder issue review <issue> --decision request_changes --comment-file <path>`
|
|
84
|
+
- needs follow-up: `rudder issue review <issue> --decision needs_followup --comment-file <path>`
|
|
85
|
+
- blocked or blocker confirmed: `rudder issue review <issue> --decision blocked --comment-file <path>`; use this only for a confirmed human/external blocker and name the next human action.
|
|
84
86
|
|
|
85
87
|
Do not rely on a free-form reject or accept comment as the review outcome. The structured decision is the durable close-out signal. A blocked reviewer decision records a human handoff and removes the issue from repeated reviewer pickup until the board changes the issue.
|
|
86
88
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Organization Skills Workflow
|
|
2
2
|
|
|
3
|
-
Use this reference when a board user
|
|
3
|
+
Use this reference when a board user or authorized agent asks you to discover, import, inspect, or enable organization skills.
|
|
4
4
|
|
|
5
5
|
This workflow is now **CLI-first** for the bundled `rudder` skill.
|
|
6
6
|
|
|
@@ -155,7 +155,7 @@ the full optional enabled-skill set intentionally.
|
|
|
155
155
|
## Permission Model
|
|
156
156
|
|
|
157
157
|
- organization skill reads: any same-organization actor
|
|
158
|
-
- organization skill mutations: board
|
|
158
|
+
- organization skill mutations: local/admin board access, board users with `skills:manage`, or same-org agents with `canManageSkills` enabled. Agents default to `canManageSkills=true` unless explicitly disabled. Existing board grants for `agents:create` remain accepted as a compatibility fallback, but new grants should use `skills:manage`.
|
|
159
159
|
- agent skill enable/sync: same permission model as updating that agent
|
|
160
160
|
|
|
161
161
|
## Notes
|
|
@@ -136,13 +136,16 @@ If the hire response includes `approval`, monitor and discuss on the approval th
|
|
|
136
136
|
|
|
137
137
|
```sh
|
|
138
138
|
rudder approval get "<approval-id>" --json
|
|
139
|
-
|
|
139
|
+
cat > /tmp/rudder-approval-comment.md <<'EOF'
|
|
140
|
+
## CTO hire request submitted
|
|
140
141
|
|
|
141
142
|
- Approval: [<approval-id>](/<prefix>/messenger/approvals/<approval-id>)
|
|
142
143
|
- Pending agent: [<agent-ref>](/<prefix>/agents/<agent-url-key-or-id>)
|
|
143
144
|
- Source issue: [<issue-ref>](/<prefix>/issues/<issue-identifier-or-id>)
|
|
144
145
|
|
|
145
|
-
Updated prompt and adapter config per board feedback.
|
|
146
|
+
Updated prompt and adapter config per board feedback.
|
|
147
|
+
EOF
|
|
148
|
+
rudder approval comment "<approval-id>" --body-file /tmp/rudder-approval-comment.md --json
|
|
146
149
|
rudder approval resubmit "<approval-id>" --payload '{"title":"Revised title","agentRuntimeConfig":{"cwd":"/abs/path/to/repo","model":"o4-mini"}}' --json
|
|
147
150
|
rudder approval issues "<approval-id>" --json
|
|
148
151
|
```
|
|
@@ -16,7 +16,7 @@ Internal/debug reference for the bundled `rudder-create-agent` skill.
|
|
|
16
16
|
| `rudder agent config get <agentId>` | `GET /api/agents/:agentId/configuration` |
|
|
17
17
|
| `rudder agent hire --org-id <orgId> --payload <json>` | `POST /api/orgs/:orgId/agent-hires` |
|
|
18
18
|
| `rudder approval get <approvalId>` | `GET /api/approvals/:approvalId` |
|
|
19
|
-
| `rudder approval comment <approvalId> --body <
|
|
19
|
+
| `rudder approval comment <approvalId> --body-file <path>` | `POST /api/approvals/:approvalId/comments` |
|
|
20
20
|
| `rudder approval resubmit <approvalId> [--payload <json>]` | `POST /api/approvals/:approvalId/resubmit` |
|
|
21
21
|
| `rudder approval issues <approvalId>` | `GET /api/approvals/:approvalId/issues` |
|
|
22
22
|
|
|
@@ -83,7 +83,7 @@ Do not use `rudder approval create --type hire_agent` as a replacement for `agen
|
|
|
83
83
|
|
|
84
84
|
```sh
|
|
85
85
|
rudder approval get "<approval-id>" --json
|
|
86
|
-
rudder approval comment "<approval-id>" --body "<
|
|
86
|
+
rudder approval comment "<approval-id>" --body-file "<path>" --json
|
|
87
87
|
rudder approval resubmit "<approval-id>" --payload '{"...":"..."}' --json
|
|
88
88
|
rudder approval issues "<approval-id>" --json
|
|
89
89
|
```
|