@sjawhar/pi-legion 19.31.3 → 19.32.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/legion.js CHANGED
@@ -14381,7 +14381,7 @@ var dispatchToolSpecs = [
14381
14381
  {
14382
14382
  name: "dispatch_issue",
14383
14383
  example: { project: "DSP", title: "Native workspace" },
14384
- description: "Create a native Dispatch issue for newly tracked work. Search first with dispatch search; if potentially duplicate issues exist, this returns 409 POSSIBLE_DUPLICATE unless --force is set after reading them. " + "When passing a spec, before calling, have a fresh read-only reader check it against the code and the human's words, then resolve every finding; a Legion architect uses `plan-gap-analyst`. " + "A spec holding an ask block whose body breaks its content rule (one or more question paragraphs, then at most one bullet list of options, last) is refused with 400 INVALID_ASK_BLOCK. " + `${CI_CHECK_RULE} ` + "Create a project only when a person asks for one; work that spans projects goes in the project that owns most of it. " + `${RELATED_CHECK_RESULT} With --force, the result also names each issue whose title you forced past. ` + `Do not use it when an existing issue already covers the work; read or update that issue instead. ${ISSUE_REFERENCE}`,
14384
+ description: "Create a native Dispatch issue for newly tracked work. Search first with dispatch search; if potentially duplicate issues exist, this returns 409 POSSIBLE_DUPLICATE unless --force is set after reading them, or, when the refusal cannot be recorded, creates the issue and names the near copy to read in the result. " + "When passing a spec, before calling, have a fresh read-only reader check it against the code and the human's words, then resolve every finding; a Legion architect uses `plan-gap-analyst`. " + "A spec holding an ask block whose body breaks its content rule (one or more question paragraphs, then at most one bullet list of options, last) is refused with 400 INVALID_ASK_BLOCK. " + `${CI_CHECK_RULE} ` + "Create a project only when a person asks for one; work that spans projects goes in the project that owns most of it. " + `${RELATED_CHECK_RESULT} With --force, the result also names each issue whose title you forced past. ` + `Do not use it when an existing issue already covers the work; read or update that issue instead. ${ISSUE_REFERENCE}`,
14385
14385
  arguments: (z) => ({
14386
14386
  project: z.string().describe("Project key for the new issue."),
14387
14387
  title: z.string({ max: ISSUE_TITLE_MAX }).describe("Concise issue title, at most 1,000 characters."),
@@ -29803,7 +29803,7 @@ import { logger as logger3 } from "@oh-my-pi/pi-utils";
29803
29803
  // package.json
29804
29804
  var package_default = {
29805
29805
  name: "@sjawhar/pi-legion",
29806
- version: "19.31.3",
29806
+ version: "19.32.0",
29807
29807
  license: "Apache-2.0",
29808
29808
  type: "module",
29809
29809
  omp: {
@@ -119,8 +119,12 @@ architect for it, whatever it asks. For a person's mention, take the first of th
119
119
  says, so `admission.active` names some of a tree's waits as well as its work. Say what you
120
120
  read, citing for each fact the `read_state` field or the `dispatch read` line it came from.
121
121
  - **A request for work.** Someone wants a change made, a bug fixed, something investigated. Search
122
- first (`skill://dispatch-first`): when an open issue already tracks it, reply with that issue and
123
- file nothing. Otherwise file one issue in the project:
122
+ first (`skill://dispatch-first`).
123
+ When the open issue that tracks it is one Legion runs, the request is that tree's work: pass it
124
+ to its architect as **Something an issue's architect owns** below says, since a reply naming the
125
+ issue reaches nobody.
126
+ When the issue that tracks it is nobody's tree, reply with that issue and file nothing.
127
+ Otherwise file one issue in the project:
124
128
 
125
129
  ```text
126
130
  dispatch issue --project <PROJECT> --title '<the request, as a title>' --spec-file - <<'EOF'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion",
3
- "version": "19.31.3",
3
+ "version": "19.32.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "omp": {