@sjawhar/claude-envoy 6.19.1 → 6.20.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.
@@ -2,6 +2,7 @@
2
2
 
3
3
  Part of `skill://legion-architect`, section 1.
4
4
  Read it before you stop a task or give a later version of a plan Legion runs, and on a `task-stopped`, `retro-held` or `plan-not-taken` notice.
5
+ Read it also before you decide something for an agent of a task.
5
6
  A plan's text, its steps and when to give it first: `skill://legion-architect/references/plan.md`.
6
7
 
7
8
  ## Stopping and changing a task
@@ -10,6 +11,14 @@ Your role prompt says what `stop_task` does, what holds a stopped task and what
10
11
 
11
12
  - After `VERSION_NOT_IN_DISPATCH`, upload that version to Dispatch first.
12
13
 
14
+ - A later version that changes only the text of a running task is taken, and the task goes on at its step.
15
+ Any other change of a running task needs `stop_task` first.
16
+
17
+ ## A decision for an agent
18
+
19
+ Your role prompt holds the rules for a decision for an agent: where the decision goes, when you also send it by message, which block holds the text of the task `default`, and when a comment and a message take the place of the text.
20
+ Follow them there. This reference does not repeat them.
21
+
13
22
  ## The notices
14
23
 
15
24
  - **`task-stopped`:** Legion stopped the task and holds the issue.
@@ -54,6 +54,7 @@ A reason that ends `This release of Legion does not carry it out yet.` names a p
54
54
 
55
55
  An issue whose experiment's group runs the project's default steps takes no plan: give it none, and it runs the default steps.
56
56
  Once the daemon records such an issue, `register_plan` on it answers `409 PLAN_NOT_TAKEN`, which is no fault of the plan.
57
+ The one exception is a version that changes only the text of its running task `default`, which Legion takes as for any issue.
57
58
  `read_record` shows such an issue: one of its `assignments` has `plan` `default`.
58
59
 
59
60
  The reasons a version gets for where its task stands are in `skill://legion-architect/references/plan-changes.md`.
@@ -64,13 +65,13 @@ The reasons a version gets for where its task stands are in `skill://legion-arch
64
65
 
65
66
  - **A child:** before `release_children` releases it.
66
67
  The daemon has not recorded the child yet, so Legion keeps the plan until the release;
67
- the answer, as for any plan it takes, is the plan's `version` and each task with its `steps`.
68
+ the answer, as for any plan it takes, is the plan's `version` and each task with its `steps`, and `running` for a task that runs.
68
69
  A project's experiment draws the child when the daemon records it.
69
70
  If the child's group runs the project's default steps, its first step passes your plan over (`plan-not-taken`).
70
71
  A child the daemon has not recorded is refused once its Dispatch status is none of `triage`, `backlog`, `icebox` and `todo` (`ISSUE_ALREADY_RELEASED`).
71
72
  The child's first step can start in the same admission pass as its release, so a plan given after it comes too late.
72
73
 
73
- A `plan.md` that a planner of the default steps wrote holds that planner's task blocks.
74
+ After a stop of the task `default`, a `plan.md` that a planner of the default steps wrote holds that planner's task blocks.
74
75
  The version you give replaces them with your own one block: delete theirs, and put what the next steps still need from the planner's plan into your task's text.
75
76
 
76
77
  ## Reading how plans went
@@ -11,6 +11,7 @@ Your role prompt gives the workspace, the push, the handoff, `handoff_complete`,
11
11
 
12
12
  1. Read the issue, then your task, then each earlier phase's handoff (`dispatch handoff-read --issue <issue> --phase <plan|implement|test|review>`).
13
13
  Your architect's decisions for you come in your task, and in a reply in the thread of the plan task they concern, which its message links.
14
+ Read no list for your work, even one naming you.
14
15
  A record beats your memory.
15
16
 
16
17
  2. Commit only your phase's paths: `jj -R "$LEGION_WORKSPACE" split -m "<message>" <paths…>`.
@@ -87,12 +88,6 @@ Your role prompt gives the workspace, the push, the handoff, `handoff_complete`,
87
88
  - End every pull-request comment you post with `<!-- legion: {"session":"<session-id>","phase":"<phase>"} -->`, and no Dispatch comment or message:
88
89
  Dispatch records the session that wrote it.
89
90
 
90
- - Never run `gh config set` or `gh alias set`, and leave `GH_TOKEN`, `GITHUB_TOKEN` and `GH_HOST` unset:
91
- a set variable outranks the gh directory the daemon refreshes.
92
-
93
- - Before you report a resource unreachable, or read a GitHub `404` as no access, try the call through `skill://agent-secrets` and read the profiles in `AWS_CONFIG_FILE`.
94
- Request a secret only for your issue's work.
95
-
96
91
  - A comment on a pull request in a repository the implement App is installed on and your App is not takes the broker's implement App token, narrowed to that repository (`skill://legion-architect/references/operations.md#the-token-the-secrets-broker-lends`).
97
92
  It is the one write the token is lent to you for.
98
93
  A branch that your App cannot create is the implementer's work: send it to the architect as a cross-phase decision.
@@ -126,6 +121,8 @@ and the production check after the close.
126
121
  - Builds, tests, tools or a database in the pod:
127
122
  `skill://legion-worker/references/tools.md`; before you unpack or install what the image lacks: `skill://legion-worker/references/withheld-capability.md`.
128
123
 
124
+ - gh's variables, a credential, a resource that looks unreachable: `skill://legion-worker/references/gh-and-credentials.md`.
125
+
129
126
  - A problem outside your issue, a to-do only a person may do, another agent that needs an action, or a failed production check: `skill://legion-worker/references/findings.md`.
130
127
 
131
128
  - Text that reaches a person outside the company: `skill://outside-message`.
@@ -0,0 +1,9 @@
1
+ # gh's variables, and the credentials your pod carries
2
+
3
+ Read it before you set a gh variable, and before you report a resource unreachable or read a GitHub `404` as no access.
4
+
5
+ - Never run `gh config set` or `gh alias set`, and leave `GH_TOKEN`, `GITHUB_TOKEN` and `GH_HOST` unset:
6
+ a set variable outranks the gh directory the daemon refreshes.
7
+
8
+ - Before you report a resource unreachable, or read a GitHub `404` as no access, try the call through `skill://agent-secrets` and read the profiles in `AWS_CONFIG_FILE`.
9
+ Request a secret only for your issue's work.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/claude-envoy",
3
- "version": "6.19.1",
3
+ "version": "6.20.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Claude Code plugin for Legion's Envoy bus",
6
6
  "type": "module",
@@ -45,6 +45,6 @@
45
45
  "zod": "4.3.6"
46
46
  },
47
47
  "legion": {
48
- "daemonApiVersion": 289
48
+ "daemonApiVersion": 290
49
49
  }
50
50
  }