Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 947 Bytes

File metadata and controls

48 lines (36 loc) · 947 Bytes

Contributing to ClawRouter

Setup

git clone https://github.com/BlockRunAI/ClawRouter
cd ClawRouter
npm install
npm run build

Development

npm run dev              # Watch mode
npm test                 # Unit tests (vitest)
npm run typecheck        # Type checking
npm run lint             # Linting
npm run format           # Format code

Testing

npm test                           # Unit tests
npm run test:resilience:quick      # Error + lifecycle tests
npm run test:docker:install        # Docker install test
npm run test:docker:edge-cases     # Edge case tests
npm run test:docker:integration    # Integration tests

Code Standards

  • TypeScript strict mode
  • ESM modules only
  • Format with Prettier, lint with ESLint
  • All tests must pass before PR

Pull Requests

  1. Fork the repo
  2. Create a feature branch
  3. Run full test suite
  4. Submit PR with clear description

License

MIT