Deep Research Lifecycle

Deep Research Lifecycle A lifecycle diagram generated by Archify. 01 / Research phases 02 / Waits and exits 03 / Caller exits Started · run_id issued · Research phases · entry 01 Started run_id issued entry IN_PROGRESS · backend working · Research phases · status 02 IN_PROGRESS backend working status COMPLETED · report ready · Research phases · status 03 COMPLETED report ready status Importing · cited or all · Research phases · caller step 04 Importing cited or all caller step Sources Added · ids returned · Research phases · import accepted 05 Sources Added ids returned import accepted Wait Loop · classify sample · Waits and exits · timeout budget Wait Loop classify sample timeout budget FAILED · no_results · unknown · Waits and exits · terminal FAILED no_results · unknown terminal CANCELLED · caller stopped · Caller exits · terminal CANCELLED caller stopped terminal still running cancel(run_id) Legend start active state waiting terminal success failure / exit

Two halves

  • • The run is server-side; importing sources is a caller step
  • • Import accepts all or cited sources and returns IDs before readiness

Status classification

  • • in_progress, completed, failed, no_research, not_found
  • • An unrecognised code degrades to unknown, not a crash

Exits

  • • Reasons: completed, no_results, cancelled, unknown
  • • The wait loop never cancels a run on timeout