Changelog entry
Company data model + creation (P6.5A)
2026-03-27
- Nations can now found a **Company** — a nation-owned economic enterprise of type MINING, ARMS, TRADE, TECH, or ENERGY.
- Each nation may have one active company; a second cannot be founded unless the existing company is dissolved.
- Worker capacity (`workerSlots`) is derived at founding from `floor(population × 0.05)` and is fully server-authoritative.
- Added `POST /api/nations/[id]/companies` to found a company and `GET /api/nations/[id]/companies` to list a nation's companies.