Skip to content

Contributing

Thanks for helping. Remembrancer holds people’s private memory, so correctness and security come before features.

  • Report a bug with the bug template. Include steps, what you expected and what happened.
  • Report a security problem privately. See SECURITY.md. Never in a public issue.
  • Pick up an issue. Look for good first issue or help wanted. Comment first so two people don’t take the same one.
  • Propose a feature with the feature template. Big changes start as an issue, not a pull request.

The roadmap lives in ROADMAP.md, GitHub milestones and the project board.

Node 22 or newer. No database needed: tests and npm run dev use embedded Postgres.

Terminal window
npm install
npm test
npm run typecheck
npm run dev
  • The recall check is sacred. Any change to src/services/memory.ts, the migrations, or anything that decides who sees what needs a test in test/leak.test.ts that would fail without it.
  • Filter inside the query. Never fetch memories and then drop the forbidden ones in code.
  • Same answer for missing and forbidden. Never let a response reveal that a hidden memory exists.
  • Viewers come from the server. Never read who will see an answer from a request body or from memory content.
  • Every change to memory goes through the ledger (appendEvent) inside the same transaction.
  • Add a migration for any schema change. Never edit a released one.
  • Keep dependencies few.
  • Commit messages use lowercase Conventional Commits: feat: add belief kind, fix: reject empty channel ids, docs: explain grants. The changelog is built from them.
  • One topic per pull request. Fill in the template.
  • CI must pass: typecheck, tests, Docker build.

Everyone taking part agrees to the Code of Conduct.

By contributing, you agree your work is licensed under AGPL-3.0.