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

test: verify LI completion uses the consolidated verdict (#7048)

[._.]/ Adam Eivyd8e9b692e878
diff --git a/server/services/agentLifecycle.test.js b/server/services/agentLifecycle.test.js
index 0998d31ebe..e9a3351e7f 100644
--- a/server/services/agentLifecycle.test.js
+++ b/server/services/agentLifecycle.test.js
@@ -487,7 +487,7 @@ describe('self-update spawn gate — funnel coverage (#4124)', () => {
const body = AGENT_FINALIZATION_SRC.slice(idx, updateIdx);
// The verdict is stamped into taskUpdate via the shared helper BEFORE the updateTask
// call, so it federates in the same write that marks the task terminal.
- expect(body).toMatch(/await stampLiExecutionVerdict\(taskUpdate, task, \{ success, validationPassed, errorAnalysis \}\)/);
+ expect(body).toMatch(/await stampLiExecutionVerdict\(taskUpdate, task, \{ success: verdict\.success, validationPassed, errorAnalysis: verdict\.errorAnalysis \}\)/);
});
it('stampLiExecutionVerdict builds the verdict from the task liProposal marker via the shared builder (#2779)', () => {