01Start here

What each role reads and runs

AI assistants

AGENTS.md and CLAUDE.md sit in the repo root. Claude Code, Cursor, Codex, Antigravity and Copilot read them on their own when the root is opened; nothing to attach.

In a plain web chat without repo context, give it AGENTS.md.

AGENTS.md
02Release pipeline

Branches decide versions and tags

Versions are never edited by hand: Conventional Commits drive Release Please on main, and every Docker image is tagged from its branch, version and commit.

  1. 1CommitConventional Commits

    Commits and PR titles say what changed and where.

    feat(scope): …fix(scope): …chore(scope): …
  2. 2Land on devdev

    Builds on dev are release candidates. The mockups site redeploys 1–2 minutes after each push.

    Image<M.m.p>-rc-<sha7>
  3. 3Release on mainmain

    Release Please updates versions and CHANGELOG.md. Images carry the version and commit, plus a release tag.

    Image<M.m.p>-<sha7>Release<M.m.p>
BranchDocker image tagRelease tag
dev<M.m.p>-rc-<sha7>—
main<M.m.p>-<sha7><M.m.p>

Versions in Cargo.toml, package.json, pyproject.toml, lock files and CHANGELOG.md change only through Release Please on main.

Reading a tag · illustrative value

1.4.2-rc-a1b2c3d

1.4.2
Version <M.m.p> — major.minor.patch, set by Release Please
rc
Release candidate — built from dev; main images have no rc
a1b2c3d
First 7 characters of the commit SHA <sha7>

Live status · not wired yet; rollouts already show on Updates and Reports

Latest dev image

Not connected

Latest release

Not connected

Open Release Please PR

Not connected

Mockups site last deploy

Not connected

03Rules

Four rules for every change

