@aibyzero/cm-workflow 0.16.7 → 0.16.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/.codex-plugin/plugin.json +1 -1
  2. package/CHANGELOG.md +37 -0
  3. package/README.md +39 -3
  4. package/VERSION +1 -1
  5. package/assets/readme/workflow-recovery-detailed.png +0 -0
  6. package/assets/readme/workflow-stages-detailed.png +0 -0
  7. package/compat/claude-commands/cm-notify.md +3 -0
  8. package/docs/installation.md +1 -1
  9. package/docs/js-workflow-control.md +61 -4
  10. package/docs/next-steps.md +8 -2
  11. package/docs/user-guide.md +204 -0
  12. package/package.json +2 -1
  13. package/runtime/js/cm-ai/claude-review-stream.mjs +49 -13
  14. package/runtime/js/cm-ai/cm-ai-admission.mjs +3 -1
  15. package/runtime/js/cm-ai/cm-ai-conversation-entry.mjs +138 -26
  16. package/runtime/js/cm-ai/cm-ai-qa-log.mjs +142 -21
  17. package/runtime/js/cm-ai/code-projects.mjs +4 -1
  18. package/runtime/js/cm-ai/codex-review-adapter.mjs +2 -1
  19. package/runtime/js/cm-ai/developer-adapter.mjs +7 -0
  20. package/runtime/js/cm-ai/drive-core.mjs +26 -4
  21. package/runtime/js/cm-ai/durable-runner-state.mjs +951 -43
  22. package/runtime/js/cm-ai/effect-abandon-log.mjs +5 -2
  23. package/runtime/js/cm-ai/effect-contract.mjs +6 -1
  24. package/runtime/js/cm-ai/execution-store.mjs +4 -2
  25. package/runtime/js/cm-ai/external-run-guard.mjs +18 -7
  26. package/runtime/js/cm-ai/host-check.mjs +4 -1
  27. package/runtime/js/cm-ai/host-conversation-execution.mjs +11 -4
  28. package/runtime/js/cm-ai/host-documentation.mjs +53 -12
  29. package/runtime/js/cm-ai/host-project-execution.mjs +2 -2
  30. package/runtime/js/cm-ai/host-qa-executor.mjs +86 -17
  31. package/runtime/js/cm-ai/host-qa-fix-owner.mjs +44 -9
  32. package/runtime/js/cm-ai/host-session.mjs +47 -7
  33. package/runtime/js/cm-ai/host-tool-bridge.mjs +55 -6
  34. package/runtime/js/cm-ai/host-workflow-capabilities.mjs +4 -2
  35. package/runtime/js/cm-ai/operator-guidance.mjs +112 -3
  36. package/runtime/js/cm-ai/provider-review-observation.mjs +50 -0
  37. package/runtime/js/cm-ai/qa-resource-release.mjs +46 -0
  38. package/runtime/js/cm-ai/qa-round-budget.mjs +13 -0
  39. package/runtime/js/cm-ai/review-dispatch-limits.mjs +18 -0
  40. package/runtime/js/cm-ai/review-package.mjs +10 -1
  41. package/runtime/js/cm-ai/reviewed-deliveries.mjs +29 -6
  42. package/runtime/js/cm-ai/reviewed-evidence-supersede.mjs +1 -1
  43. package/runtime/js/cm-ai/task-commit.mjs +39 -0
  44. package/runtime/js/cm-ai/task-runner.mjs +636 -65
  45. package/runtime/js/cm-ai/worker-claude-developer.mjs +9 -0
  46. package/runtime/js/cm-ai/worker-claude.mjs +10 -3
  47. package/runtime/js/cm-ai/worker-process-identity.mjs +43 -0
  48. package/runtime/js/cm-fix/cause-package.mjs +37 -8
  49. package/runtime/js/cm-fix/diagnosis.mjs +43 -0
  50. package/runtime/js/cm-fix/execution.mjs +356 -187
  51. package/runtime/js/cm-fix/host.mjs +2 -1
  52. package/runtime/js/cm-fix/investigation.mjs +25 -9
  53. package/runtime/js/cm-fix/pinned-baseline.mjs +24 -0
  54. package/runtime/js/cm-fix/progress.mjs +15 -3
  55. package/runtime/js/cm-fix/protected-edits.mjs +10 -3
  56. package/runtime/js/cm-fix/repair.mjs +11 -3
  57. package/runtime/js/cm-fix/test-author.mjs +10 -3
  58. package/runtime/js/cm-idea/session.mjs +67 -4
  59. package/runtime/js/cm-prd/review-correction.mjs +10 -4
  60. package/runtime/js/cm-prd/session.mjs +43 -0
  61. package/runtime/js/cm-refactor/records.mjs +98 -8
  62. package/runtime/js/cm-refactor/workflow.mjs +79 -9
  63. package/runtime/js/cm-test/host.mjs +10 -3
  64. package/runtime/js/cm-test/session.mjs +45 -6
  65. package/runtime/js/notify-run.mjs +26 -0
  66. package/runtime/js/notify-safe-read.mjs +49 -0
  67. package/runtime/js/notify-send.mjs +312 -0
  68. package/runtime/js/notify.mjs +492 -0
  69. package/runtime/js/policy-binding-compat.mjs +54 -0
  70. package/runtime/model-efficiency.md +17 -0
  71. package/scripts/ci-test-shards.mjs +67 -0
  72. package/scripts/ci-test-shards.test.mjs +64 -0
  73. package/scripts/ci-test-weights.json +222 -0
  74. package/scripts/cm-ai-abandon-effect-position.test.mjs +70 -2
  75. package/scripts/cm-ai-answer-gap-dispatch.test.mjs +86 -0
  76. package/scripts/cm-ai-answer-gap-driver.test.mjs +51 -0
  77. package/scripts/cm-ai-answer-gap-fixture.mjs +96 -0
  78. package/scripts/cm-ai-answer-gap-recheck.test.mjs +70 -0
  79. package/scripts/cm-ai-answer-gap-redo.test.mjs +103 -0
  80. package/scripts/cm-ai-batch-drive.mjs +55 -10
  81. package/scripts/cm-ai-batch-drive.test.mjs +65 -0
  82. package/scripts/cm-ai-batch-host.mjs +132 -13
  83. package/scripts/cm-ai-batch-host.test.mjs +255 -7
  84. package/scripts/cm-ai-batch-run-fixture.mjs +499 -0
  85. package/scripts/cm-ai-batch-run-member-stops.test.mjs +38 -0
  86. package/scripts/cm-ai-batch-run-parallel.test.mjs +7 -0
  87. package/scripts/cm-ai-batch-run-reschedule.test.mjs +17 -0
  88. package/scripts/cm-ai-batch-run.mjs +189 -22
  89. package/scripts/cm-ai-batch-run.test.mjs +22 -334
  90. package/scripts/cm-ai-develop-answer-invalid.test.mjs +104 -0
  91. package/scripts/cm-ai-develop-call-timeout.test.mjs +153 -0
  92. package/scripts/cm-ai-develop-driver-gaps.test.mjs +4 -3
  93. package/scripts/cm-ai-documentation-sync-gap.test.mjs +424 -0
  94. package/scripts/cm-ai-drive.mjs +68 -23
  95. package/scripts/cm-ai-drive.test.mjs +37 -2
  96. package/scripts/cm-ai-fix-run-delivery.test.mjs +138 -0
  97. package/scripts/cm-ai-host-cli-workflow.test.mjs +271 -0
  98. package/scripts/cm-ai-host-fixture.mjs +268 -0
  99. package/scripts/cm-ai-host-protected.test.mjs +251 -0
  100. package/scripts/cm-ai-host.mjs +28 -16
  101. package/scripts/cm-ai-host.test.mjs +17 -759
  102. package/scripts/cm-ai-light-modules.test.mjs +57 -0
  103. package/scripts/cm-ai-operator-guidance.test.mjs +30 -5
  104. package/scripts/cm-ai-project-qa-gate.test.mjs +71 -4
  105. package/scripts/cm-ai-protected-scope.test.mjs +7 -3
  106. package/scripts/cm-ai-qa-answer-gaps.test.mjs +99 -0
  107. package/scripts/cm-ai-qa-fix-cross-session.test.mjs +78 -11
  108. package/scripts/cm-ai-qa-rerun-timeouts.test.mjs +127 -8
  109. package/scripts/cm-ai-review-dispatch-exit.test.mjs +475 -0
  110. package/scripts/cm-ai-review-failure.test.mjs +124 -13
  111. package/scripts/cm-ai-review-timeout.test.mjs +188 -10
  112. package/scripts/cm-ai-run.mjs +15 -6
  113. package/scripts/cm-ai-supersede.test.mjs +486 -41
  114. package/scripts/cm-check-drive-files.mjs +8 -0
  115. package/scripts/cm-check-drive.test.mjs +2 -5
  116. package/scripts/cm-check-runtime.sh +4 -2
  117. package/scripts/cm-claude-developer-worker.test.mjs +15 -0
  118. package/scripts/cm-claude-review-stream.test.mjs +21 -16
  119. package/scripts/cm-claude-review-synthetic.test.mjs +155 -0
  120. package/scripts/cm-claude-worker.test.mjs +18 -2
  121. package/scripts/cm-external-model-recovery.test.mjs +29 -3
  122. package/scripts/cm-fix-abandon.test.mjs +249 -10
  123. package/scripts/cm-fix-cause-package.test.mjs +33 -0
  124. package/scripts/cm-fix-drive-unprotected.test.mjs +37 -0
  125. package/scripts/cm-fix-drive.mjs +34 -8
  126. package/scripts/cm-fix-host.mjs +8 -7
  127. package/scripts/cm-fix-rediagnosis.test.mjs +71 -4
  128. package/scripts/cm-fix-review-budget.test.mjs +13 -0
  129. package/scripts/cm-fix-review-recovery.test.mjs +35 -0
  130. package/scripts/cm-host-answer-timeout.test.mjs +65 -0
  131. package/scripts/cm-host-call-kinds.test.mjs +28 -0
  132. package/scripts/cm-host-documentation.test.mjs +49 -0
  133. package/scripts/cm-host-qa-executor.test.mjs +143 -10
  134. package/scripts/cm-idea-answer-gaps.test.mjs +164 -0
  135. package/scripts/cm-idea-drive.mjs +49 -11
  136. package/scripts/cm-idea-drive.test.mjs +66 -0
  137. package/scripts/cm-idea-host.mjs +106 -16
  138. package/scripts/cm-init-answer-gaps.test.mjs +258 -0
  139. package/scripts/cm-init-drive.mjs +41 -7
  140. package/scripts/cm-init-host.mjs +61 -12
  141. package/scripts/cm-log-event.mjs +49 -12
  142. package/scripts/cm-notify-command.test.mjs +900 -0
  143. package/scripts/cm-notify-read-drift.test.mjs +205 -0
  144. package/scripts/cm-notify.mjs +469 -0
  145. package/scripts/cm-notify.test.mjs +685 -0
  146. package/scripts/cm-patrol.mjs +83 -0
  147. package/scripts/cm-patrol.test.mjs +161 -0
  148. package/scripts/cm-prd-answer-gaps.test.mjs +216 -0
  149. package/scripts/cm-prd-drive.mjs +18 -5
  150. package/scripts/cm-prd-drive.test.mjs +15 -0
  151. package/scripts/cm-prd-host.mjs +37 -4
  152. package/scripts/cm-prd-review-disposition.test.mjs +6 -1
  153. package/scripts/cm-prd-review-gate.mjs +56 -0
  154. package/scripts/cm-refactor-answer-gaps.test.mjs +206 -0
  155. package/scripts/cm-refactor-drive.mjs +52 -8
  156. package/scripts/cm-refactor-drive.test.mjs +44 -0
  157. package/scripts/cm-refactor-host.test.mjs +10 -6
  158. package/scripts/cm-release-smoke.sh +2 -0
  159. package/scripts/cm-test-answer-gaps.test.mjs +151 -0
  160. package/scripts/cm-test-drive.mjs +21 -5
  161. package/scripts/cm-token-report.mjs +497 -0
  162. package/scripts/cm-token-report.test.mjs +346 -0
  163. package/scripts/fixtures/claude-review-process.mjs +1 -1
  164. package/scripts/policy-binding-compat.test.mjs +99 -0
  165. package/scripts/scan-public-safety.py +4 -0
  166. package/scripts/validate-public-repo.py +4 -0
  167. package/skills/cm-ai/SKILL.md +7 -3
  168. package/skills/cm-ai/references/N6-qa-eval.md +2 -2
  169. package/skills/cm-ai/references/js-host-modes.md +90 -0
  170. package/skills/cm-ai/references/js-host-qa-recovery.md +136 -0
  171. package/skills/cm-ai/references/js-host-recovery.md +311 -0
  172. package/skills/cm-ai/references/js-host.md +76 -331
  173. package/skills/cm-check/SKILL.md +3 -3
  174. package/skills/cm-fix/SKILL.md +2 -0
  175. package/skills/cm-fix/references/js-host.md +56 -10
  176. package/skills/cm-idea/references/js-host.md +27 -2
  177. package/skills/cm-init/references/js-host.md +16 -3
  178. package/skills/cm-notify/SKILL.md +34 -0
  179. package/skills/cm-prd/SKILL.md +2 -0
  180. package/skills/cm-prd/references/js-change-recovery.md +35 -1
  181. package/skills/cm-refactor/references/js-host.md +17 -0
  182. package/skills/cm-test/references/js-host.md +14 -1
