Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: isolate the advisory verdict regression mock

[._.]/ Adam Eivy1d747800c8a8
diff --git a/server/services/agentFinalization.goalFidelity.test.js b/server/services/agentFinalization.goalFidelity.test.js
index 340cd82dfd..3f38c2f170 100644
--- a/server/services/agentFinalization.goalFidelity.test.js
+++ b/server/services/agentFinalization.goalFidelity.test.js
@@ -255,7 +255,7 @@ describe('finalizeAgent — goal-fidelity gate', () => {
});
it('declines the diff-only judgement after independent empty inventories, without inventing a ship verdict or follow-up', async () => {
- runLocalGoalFidelityReviewMock.mockResolvedValueOnce(verdict({
+ runLocalGoalFidelityReviewMock.mockResolvedValue(verdict({
verdict: 'fix-first', missing: ['Security inventory and bot PR resolution'],
unrequested: ['The audit note'], evidence: 'Only an audit note is visible.',
}));