# Build Lifecycle

<!-- TODO: Describe the full build pipeline stage sequence.
  When each hook fires: #[BeforeStage], #[AfterStage], #[PatchBeforeBuild].
  How platform selection (#[BuildFor]) works at runtime.
  Diagram of stage order for a typical library and extension build. -->
