@sjawhar/claude-envoy 2.31.3 → 2.31.4
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/.claude-plugin/plugin.json +1 -1
- package/.omp-plugin/plugin.json +1 -1
- package/dist/envoy-channel.js +1 -1
- package/legion/skills/legion-controller/references/parked-decisions.md +5 -4
- package/legion/skills/legion-controller/references/slack-mentions.md +4 -4
- package/package.json +1 -1
- package/skills/agent-secrets/SKILL.md +7 -7
package/.omp-plugin/plugin.json
CHANGED
package/dist/envoy-channel.js
CHANGED
|
@@ -57448,7 +57448,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
|
|
|
57448
57448
|
|
|
57449
57449
|
// package.json
|
|
57450
57450
|
var name = "@sjawhar/claude-envoy";
|
|
57451
|
-
var version2 = "2.31.
|
|
57451
|
+
var version2 = "2.31.4";
|
|
57452
57452
|
var legion = {
|
|
57453
57453
|
daemonApiVersion: 144
|
|
57454
57454
|
};
|
|
@@ -62,10 +62,11 @@ itself, whoever parked it (`admission: queued a person's handover`, `source=appr
|
|
|
62
62
|
approvals of a root's spec are not that handover and still come as notices: a carried approval,
|
|
63
63
|
which Dispatch writes in the person's name with a reason that begins
|
|
64
64
|
`Carried forward from the approval of version`, when their answer to a decision block was the
|
|
65
|
-
whole change since the version they approved
|
|
66
|
-
version they approved,
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
whole change since the version they approved, when a later version's text is the text of the
|
|
66
|
+
version they approved, or when a later version's text is that text with the questions a reopen
|
|
67
|
+
opened again, and an approval on a root that keeps a Dispatch parent, as a child a linger handed
|
|
68
|
+
to Legion does. The other spec notices are a request for changes and an approval of a document
|
|
69
|
+
that is not the root's primary one.
|
|
69
70
|
|
|
70
71
|
## Deciding
|
|
71
72
|
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
A person who mentions the Legion Slack app in one of the project's Slack channels is talking to
|
|
4
4
|
you, and you answer in that thread. The `Slack channels:` line of your system prompt names each
|
|
5
5
|
channel `legion.yaml` gives the project (`projects.<KEY>.slack_channels`). Only the controller the
|
|
6
|
-
daemon launches has one
|
|
7
|
-
|
|
8
|
-
nothing here applies.
|
|
6
|
+
daemon launches has one, because the daemon names a project's channels to that controller alone.
|
|
7
|
+
With no such line the project has no channel, and nothing here applies.
|
|
9
8
|
|
|
10
9
|
## Your session subscribes for you
|
|
11
10
|
|
|
@@ -101,7 +100,8 @@ a thread read, `channels:history` in a public channel or `groups:history` in a p
|
|
|
101
100
|
person in the workspace can fix either, so say so in the next daily report rather than retrying.
|
|
102
101
|
When it answers that the secrets broker has not granted `LEGION_SLACK_BOT_TOKEN` (its request waits
|
|
103
102
|
for approval, or was denied), nothing was posted and no reply can be until the operator stores the
|
|
104
|
-
token
|
|
103
|
+
token as a shared agent secret, owner `shared` and tier `agent`: name the error in the next daily
|
|
104
|
+
report.
|
|
105
105
|
|
|
106
106
|
## Decide what the person wants
|
|
107
107
|
|
package/package.json
CHANGED
|
@@ -211,10 +211,11 @@ prompt, a skill, or the issue you work on. There is no list to browse and nothin
|
|
|
211
211
|
secret exists is recorded against your session with the reason you signed, and it reaches a
|
|
212
212
|
person's Inbox unless the model judge decides it first.
|
|
213
213
|
- `UNKNOWN_SECRET` and a denial are final. Do not ask again, and do not try a name of your own.
|
|
214
|
-
- A secret that a service owns
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
214
|
+
- A secret that a service owns goes to that service's own pods and VMs and to nothing else:
|
|
215
|
+
`Evaluate` in `packages/envoy/internal/broker/policy/policy.go` grants a service-owned secret at
|
|
216
|
+
once when the session's own service is the secret's owner, and denies every other session, with
|
|
217
|
+
no person asked. A shared agent secret, such as `LEGION_SLACK_BOT_TOKEN`, goes at once to every
|
|
218
|
+
session, a pod's and a person's alike.
|
|
218
219
|
- The `agent-secrets secret` forms (`list`, `show`, `create`, `set`, `retag`, `delete`, `restore`)
|
|
219
220
|
call the broker's store under whatever cloud credential the environment gives them, and the
|
|
220
221
|
store's IAM decides what each may read and write.
|
|
@@ -271,9 +272,8 @@ messages of the thread. A `ts` that names no message answers
|
|
|
271
272
|
`{"ok":false,"error":"thread_not_found"}`, also at exit 0, which is why the body decides and not the
|
|
272
273
|
status. A thread read needs the app's `channels:history` scope in a public channel and
|
|
273
274
|
`groups:history` in a private one; without them Slack answers `missing_scope`, which only a person
|
|
274
|
-
in the Slack workspace can fix.
|
|
275
|
-
|
|
276
|
-
broker identity exits 2.
|
|
275
|
+
in the Slack workspace can fix. `LEGION_SLACK_BOT_TOKEN` is a shared agent secret, so every session
|
|
276
|
+
with a broker identity is granted it; a session with no broker identity exits 2.
|
|
277
277
|
|
|
278
278
|
Paging: Slack recommends a `limit` of at most 200. While the answer's `has_more` is true, pass its
|
|
279
279
|
`response_metadata.next_cursor` as `cursor` to the next call. Each page repeats the thread's root
|