ADR-0176 — One repository carries the product to launch
Status: Accepted · Date: 2026-11-22 · Track: 013 GTM consolidation · Builds on: ADR-0161 · Amended by: ADR-0179 (Studio 2.2's system and react packages are root workspaces)
Context
Before launch the product lived in six places: the platform monorepo
(csxbase/cardsite-platform 1.2.0), the Apple apps (CS-101126-APPS), the
Studio design system (aidenlive/DESIGN-REPOS, 2.2.0), Cardsite Icons
(7.2.0), the marketing site (v10), and three loose WIP audit pages. Each had its
own CI, its own copy of Studio and its own idea of where the API lived. The
Apple app pointed at a sibling checkout by path; the icons vendored an older
Studio; nothing deployed the marketing site or the audits anywhere the team
could open them.
Decision
aidenlive/Cardsite-GTM is the one repository for launch. The platform tree is
its base, unchanged in place, so every ADR, gate and job path keeps resolving.
The other sources are placed by kind:
| Kind | Path |
|---|---|
| Deployables | apps/api, apps/web, apps/apple, apps/marketing, apps/toolkit |
| Design layer | design/studio (Studio 2.2, ADR-0175), design/icons, design/brand-kit |
| Web runtime of Studio 1.2 | studio/ (unchanged path; the parity gates read it) |
| Infrastructure | infra/ (GCP staging, ADR-0177); deploy/ keeps the self-hosted overlay |
| Product facts | docs/brand/ (the Overview the ADRs already cite, and the Marketing guide) |
design/* and apps/marketing keep their own lockfiles and are not root
workspaces: their React and Astro versions differ from apps/web's, and one
hoisted tree would force a single version on all of them. Their former CI
workflows are archived and replaced by path-filtered root workflows. Their
station.json files stay: each is a nested Station module (Studio is the
design-system role, Icons an asset); the root .station/ is the only project
folder that tracks work.
Imported history is not replayed. The first commit is the sources as received;
each source's own CHANGELOG.md and .archives/ carry its record.
Consequences
- One clone, one
make setup, one CI, one staging environment. - The repositories the sources came from are frozen; a change lands here.
- Nested lockfiles mean
make setupruns four installs, not one.
Alternatives considered
- Git submodules per source — rejected: the Apple app and the toolkit read files across source boundaries, and submodule pins drift silently.
- One root workspace for every package — rejected: React 18 and 19 and Astro in one hoisted tree.
Source: docs/decisions/0176-one-repository-carries-the-product-to-launch.md