@sjawhar/pi-legion-envoy 4.0.3 → 5.0.1

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/agents/oracle.md CHANGED
@@ -3,6 +3,7 @@ name: oracle
3
3
  description: |
4
4
  Strategic technical advisor. Read-only. Use for architecture decisions, hard tradeoffs,
5
5
  and complex debugging where correctness matters more than speed.
6
+ # @oracle is the deployment's modelRoles.oracle; the Go daemon's boot gate refuses to start without it (docs/kubernetes.md, Operator configuration).
6
7
  model: ["@oracle"]
7
8
  tools: read, glob, grep, todo
8
9
  color: cyan
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: thermonuclear-code-quality
3
3
  description: Diff-scoped maintainability audit for structure, abstraction, file growth, branching complexity, and type boundaries.
4
+ # @review is the deployment's modelRoles.review; the Go daemon's boot gate refuses to start without it (docs/kubernetes.md, Operator configuration).
4
5
  model: ["@review"]
5
6
  ---
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: thermonuclear-deep-review
3
3
  description: Diff-scoped security and correctness audit for bugs, breakages, developer-experience regressions, and feature-gate leaks.
4
+ # @review is the deployment's modelRoles.review; the Go daemon's boot gate refuses to start without it (docs/kubernetes.md, Operator configuration).
4
5
  model: ["@review"]
5
6
  ---
6
7
 
package/dist/legion.js CHANGED
@@ -16142,7 +16142,7 @@ import { logger } from "@oh-my-pi/pi-utils";
16142
16142
  // package.json
16143
16143
  var package_default = {
16144
16144
  name: "@sjawhar/pi-legion-envoy",
16145
- version: "4.0.3",
16145
+ version: "5.0.1",
16146
16146
  type: "module",
16147
16147
  omp: {
16148
16148
  extensions: [
@@ -16155,7 +16155,7 @@ var package_default = {
16155
16155
  },
16156
16156
  legion: {
16157
16157
  daemonApiVersion: 8,
16158
- goDaemonApiVersion: 5
16158
+ goDaemonApiVersion: 6
16159
16159
  },
16160
16160
  repository: {
16161
16161
  type: "git",
@@ -31348,7 +31348,7 @@ async function writeMintedGrant(mint) {
31348
31348
  // ../contracts/src/legion-go-api.ts
31349
31349
  var nonEmptyString2 = exports_external.string().min(1);
31350
31350
  var timestamp = exports_external.iso.datetime({ offset: true });
31351
- var LEGION_GO_PHASES = [
31351
+ var LEGION_GO_WORKFLOW_PHASES = [
31352
31352
  "admitted",
31353
31353
  "planning",
31354
31354
  "implementing",
@@ -31361,6 +31361,7 @@ var LEGION_GO_PHASES = [
31361
31361
  "done",
31362
31362
  "held"
31363
31363
  ];
31364
+ var LEGION_GO_PHASES = [...LEGION_GO_WORKFLOW_PHASES, "unrecorded"];
31364
31365
  var LEGION_GO_CLAIM_STATES = [
31365
31366
  "queued",
31366
31367
  "launch_uncertain",
@@ -31481,6 +31482,7 @@ var LegionGoErrorResponse = exports_external.union([
31481
31482
  var legionGoDeliveryView = exports_external.strictObject({
31482
31483
  id: nonEmptyString2,
31483
31484
  task: nonEmptyString2,
31485
+ phase: exports_external.enum(LEGION_GO_PHASES).optional(),
31484
31486
  queuedAt: timestamp,
31485
31487
  deliveredAt: timestamp.optional(),
31486
31488
  confirmedAt: timestamp.optional()
@@ -31559,7 +31561,7 @@ var LegionGoWaveReleaseRequest = exports_external.strictObject({
31559
31561
  });
31560
31562
  var LegionGoPhaseBackwardRequest = exports_external.strictObject({
31561
31563
  grantId: nonEmptyString2,
31562
- to: exports_external.enum(LEGION_GO_PHASES),
31564
+ to: exports_external.enum(LEGION_GO_WORKFLOW_PHASES),
31563
31565
  reason: nonEmptyString2
31564
31566
  });
31565
31567
  var LegionGoPhaseRetryRequest = exports_external.strictObject({
@@ -32017,7 +32019,7 @@ function toolSchema(pi) {
32017
32019
  artifactId: z2.string().optional(),
32018
32020
  version: z2.number().optional(),
32019
32021
  issues: z2.array(z2.string()).optional(),
32020
- to: z2.enum(LEGION_GO_PHASES).optional(),
32022
+ to: z2.enum(LEGION_GO_WORKFLOW_PHASES).optional(),
32021
32023
  reason: z2.string().optional(),
32022
32024
  decision: z2.enum(["retry", "escalate"]).optional(),
32023
32025
  ...handoffSchemaFields(z2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion-envoy",
3
- "version": "4.0.3",
3
+ "version": "5.0.1",
4
4
  "type": "module",
5
5
  "omp": {
6
6
  "extensions": [
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "legion": {
15
15
  "daemonApiVersion": 8,
16
- "goDaemonApiVersion": 5
16
+ "goDaemonApiVersion": 6
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",