Back to Operations Home
Internal · Engineering Onboarding

Systems & Onboarding.

How every Next Seven Again codebase is built, where it runs, what it depends on, and the accounts you need to get started. This is the first stop for a new engineer — work top to bottom, then jump to the system you're picking up.

Start here

Day 1
1

Get your identity

You'll be issued a @nextsevenagain.com Google Workspace account. It's the single sign-on for almost everything — email, Drive, and Google sign-in on every app.

2

Get into GitHub & GCP

Ask to be added to the Next-Seven-Again GitHub org and granted IAM on the Google Cloud / Firebase projects for the system you'll work on (see the access list below).

3

Install the toolbelt

git, gh, Node 20+, the firebase CLI and the gcloud SDK. Clone your repo from ~/code — each folder name matches its GitHub repo.

Accounts & access to request

GitHub everyone

Member of the Next-Seven-Again org. All code lives here.

Google Workspace everyone

@nextsevenagain.com account — SSO for Gmail, Drive, Calendar and app sign-in.

Google Cloud / Firebase everyone

IAM on the projects you touch: nextsevenagain (hosting), nxt7a-ops, nxt7a-dev/nxt7a-prod.

Cloudflare admins

DNS for nextsevenagain.com and nxt7a.com. Needed only for domain/DNS work.

Base44 app devs

Legacy app platform still powering parts of the Nxt7a app (mid-migration to Firestore).

Expo / EAS field devs

Org nxt7a — builds & over-the-air updates for the field app.

Apple Developer + Google Play field release

Only for shipping field-app store builds via eas submit.

Mapbox · Stripe · Koordinates · SendGrid app devs

Maps, payments, geo-data, email. Live keys live in GCP Secret Manager — you rarely need the dashboards.

Golden rule on credentials

  • Never commit secrets. Service-account JSON, .env files and signing keys are gitignored in every repo — keep it that way. Server secrets live in GCP Secret Manager; web Firebase config (API keys) is low-sensitivity and may appear in client code.
  • Request access, don't share logins. If a tool prompts for a different account, you probably haven't been granted it yet — ask in Jira Service Management or Slack.

The estate at a glance

5 Systems
SystemRepoLives atStackHosting / backend
Nxt7a Marketingnxt7a_marketingnxt7a.comStatic HTML/CSS/JSFirebase site nxt7a-web · no backend
NSA Marketingnextsevenagain_marketingnextsevenagain.comStatic HTML/CSS/JSFirebase site nextsevenagain · no backend
Operations (OS)nextsevenagain_osos.nextsevenagain.comStatic HTML/CSS/JSFirebase site nextsevenagain-os · Auth + Firestore on nxt7a-ops
Nxt7a Appnxt7a_appapp.nxt7a.comReact 18 + Vite + TailwindFirebase nxt7a-dev/nxt7a-prod · Cloud Run APIs · BigQuery
Nxt7a Field Appnxt7a_fieldappiOS / Android (EAS)React Native + Expo SDK 57Expo EAS builds · shares the Nxt7a App backend

Frontends

nxt7a.comstatic marketing
nextsevenagain.comstatic marketing
os.nextsevenagain.comstatic ops app (gated)
app.nxt7a.comReact SPA
Field appReact Native / Expo
↓

Backends / APIs

Firebase Hostingproject: nextsevenagain (3 sites)
Firebase Auth + Firestorenxt7a-ops · nxt7a-dev · nxt7a-prod
Cloud Run: nxt7a-apiBigQuery, uploads, contracts, LLM
Cloud Run: agent (capi+)Python ADK · wejugo-geospatial-engine
↓

Data & infrastructure

BigQuerywejugo-geospatial-engine
Cloud Storageuploads bucket
Secret Manager + KMSAPI keys · JWT signer
Cloudflare DNSnxt7a.com · nextsevenagain.com

Each system

Build · Deploy · Depend

NSA Marketing

Next-Seven-Again/nextsevenagain_marketingnextsevenagain.com ↗

The Next Seven Again corporate site — the holding company's public face. Plain static HTML, no framework, no build step.

HTML/CSS/JSno buildFirebase HostingGA4
Build & deploy
# nothing to build — edit public/ then: firebase deploy --only hosting \ --project nextsevenagain
Depends on
  • Firebase Hosting — site nextsevenagain
  • Google Analytics 4 — G-4Z910XKJLM
  • Cloudflare DNS → Firebase
  • GitHub Actions auto-deploys on push to main (keyless WIF)
Logins needed
  • GitHub
  • GCP/Firebase: nextsevenagain

Nxt7a Marketing

Next-Seven-Again/nxt7a_marketingnxt7a.com ↗

