-
Notifications
You must be signed in to change notification settings - Fork 0
AI Development Guidelines
The RDCP SDK includes two development guideline files designed to help AI assistants (and human developers) maintain consistency and quality when contributing to this project.
Files
- WARP.md β RDCP-specific development rules and protocol compliance requirements
- warp-generic.md β Universal development standards and best practices
Links
Why these files exist Modern development increasingly involves AI assistance for code generation, refactoring, and troubleshooting. These guidelines establish sane defaults and prevent common pitfalls that occur when AI tools lack project context.
Key concepts
- Protocol Compliance
- WARP.md enforces strict adherence to the RDCP v1.0 specification, preventing protocol deviations that would break interoperability.
- Type Safety
- Both files mandate TypeScript usage with zero any types, ensuring robust SDK interfaces and catching integration errors at compile time.
- File Length Limits
- Enforced constraints (100β300 lines depending on file type) prevent monolithic code and encourage focused, maintainable modules.
- Security Patterns
- Standardized authentication implementations, input validation requirements, and audit trail patterns that meet enterprise compliance needs.
- Test-Driven Development
- Comprehensive testing requirements with specific coverage targets ensure production readiness.
- Anti-Overengineering
- Explicit rules preventing unnecessary complexity and feature creep during AI-assisted development.
How Warp applies rules (summary)
- Project rules are loaded from WARP.md files in the repo; subdirectory WARP.md entries take precedence over the root WARP.md; global rules apply last.
- This ensures the most specific rules (closest to the code youβre editing) guide the agent first.
Who this helps
- Human developers: onboard quickly, understand architectural constraints, and follow proven patterns.
- AI development workflows: provide the context needed to make appropriate technical decisions within project constraints.
The RDCP SDK follows comprehensive documentation patterns that provide complete working examples rather than configuration snippets. When contributing or generating documentation:
- Complete Implementation Examples: Show full working code, not just configuration (see Rate-Limiting, Multi-Tenancy, Audit-Trail)
- End-to-End Flows: Document complete workflows from setup to production (see Integration-Scenarios)
- Client-Side Patterns: Include both SDK and direct HTTP examples (see Client-Fetch-API-Examples)
- Production-Ready Patterns: Show real-world implementations with monitoring, compliance, and security (see JWT-Role-Based-Middleware-Examples)
- Architectural Context: Explain how components work together (see Application-Control-Plane-Concepts)
These patterns ensure AI assistants can generate accurate, complete implementations based on our documentation.
Contributing
- These guidelines are living documents. Iterate, augment, and enhance as the project evolves.
- Follow the comprehensive documentation patterns established in our advanced implementation guides.
Getting Started: Installation β’ Basic Usage β’ Authentication
Migration: From Manual Implementation β’ Framework Examples β’ Publishing Guide
Protocol: RDCP v1.0 Specification β’ Implementation Guide β’ API Reference
π Home | π¦ NPM Package | π GitHub | π Issues
RDCP SDK v1.0.0 - Runtime Debug Control Protocol implementation for JavaScript/Node.js applications
- Application-Control-Plane-Concepts
- rdcp-technical-analysis
- Migration-Guide
- Multi-Tenancy
- Audit-Trail
- Performance Metrics
- Implementation-Status
- JavaScript-vs-TypeScript-Boundaries
- Core-Package-Boundaries
- Publishing-Setup
- Contributing
- API-Reference
- Client-Fetch-API-Examples
- Tracing-Library-Integration-Examples
- Integration-Scenarios
- Trace-Propagation-Demo
- RDCP-Demo-App
- Conformance-Kit
- Conformance-Setup
- Conformance-Tags
- Conformance-Reports
- Conformance-Requirements
- Conformance-CLI
- Protocol Specification
- Implementation Guide
- RDCP-Primitive-Types
- Protocol-Schemas
- Protocol-Error-Codes
- API-Reference
Version: 1.0.0
Protocol: RDCP v1.0
License: Apache-2.0