@@ -6,6 +6,7 @@ import os from 'node:os';
6
6
  import path from 'node:path';
7
7
  import {fileURLToPath} from 'node:url';
8
8
  import {statusProjectionCommand} from '../runtime/js/cm-ai/status-projection.mjs';
9
+ import {qaRoundLimit,nonProductSupersession} from '../runtime/js/cm-ai/qa-round-budget.mjs';
9
10
 
10
11
  const IDENTIFIER=/^[A-Za-z][A-Za-z0-9._-]{0,63}$/;
11
12
  const RESOURCE_ID=/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;
@@ -200,8 +201,14 @@ export function unclosedResources(states){
200
201
  return [...states].filter(([,value])=>['acquired','cleanup_failed'].includes(value[0])).map(([key])=>key).sort();
201
202
  }
202
203
 
203
- function applyTestRunTransition(active,openCases,phase,caseId,incompleteReport=false){
204
+ function applyTestRunTransition(active,openCases,phase,caseId,incompleteReport=false,timedOut=false){
204
205
  if(phase==='superseded'){
206
+ // A call stopped as a whole (see validateQaSupersession) may leave a case
207
+ // started; like abandonment, its own superseded row closes it.
208
+ if(timedOut){
209
+ if(!active)throw new UsageError('QA superseded of a timed-out invocation has no active test run');
210
+ openCases.clear();return false;
211
+ }
205
212
  // incomplete_report: a call with its fixed report but no complete row (see
206
213
  // validateQaSupersession) is closed by its own superseded row.
207
214
  if(active!==incompleteReport||openCases.size)throw new UsageError('QA superseded requires a completed invocation');
@@ -344,8 +351,10 @@ function validateQaAbandonment(state,event){
344
351
 
345
352
  function validateQaSupersession(state,event){
346
353
  const {start,complete}=state;
354
+ // Q14: rounds superseded for a host or answer problem do not count (qa-round-budget.mjs).
355
+ const roundLimit=qaRoundLimit((state.freed??0)+(nonProductSupersession(event.reason)?1:0));
347
356
  if(event.reason==='qa_configuration_revision'){
348
- if(state.active||state.superseded||!start||!complete||start.attempt>=3
357
+ if(state.active||state.superseded||!start||!complete||start.attempt>=roundLimit
349
358
  ||event.workflow!=='cm-ai'||event.node!=='N6'||event.previous_test_run_id!==start.operation_id
350
359
  ||!['PASS','FAIL','BLOCKED'].includes(complete.result)||!/^[a-f0-9]{64}$/.test(event.qa_revision_digest??'')
351
360
  ||!['repository_id','run_id','feature','task','package_digest','qa_decision_id','operation_id','attempt','mode','case_count']
@@ -359,9 +368,9 @@ function validateQaSupersession(state,event){
359
368
  // row. The host re-reads that report under the blocked-evidence rules; here the
360
369
  // structural part: the still active, otherwise unclosed latest invocation.
361
370
  if(event.incomplete_report!==undefined){
362
- if(event.incomplete_report!==true||!state.active||state.superseded||!start||complete||start.attempt>=3
371
+ if(event.incomplete_report!==true||!state.active||state.superseded||!start||complete||start.attempt>=roundLimit
363
372
  ||event.workflow!=='cm-ai'||event.node!=='N6'||event.reason!=='host_evidence_problem'
364
- ||event.previous_test_run_id!==start.operation_id||event.recovery_rule!==2
373
+ ||event.previous_test_run_id!==start.operation_id||![2,3].includes(event.recovery_rule)
365
374
  ||!Array.isArray(event.blocked_cases)||event.blocked_cases.length===0||event.blocked_cases.length>start.case_count
366
375
  ||!caseList(event.blocked_cases,event.blocked_cases.length)
367
376
  ||!['repository_id','run_id','feature','task','package_digest','qa_decision_id','operation_id','attempt','mode','case_count']
@@ -369,10 +378,35 @@ function validateQaSupersession(state,event){
369
378
  throw new UsageError('QA superseded of an incomplete invocation requires its active start, no complete row and blocked_cases');
370
379
  return;
371
380
  }
381
+ // A call stopped as a whole (qa_execution_timeout) with no complete row. The
382
+ // host re-reads its case rows (PASS or host request timeout only); here the
383
+ // structural part: the still active latest invocation and its PASS rows.
384
+ if(event.reason==='host_request_timeout'){
385
+ if(!state.active||state.superseded||!start||complete||start.attempt>=roundLimit
386
+ ||event.workflow!=='cm-ai'||event.node!=='N6'||event.previous_test_run_id!==start.operation_id
387
+ ||!Array.isArray(event.timed_out_cases)||event.timed_out_cases.length>start.case_count
388
+ ||!caseList(event.timed_out_cases,event.timed_out_cases.length)
389
+ // Q06/Q11: cases the session declared BLOCKED or the host judged BLOCKED for
390
+ // an evidence, environment or cleanup gap before the call stopped.
391
+ ||event.host_blocked_cases!==undefined&&(!Array.isArray(event.host_blocked_cases)||event.host_blocked_cases.length===0
392
+ ||!caseList(event.host_blocked_cases,event.host_blocked_cases.length)
393
+ ||event.host_blocked_cases.some(item=>event.timed_out_cases.includes(item)))
394
+ ||event.timed_out_cases.length+(event.host_blocked_cases?.length??0)===0
395
+ ||event.timed_out_cases.length+(event.host_blocked_cases?.length??0)>start.case_count
396
+ ||JSON.stringify(event.partial_pass_cases)!==JSON.stringify([...state.partialPassCases].sort())
397
+ ||event.request_timeout_ms!==undefined&&!(Number.isSafeInteger(event.request_timeout_ms)&&event.request_timeout_ms>0)
398
+ ||event.legacy_timeout_attestation!==undefined&&(typeof event.legacy_timeout_attestation!=='string'
399
+ ||!event.legacy_timeout_attestation.trim()||Buffer.byteLength(event.legacy_timeout_attestation,'utf8')>500
400
+ ||/[\r\n\0]/.test(event.legacy_timeout_attestation))
401
+ ||!['repository_id','run_id','feature','task','package_digest','qa_decision_id','operation_id','attempt','mode','case_count']
402
+ .every(key=>event[key]!==undefined&&event[key]===start[key]))
403
+ throw new UsageError('QA superseded of a timed-out invocation requires its active start, no complete row and timed_out_cases');
404
+ return;
405
+ }
372
406
  if(event.reason==='declared_environment_failure'){
373
407
  const reason=event.environment_failure_reason;
374
408
  if(state.active||state.superseded||!start||!complete||complete.result!=='FAIL'||!(complete.failed>0)
375
- ||start.attempt>=3||event.workflow!=='cm-ai'||event.node!=='N6'||event.previous_test_run_id!==start.operation_id
409
+ ||start.attempt>=roundLimit||event.workflow!=='cm-ai'||event.node!=='N6'||event.previous_test_run_id!==start.operation_id
376
410
  ||!caseList(event.failed_cases,complete.failed)||!caseList(event.blocked_cases,complete.blocked)
377
411
  ||typeof reason!=='string'||!reason.trim()||Buffer.byteLength(reason,'utf8')>500||/[\r\n\0]/.test(reason)
378
412
  ||!['repository_id','run_id','feature','task','package_digest','qa_decision_id','operation_id','attempt','mode','case_count']
@@ -381,7 +415,7 @@ function validateQaSupersession(state,event){
381
415
  return;
382
416
  }
383
417
  if(state.active||state.superseded||!start||!complete||complete.result!=='BLOCKED'||complete.failed!==0
384
- ||complete.blocked<=0||start.attempt>=3||event.workflow!=='cm-ai'||event.node!=='N6'
418
+ ||complete.blocked<=0||start.attempt>=roundLimit||event.workflow!=='cm-ai'||event.node!=='N6'
385
419
  ||event.reason!=='host_evidence_problem'||event.previous_test_run_id!==start.operation_id
386
420
  ||!Array.isArray(event.blocked_cases)||event.blocked_cases.length!==complete.blocked
387
421
  ||new Set(event.blocked_cases).size!==event.blocked_cases.length
@@ -392,7 +426,7 @@ function validateQaSupersession(state,event){
392
426
  }
393
427
 
394
428
  function loadTestRunState(file,runId){
395
- let active=false,start=null,complete=null,hasNonPassResult=false,abandoned=false,superseded=false;
429
+ let active=false,start=null,complete=null,hasNonPassResult=false,abandoned=false,superseded=false,freed=0;
396
430
  const openCases=new Set(),partialPassCases=new Set();
397
431
  for(const value of readJsonLines(file,{strict:true})){
398
432
  if(!value||typeof value!=='object'||value.run_id!==runId||value.event!=='test_run'||value.phase===null||value.phase===undefined)continue;
@@ -402,8 +436,10 @@ function loadTestRunState(file,runId){
402
436
  throw new UsageError('test_run state log contains a malformed case event');
403
437
  if(phase==='complete'&&!active&&!openCases.size)continue;
404
438
  if(phase==='abandoned')validateQaAbandonment({active,start,hasNonPassResult,partialPassCases},value);
405
- if(phase==='superseded')validateQaSupersession({active,start,complete,superseded},value);
406
- active=applyTestRunTransition(active,openCases,phase,typeof caseId==='string'?caseId:null,value.incomplete_report===true);
439
+ if(phase==='superseded'){validateQaSupersession({active,start,complete,superseded,partialPassCases,freed},value);
440
+ if(nonProductSupersession(value.reason))freed++;}
441
+ active=applyTestRunTransition(active,openCases,phase,typeof caseId==='string'?caseId:null,value.incomplete_report===true,
442
+ phase==='superseded'&&value.reason==='host_request_timeout');
407
443
  if(phase==='start'){start=value;complete=null;hasNonPassResult=false;partialPassCases.clear();abandoned=false;superseded=false;}
408
444
  if(phase==='complete')complete=value;
409
445
  if(phase==='case_complete'){
@@ -414,7 +450,7 @@ function loadTestRunState(file,runId){
414
450
  if(phase==='abandoned')abandoned=true;
415
451
  if(phase==='superseded')superseded=true;
416
452
  }
417
- return {active,openCases,start,complete,hasNonPassResult,partialPassCases,abandoned,superseded};
453
+ return {active,openCases,start,complete,hasNonPassResult,partialPassCases,abandoned,superseded,freed};
418
454
  }
419
455
 
420
456
  // Read-only reuse of the writer's existing resource/test lifecycle guards by
@@ -552,12 +588,13 @@ export function writeLogEvent(rawInput,{environment=process.env,now=new Date(),u
552
588
  }
553
589
  if(existing===null&&event.event==='test_run'&&event.phase==='superseded'){
554
590
  validateQaSupersession(testRun,event);
555
- if(event.incomplete_report===true&&unclosedResources(loadResourceStates(authoritativeLog,built.runId)).length)
591
+ if((event.incomplete_report===true||event.reason==='host_request_timeout')
592
+ &&unclosedResources(loadResourceStates(authoritativeLog,built.runId)).length)
556
593
  throw new UsageError('QA superseded of an incomplete invocation blocked by unclosed resources');
557
594
  }
558
595
  if(existing===null&&event.event==='test_run'&&event.phase!==undefined)
559
596
  applyTestRunTransition(testRun.active,testRun.openCases,event.phase,event.case_id??null,
560
- event.phase==='superseded'&&event.incomplete_report===true);
597
+ event.phase==='superseded'&&event.incomplete_report===true,event.phase==='superseded'&&event.reason==='host_request_timeout');
561
598
 
562
599
  let projectDuplicate=false;
563
600
  if(projectLog){