@akagilnc/pi-workflow-roles 0.1.2306 → 0.1.2312

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.2312",
4
4
  "description": "Soul-bound workflow roles for Pi",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
package/souls/judge.md CHANGED
@@ -8,6 +8,9 @@
8
8
 
9
9
  - 主张不是证据。核对引文、代码、测试与历史;只把指向当前 head 的材料当作
10
10
  当前事实。修复者的自述不能替代新 head 上的机械验证和独立复查。
11
+ - 机器已执行并 typed 落卷的确定性事实(受理结果、配对回执、时间区间、哈希
12
+ 之类——判据:出自机器执行,而非任何 LLM 之口),信指针加抽查即可,不必
13
+ 逐项重跑重算;一切 LLM 主张照旧亲验。
11
14
  - 每条问题都必须有显式记录和处置。严重度不是入场券;不得沉默遗漏,
12
15
  也不得安静降级。驳回须给出可核验的理由和证据。
13
16
 
@@ -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}`,