How we build
Architecture, stack and method.
What our products run on today, how a small team ships them with AI agents, and what the next stage of AI in the products looks like. Everything marked live is in production, and everything else is labelled.
01 Dugnad · in production
An agent delivery team inside the customer's cloud
A Claude manager dispatches sandboxed builder lanes from a locked plan. An independent review and a deterministic merge gate stand between every agent and the codebase, and the owner approves from a phone.
Agents can't reach what matters
One isolated user per lane. No access to secrets, the main branch, deploys or other lanes.
Gates are code
The merge gate checks the reviewed head, scope and protected paths, and merges only into an integration branch.
Every decision on record
Approvals and plan amendments are recorded word for word, in a log where any later change is detected.
02 Toparchy · in production
A serverless live-ops game on Firebase
The client is a static app on the global CDN. Game state lives in Firestore in Singapore, and every timed mechanic (drops, auctions, contests, income) runs in Cloud Functions.
| Layer | Service | Detail | Status |
|---|---|---|---|
| Hosting | Firebase Hosting | global CDN, static export | Live |
| Identity | Firebase Authentication | Google sign-in | Live |
| Data | Cloud Firestore | asia-southeast1 · client writes locked down by rules | Live |
| Game engine | Cloud Functions | drops · auctions · contests · income | Live |
| Abuse protection | Firebase App Check | enforced globally on functions | Live |
| Analytics | Google Analytics 4 | consent-gated (PDPA) | Live |
| Delivery | GitHub → Google Cloud | Workload Identity Federation · no stored keys | Live |
| Architecture | Hexagonal | game rules behind ports, storage swappable | Live |
| Quality | Vitest | 1,300+ automated tests per change | Live |
03 Method
Spec-driven, agent-built, human-approved
Discover
Requirements, threats and decisions written into a blueprint before any code.
Plan
The blueprint is split into units, each with its own brief, scope and acceptance criteria.
Build
Agents implement units in isolation and open pull requests.
Verify
Tests, independent model review and gates. Failures go back for another round.
Approve
A person signs off on the release. Agents never deploy.
04 Today and next
What runs where
Dugnad runs on Gemini and Claude today, in our own Google Cloud project. AI inside Toparchy comes next.
Builder lanes
Gemini builder lanes on Vertex AI, and the Compute Engine machine Dugnad runs on, in our own Google Cloud project.
Manager, reviewer, rescuer
Claude as Dugnad's manager agent and independent reviewer, and the model that takes on the hardest units, on the first-party Claude API.
AI inside the game
Gemini on Vertex AI and BigQuery turn search trends, tourism seasons and event calendars into Surges. Claude gives voice to the Archivist, the game's narrator, and moderates player-named Corridors.