π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
π fix(verify): surface the real agent-verifier spawn error (#16589)
Arvin Xu21492870b99b
diff --git a/apps/server/src/services/verify/executor.ts b/apps/server/src/services/verify/executor.tsindex f2ee3f90824..c079d04e05d 100644--- a/apps/server/src/services/verify/executor.ts+++ b/apps/server/src/services/verify/executor.ts@@ -266,10 +266,18 @@ export class VerifyExecutorService {});if (!spawned?.verifierOperationId) {+ // The runner resolved without an operation id β the spawn never+ // persisted an operation. Log the returned shape at error level (this+ // path lands in production runtime logs, unlike the debug-only `log`).+ console.error(+ '[verify] agent verifier returned no operation id for item %s: %O',+ item.id,+ spawned,+ );await this.resultModel.updateByCheckItem(verifyRunId, item.id, {completedAt: new Date(),status: 'failed',- toulmin: { limitation: 'Agent verifier failed to start.' },+ toulmin: { limitation: 'Agent verifier failed to start (no operation id returned).' },verdict: 'uncertain',});return;@@ -286,11 +294,18 @@ export class VerifyExecutorService {verifierOperationId: spawned.verifierOperationId,});} catch (error) {- log('agent verifier spawn failed for item %s: %O', item.id, error);+ // Surface the real cause: the spawn throws during agent startup (before+ // the verifier operation is persisted), and this catch previously only+ // emitted a debug-level line + a generic limitation β so in production the+ // actual error was invisible and the check just read "failed to start".+ // Log at error level (reaches runtime logs) and thread the message into+ // the verdict limitation so it is queryable from verify_check_results.+ const detail = error instanceof Error ? error.message : String(error);+ console.error('[verify] agent verifier spawn failed for item %s: %O', item.id, error);await this.resultModel.updateByCheckItem(verifyRunId, item.id, {completedAt: new Date(),status: 'failed',- toulmin: { limitation: 'Agent verifier failed to start.' },+ toulmin: { limitation: `Agent verifier failed to start: ${detail}` },verdict: 'uncertain',});}