chore: full technical rename planarchy → capakraken

Complete rename of all technical identifiers across the codebase:

Package names (11 packages):
- @planarchy/* → @capakraken/* in all package.json, tsconfig, imports

Import statements: 277 files, 548 occurrences replaced

Database & Docker:
- PostgreSQL user/db: planarchy → capakraken
- Docker volumes: planarchy_pgdata → capakraken_pgdata
- Connection strings updated in docker-compose, .env, CI

CI/CD:
- GitHub Actions workflow: all filter commands updated
- Test database credentials updated

Infrastructure:
- Redis channel: planarchy:sse → capakraken:sse
- Logger service name: planarchy-api → capakraken-api
- Anonymization seed updated
- Start/stop/restart scripts updated

Test data:
- Seed emails: @planarchy.dev → @capakraken.dev
- E2E test credentials: all 11 spec files updated
- Email defaults: @planarchy.app → @capakraken.app
- localStorage keys: planarchy_* → capakraken_*

Documentation: 30+ .md files updated

Verification:
- pnpm install: workspace resolution works
- TypeScript: only pre-existing TS2589 (no new errors)
- Engine: 310/310 tests pass
- Staffing: 37/37 tests pass

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
2026-03-27 13:18:09 +01:00
parent f46b38f457
commit cd78f72f33
303 changed files with 938 additions and 878 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
{
"name": "@planarchy/staffing",
"name": "@capakraken/staffing",
"version": "0.1.0",
"private": true,
"type": "module",
@@ -12,10 +12,10 @@
"test:unit:watch": "vitest"
},
"dependencies": {
"@planarchy/shared": "workspace:*"
"@capakraken/shared": "workspace:*"
},
"devDependencies": {
"@planarchy/tsconfig": "workspace:*",
"@capakraken/tsconfig": "workspace:*",
"typescript": "^5.6.3",
"vitest": "^2.1.8"
}
+1 -1
View File
@@ -4,7 +4,7 @@ import type {
Resource,
UtilizationAnalysis,
UtilizationPeriod,
} from "@planarchy/shared";
} from "@capakraken/shared";
export interface CapacityAnalysisInput {
resource: Pick<Resource, "id" | "displayName" | "chargeabilityTarget" | "availability">;
+2 -2
View File
@@ -1,5 +1,5 @@
import type { Resource, ScoreBreakdown, SkillEntry, StaffingSuggestion } from "@planarchy/shared";
import { SCORE_WEIGHTS } from "@planarchy/shared";
import type { Resource, ScoreBreakdown, SkillEntry, StaffingSuggestion } from "@capakraken/shared";
import { SCORE_WEIGHTS } from "@capakraken/shared";
export interface SkillMatchInput {
requiredSkills: string[];
+1 -1
View File
@@ -1,4 +1,4 @@
import type { SkillEntry, ValueScoreBreakdown } from "@planarchy/shared";
import type { SkillEntry, ValueScoreBreakdown } from "@capakraken/shared";
export interface ValueScoreInput {
skills: SkillEntry[];
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "@planarchy/tsconfig/base.json",
"extends": "@capakraken/tsconfig/base.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"