Capstone — Mini GPU Orchestration Platform
Phase: 12 — Leadership & Capstone | Difficulty: ⭐⭐⭐⭐⭐ | Time: 1.5 weeks Language: Python (stdlib) | Hardware: none
Concept primer:
../WARMUP.mdCh. 8.
Run
python platform.py # boots the platform + runs all integration scenarios
0. The mission
Compose the prior phases into one working control plane and prove the integration with scenarios. The platform is the portfolio piece — it shows you can build the system the JD describes, not just its parts.
request -> [License gate, P11] -> [Admission control, P06/07] -> [HAL routing, P09]
-> [Paged-KV continuous-batching serving, P07] -> [Metrics + SLOs, P10]
1. What the scenarios prove
| Scenario | Integrates | Asserts |
|---|---|---|
| 1 healthy serving | P07 continuous batching | all 20 requests served |
| 2 expired license | P11 license gate | serving refused |
| 3 capability routing | P09 HAL | FP8 → FP8-capable backend; refused if none |
| 4 backend failover | P09 + P10 health | FP16 fails over to a healthy backend |
| 5 overload | P06/07 admission | KV admission protects goodput; nothing OOM-crashes |
| 6 observability | P10 | valid Prometheus export |
All pass on python platform.py.
2. Reading order (platform.py)
License(P11),HAL/Backend(P09),KVBlockPool(P07),Metrics(P10) — the subsystems.Platform.serve— the integrated request path (the heart): license gate → admission → routing → batched generation → metrics. Trace one request through it.- The six scenarios in
main.
3. The deliverables (write these)
DESIGN-DOC.md— the architecture: the subsystems, the abstraction boundaries (HAL ABI, runtime contract, control-plane API — the seams), the build-vs-buy decisions, the failure modes, what changes at real scale. A template is provided.RUNBOOK.md— operational procedures for the platform's failure modes (compose the Phase 10 runbooks). Template provided.- The four leadership artifacts in
../leadership/— strategy, org, OEM, standards.
4. Extensions
- Multi-node (P08): TP-shard a model across simulated nodes; add the collective cost to the serving path.
- TypeScript control-plane CLI (the JD's JS/TS-for-tooling line): a
pctlCLI that talks to the platform's control API (status, license, route). - Real backend: wire the Phase 09 C HAL (CUDA backend if hardware exists) under this control plane.
- Attestation gate (P11): require a valid attestation before serving with decrypted weights.
5. What this capstone proves about you
You can integrate — compose a HAL, scheduler, serving engine, licensing, and observability into one coherent platform with sensible abstraction boundaries and honest failure handling. Integration is harder than any single phase and is exactly what a Head of Engineering is hired to lead. With the design doc and leadership artifacts, this is the portfolio that proves you can do the role.