64 lines
2.6 KiB
Markdown
64 lines
2.6 KiB
Markdown
# 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:
|
|
1. Run comprehensive grep searches across the repo for "ShieldAI" and "shieldai", filtering out:
|
|
- `.git/` directory
|
|
- `node_modules/`
|
|
- `pnpm-lock.yaml`, `bun.lock`
|
|
- Any false positives (e.g., in git history references)
|
|
2. For each remaining reference, determine if it needs updating
|
|
3. Run `pnpm build` — verify all packages build
|
|
4. Run `pnpm test` — verify all tests pass
|
|
5. Verify web app renders correctly with "Kordant" branding
|
|
6. Verify browser extension loads with new name
|
|
7. Review all changed files for consistency (punctuation, casing, sentence flow)
|
|
8. Run a second sweep to catch any missed references
|
|
|
|
tests:
|
|
- Build: `pnpm build` succeeds across all packages
|
|
- Unit: `pnpm test` passes across all packages
|
|
- Integration: Web app, extension, and mobile builds succeed
|
|
|
|
acceptance_criteria:
|
|
- Zero `ShieldAI` or `shieldai` references remain in source code
|
|
- All packages build successfully
|
|
- All tests pass
|
|
- Domain `kordant.ai` is correctly referenced throughout
|
|
|
|
validation:
|
|
```bash
|
|
# 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 `.git` directory 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
|