Files
Kordant/tasks/rebrand-to-kordant/01-update-monorepo-foundation.md
2026-05-25 21:53:01 -04:00

1.6 KiB

01. Update Monorepo Foundation

meta: id: rebrand-to-kordant-01 feature: rebrand-to-kordant priority: P0 depends_on: [] tags: [infrastructure, configuration]

objective:

  • Update the root package name, workspace metadata, and environment configuration files from ShieldAI to Kordant.

deliverables:

  • Root package.json name changed from "shieldai" to "kordant"
  • Turbo pipeline build:ext and test:ext script references updated
  • Root .env.example updated (DB user, database name, DD_SERVICE)
  • .env.prod.example updated (GITHUB_REPOSITORY_OWNER)
  • .editorconfig: no changes needed (not brand-specific)

steps:

  1. Edit package.json — change "name": "shieldai" to "name": "kordant"
  2. Edit package.json — update "build:ext" script: @shieldai/browser-ext → needs package scope update (will be done in task 03; for now just the script name stays but the scope resolves later)
  3. Edit .env.example — update DATABASE_URL user/db from shieldai to kordant, update DD_SERVICE="shieldai-api" to DD_SERVICE="kordant-api"
  4. Edit .env.prod.example — update GITHUB_REPOSITORY_OWNER=shieldai to GITHUB_REPOSITORY_OWNER=kordant

tests:

  • Unit: Verify package.json name equals "kordant"
  • Unit: Verify .env.example has no "shieldai" references

acceptance_criteria:

  • cat package.json | jq .name returns "kordant"
  • grep -rn "shieldai" .env.example .env.prod.example returns empty
  • grep "DD_SERVICE" .env.example shows "kordant-api"

validation:

  • Run pnpm build from root — should not fail (may have pre-existing errors unrelated to this change)
  • Verify pnpm --filter kordant* style commands work