Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 1.13 KB

REVIEW.md

File metadata and controls

16 lines (14 loc) · 1.13 KB

Review guide

What a reviewer, human or agent, checks on every PR to this repository.

  1. The API first. Does the change keep what spec/openapi.json says? The envelope, pagination by page and page_size, the headers, the error codes.
  2. Rendered files untouched. src/models.rs, src/resources/, the generated tests and spec/ are generated; src/client.rs, src/error.rs, src/pagination.rs, src/lib.rs, the workflows and the contributor files come from the lane's template. All of them change only through sent-dm-sdk-pipeline, which pushes them to main itself and overwrites a hand edit on the next render. A PR editing them here is wrong by construction: send it to the template.
  3. Both checks green on the PR's head commit: test and contract.
  4. No secrets in logs or errors. An API key never reaches a log line or an error message.
  5. Compatibility. A field, an enum value or a resource Sent adds later must not break a customer on this version: enums keep their Other fallback, structs ignore unknown fields.
  6. Changelog line. A feat: or fix: subject a customer can read.