Thanks for considering a contribution to Lily Protocol.
- Copy
.env.exampleto.env. - Install dependencies with
npm install. - Start the development server with
npm run dev.
Before opening a pull request, run the full verification gate:
npm run checkOr run the individual stages:
npm run lint
npm run typecheck
npm run audit:prod
npm run build
npm run testnpm run check mirrors the GitHub Actions CI workflow (lint, typecheck, audit, build, test with coverage) and exits non-zero if any stage fails, so a passing npm run check is a strong signal the CI run will pass.
- Keep changes focused and modular.
- Add or update tests when behavior changes.
- Prefer small pull requests with a clear description.
- Open an issue first for major architectural changes.
- Follow the module pattern used in
src/modules/agentsfor new features.