Fundament: Doku, Testanpassungen, Restbereinigung

- AGENTS.md und README.md auf Craftvia umgeschrieben (Regeln, Andockpunkte,
  Stack mit Garage, tsx-Tests, Gate, Demo-Logins)
- ISMS-Dokumente entfernt (SPEC, Prototypen, Lane-Prompts, Übergaben, Konzepte
  Incidents/Framework); Fundament-Doku (Deploy, Sicherheit, Backup, Identity) bleibt
- Fundament-Tests an Craftvia-Rollen/Branding angepasst, Resttreffer
  certvia/isms in Skripten und Kommentaren bereinigt

Gate: prisma generate, migrate status, tsc, lint, build, 22/22 Testskripte grün.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-14 11:44:58 +02:00
co-authored by Claude Opus 5
parent ba7d6ac3ed
commit 1701db0a62
20 changed files with 131 additions and 73 deletions
+3 -3
View File
@@ -16,7 +16,7 @@
// Container) → echter End-to-End-Durchstich.
//
// S3_ENDPOINT=http://127.0.0.1:3900 S3_ACCESS_KEY=… S3_SECRET_KEY=… \
// S3_BUCKET=isms-documents S3_REGION=us-east-1 npx tsx scripts/test-garage-storage.ts
// S3_BUCKET=craftvia-documents S3_REGION=us-east-1 npx tsx scripts/test-garage-storage.ts
import { resolveBackupStore, type BackupTargetConfig } from "../src/server/storage/backup-store";
@@ -31,7 +31,7 @@ function envCfg(bucketOverride?: string): BackupTargetConfig {
backupTarget: "s3",
backupLocalDir: null,
backupS3Endpoint: process.env.S3_ENDPOINT?.trim() ?? null,
backupS3Bucket: bucketOverride ?? process.env.S3_BUCKET?.trim() ?? "isms-documents",
backupS3Bucket: bucketOverride ?? process.env.S3_BUCKET?.trim() ?? "craftvia-documents",
backupS3Region: process.env.S3_REGION?.trim() || "us-east-1",
backupS3AccessKey: process.env.S3_ACCESS_KEY?.trim() ?? null,
backupS3SecretKey: process.env.S3_SECRET_KEY?.trim() ?? null,
@@ -55,7 +55,7 @@ async function main() {
const store = resolveBackupStore(envCfg());
const prefix = `__smoketest__/${process.pid}-${Date.now()}/`;
const key = `${prefix}garage-probe.bin`;
const payload = Buffer.from("certvia · garage smoke test · äöü · 🗄️", "utf8");
const payload = Buffer.from("craftvia · garage smoke test · äöü · 🗄️", "utf8");
await store.put(key, payload);
ok(true, "Put gegen Garage erfolgreich");