@akagilnc/pi-workflow-roles 0.1.2444 → 0.1.2453
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.
|
@@ -59,7 +59,12 @@ export function loadMainRoleSessionMaterials(role) {
|
|
|
59
59
|
}
|
|
60
60
|
/** Gatekeeper province + Inspector/Notary officer sessions. */
|
|
61
61
|
export const GATEKEEPER_SESSION_MATERIALS = {
|
|
62
|
-
gatekeeper: [
|
|
62
|
+
gatekeeper: [
|
|
63
|
+
"CLAUDE.md",
|
|
64
|
+
"souls/gatekeeper.md",
|
|
65
|
+
"souls/quality-law.md",
|
|
66
|
+
"souls/gate-output-guide.md",
|
|
67
|
+
],
|
|
63
68
|
inspector: [
|
|
64
69
|
"CLAUDE.md",
|
|
65
70
|
"souls/inspector.md",
|
package/package.json
CHANGED
|
@@ -71,7 +71,12 @@ export function loadMainRoleSessionMaterials(
|
|
|
71
71
|
|
|
72
72
|
/** Gatekeeper province + Inspector/Notary officer sessions. */
|
|
73
73
|
export const GATEKEEPER_SESSION_MATERIALS = {
|
|
74
|
-
gatekeeper: [
|
|
74
|
+
gatekeeper: [
|
|
75
|
+
"CLAUDE.md",
|
|
76
|
+
"souls/gatekeeper.md",
|
|
77
|
+
"souls/quality-law.md",
|
|
78
|
+
"souls/gate-output-guide.md",
|
|
79
|
+
],
|
|
75
80
|
inspector: [
|
|
76
81
|
"CLAUDE.md",
|
|
77
82
|
"souls/inspector.md",
|
package/src/worker-role.ts
CHANGED
|
@@ -284,15 +284,13 @@ export function createFixerRoleRuntime(
|
|
|
284
284
|
ctx,
|
|
285
285
|
toolCallId,
|
|
286
286
|
);
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
});
|
|
295
|
-
}
|
|
287
|
+
await requireGatekeeperPass({
|
|
288
|
+
context: ctx,
|
|
289
|
+
subject: { kind: "worker_completion", material: JSON.stringify(output) },
|
|
290
|
+
...(_signal === undefined ? {} : { signal: _signal }),
|
|
291
|
+
hostActions,
|
|
292
|
+
toolCallId,
|
|
293
|
+
});
|
|
296
294
|
const acceptedDetails = output;
|
|
297
295
|
return {
|
|
298
296
|
content: [{ type: "text" as const, text: FIXER_ACCEPTED_TEXT }],
|
|
@@ -425,15 +423,13 @@ export function createCoderRoleRuntime(
|
|
|
425
423
|
ctx,
|
|
426
424
|
toolCallId,
|
|
427
425
|
);
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
});
|
|
436
|
-
}
|
|
426
|
+
await requireGatekeeperPass({
|
|
427
|
+
context: ctx,
|
|
428
|
+
subject: { kind: "worker_completion", material: JSON.stringify(output) },
|
|
429
|
+
...(_signal === undefined ? {} : { signal: _signal }),
|
|
430
|
+
hostActions,
|
|
431
|
+
toolCallId,
|
|
432
|
+
});
|
|
437
433
|
const acceptedDetails = output;
|
|
438
434
|
return {
|
|
439
435
|
content: [{ type: "text" as const, text: CODER_ACCEPTED_TEXT }],
|