-
Create a focused branch, for example
feat/profile-api,fix/catalogue-detail, ordocs/readiness. -
Make a narrow change that preserves existing product behavior and add tests for the expected outcome.
-
Run relevant checks and record failures honestly:
npm run lint npm test npm run build npm run test:e2e -
For backend persistence work, use a disposable PostgreSQL database and run migrations and database-backed tests. Never point tests at production.
-
Open a pull request with scope, rationale, test output, screenshots only if actually captured, migration/data impact, and rollback notes.
- Never commit
.envvalues, tokens, private keys, or real student data. - Use synthetic identities with
.exampleaddresses for fixtures. - Catalogue writes happen only through Django admin or
seed_catalogue_bundle; do not add client-side seeding or catalogue writes. - Do not republish scholarship information until source accuracy and reuse rights are checked.
- Route external provider URLs through the application's confirmation and validation path.
- Do not weaken/delete a failing test without an equivalent replacement assertion.
Use the repository's existing imperative conventional style, e.g.
fix(api): scope profile lookup to the owner. Maintain the changelog for user-visible or
operationally important changes. Release/publish only after authorized review.