Skip to content
Toolkit

Job 013: gtm-consolidation

Status: ACTIVE Owner: the lead session, with four parallel workers (infra, toolkit, apple, design)

Updated: 2026-11-22 · Charter: ./README.md

Objective

One repository and one staging environment carry Cardsite to launch; the bar is in the charter and is not restated here.

Completed

  • Import (commit 39cb8b2): platform 1.2.0 as the base; apps/apple, the StudioKit fork and the brand kit; Studio 2.2.0 → design/studio; Icons 7.2.0 → design/icons; marketing v10 → apps/marketing; WIP audits; the Station 1.2.0 texts. Layout and reasons: ADR-0176.

  • Design: Studio 2.2 canonical (ADR-0175); parity ledger takes the fork's 18 swift-only components; check:studio-convergence records 57 known drift rows of 118 mapped tokens; studio:build no longer overwrites the fork's tokens; nested CI archived, design.yml replaces it; marketing's archive address corrected to crd.site in 9 files.

  • Staging (ADR-0177): infra/gcp (module + staging environment, bootstrap.sh), deploy-staging.yml, migrate/seed jobs, generated seed passwords in Secret Manager, smoke.sh, local-native.sh, compose.staging.yml; web nginx upstream templated.

  • Toolkit: apps/toolkit, 312 generated pages, readiness board (60 items), QA and release sources in docs/gtm/.

  • Apple: monorepo paths, Staging configuration and scheme, apple-testflight.yml, check-config.sh, StudioKit convergence audit.

  • Root: manifest to Station 1.2.0 fields, version 1.3.0, README, AGENTS launch rules, index.html generator, tools/logins/check.js + dev-logins.md, Makefile validate/staging-*/site/dist, docs/brand/.

  • Fix found on the way: AdminPageStates.test.tsx queried the send confirmation as dialog; Studio's confirm is alertdialog (2 tests red on the imported tree).

  • Round 2, 2026-11-22 (owner feedback): toolkit rebuilt on Studio 2.2's own components (six sections, dashboard home, one Filter control); archives deleted (ADR-0178); web, marketing, Icons and Apple moved onto Studio 2.2 (ADR-0179; Apple rebuilt with one adaptive shell, the fork deleted); one generator for toolkit, public/ and index.html; make help grouped; make staging works on macOS; make shots. make validate green (4 min 20 s); native staging smoke 15/15.

Active

  • First real deploy: needs a GCP project and the GitHub variables (deploy-gcp.md).

Blockers

  • GitHub Actions billing. Every job of the first push (CI, design, apple, Deploy — Staging (GCP)) was refused before starting: "recent account payments have failed or your spending limit needs to be increased" (A23). No workflow in this repository has executed yet.

  • No GCP credentials and no container registry here. Every registry (Docker Hub, ghcr, gcr, mirror.gcr) and the GCP APIs are refused by this workspace's egress policy, so no image was built and nothing was applied. The topology was verified natively instead (Verification).

  • macOS CI is the only Swift compiler. No Apple build has run since the import; the first apple.yml run on GitHub is the evidence.

Decisions

  • ADR-0175, ADR-0176, ADR-0177. Open questions for the owner are in ROADMAP → DEFERRED, rows marked 013.

Files changed

See the commit; by area: apps/{apple,marketing,toolkit,web}, design/, studio/, infra/, scripts/staging/, .github/workflows/, docs/, tools/, root records.

Verification

  • npm run verify exit 0 (2 min 50 s): studio build/lint, 29 parity gates, convergence, web unit tests incl. the second zone, web build, toolkit tests and drift check.
  • go vet ./... and go test -count=1 ./... green in apps/api against PostgreSQL 16 with all 49 migrations applied by cmd/migrate.
  • make staging-local: 15 of 15 smoke checks (.station/jobs/013-gtm-consolidation/evidence/staging-local-smoke-2026-11-22.log); screens at 1440 and 390 px in .station/jobs/013-gtm-consolidation/evidence/screens.
  • Workers' runs: Studio validate 27/27 and Chromium 209/209; Icons validate 9/9, unit 37/37, Chromium 215/215; marketing build + astro check 0 errors; toolkit tests 40/40 and 343 page loads clean; Apple contract harness 336/336 against the local API, design lint and config check clean; OpenTofu validate + mocked tofu test 3/3; actionlint and shellcheck clean.
  • A fresh clone of main from GitHub (6e9ddcb): npm ci from the lockfile, then npm run verify exit 0.
  • node tools/logins/check.js, node tools/site/root-index.mjs --check, npm run public:check pass.

Next actions

  1. Owner: create the GCP project, run infra/gcp/bootstrap.sh or Terraform, set the four GitHub variables, push to main; record the first green deploy-staging run here.
  2. Owner: set the App Store Connect secrets; the first apple.yml and apple-testflight.yml runs are the Apple evidence.
  3. Then close: reports/CLOSE.md, Status DONE, ROADMAP DONE row.

Source: .station/jobs/013-gtm-consolidation/SESSION.md

Library