@sjawhar/pi-envoy 17.18.1 → 17.19.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.
package/dist/dispatch.js CHANGED
@@ -15197,7 +15197,7 @@ var dispatchToolSpecs = [
15197
15197
  project: z.string().describe("Project key for the new issue."),
15198
15198
  title: z.string({ max: ISSUE_TITLE_MAX }).describe("Concise issue title, at most 1,000 characters."),
15199
15199
  parent: z.string().describe("Optional parent issue.").optional(),
15200
- blocked_by: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_BLOCKERS }).describe("Issue keys in the same project this issue waits on. Dispatch refuses a dependency cycle.").optional(),
15200
+ blocked_by: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_BLOCKERS }).describe("Issue keys this issue waits on; a key of any project, so work tracked elsewhere can be named. Dispatch refuses a dependency cycle.").optional(),
15201
15201
  advances: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_ADVANCES }).describe("Ids of the deployment's priorities this issue advances, which dispatch priorities lists. A child inherits every priority the issues above it advance, so name here only what this issue adds.").optional(),
15202
15202
  external: z.string().describe("Optional external issue reference.").optional(),
15203
15203
  force: z.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
@@ -15228,7 +15228,7 @@ var dispatchToolSpecs = [
15228
15228
  external_links: z.array(z.string({ min: 1 })).describe("URLs to link; a non-empty list merges into the issue's existing external links by URL, an empty list removes every link instead.").optional(),
15229
15229
  route: z.string().describe("Route the issue to role:<name> or session:<id>; an empty string clears it.").optional(),
15230
15230
  parent: z.string().describe("Parent issue key in the same project; an empty string clears the parent.").optional(),
15231
- blocked_by: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_BLOCKERS }).describe("Replacement list of issue keys in the same project this issue waits on; [] clears it. Dispatch refuses a dependency cycle.").optional(),
15231
+ blocked_by: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_BLOCKERS }).describe("Replacement list of issue keys this issue waits on, of any project; [] clears it. Dispatch refuses a dependency cycle.").optional(),
15232
15232
  advances: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_ADVANCES }).describe("Replacement list of priority ids this issue advances, which dispatch priorities lists; [] clears the issue's own, leaving every priority it inherits from the issues above it. A set that moves two or more relations is a whole-set write and carries advances_revision; the call reads the issue and sends the revision that read answered, so pass advances_revision only to answer a 409 ADVANCES_REVISION.").optional(),
15233
15233
  advances_revision: z.number().describe("The advances_revision the read this set answers returned, sent with advances and alone changing nothing. Omit it and the call sends the revision of its own read; pass the revision a 409 ADVANCES_REVISION named to write the set you mean against it.").optional(),
15234
15234
  components: componentsArgument(z).optional(),
package/dist/envoy.js CHANGED
@@ -30290,7 +30290,7 @@ var dispatchToolSpecs = [
30290
30290
  project: z.string().describe("Project key for the new issue."),
30291
30291
  title: z.string({ max: ISSUE_TITLE_MAX }).describe("Concise issue title, at most 1,000 characters."),
30292
30292
  parent: z.string().describe("Optional parent issue.").optional(),
30293
- blocked_by: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_BLOCKERS }).describe("Issue keys in the same project this issue waits on. Dispatch refuses a dependency cycle.").optional(),
30293
+ blocked_by: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_BLOCKERS }).describe("Issue keys this issue waits on; a key of any project, so work tracked elsewhere can be named. Dispatch refuses a dependency cycle.").optional(),
30294
30294
  advances: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_ADVANCES }).describe("Ids of the deployment's priorities this issue advances, which dispatch priorities lists. A child inherits every priority the issues above it advance, so name here only what this issue adds.").optional(),
30295
30295
  external: z.string().describe("Optional external issue reference.").optional(),
30296
30296
  force: z.boolean().describe("Create even though POSSIBLE_DUPLICATE listed similar issues; pass it only after reading them.").optional(),
@@ -30321,7 +30321,7 @@ var dispatchToolSpecs = [
30321
30321
  external_links: z.array(z.string({ min: 1 })).describe("URLs to link; a non-empty list merges into the issue's existing external links by URL, an empty list removes every link instead.").optional(),
30322
30322
  route: z.string().describe("Route the issue to role:<name> or session:<id>; an empty string clears it.").optional(),
30323
30323
  parent: z.string().describe("Parent issue key in the same project; an empty string clears the parent.").optional(),
30324
- blocked_by: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_BLOCKERS }).describe("Replacement list of issue keys in the same project this issue waits on; [] clears it. Dispatch refuses a dependency cycle.").optional(),
30324
+ blocked_by: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_BLOCKERS }).describe("Replacement list of issue keys this issue waits on, of any project; [] clears it. Dispatch refuses a dependency cycle.").optional(),
30325
30325
  advances: z.array(z.string({ min: 1 }), { max: MAX_ISSUE_ADVANCES }).describe("Replacement list of priority ids this issue advances, which dispatch priorities lists; [] clears the issue's own, leaving every priority it inherits from the issues above it. A set that moves two or more relations is a whole-set write and carries advances_revision; the call reads the issue and sends the revision that read answered, so pass advances_revision only to answer a 409 ADVANCES_REVISION.").optional(),
