Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
1.8 KiB
1.8 KiB
Tasks
Serial. One implementer, in this session.
1. Data
- 1.1
sql/01-uppercase-codes.sqlandsql/99-rollback.sql; change the codes inlocal/seed/03-colite.sqltoINSandCV(the@inslogin names it builds follow); apply 01 to the local database.- Depends on: none
- Scope:
local/seed/**,openspec/changes/uppercase-company-codes/sql/** - Verify:
SELECT code FROM companygivesINS,CV; staff login names end in@INSor@CV.
2. Backend
- 2.1 services-system
CompanyServicestores codes in capitals (^[A-Z0-9-]{2,20}$, entered value trimmed and turned to capitals); mobile-api admin login and forgot-password build the login name with the code in capitals.- Depends on: 1.1
- Tests first: create with
cvstoresCV; renamecvtoCVon a company whose code iscvsucceeds;insis taken whenINSexists; an invalid code is refused; login with companycvlooks upuser@CV. - Scope:
solvway-services-system/src/**,solvway-mobile-api/src/** - Verify:
mvn -T 1C -q -pl solvway-services-system,solvway-mobile-api verify
3. Portal
- 3.1 Companies: code inputs show capitals as typed and the rename compares case-sensitively, so
cvtoCVis a change.- Depends on: 2.1
- Tests first: typing
cvshowsCV; renamingcvtoCVsends the request. - Scope:
solvway-admin-portal/app/** - Verify:
cd solvway-admin-portal && npm run lint; echo L=$?; npx tsc --noEmit; echo T=$?; npx vitest run; echo V=$?
4. Release
- 4.1
docs/deployment.mdnotes the SQL and that staff sign in again; Playwright: Companies showsINSandCV, sign in assales9with companycvworks.- Depends on: 3.1
- Scope:
docs/deployment.md,openspec/changes/uppercase-company-codes/tasks.md - Verify: the 2.1 and 3.1 verifies.