Rebrand Plan — VivaCareUSA → LumisCare

Plan: LumisCare Rebrand — VivaCareUSA → LumisCare

Architect: Petter Graff (Team Lead) Date: 2026-04-05 Estimated execution: 1 working day


Research Summary

Golden Commit

c80a3637 — "ALL TESTS GREEN: Element 100%, CEO 100%, Flow PASS" (2026-01-25) This is the autocoder Day 1 commit: full project skeleton + 500 features registered in features.db. No VivaCareUSA-branded code built yet — cleanest possible rebrand starting point. 411 commits of autocoder feature builds come after this. We rebrand the skeleton, then rerun autocoder.

What Needs Rebranding

Design Tokens — Already Correct

index.css already has the right colors (Jade Green, Neon Blue, Mint Green). Only comments and legacy var names need updating.

Infrastructure — Already Exists

Azure Container Apps, Static Web Apps, Bicep IaC all deployed. deploy-frontends.sh + deploy-demo.sh exist and work.

The Core Problem

10 days of localStorage migrations, BFF wiring, header standardization — none of it was requested. The golden commit worked. We restore it, rebrand it, ship it.


Objective

Branch off c80a3637 (project skeleton, 500 features in DB, zero built code), rebrand all skeleton files (VivaCareUSA/VCC → LumisCare/LC), then run AutoCoder to rebuild all 500 features with LumisCare branding from day 1. No migrations. No patching. Clean rebuild.


Team Orchestration

Team Members

ID Name Role Agent
B1 branch-builder Create clean rebrand branch from golden commit builder
V1 branch-validator Verify branch is clean and builds validator
B2 rebrand-builder Execute mechanical find-replace rebrand codecraft
V2 rebrand-validator Verify zero VCC references remain, app builds validator
B3 design-builder Update CSS legacy var names + comments only builder
V3 design-validator Verify design tokens are correct, no visual regression validator
B4 deploy-builder Deploy to Azure dev environment flowforge
V4 deploy-validator Playwright smoke test on deployed URL sentinel-tester

Step-by-Step Tasks

Phase 1: Restore Golden State

Task 1.1 — Create rebrand branch from c80a3637 skeleton

Task 1.2 — Validate skeleton compiles


Phase 2: Mechanical Rebrand

Task 2.1 — Execute find-replace rebrand

Task 2.2 — Validate zero VCC references


Phase 3: Design Token Cleanup

Task 3.1 — Update CSS comments and legacy var names

Task 3.2 — Validate design tokens


Phase 4: Deploy

Task 4.1 — Deploy to Azure dev environment

Task 4.2 — Smoke test deployed app


Validation Commands (Final)

# 1. Zero VCC references in frontend
grep -rn "VCC\|VivaCare\|vivacare" ~/projects/client/lumiscare/frontend/web/src/ \
  | grep -v "//\|node_modules" | wc -l
# Expected: 0

# 2. Build passes
cd ~/projects/client/lumiscare/frontend/web && yarn build && yarn type-check

# 3. Portal URLs return 200
curl -s -o /dev/null -w "%{http_code}" https://jolly-bay-01cfa3003.6.azurestaticapps.net
curl -s -o /dev/null -w "%{http_code}" https://zealous-hill-097d4b803.6.azurestaticapps.net
curl -s -o /dev/null -w "%{http_code}" https://white-island-07c0e4c03.4.azurestaticapps.net

What This Plan Does NOT Do

Restore → Rebrand → Deploy. That's it.


Risk

Risk Mitigation
Azure DevOps pipeline still named "VCC" Rename pipeline display name only — do NOT touch infra resource names (breaking change)
Backend services still use X-VCC-* headers Frontend and backend header rename must be done in same PR, or keep old header names and only rename in comments
8b0effdc missing some later fixes V1 task verifies build — if broken, use next clean commit after 8b0effdc

Note on headers: X-VCC-Organization-Id is sent by frontend AND read by backend services. If we rename on frontend only, backend breaks. Either rename both simultaneously, or leave headers as-is (they're internal API headers, not user-visible branding).


Execution

Run /build-plan to execute with agent teams.


Revision #2
Created 2026-04-05 21:40:47 UTC by John
Updated 2026-05-31 20:05:31 UTC by John