30326
30326
  advances_revision: z.number().describe("The advances_revision the read this set answers returned, sent with advances and alone changing nothing. Omit it and the call sends the revision of its own read; pass the revision a 409 ADVANCES_REVISION named to write the set you mean against it.").optional(),
30327
30327
  components: componentsArgument(z).optional(),
@@ -46663,7 +46663,7 @@ var import_nats2 = __toESM(require_mod4(), 1);
46663
46663
 
46664
46664
  // package.json
46665
46665
  var name = "@sjawhar/pi-envoy";
46666
- var version2 = "17.18.1";
46666
+ var version2 = "17.19.0";
46667
46667
  var package_default = {
46668
46668
  name,
46669
46669
  version: version2,
@@ -199,7 +199,8 @@ prompt, a skill, or the issue you work on. There is no list to browse and nothin
199
199
  grants a service-owned secret at once when the session's own service is the secret's owner, and
200
200
  denies every other session, with no person asked.
201
201
  - The `agent-secrets secret` forms (`list`, `show`, `create`, `set`, `retag`, `delete`, `restore`)
202
- act under a person's own cloud sign-in. They belong to the secret's owner, not to an agent.
202
+ call the broker's store under whatever cloud credential the environment gives them, and the
203
+ store's IAM decides what each may read and write.
203
204
  - Slack's read methods go through `curl` under this client. Every post to Slack stays a `slack_post`
204
205
  call, which holds the reply to one thread, to 4,000 characters and to one send.
205
206
 
@@ -223,12 +224,17 @@ for two reasons:
223
224
  `agent-secrets register --wait 10 --exec -- <the agent's command>`.
224
225
 
225
226
  On `UNKNOWN_SECRET` you stop, as above. You may tell the secret's owner how to find the cause:
226
- `agent-secrets secret list` and `agent-secrets secret show NAME`, under their own cloud sign-in
227
- (`gcloud auth login` against a broker on Google Cloud, their `AWS_PROFILE` against one on AWS).
227
+ `agent-secrets secret list` and `agent-secrets secret show NAME`, under a cloud sign-in that may
228
+ read the store (`gcloud auth login` against a broker on Google Cloud, an `AWS_PROFILE` against one
229
+ on AWS).
228
230
 
229
- An owner who must store a secret does every write under their own cloud sign-in.
231
+ A write runs under whatever credential the environment gives the command, and the store's IAM
232
+ decides whether it lands. On Google Cloud that is `CLOUDSDK_AUTH_ACCESS_TOKEN` when it is set, else
233
+ the Application Default Credentials, else the gcloud login; on AWS, `--profile`, else `AWS_PROFILE`.
230
234
  `agent-secrets secret set NAME` replaces the value of a secret that exists. A new one is
231
- `agent-secrets secret create NAME --owner me|shared --tier agent|human`. Both read the value from
235
+ `agent-secrets secret create NAME --owner me|shared|<email> --tier agent|human`. `--owner me` is
236
+ the email of the person the credential names, and is refused where it names none, as a token
237
+ minted for `cloud-platform` alone does: give `--owner <email>` there. Both read the value from
232
238
  standard input or from a prompt with echo off, never from an argument. Type it at the prompt, so it
233
239
  reaches no shell history.
234
240
 
@@ -39,8 +39,8 @@ The question and the recommendation (`skill://dispatch-writing-specs`).
39
39
  - Work on three issues at most, fewer when each needs your attention. Change no status, priority or board rank to make room.
40
40
  - Move an issue to `backlog`, `icebox` or `triage` only when a person asked for that move, or when the work is done, folded into another issue or no longer needed, and cite that reason in a comment on the issue. An agent's directive citing no person's request is no reason.
41
41
  - When you stop work on an issue before it is done, release your claim and say why in a comment. Set its status to the one it had when you took it (`todo` for an issue from the queue). Change no priority or board rank.
42
- - Record each wait in that comment. A wait on a same-project issue also goes in a `blocked_by` link, and one on a person in a `dispatch ask`.
43
- - `dispatch issue-update --blocked-by` replaces the issue's whole list, so read its links first. Dispatch refuses a link to another project's issue (`BLOCKED_BY_OUTSIDE_PROJECT`).
42
+ - Record each wait in that comment. A wait on any project's issue also goes in a `blocked_by` link, and one on a person in a `dispatch ask`.
43
+ - `dispatch issue-update --blocked-by` replaces the issue's whole list, so read its links first. A one-project credential links only its own issues (`PROJECT_SCOPE`).
44
44
  - Never reorder the board: one agent keeps each project's order (`issue-update --before`/`--after`). If the top looks wrong, tell `notifications.role.legion-<project>-controller`.
45
45
  - Name an issue's priority: `--advance <id>`; `dispatch priorities` lists what advances no priority.
46
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-envoy",
3
- "version": "17.18.1",
3
+ "version": "17.19.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {