Skip to main content

Advanced

Internals: boot lifecycle, event pipelines, legacy UI bridge, encryption, and frontend migrations. Read when building new systems, not for routine feature work.

📄️App Startup & Boot Sequence

The HAWKI frontend does not run feature code immediately on page load. Instead, app.ts registers all initialization work into an ordered sequence of async boot stages managed by the Bootstrapper singleton, then calls bootstrapper.run() once. Each stage fully resolves before the next one begins. Within a stage, handlers run concurrently (up to 3 at a time). This ordering guarantees that foundational infrastructure — connection, config — is always available before feature code runs.