P1Phase 1: Core Foundation & Marketing Frontend
Target: MVP Landing & Tenancy FoundationEstablish the visual identity, customer onboarding layouts, and data schemas for tenancy and roles.
Build modern, high-contrast hero section with animated terminal, CTA deployment actions, and core branding.
Design pricing tables showing Individual (Starter/Pro/Enterprise) vs. Agency tiers with Weight Units mapping.
Create comprehensive services listing (Node.js shared pods, VPS, WHMCS Legacy integration overview) and contact page.
Provision profiles, organizations, memberships, and basic RLS checks in PostgreSQL database.
Configure AuthKit, Magic Links, Passkeys, and Organization domain-scoped auto-onboarding rules.
P2Phase 2: Server Isolation Engine & SysOps
Target: Safe Multi-Tenant Isolated HostsDeploy security sidecar script engines, cgroups v2 resource capping, and isolated system user provisioning.
Configure CPUQuota, MemoryMax, and ProtectHome=read-only constraints on tenant services.
Deterministic bash script to create non-privileged system users (e.g. hk_usr_9812) with restricted 0700 homes.
Enforce iptables rules preventing tenant processes from reaching cloud metadata endpoints or internal subnets.
Automated scan that isolates infected files, stops the systemd unit, and updates state in Supabase.
P3Phase 3: Deployment Pipelines & CLI
Target: One-Click App DeploymentsCreate seamless CI/CD pathways via GitHub repository hooks, zip uploads, and direct CLI command lines.
API endpoint receiving push payloads, checking out branches, running npm build, and reloading PM2.
Support dashboard zip file uploads, run anti-malware verification, unpack, and launch processes.
Migrate environment variables, configs, and repos from Vercel APIs directly to Hostking Pro in one click.
Build 'hostking login' utilizing WorkOS device authorization grant in terminal command.
Implement 'hostking deploy' zipping the local workspace and pushing to Hostking deploy endpoints.
P4Phase 4: Decoupled Agency Suite, WHMCS & Superadmin
Target: Global Multi-Tenant Commercial LaunchEnable the agency delegation engine, connect Stripe usage billing, bridge WHMCS metrics, and show super-admin telemetry.
Supabase policies checking is_active_agency_delegate() status to toggle dashboard access over client assets.
Usage-based calculations feeding metrics to Stripe Subscriptions; automated 7-day grace suspension logic.
Embed legacy my.hostkingpro.com pages via whitelabel wrappers and sync traditional web-hosting items.
Fleet-wide financial overview comparing Server infrastructure costs to active stacked client WUs.
Review console to approve or reject suspected signups flag-marked by Stripe Radar or proxies.