Thanks for your interest in contributing!
git clone https://github.com/synth1s/cloak.git
cd cloak
npm install
npm testThis project follows strict TDD. Every change must follow:
- Write the test first (it must fail)
- Implement the minimum code to make it pass
- Refactor if needed
npm test # run all tests
node --test tests/ # same thingTests use node:test (native Node.js test runner). No external test frameworks.
- Node.js ESM (
type: "module") - All user-facing strings in
src/lib/messages.js - All paths in
src/lib/paths.js - One file per command in
src/commands/ - stderr for errors/warnings, stdout for data/success
- One feature or fix per PR
- Include tests for new behavior
- Update documentation if the change affects user-facing behavior
- Run
npm testbefore submitting
See SECURITY.md for reporting vulnerabilities.