FOR BUILDERS

System architecture for builders.

Before you prompt an AI to add a feature, know where it lives — edge, app, data, or external. gofyio is a real multi-brand control plane; this is the map.

Explore diagram → Five systems questions

RUNTIME ARCHITECTURE

How the platform holds together.

Edge, apps, data, AI and external providers — hover any node, then play a flow to see real request paths.

Visitor / admin Data & queue AI inference External provider

WHEN TO TOUCH

REPO PATH

VIBECODER SYSTEM DESIGN

Five systems questions before you vibe code

Ask these before prompting — gofyio is built around the answers.

01

Does this exist once or everywhere?

If a rule, setting, or tenant boundary appears in multiple places, design it once and enforce it everywhere.

GOFYIO EXAMPLE

Tenant isolation lives in basefyio helpers — every API query scopes by companyId. Never duplicate isolation logic in a handler.

02

Config or hardcoded?

Anything that might change at launch time belongs in config or secrets — not scattered literals.

GOFYIO EXAMPLE

Platform decisions (orchestration v1, dashboard access, GX10 runtime) live in packages/config/platform-decisions.json — not buried in code.

03

Which layer owns this?

Edge routes traffic, apps orchestrate, data persists, external providers integrate. Put each concern in the right box.

GOFYIO EXAMPLE

DNS record creation is an API → Cloudflare integration — not a dashboard concern. The dashboard triggers the pipeline; the API talks to providers.

04

Happy path or real path?

Production systems need retries, idempotency, and dead-letter queues — not just the success screenshot.

GOFYIO EXAMPLE

go-live-36 steps are idempotent with BullMQ retries and a DLQ. A failed DNS step can retry without double-provisioning.

05

Who sees it / who touches it?

Separate public visitors, tailnet operators, and secret-bearing services. Least privilege by default.

GOFYIO EXAMPLE

Admin dashboard is Tailscale-only; secrets never appear in Settings — they resolve via envfyio/Infisical at runtime.

NEXT STEPS

Ready to operate the control plane?

Create a brand, run the 36-step pipeline, and watch these systems work together in the dashboard.

Start free → Platform features

Runbooks: deploy · go-live-e2e · backup-restore · incident — in the monorepo docs/runbooks/