@prooflane/inspector-beta 0.1.0-beta.6 → 0.1.0-beta.8
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/cli.mjs +3 -3
- package/dist/server.mjs +409 -201
- package/dist/ui/assets/index-CPtCo7m6.js +69 -0
- package/dist/ui/assets/index-Dj20G-qT.css +1 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/ui/assets/index-CHGGvbAw.js +0 -69
- package/dist/ui/assets/index-D_0fJhzv.css +0 -1
package/dist/cli.mjs
CHANGED
|
@@ -6092,8 +6092,8 @@ function validateGovernedGateManifest(value) {
|
|
|
6092
6092
|
if (!record2(value.settings) || !exactKeys(value.settings, ["executionMode", "evidenceSync"]) || value.settings.executionMode !== "ALL_CONTROLS" || value.settings.evidenceSync !== "COMPACT_ONLY") {
|
|
6093
6093
|
return { ok: false, error: "Gate settings must execute all signed Suite controls and synchronize compact evidence only." };
|
|
6094
6094
|
}
|
|
6095
|
-
if (!record2(value.approvalRules) || !exactKeys(value.approvalRules, ["minimumApprovals", "requireDistinctReviewer"]) || value.approvalRules.minimumApprovals !== 1 || value.approvalRules.requireDistinctReviewer !==
|
|
6096
|
-
return { ok: false, error: "Gate approvalRules must require one approval
|
|
6095
|
+
if (!record2(value.approvalRules) || !exactKeys(value.approvalRules, ["minimumApprovals", "requireDistinctReviewer"]) || value.approvalRules.minimumApprovals !== 1 || typeof value.approvalRules.requireDistinctReviewer !== "boolean") {
|
|
6096
|
+
return { ok: false, error: "Gate approvalRules must require one recorded approval and a boolean reviewer policy." };
|
|
6097
6097
|
}
|
|
6098
6098
|
return { ok: true, manifest: value };
|
|
6099
6099
|
}
|
|
@@ -6961,7 +6961,7 @@ function discoverLegacyLocalSuites(input = {}) {
|
|
|
6961
6961
|
return { suites: suites2, issues };
|
|
6962
6962
|
}
|
|
6963
6963
|
function migrationManifestHash(manifest) {
|
|
6964
|
-
const { policyRef: _policyRef, ...content } = manifest;
|
|
6964
|
+
const { policyRef: _policyRef, targetFingerprint: _targetFingerprint, requiredCapabilities: _requiredCapabilities, ...content } = manifest;
|
|
6965
6965
|
return hashGovernedSuiteManifest(content);
|
|
6966
6966
|
}
|
|
6967
6967
|
function planLegacyLocalSuiteMigration(local, cloud) {
|