@akagilnc/pi-workflow-roles 0.1.2306 → 0.1.2310

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.
@@ -26830,6 +26830,7 @@ async function classifyAuditorVolume(filePath) {
26830
26830
  const findings = call.args?.findings;
26831
26831
  const findingsCount = Array.isArray(findings) ? findings.length : 0;
26832
26832
  if (DISPATCH_TOOLS.has(call.toolName)) {
26833
+ if (status === "incomplete") return void 0;
26833
26834
  if (status !== "dispatch") {
26834
26835
  throw new Error(
26835
26836
  `accepted dispatch receipt has non-dispatch status ${JSON.stringify(status)} in ${filePath}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akagilnc/pi-workflow-roles",
3
- "version": "0.1.2306",
3
+ "version": "0.1.2310",
4
4
  "description": "Soul-bound workflow roles for Pi",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -14,8 +14,10 @@
14
14
  * An accepted gate terminating receipt (isError:false pair on dispatch/officer
15
15
  * tool) whose required typed facts are unusable — status, dispatch officer, or
16
16
  * first/last span missing/unknown/unparseable/inverted — also fails loudly via
17
- * the same throw→ledger `auditor-roles` unreadable seam. True non-gate volumes
18
- * (soul-audit noise, etc.) stay omitted from pairing.
17
+ * the same throw→ledger `auditor-roles` unreadable seam. Lawful Gatekeeper
18
+ * typed `incomplete` is a recognizable terminal (omit from pairing, leg stays
19
+ * readable) — only unknown/non-contract dispatch status stays loud. True
20
+ * non-gate volumes (soul-audit noise, etc.) stay omitted from pairing.
19
21
  */
20
22
  import { readdir } from "node:fs/promises";
21
23
  import { join } from "node:path";
@@ -202,6 +204,9 @@ async function classifyAuditorVolume(
202
204
  const findingsCount = Array.isArray(findings) ? findings.length : 0;
203
205
 
204
206
  if (DISPATCH_TOOLS.has(call.toolName)) {
207
+ // Gatekeeper contract terminals: dispatch | incomplete. Incomplete is a
208
+ // lawful zero-pair terminal (#434-436 / #458) — never wash the parent leg.
209
+ if (status === "incomplete") return undefined;
205
210
  if (status !== "dispatch") {
206
211
  throw new Error(
207
212
  `accepted dispatch receipt has non-dispatch status ${JSON.stringify(status)} in ${filePath}`,