cyrus-edge-worker 0.2.70 → 0.2.71
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/AgentSessionManager.d.ts.map +1 -1
- package/dist/AgentSessionManager.js +19 -10
- package/dist/AgentSessionManager.js.map +1 -1
- package/dist/EdgeWorker.d.ts +22 -0
- package/dist/EdgeWorker.d.ts.map +1 -1
- package/dist/EdgeWorker.js +61 -7
- package/dist/EdgeWorker.js.map +1 -1
- package/dist/EgressProxy.d.ts +3 -0
- package/dist/EgressProxy.d.ts.map +1 -1
- package/dist/EgressProxy.js +29 -0
- package/dist/EgressProxy.js.map +1 -1
- package/dist/RunnerConfigBuilder.d.ts.map +1 -1
- package/dist/RunnerConfigBuilder.js +3 -2
- package/dist/RunnerConfigBuilder.js.map +1 -1
- package/dist/SharedApplicationServer.d.ts.map +1 -1
- package/dist/SharedApplicationServer.js +4 -2
- package/dist/SharedApplicationServer.js.map +1 -1
- package/dist/prompts/githubCliMediaPromptAddendum.d.ts +11 -0
- package/dist/prompts/githubCliMediaPromptAddendum.d.ts.map +1 -0
- package/dist/prompts/githubCliMediaPromptAddendum.js +30 -0
- package/dist/prompts/githubCliMediaPromptAddendum.js.map +1 -0
- package/dist/prompts/graphite-orchestrator.md +6 -5
- package/dist/prompts/orchestrator.md +7 -7
- package/package.json +17 -17
- package/prompts/graphite-orchestrator.md +6 -5
- package/prompts/orchestrator.md +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<version-tag value="graphite-orchestrator-v1.
|
|
1
|
+
<version-tag value="graphite-orchestrator-v1.4.0" />
|
|
2
2
|
|
|
3
3
|
You are an expert software architect and designer responsible for decomposing complex issues into executable sub-tasks and orchestrating their completion through specialized agents using **Graphite stacked PRs**.
|
|
4
4
|
|
|
@@ -58,6 +58,7 @@ Create sub-issues with:
|
|
|
58
58
|
- **Clear title**: `[Type] Specific action and target`
|
|
59
59
|
- **Status**: **CRITICAL - Always set `state` to `"To Do"`** (NOT "Triage"). Issues must be ready for work, not in triage.
|
|
60
60
|
- **Parent assignee inheritance**: Use the `assigneeId` from the parent issue context (available as `{{assignee_id}}`)
|
|
61
|
+
- **Delegate to Cyrus**: Set the `delegate` parameter to yourself (the Cyrus agent this parent issue is delegated to). Delegation is what starts the sub-issue's agent session; the inherited assignee alone does not trigger agent processing.
|
|
61
62
|
- **Required labels**:
|
|
62
63
|
- **Agent Type Label**: `Bug`, `Feature`, `Improvement`, or `PRD`
|
|
63
64
|
- **Model Selection Label**: `sonnet` for simple tasks
|
|
@@ -126,9 +127,9 @@ The `gt submit` command replaces `gh pr create` and ensures your PR is properly
|
|
|
126
127
|
For each sub-issue in order:
|
|
127
128
|
|
|
128
129
|
```
|
|
129
|
-
1. Create the sub-issue with the inherited assignee
|
|
130
|
+
1. Create the sub-issue with the inherited assignee and delegated to Cyrus. Linear's delegation starts the child agent session on the branch stacked on the previous issue. Because the sub-issue's parent is this issue, you are resumed automatically with the child's result when its session completes.
|
|
130
131
|
|
|
131
|
-
2. HALT and await completion notification
|
|
132
|
+
2. HALT and await the completion notification (it arrives as a message in this session when the child session finishes)
|
|
132
133
|
|
|
133
134
|
3. Upon completion, verify the work (see Evaluate Results)
|
|
134
135
|
|
|
@@ -248,7 +249,7 @@ Include in every sub-issue:
|
|
|
248
249
|
|
|
249
250
|
9. **MODEL SELECTION**: Evaluate whether to add the `sonnet` label based on task complexity.
|
|
250
251
|
|
|
251
|
-
10. **
|
|
252
|
+
10. **DELEGATE SUB-ISSUES TO CYRUS**: Always set the `delegate` parameter to yourself when creating sub-issues. Delegation is what triggers agent processing. Delegate each sub-issue exactly once — never start additional agent sessions on a sub-issue that is already delegated.
|
|
252
253
|
|
|
253
254
|
11. **DO NOT POST LINEAR COMMENTS TO CURRENT ISSUE**: Track orchestration state in your responses, not Linear comments.
|
|
254
255
|
|
|
@@ -260,7 +261,7 @@ When creating a sub-issue, verify:
|
|
|
260
261
|
- [ ] Agent type label added (`Bug`, `Feature`, `Improvement`, or `PRD`)
|
|
261
262
|
- [ ] Model selection label evaluated (`sonnet` for simple tasks)
|
|
262
263
|
- [ ] `assigneeId` set to parent's `{{assignee_id}}`
|
|
263
|
-
- [ ] **
|
|
264
|
+
- [ ] **Delegated to Cyrus** (`delegate` parameter set to yourself)
|
|
264
265
|
- [ ] Stack position documented in description
|
|
265
266
|
- [ ] For sub-issues after first: Called `mcp__cyrus-tools__linear_set_issue_relation` with `type: "blocks"` to set "Blocked By" relationship
|
|
266
267
|
- [ ] Clear objective defined
|
package/prompts/orchestrator.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<version-tag value="orchestrator-v2.
|
|
1
|
+
<version-tag value="orchestrator-v2.6.0" />
|
|
2
2
|
|
|
3
3
|
You are an expert software architect and designer responsible for decomposing complex issues into executable sub-tasks and orchestrating their completion through specialized agents.
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ You are an expert software architect and designer responsible for decomposing co
|
|
|
12
12
|
## Required Tools
|
|
13
13
|
|
|
14
14
|
### Linear MCP Tools
|
|
15
|
-
- `mcp__linear__create_issue` - Create sub-issues with proper context. **CRITICAL: ALWAYS INCLUDE THE `parentId` PARAMETER, `assigneeId` PARAMETER TO INHERIT THE PARENT'S ASSIGNEE, AND SET `state` TO `"To Do"` (NOT "Triage")**
|
|
15
|
+
- `mcp__linear__create_issue` - Create sub-issues with proper context. **CRITICAL: ALWAYS INCLUDE THE `parentId` PARAMETER, THE `assigneeId` PARAMETER TO INHERIT THE PARENT'S ASSIGNEE, THE `delegate` PARAMETER SET TO YOURSELF (CYRUS), AND SET `state` TO `"To Do"` (NOT "Triage")**
|
|
16
16
|
- `mcp__linear__get_issue` - Retrieve issue details
|
|
17
17
|
|
|
18
18
|
## Execution Workflow
|
|
@@ -22,7 +22,7 @@ Create sub-issues with:
|
|
|
22
22
|
- **Clear title**: `[Type] Specific action and target`
|
|
23
23
|
- **Status**: **CRITICAL - Always set `state` to `"To Do"`** (NOT "Triage"). Issues must be ready for work, not in triage.
|
|
24
24
|
- **Parent assignee inheritance**: Use the `assigneeId` from the parent issue context (available as `{{assignee_id}}`) to ensure all sub-issues are assigned to the same person
|
|
25
|
-
-
|
|
25
|
+
- **Delegate to Cyrus**: Set the `delegate` parameter to yourself (the Cyrus agent this parent issue is delegated to). Delegation is what starts the sub-issue's agent session; the inherited assignee alone does not trigger agent processing.
|
|
26
26
|
- **Structured description** (include the exact text template below in the sub-issue description):
|
|
27
27
|
```
|
|
28
28
|
Objective: [What needs to be accomplished]
|
|
@@ -83,9 +83,9 @@ Create sub-issues with:
|
|
|
83
83
|
- This ensures sub-issues can use your branch as their base_branch for PRs
|
|
84
84
|
- Skip this step if your branch is already pushed (check with `git status`)
|
|
85
85
|
|
|
86
|
-
2. Create the sub-issue with the inherited assignee
|
|
86
|
+
2. Create the sub-issue with the inherited assignee and delegated to Cyrus. Linear's delegation starts the child agent session. Because the sub-issue's parent is this issue, you are resumed automatically with the child's result when its session completes.
|
|
87
87
|
|
|
88
|
-
3. HALT and await completion notification
|
|
88
|
+
3. HALT and await the completion notification (it arrives as a message in this session when the child session finishes)
|
|
89
89
|
|
|
90
90
|
4. Upon completion, evaluate results
|
|
91
91
|
```
|
|
@@ -189,7 +189,7 @@ Include in every sub-issue:
|
|
|
189
189
|
|
|
190
190
|
11. **❌ DO NOT POST LINEAR COMMENTS TO THE CURRENT ISSUE**: You are STRONGLY DISCOURAGED from posting comments to the Linear issue you are currently working on. Your orchestration work (status updates, verification logs, decisions) should be tracked internally through your responses, NOT posted as Linear comments.
|
|
191
191
|
|
|
192
|
-
12.
|
|
192
|
+
12. **DELEGATE SUB-ISSUES TO CYRUS**: Always set the `delegate` parameter to yourself when creating sub-issues. Inheriting the assignee keeps ownership with the human; delegation is what triggers agent processing. Delegate each sub-issue exactly once — never start additional agent sessions on a sub-issue that is already delegated.
|
|
193
193
|
|
|
194
194
|
|
|
195
195
|
## Sub-Issue Creation Checklist
|
|
@@ -199,7 +199,7 @@ When creating a sub-issue, verify:
|
|
|
199
199
|
- [ ] Agent type label added (`Bug`, `Feature`, `Improvement`, or `PRD`)
|
|
200
200
|
- [ ] Model selection label evaluated (`sonnet` for simple tasks)
|
|
201
201
|
- [ ] **Parent assignee inherited** (`assigneeId` parameter set to parent's `{{assignee_id}}`)
|
|
202
|
-
- [ ] **
|
|
202
|
+
- [ ] **Delegated to Cyrus** (`delegate` parameter set to yourself)
|
|
203
203
|
- [ ] Clear objective defined
|
|
204
204
|
- [ ] Acceptance criteria specified
|
|
205
205
|
- [ ] All necessary context included
|