Full detail in docs/VERSIONING.md.

  • 1

    Conventional Commits only

    Every commit and every PR title.

    feat(scope): …fix(scope): …chore(scope): …
  • 2

    Never bump versions by hand

    Release Please updates them on main.

    Cargo.tomlpackage.jsonpyproject.tomllock filesCHANGELOG.md
  • 3

    Docker tags come from the branch

    Each image is tagged from its branch, version and commit.

    dev<M.m.p>-rc-<sha7>main<M.m.p>-<sha7>main<M.m.p>
  • 4

    English in every .md file

    All Markdown in the repository is written in English.

    README.mdDESIGN_CHANGES.mddocs/*.md
04Design publishing

From Claude Design to the mockups site

Claude Design canvases are the source of the mockups. Figma Make is no longer part of the design flow.

  1. 1

    Once

    Set up Claude Code

    In Claude Desktop, open the Code tab and paste the setup prompt. Claude clones era-ai-suite into ~/Documents/GIT/era-ai-suite, switches to dev, checks git, python3, gh and push access, and explains the publish flow.

    Setup prompt
    Clone https://github.com/Staketab/era-ai-suite into ~/Documents/GIT/era-ai-suite, switch to the dev branch and open it as the working folder. Check that git, python3 and the GitHub CLI (gh) are installed, that gh is logged in to GitHub, that git user.name and user.email are configured, and that I can push to dev. If anything is missing, tell me step by step what to run, and wait for me to do it. Then read templates/suite/ui/README.md and explain in two sentences how I publish my Claude Design mockup changes to https://ai-templates.eralabs.org using /publish-mockups.
  2. 2

    Every time

    Run /publish-mockups

    Describe what changed and why, for example “updated empty state for Admin agents”.

    /publish-mockups <what changed and why>
  3. 3

    Automatic

    Claude exports and pushes

    Claude exports the screens, updates DESIGN_CHANGES.md and pushes to dev.

  4. 4

    1–2 min later

    The site is live

    ai-templates.eralabs.org rebuilds on its own after the push. No Vercel step.

05Environments

Where EraAI lives

Official site
https://eralabs.org/

Public corporate presence

Product development
https://ai.eralabs.org/

Suite development stand. The Hub links it once it serves the current suite UI (NEXT_PUBLIC_DEV_ORIGIN).

Design mockupsNew

Claude Design mockups, rebuilt 1–2 min after each push to dev

Developer HubVerify

The Figma Make reference app (DESIGN_CHANGES.md). This Hub’s own address is not set yet.

Admin Console productVerify

Internal operations product (apps/admin). Its README serves it under /admin on the Suite host.

Published / customer origin
Deployment-specific

Configured per customer deployment; internal workspace omitted

Local development
Suite
localhost:3000 · API :3001
Admin
localhost:3003 · API :3002
Dev Hub
localhost:3011 · API :3010

Defaults from each app’s README

Make previewRetired

Figma Make is no longer used for design; mockups live on ai-templates.eralabs.org.

The Official Site URL stays registered here; its Developer Hub navigation destination is planned and has no active link. Environment and secret details: deployment/README.md.

06Deployment audiences

Internal and customer builds

Internal services

Developer Hub (with Requirements and Brandbook) and Admin Console are separate apps, apps/dev-hub and apps/admin, each with its own deploy next to the commercial product suite in apps/suite.

Customer build

Omits internal navigation and developer resources. Not built yet: no build setting hides internal surfaces, and customer-specific branding and origins do not exist. A company’s product list is stored, but it only decides what Suite home shows; the API does not enforce it.

SurfaceInternalCustomer
Commercial product suiteVisible by entitlementVisible by entitlement
Developer Hub and internal referencesVisibleOmitted
Admin Console and internal utilitiesVisible / governedOmitted
Product Environment linkVisibleVisible
Official Site navigation destinationPlannedPlanned

The target visibility; no build enforces it yet. Deployment audience is presentation control, not authentication or authorization.

07Configuration

Configuration registry

The settings each service reads, by name, and the branches it deploys from on its own. Suite and admin names come from their deploy config on dev; the Dev Hub’s from its READMEs, as its deploy is paused.

Suite backendapps/suite/backendAuto-deploy · dev + main
DATABASE_URLAPP_PUBLIC_URLGOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETAUTH_LINK_SECRETAUTH_TRUSTED_ORIGINSEMAIL_POSTMARK_TOKENANTHROPIC_API_KEYNANGO_*

A selection; its group_vars hold the full list.

Suite UIapps/suite/uiAuto-deploy · dev
BACKEND_URLNEXT_PUBLIC_BASE_PATHNEXT_PUBLIC_CALLS_WS_BASE
Admin backendapps/admin/backendAuto-deploy · dev
DATABASE_URLGOOGLE_CLIENT_IDADMIN_JWT_SECRETADMIN_JWT_TTL_SECSCORS_ALLOWED_ORIGINS
Admin UIapps/admin/uiAuto-deploy · dev
BACKEND_URLNEXT_PUBLIC_BASE_PATHNEXT_PUBLIC_GOOGLE_CLIENT_ID

NEXT_PUBLIC_GOOGLE_CLIENT_ID is built in from the GOOGLE_CLIENT_ID secret.

Dev Hub backendapps/dev-hub/backendDeploy paused
GITHUB_REPOSITORYTRACKED_BRANCHESWORK_TIMEZONEGITHUB_TOKEN
Dev Hub UIapps/dev-hub/uiDeploy paused
BACKEND_URLNEXT_PUBLIC_BASE_PATHNEXT_PUBLIC_DEV_ORIGINNEXT_PUBLIC_PRD_ORIGIN
Mockupstemplates/suite/uiAuto-deploy · dev

Static screens served by nginx; no runtime settings.

Flexapps/flexDeploy paused

No app yet: both deploys wait for a Dockerfile.

Source of truth

Runtime settings live in deployment/<app>/<part>/group_vars, one file per service and stage. Secrets resolve from GCP Secret Manager at deploy time: era-ai-backend-*, era-ai-ui-* and era-ai-admin-*. Build-time UI settings such as NEXT_PUBLIC_BASE_PATH are GitHub environment variables. This registry lists names only, never values.

08Routing

Routing map and rules

The routes of the suite, Admin Console and Developer Hub apps on dev.

RouteAppWhat
/apps/suite/uiSuite home
/sign-in · /sign-up · /forgot-password · /reset-password · /verify-email · /inviteapps/suite/uiSign-in, sign-up, password recovery, email check and invitations
/hubapps/suite/uiRedirects to /: the Hub became Suite home
/company · /company/settingsapps/suite/uiThe company page and its settings
/assistant/*apps/suite/uiThe suite-wide assistant: conversations, inbox and shop
/agent-studio/team/* · /agent-studio/assignments/* · /agent-studio/context/*apps/suite/uiAgent Studio
/team · /assignments · /contextapps/suite/uiTemporary redirects to /agent-studio/*, for older links
/v1/*apps/suite/uiBridge to the suite backend at BACKEND_URL; empty means <origin>/api
<base path>/*apps/admin/uiAdmin Console, under its NEXT_PUBLIC_BASE_PATH: /admin on the Suite host, per its READMEVerify
/devhub/*apps/dev-hub/uiDeveloper Hub; / redirects to /devhub
/v1/*apps/dev-hub/uiBridge to the Dev Hub backend at BACKEND_URL
/flex · /cowork—No routes yet: neither product opens in the app; their screens are mockups

The suite-wide assistant route resolves behaviour from its active product context. Agent Studio keeps assignment, context and team families under its product prefix so those capabilities stay explicitly owned.

Rules

  • Each app can sit under its own base path (NEXT_PUBLIC_BASE_PATH), so several apps can share one host.
  • Each UI calls its own backend through its /v1/* bridge; the suite's voice socket, which opens straight to the API, is an exception.
  • Agent Studio keeps its team, assignments and context families under /agent-studio.
  • Assistant behaviour is product-contextual and is not owned by Agent Studio.
  • Customer deployments omit internal navigation and developer references.