The Nxt7a product landing site (home, platform, pricing, articles, the H5 bird-flu map, blog). Pure static site, no backend — the direct sibling of the NSA marketing site.

HTML/CSS/JSno buildFirebase HostingGA4
Run & deploy
# local preview python3 -m http.server 5050 \ --directory public # deploy (site nxt7a-web) firebase deploy --only hosting \ --project nextsevenagain
Depends on
  • Firebase Hosting — site nxt7a-web
  • Cloudflare DNS → Firebase
  • GitHub Actions auto-deploys on push to main (keyless WIF)
Logins needed
  • GitHub
  • GCP/Firebase: nextsevenagain
Note
  • tools/build_h5_article_hero.py regenerates the H5 article hero SVG — a content helper, not part of the deploy.

Operations (OS)

Next-Seven-Again/nextsevenagain_osos.nextsevenagain.com ↗

This app — the internal operations hub: cap table, data room, R&D Tax Incentive console, policies, SOPs, people & investor registers, document pack. Static pages, each login-gated behind Google sign-in.

HTML/CSS/JSno buildFirebase HostingFirebase AuthFirestoreGoogle Drive
Deploy
# hosting (site nextsevenagain-os) firebase deploy --only hosting \ --project nextsevenagain # firestore rules — different project! firebase deploy --only firestore \ --project nxt7a-ops
Depends on
  • Hosting on nextsevenagain (site nextsevenagain-os)
  • Auth + Firestore on nxt7a-ops
  • Data-room links point at Google Drive
  • GitHub Actions auto-deploys hosting on push (keyless WIF)
Auth model
  • Google sign-in restricted to @nextsevenagain.com
  • Admin = admin:true custom claim (set via the set-admin script in scripts/)
  • firestore.rules is the real boundary
Scripts & data
  • scripts/ — firebase-admin seed tooling for the nxt7a-ops Firestore (access matrix, R&DTI, employees, timesheets, set-admin).
  • rdti/ — sensitive R&DTI master data, gitignored / local-only.

Nxt7a App

Next-Seven-Again/nxt7a_appapp.nxt7a.com ↗

The core Earth-intelligence platform — draw an assessment boundary, measure biodiversity & natural capital, talk to Capi (the AI agent), export disclosure-ready reports. React SPA, originally a Base44 app, mid-migration to a Firestore + Cloud Run backend.

React 18Vite 6TailwindBase44 SDKFirebaseCloud RunBigQueryMapboxStripeKoordinatesSendGrid
Run & deploy
npm install npm run dev:firestore # :5191 npm run deploy:dev # nxt7a-dev npm run deploy:prod # nxt7a-prod
Backend pieces
  • Firebase Auth + Firestore (nxt7a-dev/nxt7a-prod)
  • Cloud Run nxt7a-api — BigQuery, uploads, contracts, invokeLLM
  • Cloud Run agent capi+ — Python ADK on wejugo-geospatial-engine
  • nxt7a-birdnet / bioclip inference services
  • BigQuery datasets on wejugo-geospatial-engine
Logins needed
  • GitHub, Base44 (app devs)
  • GCP: nxt7a-dev, nxt7a-prod, wejugo-geospatial-engine (BigQuery/agent), nxt7a-earth (KMS)
  • gcloud + ADC as mike@nextsevenagain.com
  • Mapbox, Stripe, Koordinates, SendGrid (keys in Secret Manager)
Heads-up
  • Secrets via Secret Manager: koordinates-api-key, sendgrid-api-key, contract-signing-secret, agent-internal-token + KMS JWT signer.
  • Docs drift — DEPLOYMENT.md mentions a single nxt7a-dev backend and deploy:live, but package.json/.firebaserc define split dev/prod. Confirm the current path before a prod deploy.

Nxt7a Field App

Next-Seven-Again/nxt7a_fieldappiOS / Android

The offline-first field companion — sign in, see the assessment boundary on a satellite map with live GPS, and record geotagged photo/species observations that sync when back online.

React Native 0.86Expo SDK 57TypeScriptSQLite (offline)FirebaseEASMapboxGCS uploads
Run & build
npm install npm run start:dev # dev backend npm start # prod backend npx eas-cli build \ --profile production --platform all
Depends on
  • Shares the Nxt7a App Firebase (nxt7a-dev/nxt7a-prod) — Auth + Firestore
  • Photo uploads via nxt7a-api POST /uploadFile → GCS
  • Expo EAS for builds + OTA updates (org nxt7a)
  • Mapbox (token shared with the web app)
Logins needed
  • GitHub, Expo/EAS (org nxt7a)
  • GCP/Firebase nxt7a-dev/nxt7a-prod
  • Apple Developer + Google Play (store builds)
  • Mapbox
