> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to BBrands Lab

> How we build the platform: the monorepo, how work is organized and where to find each contribution guide.

> [!NOTE]
>
> **BBrands Lab** is the team, and the way of working, behind Horizon, MaihueGO, Maihue and the
> rest of the platform. This tab explains **how** we build and ship changes. The
> **Documentation** tab explains **what** the platform exposes.

## The monorepo at a glance

All the code lives in a **Turborepo + pnpm** monorepo (Node 24):

| Folder | What it contains |
| - | - |
| `frontend/` | The Next.js applications (portals, consoles and sites) |
| `backend/` | `horizon-api`, the SDKs and this documentation site |
| `mobile/` | The Expo apps (MaihueGO and Maihue Lunch) |
| `packages/` | Shared packages: `@bbrandslab/ui`, `utils` and the configurations |
| `database/` | The Drizzle schema and migrations |
| `docs/` | Initiatives, decisions (ADRs), definitions and runbooks, in English |
| `diagrams/` | Architecture and flow diagrams |

## How work is organized

* **Initiatives.** All work belongs to an initiative in
  `docs/initiatives/<category>/<initiative>/`, with its PRD, its decision log and a `tracker.yml`.
  Every pull request declares the initiative and the tasks it advances.
* **Branches.** Work branches off `develop` and goes back into `develop`. `release` holds the
  candidates and `master` is production.
* **Quality.** The same checks run on your machine (git hooks) and on GitHub (CI and the merge
  queue).

## Sections in this tab

> [card] [Working with Pull Requests](https://docs.bbrands.io/bbrands-lab/pull-requests/overview.md)
>
> How to put a PR together based on its scope, from a fix to a module initiative.

> [card] [Releases](https://docs.bbrands.io/bbrands-lab/releases/overview.md)
>
> CalVer versioning, the release train and promotion between branches.

> [card] [Environments](https://docs.bbrands.io/bbrands-lab/environments/overview.md)
>
> Development, certification and production: what runs in each one.

> [card] [Quality](https://docs.bbrands.io/bbrands-lab/quality/overview.md)
>
> Tests, coverage, lint and the automated checks.

> [!NOTE]
>
> References to the repository (`CONTRIBUTING.md`, `docs/`) require access to
> `bbrandslab/bbrands-monorepo`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.