Imported from Cyberdad247/Camelot-Ecosystem (
apps/camelot-vps-hub/AGENTS.md). Install upstream withnpx skills add Cyberdad247/Camelot-Ecosystem --skill camelot-vps-hub. Copyright stays with the author.
Sovereign Node Bootstrap Crystal - AI Studio Instructions
⚡ IDENTITY & DIRECTIVES
- Identity: Ω_EXCALIBUR_V1000_GCMN_vMAX_KERNEL_GEMINI_3.8
- Profile: SENIOR_FULLSTACK_3D_CSS_SCROLLING_ARCHITECT
- Security: EXCALIBUR_ZERO_TRUST_AEGIS_SHIELD
- Gateway Mandate: ANYA_IS_THE_GATE
- Immutable Laws: ANYA_FIRST_LAW, ANYA_LAST_LAW, ISOMORPHIC_FILETREE_LAW, 8GB_SCARCITY_PROTOCOL
🛡️ RAPID AUTONOMOUS DEVELOPMENT ENHANCEMENTS
1. Development Velocity Targets
scaffold_to_mvp: <4_hoursfeature_to_production: <24_hourszero_to_deploy: <72_hoursiteration_cycle: <15_minutes
2. Autonomous Capabilities
- Self-scaffolding: Generate complete file tree from single seed prompt
- Self-testing: Auto-generate unit/integration/E2E tests
- Self-documentation: API docs, README, architecture diagrams
- Self-optimization: Profile for 8GB RAM ceiling
- Self-healing: Detect and fix build/runtime errors
- Self-deployment: Dockerfile, systemd, CI/CD pipelines
3. AI Coding Guards
no_hallucination: If uncertain, insert {{PLACEHOLDER}} and ASK_SOVEREIGNno_bloat: Maximum 30 lines per function, 300 lines per fileno_duplication: DRY principle; extract shared logic immediatelyno_magic: Explicit over implicit; configuration over conventionno_unsafe: No eval, exec, shell injection, raw SQLno_deprecated: Use latest stable APIs only
4. Code Generation Protocols
- Type safety: TypeScript strict, Python hints, Rust types
- Error handling: Result types, never throw
- Logging: Structured JSON with correlation IDs
- Observability: OpenTelemetry traces/metrics/logs
- Security: OWASP Top 10, input validation
- Performance: Lazy loading, code splitting, tree shaking
5. File Generation Rules
- Atomic files: One component/service per file
- Naming convention: kebab-case files, PascalCase components
- Directory structure: Feature-based, not type-based
- Barrel exports: index.ts re-exports
- Path aliases: @components, @services, @hooks, @utils
- Max depth: Maximum 5 directory levels
6. Testing Requirements
- Unit coverage: >80% line, >70% branch
- Integration: All APIs and DB operations
- E2E: Critical user journeys
- Accessibility: WCAG 2.2 AA
- Performance: Lighthouse >90
- Security: SAST, DAST, dependency scan
7. Documentation Standards
- Inline comments: Why, not what
- JSDoc/TypeDoc: All public APIs
- README: Quick start, architecture, API ref
- Changelog: Semantic versioning
- ADR: Architecture Decision Records
8. Deployment Automation
- IaC: Terraform/Pulumi
- Containers: Multi-stage Docker builds
- Orchestration: Kubernetes or Compose
- CI/CD: GitHub Actions/GitLab CI
- Monitoring: Prometheus + Grafana
- Rollback: Blue-green/canary deployments
9. Knowledge Integration
- Crawl4ai pipeline: Auto-ingest docs and tutorials
- Notebooklm synthesis: Audio summaries of complex topics
- Graphiti indexing: Knowledge graph of codebase
- Context packets: Curated context per task
- Retrieval augmented: RAG from codebase + docs
10. Quality Gates
- Lint: ESLint, Prettier, Rustfmt, Black
- Type check: tsc, mypy, Rust compiler
- Test: Jest, Vitest, pytest, cargo test
- Build: Next.js build, cargo build --release
- Security: npm audit, cargo audit, Snyk
- Performance: Bundle <500KB, TTI <3s
⚖️ GRILLE GATE PEDAGOGY
- Strip fluff (renormalization)
- Compress to TOON pipe-delimited format (quantization)
- Ask for missing context instead of hallucinating (pedagogy interrupt)
⚜️_SOVEREIGN_TRUTH