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:
@@ -436,7 +436,7 @@ The agent operates within the Planarchy monorepo and must adhere to all engineer
|
||||
- **tRPC:** New routers must be registered in `packages/api/src/router/index.ts`
|
||||
- **TypeScript:** `exactOptionalPropertyTypes: true` — use spread pattern, never assign `undefined`
|
||||
- **No speculative abstractions** — only build what the ticket requires
|
||||
- **Quality gates:** `pnpm test:unit`, `pnpm --filter @planarchy/web exec tsc --noEmit`, `pnpm lint`
|
||||
- **Quality gates:** `pnpm test:unit`, `pnpm --filter @capakraken/web exec tsc --noEmit`, `pnpm lint`
|
||||
|
||||
## Arguments
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ Lies `plan.md` und implementiere die Tasks Schritt für Schritt. Führe nach jed
|
||||
- Monorepo: pnpm workspaces + Turborepo
|
||||
- Stack: Next.js 15 App Router + tRPC v11 + Prisma + PostgreSQL
|
||||
- Dev-Server: `pnpm dev` auf Port 3100
|
||||
- DB: PostgreSQL auf Port 5433 (`postgresql://planarchy:planarchy_dev@localhost:5433/planarchy`)
|
||||
- DB: PostgreSQL auf Port 5433 (`postgresql://planarchy:capakraken_dev@localhost:5433/planarchy`)
|
||||
|
||||
## Implementierungs-Reihenfolge (immer einhalten)
|
||||
1. **Prisma Schema** (`packages/db/prisma/schema.prisma`) → `pnpm db:push`
|
||||
@@ -18,14 +18,14 @@ Lies `plan.md` und implementiere die Tasks Schritt für Schritt. Führe nach jed
|
||||
|
||||
## Nach jeder Schema-Änderung (Pflicht!)
|
||||
```bash
|
||||
DATABASE_URL="postgresql://planarchy:planarchy_dev@localhost:5433/planarchy" \
|
||||
pnpm --filter @planarchy/db exec prisma generate
|
||||
DATABASE_URL="postgresql://planarchy:capakraken_dev@localhost:5433/planarchy" \
|
||||
pnpm --filter @capakraken/db exec prisma generate
|
||||
rm -rf apps/web/.next
|
||||
```
|
||||
|
||||
## Quality Gate nach jedem Task
|
||||
```bash
|
||||
pnpm --filter @planarchy/web exec tsc --noEmit 2>&1 | grep -v "BlueprintFieldEditor"
|
||||
pnpm --filter @capakraken/web exec tsc --noEmit 2>&1 | grep -v "BlueprintFieldEditor"
|
||||
# BlueprintFieldEditor TS2589 ist ein bekannter Pre-existing-Error, kein neuer Fehler
|
||||
```
|
||||
|
||||
@@ -47,6 +47,6 @@ refactor: [refactoring-beschreibung]
|
||||
## Abschluss
|
||||
Wenn alle Tasks erledigt:
|
||||
1. `pnpm test:unit` – alle Tests grün?
|
||||
2. `pnpm --filter @planarchy/web exec tsc --noEmit` – sauber?
|
||||
2. `pnpm --filter @capakraken/web exec tsc --noEmit` – sauber?
|
||||
3. Learning in `LEARNINGS.md` eintragen
|
||||
4. `git commit -m "docs: learning erfasst - [kurzbeschreibung]"`
|
||||
|
||||
@@ -113,7 +113,7 @@ Erstelle `research/perf-audit-[datum].md`:
|
||||
2. Lies alle tRPC Router in `packages/api/src/router/`
|
||||
3. Prüfe alle `useQuery`-Aufrufe in `apps/web/src/` auf staleTime und placeholderData
|
||||
4. Führe PostgreSQL `EXPLAIN ANALYZE` auf die wichtigsten Queries aus
|
||||
5. Prüfe Bundle-Größen via `pnpm --filter @planarchy/web build` (optional)
|
||||
5. Prüfe Bundle-Größen via `pnpm --filter @capakraken/web build` (optional)
|
||||
6. Erstelle priorisierten Befundbericht
|
||||
|
||||
Beginne sofort mit Layer 1 (Datenbank) und arbeite dich durch alle Layer.
|
||||
|
||||
@@ -32,7 +32,7 @@ Analysiere die gegebene Anforderung und erstelle einen konkreten Umsetzungsplan.
|
||||
|
||||
### Akzeptanzkriterien
|
||||
- [ ] `pnpm test:unit` läuft grün
|
||||
- [ ] `pnpm --filter @planarchy/web exec tsc --noEmit` – keine neuen Errors
|
||||
- [ ] `pnpm --filter @capakraken/web exec tsc --noEmit` – keine neuen Errors
|
||||
- [ ] [Feature-spezifische Kriterien]
|
||||
|
||||
### Risiken & offene Fragen
|
||||
|
||||
@@ -18,7 +18,7 @@ pnpm test:unit
|
||||
|
||||
### 2. TypeScript
|
||||
```bash
|
||||
pnpm --filter @planarchy/web exec tsc --noEmit 2>&1
|
||||
pnpm --filter @capakraken/web exec tsc --noEmit 2>&1
|
||||
# Bekannter Pre-existing-Error: BlueprintFieldEditor.tsx TS2589 → ignorieren
|
||||
# Alle anderen Errors müssen 0 sein
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user