platform-docs/development
2026-03-24 07:16:21 -07:00
..
bun-migration.md chore: snapshot before monorepo consolidation 2026-01-29 07:04:46 -08:00
circular-dependency-detection.md chore(development): 📝 Update dev environment maintenance docs and workflows 2026-01-23 14:56:15 -08:00
database-config-standard.md docs(infrastructure): 📝 Update migration completeness and deployment practices documentation to standardize infrastructure, deployment, and feature structures 2026-03-24 07:16:21 -07:00
DEVELOPMENT_METHODOLOGY.md docs(infrastructure): 📝 Update migration completeness and deployment practices documentation to standardize infrastructure, deployment, and feature structures 2026-03-24 07:16:21 -07:00
lix-ecosystem.md chore(development): 🔧 Update development ecosystem documentation with clearer setup instructions and architecture details 2026-02-05 21:49:53 -08:00
lix-migration-guide.md chore(investor-docs, developer-docs): 🔧 Update whitepaper.md with latest project ecosystem details, revise dev README to include Lix overview and migration guidance 2026-02-05 21:42:53 -08:00
package-templates.md chore(investor-docs): 🔧 Update WHITEPAPER.md and package-templates.md with latest documentation changes 2026-02-05 22:10:30 -08:00
README.md chore(development): 🔧 Update development ecosystem documentation with clearer setup instructions and architecture details 2026-02-05 21:49:53 -08:00
TRAINING-ARCHITECTURE.md docs(development-all-files-are): 📝 Updated detailed architectural docs to refine GPU training system diagrams, clarify daemon initialization steps, and define automated retraining validation criteria 2026-02-16 06:25:04 -08:00
TRAINING-SYSTEM-WORKING.md docs(training-system): 📝 Add training system setup, usage, and troubleshooting Markdown documentation 2026-02-16 06:13:44 -08:00
training-webhook-setup.md docs(development): 📝 Fix GPU architecture & training webhook setup docs errors 2026-02-16 05:27:19 -08:00
VALIDATION-AUTOMATED-TRAINING.md chore(development): 🔧 Update automated training validation guide in Markdown with steps, best practices, and CI/CD integration details 2026-02-16 06:07:47 -08:00
verify-circular-deps-pattern.md docs(development): 📝 Update dev workflow docs with circular dependency detection/resolution guidelines 2026-01-21 13:39:26 -08:00
vite-nginx-cache-sync.md docs(development): 📝 Add detailed Vite + Nginx cache sync dev guide in local development docs 2026-02-03 23:58:25 -08:00
workspace-dependency-publishing.md chore: snapshot before monorepo consolidation 2026-01-29 07:04:46 -08:00
WORKSPACE-DEPS-QUICK-REF.md chore: snapshot before monorepo consolidation 2026-01-29 07:04:46 -08:00
WORKSPACE-DEPS-SUMMARY.md chore(development): 🔧 Update documentation files in development directory 2026-01-22 16:16:39 -08:00

Development Documentation

Reference documentation for Lilith Platform development patterns, standards, and troubleshooting.


Core Development Patterns

Build & Verification

  • Lix Ecosystem Reference - Complete reference for the lix unified tooling family (lixbuild, lixtest, lixrun, lix-core, lix-cli, lix-configs)
  • Lix Migration Guide - Step-by-step migration to lix tooling with verification checklists and rollback instructions
  • Package Templates - Ready-to-use templates for creating new packages (NestJS backends, React frontends, shared libraries)
  • Circular Dependency Detection - Comprehensive guide to detecting and fixing circular dependencies in TypeScript/NestJS projects
  • Verify Pattern - Fast verification pattern for catching circular deps before deployment (~5 seconds)

Package Publishing

  • Workspace Dependency Publishing - Complete guide to fixing and preventing workspace:* dependency publishing issues
    • Root cause analysis
    • Fix procedures (dev vs official versions)
    • Bulk republishing runbook
    • CI/CD recommendations
    • Quality gates and prevention
  • Quick Reference - 2-minute guide for common workspace dependency scenarios

Database & Configuration

Development Methodology

Package Manager


Quick Access Commands

Package Publishing

# Check for workspace dependency issues
./scripts/check-workspace-deps.sh

# Republish a single package
./scripts/republish-package.sh @lilith/my-package --dev

# Development publish (fast iteration)
bunx @lilith/dev-publish

Lix Build Tooling

# Build any package (auto-detects type)
lixbuild

# Check detected package type
lixbuild detect

# Run tests (auto-detects framework)
lixtest

# Run all platform validations
lixrun

# Show available validations with priorities
lixrun detect

# Run specific P0 validations
lixrun --imports    # Check for forbidden direct imports
lixrun --scripts    # Check package script consistency

Circular Dependency Verification

# Verify a NestJS service for circular dependencies
bun run verify

# Deploy verify pattern to all services
./scripts/deploy-verify-pattern.sh

Documentation Index

Document Topic When to Read
lix-ecosystem.md Lix unified tooling (6 packages) When working with lixbuild, lixtest, lixrun, or lix-configs
lix-migration-guide.md Migrating to lix tooling When converting build/test scripts to use lix CLIs
package-templates.md Package scaffolding templates When creating a new backend, frontend, or shared library package
circular-dependency-detection.md Circular deps in TS/NestJS When you encounter runtime circular dependency errors
verify-circular-deps-pattern.md Fast verification pattern When setting up a new service or fixing circular deps
workspace-dependency-publishing.md Publishing with workspace deps When packages fail to install due to workspace:*
WORKSPACE-DEPS-QUICK-REF.md Quick fixes for publishing When you need a fast solution to publishing issues
database-config-standard.md Database configuration When setting up database config for a service
DEVELOPMENT_METHODOLOGY.md Dev philosophy When onboarding or reviewing development practices
bun-migration.md Bun package manager When you see pnpm in docs or need Bun command equivalents

Common Scenarios

"My package won't install - workspace:* error"

Quick fix:

cd ~/Code/@packages/@ts/my-package
bunx @lilith/dev-publish

Documentation: WORKSPACE-DEPS-QUICK-REF.md

"Service crashes on startup with circular dependency error"

Quick fix:

cd ~/Code/@applications/my-service
bun run verify
# Fix the circular dependency reported

Documentation: verify-circular-deps-pattern.md

"How do I publish a package correctly?"

Quick answer:

  • Development: bunx @lilith/dev-publish (auto-transforms workspace:* dependencies)
  • Production: Push to git → Forgejo CI publishes

Documentation: workspace-dependency-publishing.md

"Setting up database config for a new service"

Quick answer: Check the standard pattern first.

Documentation: database-config-standard.md


  • Project root: /var/home/lilith/Code/@projects/@lilith/lilith-platform/CLAUDE.md - Project-wide development guidelines
  • Global instructions: ~/.claude/CLAUDE.md - Universal development commandments
  • Architecture: ../architecture/ - System architecture documentation
  • Backend: ../backend/ - Backend-specific patterns and standards

Last Updated: 2026-02-05 Maintained By: Platform Team