@akagilnc/pi-workflow-roles 0.1.3445 → 0.1.3448
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.
|
@@ -16,12 +16,7 @@ function validateRecordedInspectorOutput(value) {
|
|
|
16
16
|
throw new Error("Inspector output has no execution discriminator");
|
|
17
17
|
}
|
|
18
18
|
function inspectorDecisiveFacts(output) {
|
|
19
|
-
|
|
20
|
-
const findings = output.findings;
|
|
21
|
-
if (findings !== void 0) facts.findings = findings;
|
|
22
|
-
const reason = output.reason;
|
|
23
|
-
if (reason !== void 0) facts.reason = reason;
|
|
24
|
-
return facts;
|
|
19
|
+
return { ...output };
|
|
25
20
|
}
|
|
26
21
|
export {
|
|
27
22
|
INSPECTOR_ACCEPTED_TEXT,
|
package/dist/public-cli/main.js
CHANGED
|
@@ -15013,12 +15013,7 @@ function validateRecordedInspectorOutput(value) {
|
|
|
15013
15013
|
throw new Error("Inspector output has no execution discriminator");
|
|
15014
15014
|
}
|
|
15015
15015
|
function inspectorDecisiveFacts(output) {
|
|
15016
|
-
|
|
15017
|
-
const findings = output.findings;
|
|
15018
|
-
if (findings !== void 0) facts.findings = findings;
|
|
15019
|
-
const reason = output.reason;
|
|
15020
|
-
if (reason !== void 0) facts.reason = reason;
|
|
15021
|
-
return facts;
|
|
15016
|
+
return { ...output };
|
|
15022
15017
|
}
|
|
15023
15018
|
var INSPECTOR_OUTPUT_TOOL_NAME;
|
|
15024
15019
|
var init_inspector_contracts = __esm({
|
package/package.json
CHANGED
|
@@ -28,12 +28,11 @@ export function validateRecordedInspectorOutput(value: unknown): InspectorOutput
|
|
|
28
28
|
throw new Error("Inspector output has no execution discriminator");
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Machine-facing facts from an accepted 察院 release.
|
|
33
|
+
* Lawful free content is retained as submitted (ADR 0025 / 0055) — no field whitelist.
|
|
34
|
+
* status remains the sole execution discriminator; free fields never derive status.
|
|
35
|
+
*/
|
|
32
36
|
export function inspectorDecisiveFacts(output: InspectorOutput): Record<string, unknown> {
|
|
33
|
-
|
|
34
|
-
const findings = (output as { findings?: unknown }).findings;
|
|
35
|
-
if (findings !== undefined) facts.findings = findings;
|
|
36
|
-
const reason = (output as { reason?: unknown }).reason;
|
|
37
|
-
if (reason !== undefined) facts.reason = reason;
|
|
38
|
-
return facts;
|
|
37
|
+
return { ...(output as Readonly<Record<string, unknown>>) };
|
|
39
38
|
}
|