The system of the bacterium Escherichia coli and its virus, bacteriophage lambda, is paradigmatic for gene regulation in cell-fate development, yet insight about its mechanisms and complexities are limited due to insufficient resolution of study. Here we develop a 4-colour fluorescence reporter system at the single-virus level, combined with computational models to unravel both the interactions between phages and how individual phages determine cellular fates.