@@ -138,46 +138,34 @@ async function main() {
138138
139139 // ─── STEP 1: Delegate to Researcher ────────────────────────────────────────
140140 banner ( 'Step 1 - Researcher' ) ;
141- const r1 = await orchestrator . execute ( 'delegate_task' , {
141+ await orchestrator . execute ( 'delegate_task' , {
142142 targetAgent : 'custom:researcher' ,
143143 taskPayload : {
144144 instruction : 'multi-agent coordination patterns' ,
145145 expectedOutput : 'key facts with confidence score' ,
146146 } ,
147147 } , ctx ) ;
148148
149- if ( ! r1 . success ) {
150- console . error ( `${ c . bold } ${ c . yellow } [WARN]${ c . reset } Researcher failed:` , r1 . error ?. message ) ;
151- }
152-
153149 // ─── STEP 2: Delegate to Analyst ───────────────────────────────────────────
154150 banner ( 'Step 2 - Analyst' ) ;
155- const r2 = await orchestrator . execute ( 'delegate_task' , {
151+ await orchestrator . execute ( 'delegate_task' , {
156152 targetAgent : 'custom:analyst' ,
157153 taskPayload : {
158154 instruction : 'analyze researcher findings' ,
159155 expectedOutput : 'summary + recommendation' ,
160156 } ,
161157 } , ctx ) ;
162158
163- if ( ! r2 . success ) {
164- console . error ( `${ c . bold } ${ c . yellow } [WARN]${ c . reset } Analyst failed:` , r2 . error ?. message ) ;
165- }
166-
167159 // ─── STEP 3: Delegate to Reporter ──────────────────────────────────────────
168160 banner ( 'Step 3 - Reporter' ) ;
169- const r3 = await orchestrator . execute ( 'delegate_task' , {
161+ await orchestrator . execute ( 'delegate_task' , {
170162 targetAgent : 'custom:reporter' ,
171163 taskPayload : {
172164 instruction : 'produce final report from analysis' ,
173165 expectedOutput : 'formatted report object' ,
174166 } ,
175167 } , ctx ) ;
176168
177- if ( ! r3 . success ) {
178- console . error ( `${ c . bold } ${ c . yellow } [WARN]${ c . reset } Reporter failed:` , r3 . error ?. message ) ;
179- }
180-
181169 // ─── FINAL REPORT ──────────────────────────────────────────────────────────
182170 banner ( 'Final Report' ) ;
183171 const finalEntry = blackboard . read ( 'report:final' ) ;
0 commit comments