Contributing
Trademark Sentinel is open source under the MIT licence (see LICENSE at the repo root). Contributions of any size are welcome — bug fixes, docs, new sources, and feature work all go through the same PR flow.
The repository’s CONTRIBUTING.md (at the repo root) is the source of truth. This page summarises it and points at the surrounding docs.
Branch model
mainis the integration branch. It is protected: no direct pushes, all changes land via PR with passing CI.- Use short-lived feature branches off
main, namedfeat/<topic>,fix/<topic>, orchore/<topic>. - Open the PR early and keep it small. Rebase
maininto your branch (don’t merge) to keep history linear. - Squash-merge by default, unless preserving the branch’s commits genuinely helps a future reader.
Pulling open-saas updates
Trademark Sentinel is forked from wasp-lang/open-saas and tracks it via the upstream git remote. To pull periodic upstream changes:
git fetch upstreamgit checkout -b chore/upstream-sync maingit merge upstream/main # or rebase, depending on conflict shape# resolve conflicts, run app/ build + parity tests, open PRUpstream syncs go through the same PR + CI gate as any other change — never push a merge commit directly to main.
Commits
- Use Conventional Commits where reasonable:
feat:,fix:,chore:,docs:,test:,refactor:. - Keep commits scoped — don’t bundle unrelated changes.
- Commit signing is not required at this stage. If we enable it later,
CONTRIBUTING.mdis updated first.
Tests and CI
- Every change touching
app/src/sources/must keep the source-adapter parity tests passing (tests/parity/). - Add unit/integration tests alongside the change. CI must be green before merge.
- See Test strategy (FUL-3) §6 for the test phase labels we apply to PRs and the gating rules.
Local development
- Read Prerequisites and install Node 24, Wasp 0.23, and Docker.
- Copy Environment variables defaults into
app/.env.serverandapp/.env.client. - From the repo root:
cd app && wasp start. The dev client runs onhttp://localhost:3000, the server onhttp://localhost:3001.
The repo’s top-level README.md has the canonical quickstart — refer to it if anything here drifts.
Code of conduct
Be kind, assume good faith, focus on the change rather than the contributor. Repository-wide policy follows the standard contributor norms documented in CONTRIBUTING.md; a more formal CoC stub will be added if and when the project needs one.
References
- Product brief and technical plan (FUL-1)
- Foundation workstream (FUL-2)
- Test strategy (FUL-3)
CONTRIBUTING.mdat the repo root (source of truth)LICENSEat the repo root (MIT)