specify-rules.mdc 1.4 KB

123456789101112131415161718192021222324252627282930
  1. # pecifica Development Guidelines
  2. Auto-generated from all feature plans. Last updated: 2025-09-29
  3. ## Active Technologies
  4. - TypeScript 5.0+ with Node.js 18+ runtime (001-ts-pacifica-perp)
  5. - TypeScript 5.0+ with Node.js 18+ runtime + ethers.js (Web3), axios (HTTP), commander.js (CLI), winston (logging), joi (validation), WebSocket clients (001-ts-pacifica-perp)
  6. - Local file-based configuration (JSON) for account credentials and trading parameters (001-ts-pacifica-perp)
  7. - TypeScript 5.x (based on existing codebase) + Node.js, WebSocket, Axios, EventEmitter, Winston (logging) (001-ts-pacifica-perp)
  8. - In-memory with configurable cleanup (no persistent storage required) (001-ts-pacifica-perp)
  9. ## Project Structure
  10. ```
  11. src/
  12. tests/
  13. ```
  14. ## Commands
  15. npm test [ONLY COMMANDS FOR ACTIVE TECHNOLOGIES][ONLY COMMANDS FOR ACTIVE TECHNOLOGIES] npm run lint
  16. ## Code Style
  17. TypeScript 5.0+ with Node.js 18+ runtime: Follow standard conventions
  18. ## Recent Changes
  19. - 001-ts-pacifica-perp: Added TypeScript 5.x (based on existing codebase) + Node.js, WebSocket, Axios, EventEmitter, Winston (logging)
  20. - 001-ts-pacifica-perp: Added TypeScript 5.0+ with Node.js 18+ runtime + ethers.js (Web3), axios (HTTP), commander.js (CLI), winston (logging), joi (validation), WebSocket clients
  21. - 001-ts-pacifica-perp: Added TypeScript 5.0+ with Node.js 18+ runtime
  22. <!-- MANUAL ADDITIONS START -->
  23. <!-- MANUAL ADDITIONS END -->