System Lifecycle

The Onboarding Lifecycle.

Establishing your private infrastructure is a cryptographically secured process. This lifecycle ensures that your MeltyBase instance is hardened, verified, and ready for global-scale data ingestion.

5

Core Phases

<60s

Initialization

mTLS

Encryption

Phase 01

Binary Ignition

The journey begins with the **Release Package**. MeltyBase is distributed as a single, hardened binary (compiled for Linux, macOS, or Windows) along with a pre-configured `docker-compose.yml` for its dependencies.

  • Distribution: Secure ZIP containing the `meltybase` binary and mTLS certificates.
  • Action: Run `docker compose up -d` to spin up the Postgres 16 and Redis 7.2 core.
Phase 02

System Pulse

Upon the first boot, the engine enters a **Pre-Initialized State**. The Go-native coordinator sits in a discovery loop, waiting for the Studio to initiate the setup handshake.

// Backend Health Check

GET /v1/system/status

Status: 200 OK { "is_initialized": false, "version": "v1.0.20", "pulse": "active" }

Phase 03

License Handshake

MeltyBase requires an **Ed25519-signed License Key**. This key binds your instance to your private identity and determines your max seat count and feature tier (Indie vs. Commercial).

  • Verification: The engine performs an offline cryptographic check of the signature.
  • Security: If the key is invalid or tempered with, the setup loop remains locked.
Phase 04

Admin Provisioning

Once the license is verified, the engine initiates a **Secure Transaction** to create your master administrative account. This is the only account with "Root" permissions on the project vaults.

Cryptographic Integrity

The admin's password is hashed using a hardened Argon2id implementation before being committed to the `public.secrets` vault. No plaintext credentials ever touch the disk.

Phase 05

Secure Handover

The final phase locks the system. The `is_initialized` flag is set to `TRUE`, and the `/v1/system/setup` endpoint is permanently disabled for security.

  • Audit Pulse: The engine begins its immutable audit log, recording the successful initialization.
  • Studio Redirect: The wizard automatically hands over control to the **MeltyBase Studio Dashboard**.

// Final Setup Log

MeltyBase Initialized Successfully.

Tier: COMMERCIAL | Seats: 20 | Owner: [email protected]

Access granted. Entry point: http://localhost:3000/dashboard