Hand deploy findings to devops instead of the developer.
Rubric R13 makes CI, Dockerfile, compose and manifest findings devops-owned; the Hub tags hub.json devops users once when such findings appear. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -50,3 +50,8 @@ Breaks: a rerun changes data again, double counts, or produces a different resul
|
||||
## R12 · Corrections check what they overwrite
|
||||
A data correction writes only rows it has identified by stable business keys (document number, code), and checks that each value it replaces is still the expected old value before writing (compare first, or `WHERE value = old`).
|
||||
`todo` when it overwrites without checking the old value, or when it relies on a hardcoded database id (user, company, warehouse, actor) that is not resolved or checked in the target environment. Breaks: a hardcoded id decides which rows are changed and is not checked against the target environment.
|
||||
|
||||
## R13 · Deploy setup belongs to devops
|
||||
How the application is built, shipped and run is owned by devops, not by the MR's developer: CI files, Dockerfiles, compose files, deploy scripts and manifests, runners, registries, servers and CI variables. Cite R13 on every `bad` or `todo` finding about them, in addition to the rule that decides its kind (a deploy order that breaks is still `bad` under R9). The text says what is wrong, never how to change the CI or deploy setup: devops is tagged and fixes it, and the developer should not edit deploy setup to pass review.
|
||||
When the MR itself changes deploy setup, add a `todo` citing R13 that devops must check that change, even when it looks right.
|
||||
Answers to mentions follow the same rule: deploy and CI questions go to devops; do not suggest CI edits to the developer.
|
||||
|
||||
Reference in New Issue
Block a user