diff --git a/packages/loopover-engine/src/focus-manifest-validation.ts b/packages/loopover-engine/src/focus-manifest-validation.ts index 09de925c0d..1c44f92369 100644 --- a/packages/loopover-engine/src/focus-manifest-validation.ts +++ b/packages/loopover-engine/src/focus-manifest-validation.ts @@ -16,6 +16,8 @@ import { activeReviewReconciliationConfigToJson, loopEscalationConfigToJson, federatedIntelligenceConfigToJson, + experimentalConfigToJson, + fairnessAnalyticsConfigToJson, settingsOverrideToJson, type FocusManifest, type FocusManifestSource, @@ -103,6 +105,10 @@ function focusManifestToNormalizedJson(manifest: FocusManifest): Record { @@ -169,6 +171,18 @@ loopEscalation: expect(result.normalized).toMatchObject({ federatedIntelligence: { enabled: true } }); }); + it("includes a configured experimental block in the normalized settings-preview output (#8867)", () => { + const result = buildFocusManifestValidation({ content: "experimental:\n gittensor: true\n" }); + expect(result.warnings).toEqual([]); + expect(result.normalized).toMatchObject({ experimental: { gittensor: true } }); + }); + + it("includes a configured fairnessAnalytics block in the normalized settings-preview output (#8867)", () => { + const result = buildFocusManifestValidation({ content: "fairnessAnalytics:\n enabled: true\n" }); + expect(result.warnings).toEqual([]); + expect(result.normalized).toMatchObject({ fairnessAnalytics: { enabled: true } }); + }); + it("returns error when manifest content is not a mapping", () => { const result = buildFocusManifestValidation({ content: "[1, 2, 3]" }); expect(result.status).toBe("error");