Heads-up
  • Bundle id com.nextsevenagain.nxt7afield; EAS project 395fd336-….
  • There is no Firebase Storage bucket — uploads go through the API to a GCS bucket. firebase is v12 here vs v11 in the web app.

Shared infrastructure

GCP Projects

Cloud is split across several Google Cloud / Firebase projects. Knowing which project a system reads and writes is the single most useful thing to understand before touching production.

GCP projectWhat's in itUsed by
nextsevenagainFirebase Hosting — 3 sites: nextsevenagain, nxt7a-web, nextsevenagain-osAll three static sites
nxt7a-opsFirebase Auth + Firestore for the ops appOperations (OS)
nxt7a-prod / nxt7a-devFirebase Auth + Firestore + Hosting for the product appNxt7a App + Field App
wejugo-geospatial-engineBigQuery warehouse + the Capi agent Cloud Run HemisphereNxt7a App
nxt7a-earthKMS JWT signer for the agent Hemisphere · legacyNxt7a App (agent auth)

Why there are two "clouds" — the Hemisphere → Next Seven Again migration

  • The platform began on Hemisphere-owned GCP projects (wejugo-geospatial-engine, nxt7a-earth). We're progressively lifting the Nxt7a footprint into Next Seven Again-owned projects. Until that's done, some services (BigQuery, the agent, KMS) still live on the Hemisphere side.
  • Two Google accounts: mike@hemisphere.digital (legacy stack) and mike@nextsevenagain.com (NSA stack). gcloud CLI and application-default credentials (ADC) authenticate separately — pass --account / set ADC deliberately.
  • Indigenous Data Sovereignty is a first-class design principle — communities own and control their data. Keep it front of mind in anything that touches assessment or observation data.

Conventions & runbooks

How we work
Repos & branches
  • One repo per system under Next-Seven-Again; local folder names mirror repo names.
  • Work on a branch, open a PR. The main branch is the deploy source.
Deploys are automatic (keyless)
  • Push to main → GitHub Actions deploys via Workload Identity Federation. No keys: GitHub's OIDC token is exchanged for short-lived creds of the github-deployer SA on nextsevenagain (pool github / provider github-oidc, locked to the org).
  • Firestore rules are not in CI (they live on nxt7a-ops) — deploy those by hand.
Secrets
  • Server secrets → GCP Secret Manager. Never in git.
  • .env, *serviceAccount*.json and signing keys are gitignored everywhere.
Runbook — roll back a bad Firebase Hosting deploy

Firebase keeps every previous version. To instantly re-release an earlier one (no rebuild, fully reversible), find the version id in the console's Hosting release history, then re-release it:

# one-click in console: Hosting → site → release history → ⋮ → Rollback # or via REST (token from the firebase CLI / gcloud): POST https://firebasehosting.googleapis.com/v1beta1/ sites/SITE_ID/releases?versionName= sites/SITE_ID/versions/VERSION_ID

Known doc gaps to fix as you go

  • nxt7a_marketing/README.md still describes the old operations app — update it to the nxt7a.com site.
  • nxt7a_app — reconcile DEPLOYMENT.md with the real deploy:dev/deploy:prod scripts.
  • nxt7a_fieldapp — the build:map step is referenced in the README but isn't a package.json script; confirm it exists.

Ownership & glossary

Who & what
Who to ask
  • Mike Welling — Founder & CEO; geospatial, data platform, infra.
  • Ezequiel Muns — Co-Founder & CTO; the Nxt7a engine, Capi, governance layer.
  • Tino Ho — Founding Advisor; GTM.
  • Access requests & support: Jira Service Management or Slack.
Related
  • Core Systems — every SaaS tool & its login.
  • Next-Seven-Again/nxt7a_design_system — the shared design system.
  • SOPs & Policies.
Glossary
Nxt7a — the operating brand/product of Next Seven Again Pty Ltd (the earth-intelligence platform).
NSA — Next Seven Again Pty Ltd, the holding company.
OS — this internal operations app (os.nextsevenagain.com).
Capi — the in-app AI agent (named after Serra da Capivara), built on Google ADK.
Base44 — the low-code platform the app was first built on; being migrated to Firestore + Cloud Run.
Hemisphere — the prior owning entity; some GCP projects (BigQuery, KMS) still live there pending migration.
ADC — Application Default Credentials; the local Google auth that SDKs/CLIs pick up.
WIF — Workload Identity Federation; keyless CI auth to GCP (live — pool github / provider github-oidc on nextsevenagain).
EAS — Expo Application Services; builds & OTA updates for the field app.
R&DTI — R&D Tax Incentive; the AusIndustry program the OS console supports.