Client Runtime Class Model

Client Runtime Class Model An architecture diagram generated by Archify. ClientComposed · write-once holder · Architecture component · guards pre-bind ClientComposed write-once holder guards pre-bind RuntimeCollaborators · metrics · reqid · auth · Architecture component RuntimeCollaborators metrics · reqid · auth ClientSeams · mutable callables · Architecture component ClientSeams mutable callables Kernel Protocol · post · cookies · aclose · Architecture component · structural Kernel Protocol post · cookies · aclose structural NotebookLMClient · public surface · Architecture component · composition root NotebookLMClient public surface composition root _client_assembly · shared construction · Architecture component _client_assembly shared construction RpcExecutor · satisfies RpcCaller · Architecture component RpcExecutor satisfies RpcCaller RuntimeTransport · authed POST owner · Architecture component RuntimeTransport authed POST owner Kernel · concrete web core · Architecture component Kernel concrete web core Feature APIs · eleven namespaces · Architecture component Feature APIs eleven namespaces CallSupervisor · leases · drain · Architecture component CallSupervisor leases · drain MiddlewareChainHost · chain + budgets · Architecture component MiddlewareChainHost chain + budgets WebTransportLifecycle · epoch participant · Architecture component WebTransportLifecycle epoch participant constructs binds once wires creates builds admission authed POST decode · sleep dispatches terminal post satisfies opens Legend Backend Database

Ownership

  • • NotebookLMClient owns _auth, _seams, _composed, _collaborators and the executor
  • • Composition is centralised so the client and the test factory build the same graph

Write-once binding

  • • transport, executor and the chain slots are bound exactly once
  • • Reading a slot before binding raises a clear RuntimeError

No facade

  • • Features take each collaborator by keyword-only argument, never a runtime union
  • • There is no generic runtime Session facade; AndroidSession is the selected Android transport