Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2.2 KiB
2.2 KiB
Proposal
Why
Co-Lite has no code yet. Before any lead-tracking work can start, the repository needs the Tastefully modules Co-Lite keeps, plus the two web apps. It also needs a way to run the whole system on a developer machine, because nothing is deployed yet. This is change 1 of 5 in phase 1 (see docs/superpowers/specs/2026-11-26-co-lite-foundation-and-leads-design.md). Go-live is 15 January 2027.
What Changes
- Copy the kept Tastefully modules into this repo from Tastefully commit
8bd93d15: core-libs, core-session, api-gateway, mobile-api, services-auth, services-system, services-counter, services-member, services-log and services-email. - Copy
solvway-admin-portalfrom babyboo commitf64d096eaandsolvway-customer-portalfrom Tastefully. Both are unchanged in this change; they are trimmed in later changes. - Add a root Maven aggregator
pom.xmlso one parallel build covers every kept module. - Change the core-libs version from
tastefully-v1tocolite-v1, so Co-Lite's library cannot overwrite Tastefully's or babyboo's in the shared local Maven repository. - Remove gateway routes for dropped services, plus any code in kept modules that stops compilation or startup without a dropped module.
- Add
local/: a docker-compose stack with MySQL, Redis, the Pub/Sub emulator and every kept backend service, plus one documented start command. - Seed the local MySQL with Tastefully's schemas and reference data, taken from a schema dump the user supplies, plus one company and one admin user.
- Add a smoke check: one existing public mobile-api endpoint that reads from services-counter and MySQL through the gateway.
Capabilities
New Capabilities
local-dev-stack: running the full Co-Lite backend on a developer machine: build, start, seed and smoke-check.
Modified Capabilities
None.
Impact
- New top-level modules and
local/directory; no existing code in this repo is touched. - Shared local Maven repository: adds
com.solvway.core:solvway-core-libs:colite-v1alongside the existing versions. - Requires a Tastefully schema dump from the user before the seed task (task group 4) can finish.
- No production systems or databases are touched. The local MySQL is disposable and dev-only.