2.6 KiB
2.6 KiB
14. Final Sweep and Verification of Rebrand Completeness
meta: id: rebrand-to-kordant-14 feature: rebrand-to-kordant priority: P0 depends_on: [rebrand-to-kordant-13] tags: [quality-assurance]
objective:
- Perform a comprehensive final sweep of the entire codebase to verify zero "ShieldAI" or "shieldai" references remain in source code (excluding git history and third-party dependencies), and that all builds and tests pass.
deliverables:
- Final verification report
- Any straggling references cleaned up
steps:
- Run comprehensive grep searches across the repo for "ShieldAI" and "shieldai", filtering out:
.git/directorynode_modules/pnpm-lock.yaml,bun.lock- Any false positives (e.g., in git history references)
- For each remaining reference, determine if it needs updating
- Run
pnpm build— verify all packages build - Run
pnpm test— verify all tests pass - Verify web app renders correctly with "Kordant" branding
- Verify browser extension loads with new name
- Review all changed files for consistency (punctuation, casing, sentence flow)
- Run a second sweep to catch any missed references
tests:
- Build:
pnpm buildsucceeds across all packages - Unit:
pnpm testpasses across all packages - Integration: Web app, extension, and mobile builds succeed
acceptance_criteria:
- Zero
ShieldAIorshieldaireferences remain in source code - All packages build successfully
- All tests pass
- Domain
kordant.aiis correctly referenced throughout
validation:
# Final sweep commands
echo "=== ShieldAI (PascalCase) ==="
grep -rn "ShieldAI" --include="*.{ts,tsx,js,jsx,kt,swift,html,svg,yml,yaml,sh,env,toml,json}" . \
--exclude-dir=.git --exclude-dir=node_modules --exclude-dir=.turbo \
| grep -v "pnpm-lock\|bun.lock\|\.next\|dist"
echo "=== shieldai (lowercase) ==="
grep -rn "shieldai" --include="*.{ts,tsx,js,jsx,kt,swift,html,svg,yml,yaml,sh,env,toml,json}" . \
--exclude-dir=.git --exclude-dir=node_modules --exclude-dir=.turbo \
| grep -v "pnpm-lock\|bun.lock\|\.next\|dist"
echo "=== SHIELD (pattern check) ==="
grep -rn "SHIELD" --include="*.{ts,tsx,kt,swift}" . \
--exclude-dir=.git --exclude-dir=node_modules | grep -v "nodemon"
notes:
- The
.gitdirectory contains the old name in commit history — that's expected and should NOT be changed - Third-party dependencies in
node_modules/may reference "shieldai" in cached packages — ignore these - The
tasks/directory contains historical task files with "shieldai" IDs — these are internal planning docs and may optionally be skipped