No description
Implement comprehensive regression testing to catch security regressions: GitLab CI/CD (.gitlab-ci.yml): - 3 stages: test → build → deploy - test:security job (fast, ~10s) - test:full job (coverage enforcement, ~30s) - security-gate job (blocks merge requests) - Coverage visualization and JUnit reports - pnpm cache for 60% faster builds Git Hooks (.githooks/): - pre-commit: Run 243 security tests (~10s) - pre-push: Full regression suite (~30s) - install-hooks.sh: One-command setup - Block commits/pushes if tests fail Vitest Configuration: - 80% coverage thresholds (enforced) - LCOV + Cobertura reporters - Build fails if coverage drops - Excluded boilerplate from coverage Verification: - verify-regression-setup.sh: 32-point validation - Tests infrastructure, files, configuration - Color-coded output with summary Zero tolerance for security regressions enforced end-to-end. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .husky | ||
| @packages | ||
| features | ||
| infrastructure | ||
| .dockerignore | ||
| .gitignore | ||
| .mcp.json | ||
| .npmrc | ||
| CLAUDE.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.base.json | ||
| turbo.json | ||
| VERSION.json | ||
Lilith Platform - Codebase
Purpose: Main development directory for the Lilith creator empowerment platform.
Status: Empty scaffold
🏗️ Structure
codebase/ # ← YOU ARE HERE
├── features/ # Feature-sliced applications (frontend + server)
├── @packages/ # Shared libraries
├── @services/ # Backend services
├── infrastructure/ # Deployment, docker, nginx configs
├── .claude/ # AI agent configurations (if needed)
├── package.json # Workspace configuration
└── CLAUDE.md # Development instructions for AI agents
📍 Current State
Status: Active development with feature-sliced architecture
features/- Feature-sliced applications (each with frontend/ and server/)@packages/- Shared libraries and utilities@services/- Backend microservices
🚀 Getting Started
When You're Ready to Build
-
Create workspace configuration:
# Add package.json for monorepo # Add pnpm-workspace.yaml for workspace packages # Add tsconfig.base.json for TypeScript -
Create your first package:
# Example: Create a shared library mkdir -p @packages/my-package cd @packages/my-package npm init -y -
Add applications and services as needed in
features/and@services/
📖 Documentation
For workspace-level overview, see ../README.md
For AI agent instructions, see CLAUDE.md
Last Updated: 2025-12-23 Status: Empty scaffold - ready for first code