Root Client Resource Lifecycle

Root Client Resource Lifecycle A lifecycle diagram generated by Archify. 01 / ClientLifecycle generation 02 / Admission and rollback 03 / Outcomes CLOSED · assembled, no active epoch · ClientLifecycle generation · reopenable 01 CLOSED assembled, no active epoch reopenable OPENING · bind loop · prepare · open · ClientLifecycle generation · coalesced wave 02 OPENING bind loop · prepare · open coalesced wave OPEN · selected graph admits work · ClientLifecycle generation · generation active 03 OPEN selected graph admits work generation active CLOSING · prepare · hooks · teardown · ClientLifecycle generation · retained wave 04 CLOSING prepare · hooks · teardown retained wave CLOSED · generation retired · ClientLifecycle generation · may reopen 05 CLOSED generation retired may reopen Open Rollback · clean prepared resources · Admission and rollback · recoverable Open Rollback clean prepared resources recoverable DRAINING · reject new work · await idle · Admission and rollback · resources stay open DRAINING reject new work · await idle resources stay open open failed cleanup settled graceful close idle or timeout fresh epoch Legend start active state waiting terminal success failure / exit

Scope boundary

  • • Diagram 35 hands off a complete graph in CLOSED; ClientLifecycle does not construct or install services
  • • This diagram owns resource epochs, admission, rollback, drain, and teardown order

Lifecycle evidence

  • • Open, drain, close, rollback, and reopen: src/notebooklm/_runtime/lifecycle.py:178-634
  • • https://github.com/teng-lin/notebooklm-py @ 719378b8af7023b8eca0c33d2de6d44d35db3434