@rt-tools/agent-kit 0.24.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/assets/agents/business-analyst.md +51 -50
  2. package/assets/agents/conscience.md +37 -35
  3. package/assets/agents/project-manager.md +49 -48
  4. package/assets/agents/prose-editor.md +31 -29
  5. package/assets/agents/qa-engineer.md +50 -48
  6. package/assets/agents/rules-reviewer.md +63 -58
  7. package/assets/agents/skill-curator.md +83 -78
  8. package/assets/agents/spec-critic.md +34 -29
  9. package/assets/agents/spec-writer.md +35 -32
  10. package/assets/agents/strict-teacher.md +39 -37
  11. package/assets/checks/archive-age.mjs +48 -28
  12. package/assets/checks/archive-prune.mjs +16 -14
  13. package/assets/checks/board-epics.github.mjs +75 -41
  14. package/assets/checks/board-folders.mjs +61 -0
  15. package/assets/checks/board-gh.github.mjs +35 -26
  16. package/assets/checks/board-long-work.github.mjs +24 -24
  17. package/assets/checks/board-paths.github.mjs +21 -16
  18. package/assets/checks/board-runs.github.mjs +45 -43
  19. package/assets/checks/board-titles.github.mjs +19 -17
  20. package/assets/checks/board.github.mjs +149 -127
  21. package/assets/checks/check-archive-age.mjs +23 -19
  22. package/assets/checks/check-board.github.mjs +172 -164
  23. package/assets/checks/check-descriptions.mjs +30 -29
  24. package/assets/checks/check-doc-paths.mjs +91 -88
  25. package/assets/checks/check-dupes.mjs +84 -80
  26. package/assets/checks/check-file-size.mjs +74 -71
  27. package/assets/checks/check-glossary.mjs +47 -37
  28. package/assets/checks/check-hook-scope.mjs +30 -27
  29. package/assets/checks/check-lib-layers.mjs +22 -21
  30. package/assets/checks/check-profile-drift.mjs +48 -43
  31. package/assets/checks/check-prose-style.mjs +120 -37
  32. package/assets/checks/check-push-gate.mjs +53 -50
  33. package/assets/checks/check-reuse.mjs +50 -40
  34. package/assets/checks/check-schema-drift.mjs +87 -83
  35. package/assets/checks/check-specs.mjs +155 -134
  36. package/assets/checks/check-state-next.mjs +66 -52
  37. package/assets/checks/check-states.mjs +32 -30
  38. package/assets/checks/check-styles.mjs +52 -51
  39. package/assets/checks/check-turn-map.mjs +54 -46
  40. package/assets/checks/lib-boundaries.mjs +32 -30
  41. package/assets/checks/lib-common.mjs +30 -29
  42. package/assets/checks/lib-domains.mjs +34 -34
  43. package/assets/checks/lib-manifests.mjs +17 -15
  44. package/assets/checks/lib-reexports.mjs +18 -18
  45. package/assets/checks/rt-kit-checks.config.mjs +174 -142
  46. package/assets/checks/signals.mjs +43 -39
  47. package/assets/checks/spec-anchors.mjs +114 -87
  48. package/assets/checks/spec-common.mjs +128 -84
  49. package/assets/checks/spec-contract.mjs +30 -30
  50. package/assets/checks/spec-proposed.mjs +27 -24
  51. package/assets/checks/spec-scenarios.mjs +51 -28
  52. package/assets/checks/task-new.github.mjs +85 -56
  53. package/assets/commands/feedback.md +65 -59
  54. package/assets/commands/next-session.md +64 -57
  55. package/assets/commands/skill-curator.md +83 -79
  56. package/assets/defaults/gate-map.sh +108 -97
  57. package/assets/defaults/project.sh +225 -185
  58. package/assets/defaults/shell.sh +73 -68
  59. package/assets/defaults/turn-map.md +45 -44
  60. package/assets/docs/GLOSSARY.md +142 -65
  61. package/assets/hooks/browser-device-id.sh +12 -12
  62. package/assets/hooks/browser-guard-device-id.sh +30 -28
  63. package/assets/hooks/browser-guard-no-asking.sh +5 -4
  64. package/assets/hooks/browser-guard-no-listing.sh +12 -11
  65. package/assets/hooks/browser-guard-no-other-drivers.sh +48 -42
  66. package/assets/hooks/browser-guard-require-select.sh +34 -23
  67. package/assets/hooks/claim-guard.sh +62 -56
  68. package/assets/hooks/commit-msg.sh +11 -10
  69. package/assets/hooks/conscience-guard.sh +91 -45
  70. package/assets/hooks/constitution-index.sh +16 -16
  71. package/assets/hooks/deny-tail.sh +28 -26
  72. package/assets/hooks/dev-server-guard.sh +46 -43
  73. package/assets/hooks/dispatch.sh +60 -46
  74. package/assets/hooks/docs-guard.sh +100 -91
  75. package/assets/hooks/exam-guard.sh +105 -93
  76. package/assets/hooks/git-guard-delivery-conflict.sh +38 -36
  77. package/assets/hooks/git-guard-delivery-draft.sh +45 -38
  78. package/assets/hooks/git-guard-delivery-folder.sh +50 -43
  79. package/assets/hooks/git-guard-delivery-signature.sh +88 -52
  80. package/assets/hooks/git-guard-delivery.sh +196 -180
  81. package/assets/hooks/git-guard-main.sh +38 -34
  82. package/assets/hooks/git-guard-push-tests.sh +99 -87
  83. package/assets/hooks/glossary-load.sh +23 -22
  84. package/assets/hooks/grill-gate-ask.sh +12 -11
  85. package/assets/hooks/grill-gate.sh +94 -87
  86. package/assets/hooks/guard-note.sh +20 -19
  87. package/assets/hooks/handoff-entry-guard.sh +26 -24
  88. package/assets/hooks/handoff-write.sh +74 -67
  89. package/assets/hooks/hook-input.sh +67 -58
  90. package/assets/hooks/lint-after-edit.sh +95 -61
  91. package/assets/hooks/observe.sh +28 -26
  92. package/assets/hooks/override-write-guard.sh +23 -21
  93. package/assets/hooks/postmortem-guard.sh +42 -39
  94. package/assets/hooks/profile-check.sh +22 -20
  95. package/assets/hooks/proposal-guard.sh +57 -49
  96. package/assets/hooks/prose-style-guard.sh +19 -17
  97. package/assets/hooks/qa-dataid-guard.sh +52 -49
  98. package/assets/hooks/rerun-guard.sh +31 -30
  99. package/assets/hooks/reuse-first-guard.sh +108 -87
  100. package/assets/hooks/roles.sh +14 -14
  101. package/assets/hooks/rule-article.sh +36 -34
  102. package/assets/hooks/rule-source-guard.sh +47 -42
  103. package/assets/hooks/skill-gate-layers.sh +59 -57
  104. package/assets/hooks/skill-gate-rearm.sh +15 -8
  105. package/assets/hooks/skill-gate.sh +89 -81
  106. package/assets/hooks/skill-loaded.sh +6 -6
  107. package/assets/hooks/sql-guard-parse.sh +68 -66
  108. package/assets/hooks/sql-guard-request.sh +48 -46
  109. package/assets/hooks/sql-guard-target.sh +57 -51
  110. package/assets/hooks/sql-guard-write.sh +84 -79
  111. package/assets/hooks/sql-guard.sh +52 -47
  112. package/assets/hooks/stand-login-guard.sh +40 -37
  113. package/assets/hooks/task-context-load.sh +60 -55
  114. package/assets/hooks/task-flow-context.sh +87 -69
  115. package/assets/hooks/task-flow-draft-guard.sh +55 -48
  116. package/assets/hooks/task-flow-guard.sh +67 -64
  117. package/assets/hooks/turn-entry-load.sh +39 -32
  118. package/assets/hooks/turn-exit-guard.sh +256 -204
  119. package/assets/hooks/turn-exit-patterns.sh +53 -0
  120. package/assets/hooks/utf8.sh +11 -11
  121. package/assets/hooks/waiting-turn-guard.sh +94 -94
  122. package/assets/hooks/window-fill-guard.sh +70 -62
  123. package/assets/hooks/work-start-guard.sh +52 -49
  124. package/assets/hooks/write-targets.sh +96 -44
  125. package/assets/laws/autonomous-work.md +29 -27
  126. package/assets/laws/code-structure.md +31 -30
  127. package/assets/laws/delivery.md +148 -137
  128. package/assets/laws/entity-editing.md +52 -50
  129. package/assets/laws/entity-models.md +14 -13
  130. package/assets/laws/frontend-application.md +39 -38
  131. package/assets/laws/lib-imports.md +27 -27
  132. package/assets/laws/lists.md +31 -29
  133. package/assets/laws/navigation.md +37 -37
  134. package/assets/laws/observability.md +41 -40
  135. package/assets/laws/project-documentation.md +106 -99
  136. package/assets/laws/reuse-first.md +31 -29
  137. package/assets/laws/shared-code.md +27 -27
  138. package/assets/laws/verifiability.md +131 -124
  139. package/assets/laws/work-conduct.md +250 -244
  140. package/assets/patterns/admin-lists-screen.md +72 -69
  141. package/assets/patterns/admin-nav-item.md +51 -46
  142. package/assets/patterns/angular-patterns-state.md +32 -31
  143. package/assets/patterns/api-layer-pair.md +33 -31
  144. package/assets/patterns/autonomous-work-run.md +50 -49
  145. package/assets/patterns/browser-verification-measure.md +124 -88
  146. package/assets/patterns/browser-verification-stand.md +169 -157
  147. package/assets/patterns/component-structure-new.md +51 -42
  148. package/assets/patterns/dependencies-upgrade.md +55 -39
  149. package/assets/patterns/doc-style-human.md +55 -37
  150. package/assets/patterns/doc-style-sweep.md +82 -79
  151. package/assets/patterns/doc-style-trace.md +87 -81
  152. package/assets/patterns/doc-style-write.md +130 -122
  153. package/assets/patterns/entity-aside.md +77 -63
  154. package/assets/patterns/entity-models-new.md +37 -37
  155. package/assets/patterns/entity-store.md +33 -33
  156. package/assets/patterns/git-workflow-commit.azure.md +93 -86
  157. package/assets/patterns/git-workflow-commit.github.md +152 -141
  158. package/assets/patterns/git-workflow-commit.gitlab.md +95 -89
  159. package/assets/patterns/git-workflow-docker.md +165 -147
  160. package/assets/patterns/git-workflow-freshness.md +45 -45
  161. package/assets/patterns/git-workflow-merge.md +98 -93
  162. package/assets/patterns/git-workflow-migration.md +54 -52
  163. package/assets/patterns/git-workflow-pr-ready.md +57 -56
  164. package/assets/patterns/git-workflow-pr.azure.md +126 -121
  165. package/assets/patterns/git-workflow-pr.github.md +179 -175
  166. package/assets/patterns/git-workflow-pr.gitlab.md +138 -131
  167. package/assets/patterns/git-workflow-restart.md +35 -31
  168. package/assets/patterns/git-workflow-secrets.md +80 -73
  169. package/assets/patterns/git-workflow-stack.md +131 -106
  170. package/assets/patterns/lib-layers-move.md +62 -53
  171. package/assets/patterns/lib-layers-new.md +59 -45
  172. package/assets/patterns/observability-record.md +72 -67
  173. package/assets/patterns/platform-access-di.md +31 -29
  174. package/assets/patterns/reuse-first-extend.md +66 -61
  175. package/assets/patterns/shared-code-new.md +39 -38
  176. package/assets/patterns/spec-driven-domain.md +161 -151
  177. package/assets/patterns/spec-driven-rule.md +179 -168
  178. package/assets/patterns/spec-driven-sweep.md +41 -39
  179. package/assets/patterns/status-report-table.github.md +37 -36
  180. package/assets/patterns/styling-bem-component.md +42 -42
  181. package/assets/patterns/styling-bem-layout.md +39 -34
  182. package/assets/patterns/styling-bem-sheet.md +59 -58
  183. package/assets/patterns/task-flow-archive.md +222 -215
  184. package/assets/patterns/task-flow-close.md +215 -203
  185. package/assets/patterns/task-flow-handoff.md +154 -145
  186. package/assets/patterns/task-flow-resume.md +138 -133
  187. package/assets/patterns/task-flow-start.md +204 -192
  188. package/assets/patterns/testing-e2e.md +102 -101
  189. package/assets/patterns/testing-unit.md +77 -70
  190. package/assets/patterns/ts-procedure.md +32 -29
  191. package/assets/patterns/turn-entry-map.md +50 -48
  192. package/assets/pitfalls/agent-kit.md +152 -141
  193. package/assets/pitfalls/doc-style.md +96 -91
  194. package/assets/pitfalls/git-workflow.azure.md +49 -46
  195. package/assets/pitfalls/git-workflow.github.md +264 -234
  196. package/assets/pitfalls/git-workflow.gitlab.md +49 -45
  197. package/assets/pitfalls/spec-driven.md +73 -71
  198. package/assets/pitfalls/styling-bem.md +46 -40
  199. package/assets/pitfalls/task-flow.md +262 -246
  200. package/assets/pitfalls/testing.md +99 -92
  201. package/assets/pitfalls/turn-conduct.md +96 -81
  202. package/assets/rules/angular-patterns.md +81 -80
  203. package/assets/rules/api-layer.md +77 -74
  204. package/assets/rules/autonomous-work.md +75 -74
  205. package/assets/rules/browser-verification.md +223 -214
  206. package/assets/rules/component-structure.md +72 -69
  207. package/assets/rules/dependencies.md +74 -67
  208. package/assets/rules/deploy-flow.azure.md +118 -108
  209. package/assets/rules/deploy-flow.github.md +145 -135
  210. package/assets/rules/deploy-flow.gitlab.md +120 -110
  211. package/assets/rules/doc-style.md +198 -173
  212. package/assets/rules/entity-conventions.needs-admin.md +81 -79
  213. package/assets/rules/entity-models.md +73 -70
  214. package/assets/rules/git-workflow.azure.md +224 -228
  215. package/assets/rules/git-workflow.github.md +250 -239
  216. package/assets/rules/git-workflow.gitlab.md +218 -217
  217. package/assets/rules/lib-layers.md +85 -86
  218. package/assets/rules/lists.md +101 -97
  219. package/assets/rules/navigation.md +78 -78
  220. package/assets/rules/observability.needs-app.md +165 -153
  221. package/assets/rules/platform-access.md +76 -75
  222. package/assets/rules/reuse-first.md +153 -143
  223. package/assets/rules/shared-code.md +82 -79
  224. package/assets/rules/spec-driven.md +272 -260
  225. package/assets/rules/status-report.md +55 -58
  226. package/assets/rules/styling-bem.md +81 -77
  227. package/assets/rules/task-flow.md +282 -270
  228. package/assets/rules/testing.md +224 -209
  229. package/assets/rules/turn-conduct.md +255 -258
  230. package/assets/rules/turn-entry.md +92 -87
  231. package/assets/rules/typescript-conventions.md +94 -88
  232. package/assets/samples/specs/_template/spec.md +47 -47
  233. package/assets/samples/tasks/_template/grill.md +20 -20
  234. package/assets/samples/tasks/_template/plan.md +32 -30
  235. package/assets/samples/tasks/_template/progress.md +16 -16
  236. package/assets/skills/agent-kit-extend.md +129 -113
  237. package/assets/skills/agent-kit.md +235 -211
  238. package/assets/skills/write-a-skill.md +76 -71
  239. package/assets/templates/findings.md +19 -19
  240. package/assets/templates/gate-map.sh +16 -14
  241. package/assets/templates/implementation.md +28 -27
  242. package/assets/templates/pattern.md +17 -17
  243. package/assets/templates/pitfalls.md +6 -6
  244. package/assets/templates/postmortem.md +24 -23
  245. package/assets/templates/project.sh +24 -24
  246. package/assets/templates/proposal.md +62 -60
  247. package/assets/templates/rule.md +38 -38
  248. package/assets/workflows/feature.js +46 -46
  249. package/assets/workflows/plan.js +54 -54
  250. package/lib/catalog.d.ts +2 -0
  251. package/lib/catalog.d.ts.map +1 -1
  252. package/lib/catalog.js +4 -3
  253. package/lib/catalog.js.map +1 -1
  254. package/lib/commands.d.ts.map +1 -1
  255. package/lib/commands.js +5 -2
  256. package/lib/commands.js.map +1 -1
  257. package/lib/companion.js +3 -2
  258. package/lib/companion.js.map +1 -1
  259. package/lib/enroll.d.ts +7 -1
  260. package/lib/enroll.d.ts.map +1 -1
  261. package/lib/enroll.js +12 -3
  262. package/lib/enroll.js.map +1 -1
  263. package/lib/plan.d.ts +11 -0
  264. package/lib/plan.d.ts.map +1 -1
  265. package/lib/plan.js +10 -1
  266. package/lib/plan.js.map +1 -1
  267. package/lib/ship.d.ts +0 -7
  268. package/lib/ship.d.ts.map +1 -1
  269. package/lib/ship.js +10 -2
  270. package/lib/ship.js.map +1 -1
  271. package/lib/shipment.d.ts.map +1 -1
  272. package/lib/shipment.js +6 -2
  273. package/lib/shipment.js.map +1 -1
  274. package/lib/sync.d.ts.map +1 -1
  275. package/lib/sync.js +45 -11
  276. package/lib/sync.js.map +1 -1
  277. package/package.json +1 -1
  278. package/rt-tools-agent-kit-0.26.0.tgz +0 -0
  279. package/rt-tools-agent-kit-0.24.0.tgz +0 -0
@@ -2,237 +2,246 @@
2
2
  name: browser-verification
3
3
  kind: rule
4
4
  law: verifiability
5
- description: Правило под «Закон о проверяемости». Брать при любой проверке через браузер и при запросах к дев-серверу. Называет, где подняты приложения дерева, чему на дев-сервере верить нельзя и чем измерять вместо взгляда. Паттерны: browser-verification-stand, -measure.
5
+ description: Rule under the verifiability law. Load for any check through the browser and for requests to the dev server. Names where the tree's applications run, what on the dev server cannot be trusted and what to measure instead of looking. Patterns browser-verification-stand, -measure.
6
6
  ---
7
7
 
8
- # Проверка работающего приложения — как это устроено здесь
8
+ # Checking the running application — how it works here
9
9
 
10
- Правило под закон `docs/constitution/verifiability.md`. Закон говорит, что считается
11
- подтверждением; здесь — где живут приложения, чему на них можно верить и чем измерять. Тесты
12
- под тем же законом — правило `testing`.
10
+ Rule under the law `docs/constitution/verifiability.md`. The law says what counts as confirmation;
11
+ here — where the applications live, what on them can be trusted and what to measure with. Tests
12
+ under the same law — rule `testing`.
13
13
 
14
- ## Как это называется здесь
14
+ ## What it is called here
15
15
 
16
- | В законе | Здесь |
17
- | --------------------------------- | ----------------------------------------------------------------------------------------------- |
18
- | работающее приложение | то, что поднято в этом дереве; перечень и порты — в `implementation.md` рядом |
19
- | место, где его видит пользователь | прод-сборка за настоящим прокси дерева, а не дев-сервер |
20
- | замер | `getComputedStyle`, `getBoundingClientRect`, контраст, совпадение центров, попадание во вьюпорт |
21
- | драйвер браузера | `claude-in-chrome` на закреплённом профиле этого дерева |
16
+ | In the law | Here |
17
+ | -------------------------------- | ------------------------------------------------------------------------------------------------ |
18
+ | the running application | what is up in this tree; the list and the ports — in `implementation.md` next to it |
19
+ | the place where the user sees it | the production build behind the tree's real proxy, not the dev server |
20
+ | measurement | `getComputedStyle`, `getBoundingClientRect`, contrast, matching centres, landing in the viewport |
21
+ | browser driver | `claude-in-chrome` on the pinned profile of this tree |
22
22
 
23
- ## Где это лежит
23
+ ## Where it lives
24
24
 
25
- В этом дереве — таблица в `implementation.md` рядом. Пути живут там, а не здесь: правило
26
- переносится между репозиториями, раскладка — нет, и путь, названный в правиле, врёт в первом
27
- же дереве, которое держит код иначе.
25
+ In this tree — the table in `implementation.md` next to it. Paths live there, not here: the rule
26
+ travels between repositories, the layout does not, and a path named in the rule lies in the first
27
+ tree that keeps its code differently.
28
28
 
29
- ## Ход
29
+ ## Flow
30
30
 
31
- Ход проверки через браузер: что выясняется до первого запроса, где развилка между поднятым и
32
- не поднятым приложением и чем подтверждается вывод.
31
+ The flow of a check through the browser: what is found out before the first request, where the fork
32
+ is between an application that is up and one that is not, and what backs the conclusion.
33
33
 
34
34
  ```mermaid
35
35
  flowchart TD
36
- A[Нужна проверка в браузере] --> B{Порт занят}
37
- B -->|Да| C[Выясняется, что именно отвечает]
38
- B -->|Нет| D{Кто поднимает стенд}
39
- C --> E{Отвечает то самое приложение}
40
- E -->|Да| F[Второй экземпляр не поднимается]
41
- E -->|Нет| T[Занявшее порт останавливается по идентификатору процесса, а не по имени команды]
36
+ A[A check in the browser is needed] --> B{The port is taken}
37
+ B -->|Yes| C[What exactly answers is found out]
38
+ B -->|No| D{Who raises the stand}
39
+ C --> E{The very application answers}
40
+ E -->|Yes| F[A second instance is not raised]
41
+ E -->|No| T[What took the port is stopped by process id, not by command name]
42
42
  T --> D
43
- D -->|Владелец| U[Ему говорят сразу, а не в конце захода: агента отбивает гард]
44
- D -->|Агент| V[Стенд поднимается]
45
- U --> G[Драйвер водит браузер на закреплённом профиле]
43
+ D -->|Owner| U[They are told at once, not at the end of the session: the guard refuses the agent]
44
+ D -->|Agent| V[The stand is raised]
45
+ U --> G[The driver drives the browser on the pinned profile]
46
46
  V --> G
47
47
  F --> G
48
- G --> W{Экран публичный и это первый заход}
49
- W -->|Да| X[Заход метится признаком служебного посещения: иначе он попадёт в счёт гостей]
50
- W -->|Нет| H{Что проверяется}
48
+ G --> W{The screen is public and this is the first visit}
49
+ W -->|Yes| X[The visit is marked with the service-visit sign: otherwise it lands in the guest count]
50
+ W -->|No| H{What is checked}
51
51
  X --> H
52
- H -->|Путь запроса и отдача страницы| I[Проверка идёт за настоящим прокси]
53
- H -->|Вёрстка| J[Замер вычисленных значений, а не взгляд]
54
- I --> K{Расхождение объясняется кэшем}
52
+ H -->|Request path and page delivery| I[The check goes behind the real proxy]
53
+ H -->|Layout| J[Measurement of computed values, not a look]
54
+ I --> K{The divergence is explained by a cache}
55
55
  J --> K
56
- K -->|Да| L[Кэш чистится и замер повторяется: объяснение не подтверждение]
57
- K -->|Нет| M[Вывод называет число и способ его получить]
56
+ K -->|Yes| L[The cache is cleared and the measurement repeated: an explanation is not a confirmation]
57
+ K -->|No| M[The conclusion names the number and the way to get it]
58
58
  L --> M
59
59
  ```
60
60
 
61
- ## Как закон применяется здесь
62
-
63
- - **Второй экземпляр уже поднятого приложения не поднимается.** До первого запроса выясняется,
64
- кто отвечает на порту: поднятый заново экземпляр отвечает своей сборкой, а не той, которую
65
- проверяют. Кто поднимает стенд — владелец или агент, — сказано в именах дерева. Занятый порт,
66
- обнаруженный поздно, означает, что стенд уже есть: запущенное поверх него останавливается по
67
- идентификатору процесса, а не по имени команды — у обоих экземпляров оно одно.
68
- - **Браузер водится одним драйвером на закреплённом профиле.** Остальные двери — второй
69
- драйвер, `open`, `osascript`, запуск бинарника — закреплённый профиль не спрашивают вовсе.
70
- - **Браузер, поднятый библиотекой изнутри скрипта, — та же дверь, что и запуск бинарника.** В
71
- строке команды её не видно вовсе: там стоят имя интерпретатора и путь файла, а вождение лежит
72
- внутри самого файла. Поэтому судится содержимое запускаемого файла и код, переданный доводом
73
- вместо файла; правило, судившее одну командную строку, обещало больше, чем проверяло, и
74
- профиль обошли этой дверью дважды за один заход.
75
- - **Выбор браузера протухает и требует повторного вызова.** Выбор, сделанный в начале
76
- сессии, не держится: после паузы следующий вызов открывает вкладку в другом профиле молча.
77
- - **Отказ выбора профиля кончает работу с браузером, а не начинает поиск обхода.** Профиля среди
78
- подключённых нет — значит, вести некого: состав вкладок, переход и снимок уйдут в тот браузер,
79
- который расширение считает активным, и какой это, не знает никто. Состояние называется владельцу
80
- словом, и работа через браузер стоит до его ответа.
81
- - **Профиль не выбирается из списка и не спрашивается у владельца.** Список отдаёт неустойчивые
82
- имена, которые не опознают ничего, а выбор из него ведёт на профиль без входа.
83
- - **Ненастроенная стража — повод остановиться, а не разрешение ехать.** Пропуск гарда при
84
- молчащем помощнике сделан затем, чтобы сломанная обвязка не заводила работу в тупик, и
85
- разрешением работать мимо профиля не считается. Исполнитель, получивший от помощника пустой
86
- вывод, называет это владельцу и браузер не водит: вкладка откроется в том профиле, который
87
- расширение сочло активным, а какой это профиль — не знает никто.
88
- - **Экран, закрытый входом, проверяется стендом с подменённым ответом входа, а не живой учётной
89
- записью.** Приложение получает вход тем же путём, что у человека, — формой, — а отвечает на неё
90
- стенд; признак, которым закрыт экран, приходит подменённым профилем. Просьба к человеку сделать
91
- шаг проверки — набрать пароль, открыть вкладку, нажать кнопку — означает неверно выбранный
92
- путь, а не нехватку прав у исполнителя.
93
- - **Правка числа элементов в контейнере — это правка раскладки.** Стили она не трогает, и потому
94
- читается как правка разметки, а проверка сводится к кодам ответа: страницы отвечают на всех
95
- локалях, а документ уже вдвое шире вьюпорта. Закрывается она замером — ширина документа против
96
- ширины вьюпорта на узком экране, — а не взглядом на снимок: снимок показывает то, что влезло в
97
- кадр. Ряд без переноса и без узкой раскладки, выросший с четырёх элементов до восьми, продержал
98
- боковую прокрутку на каждой странице сайта сорок четыре минуты прода.
99
- - **Замер делается на самом длинном значении, а не на образцовом.** Наезд, вылезание за край и
100
- обрезка без признака видны только там, где содержимое в своё место не влезает; на коротком
101
- значении всё три выглядят исправными. Значение для замера берётся предельное — то, какое узел
102
- может получить у настоящего потребителя, а не то, какое стоит в примере.
103
- - **Готовое из набора, взятое под значения другого размера, меряется, а не разглядывается.**
104
- Компонент, живший там, где значения короткие, в новом месте получает значение вчетверо
105
- длиннее — и ведёт себя иначе, оставаясь тем же кодом. Спека этого не видит вовсе: обрезка
106
- браузером в разметке не отражается, и текст приходит из неё целым.
107
- - **Прокси стенда подставляет то, по чему приложение узнаёт арендатора запроса.** Дерево, которое
108
- держит несколько организаций за одним приложением, узнаёт их по заголовку, а сервер отрисовки
109
- кладёт туда свой хост: приложение отвечает отказом на каждый вызов. Снаружи это страница «не
110
- найдено» — выглядит как дефект кода, а не стенда. Замер тремя заголовками на одном стенде: свой
111
- хост с портом — отказ, свой хост без порта — отказ, имя арендатора — страница. Отличает одно от
112
- другого подстановка заголовка, а не чтение кода.
113
- - **Прод-конфигурация проверяется только за настоящим прокси.** Голый сервер отдачи страниц
114
- про кэш, перенаправления и заголовки не знает ничего.
115
- - **Показанное человеку собрано из той работы, о которой идёт речь.** Стенд собирается с ветки
116
- этой правки, а не с той, на которой стоит исполнитель: сборка с чужой ветки показывает дерево
117
- без правки, и человек читает это как «не сделано». Сказанное о показанном называет ветку, с
118
- которой оно собрано. Один такой показ стоил двух ходов: владелец повторил замечание, по
119
- которому правка давно сделана, а исполнитель взялся объяснять уже исправленный дефект.
120
- - **Ветка работы держит вершину главной влитой всё время, а не только перед отдачей.** Отставшая
121
- ветка собирается в стенд, на котором нет ни чужих правок, ни своих соседних, и показанное на
122
- нём описывает дерево, которого нет ни у кого. Вершина подтягивается, когда о её движении стало
123
- известно, а не когда работа кончилась.
124
- - **Первый заход на публичный экран метится признаком служебного посещения.** Драйвер водит
125
- обычный браузер, и счётчик посещений не отличает проверку от гостя: `navigator.webdriver` у
126
- него `false`, строка `User-Agent` — живого браузера. Чем метится заход, сказано в именах
127
- дерева; признак, который живёт в хранилище браузера, дописывается один раз на профиль, а не
128
- к каждому адресу.
129
-
130
- - **Экран, данных для которого в базе разработки не бывает, меряется настоящими стилями
131
- компонента.** Разметка вставляется в уже открытый экран со своим атрибутом области, и правила
132
- оформления применяются к ней те же, что применились бы к живой строке. Это приём, а не обход:
133
- замеряются те же вычисленные значения, а выдумывается только содержимое строки. Обходом было
134
- бы измерить чужой экран и назвать это замером нужного.
135
-
136
- - **Замер, который придётся повторять, снимает сквозная спека, а не драйвер.** Ширина окна,
137
- положение узла и уход содержимого вбок читаются в ней теми же вычисленными значениями, вьюпорт
138
- задаётся на весь набор, и число сходится при каждом прогоне — а замер руками живёт один заход
139
- и уходит вместе с ним. Драйвер остаётся там, где смотрят на незнакомый экран: он отвечает на
140
- «что тут происходит», а не подтверждает известное число. Вывод «замер снять нечем», сделанный
141
- на закрытом входе, чаще всего означает, что искали не тем.
142
-
143
- - **Замер снимается до показа работы владельцу, а не после его замечания.** Показанное без
144
- замера — заявка на проверку, а не проверка: на снимке слипшиеся вплотную карточки читаются как
145
- одна с длинным содержимым, обрезанная тень — как её отсутствие, нулевой промежуток — как плотная
146
- вёрстка. Каждый такой дефект виден одной командой замера. Числа, снятые с образца заранее,
147
- сверяются с реализацией тем же ходом: работа по пересказу образца словами расходится с ним
148
- незаметно.
149
-
150
- Вывод о вёрстке подкрепляется числом: «выглядит нормально» результатом проверки не бывает.
151
- Этого не стережёт ничто — как измерять, разобрано в паттерне `browser-verification-measure`.
152
-
153
- ## Чего из закона здесь нет
154
-
155
- Проверки на прямое обращение к окружению браузера нет — это `Q-FA-1` в законе о фронтовом
156
- приложении: такое обращение компилируется и падает только при отдаче страницы сервером.
157
-
158
- ## Паттерны
159
-
160
- - `browser-verification-stand` — честный стенд из прод-сборки, вход в закрытое приложение,
161
- разбор порта.
162
- - `browser-verification-measure` — замер вместо взгляда, ловушки инструмента `computer`.
163
-
164
- ## Ловушки
165
-
166
- - **Сначала выяснить, что отвечает на порту:** `lsof -nP -iTCP:<порт> -sTCP:LISTEN` до первого
167
- запроса. На порту приложения регулярно висит собранный артефакт из прошлой сессии — он
168
- отвечает 200 старым кодом, а заведённого в ветке обработчика у него нет вовсе, и 404 читается
169
- как дефект регистрации. Таких процессов бывает несколько; снятие по шаблону команды не
170
- попадает ни в один — убивать по PID из `lsof`, каждый.
171
- - **Шаблон имени команды не годится ни чтобы попасть, ни чтобы не задеть.** Два экземпляра
172
- одного стенда — уже поднятый и только что запущенный — по тексту команды неотличимы: она у них
173
- одна и та же. Снятие по шаблону уносит оба, и разобрать это потом нечем: снятым оказывается
174
- ровно тот стенд, ради которого всё затевалось. Своё и чужое различает только идентификатор
175
- процесса, снятый разбором порта; им и останавливают, поштучно. Обратный промах тот же по
176
- природе — оболочка запускает процесс под именем, которого в шаблоне нет, и снятие не попадает
177
- ни во что.
178
- - **Снятие процесса бывает отбито, и тогда стенд поднимается рядом, а не вместо.** Отбить его
179
- может среда исполнения — и по своему же стенду прошлого захода; ни разрешение на команду, ни
180
- переформулировка тут не помогают. Ход отсюда один: свободный порт для нового стенда, а список
181
- оставленного называется владельцу в конце захода — снять их может только он. Не названные так,
182
- стенды копятся заходами и держат соединения к хранилищу.
183
- - **Замер снимает и сквозная спека, а не только драйвер браузера.** Ширина окна, положение узла
184
- и уход документа вбок читаются в ней теми же вычисленными значениями, вьюпорт задаётся на набор
185
- тестов, а результат повторяется при каждом прогоне — в отличие от замера руками, который живёт
186
- ровно один заход. Драйвер остаётся там, где смотрят на незнакомый экран, а не подтверждают
187
- известное число.
188
- - **Утверждение о прод-сборке делается по самой сборке, а не по ветке.** Между веткой и тем, что
189
- отдано читателю, стоит сборка образа: она подставляет значения окружения, вырезает
190
- неиспользованное и переименовывает символы. Сказанное «в сборке лежит вот это» проверяется
191
- поиском по отданному файлу — тем более когда речь идёт как раз о значении, которое сборка и
192
- подставляет.
193
- - Инкрементальная сборка протухает поштучно: разметка бывает уже новая, а клиентский чанк — от
194
- компиляции до правки. Признак дев-сборки — имена бандла без хеша (`main.js`). Расхождение
195
- между `curl` и страницей после гидратации — повод пересобрать, а не искать дефект в коде.
196
- Отсюда же нельзя делать вывод «такого маршрута нет»: сверяться с объявлением маршрутов.
197
- - **Кэш объясняет расхождение, но не подтверждает его.** В `.angular/cache/…/vite/deps` лежат
198
- только пакеты из `node_modules`, кода репозитория там нет вовсе. Вывод «дефекта нет, это
199
- кэш» закрывает разбор, поэтому принимается только после проверки на чистой сборке — три
200
- круга ушло на застрявшую панель ленты событий, пока дефект лежал в снятии аутлета.
201
- - **Кэширующий шаг сборки без объявленных выходов отдаёт прошлое молча.** Попадание в кэш при
202
- этом происходит, а восстанавливать нечего: сборщик не запускается, и в каталоге сборки
203
- остаётся то, что лежало от прошлого раза. Стенд поднимает эту сборку, и приложение ведёт себя
204
- как код, которого в дереве нет. Ловушка выше — про другой кэш: тот объясняет расхождение, этот
205
- его создаёт, и вывод сборщика при нём зелёный. Прежде чем искать дефект в экране, у шага
206
- сборки спрашивают объявленные выходы; проверяется это сносом каталога сборки и повторным
207
- вызовом — после попадания в кэш он обязан восстановиться.
208
- - Сообщение `Angular debugging APIs are not available` в консоли принадлежит расширению
209
- Chrome, а не приложению: прод-сборка не публикует `window.ng`. Лечить правкой кода не надо —
210
- `window.ng` в проде это карта внутренностей в руках любого, кто откроет консоль.
211
- - Поведение роутера воспроизводится нажатиями: подстановка адреса и заход по прямой ссылке
212
- поднимают приложение заново, и накопленного состояния у него нет.
213
- - Замер отвечает только на заданный вопрос. Строки попапа профиля сошлись с образцом по
214
- отступам, кеглю и скруглению, а фон на наведении образец в этом месте не красит вовсе —
215
- полноширинная подсветка держалась два круга при верных числах.
216
- - **Если сменилась версия пакета, который рисует вёрстку, экраны обходят руками.** Тесты
217
- нажимают по `qa-dataid` и остаются зелёными, даже когда отступ съехал, размер пропал, а
218
- строка стала другой высоты: они проверяют переходы, а не вид. Пары скриншотов тут тоже мало
219
- — смотрят по очереди все экраны, которые этот пакет рисует.
220
- - **Путей запуска здесь три, и проверять их надо порознь:** локальная команда, образ
221
- `deploy/api.Dockerfile` и состав `docker-compose.prod.yml`. Переменная, заданная в команде
222
- проверки, не говорит про образ ничего: в составе прода она есть, а ручной прогон того же
223
- образа идёт без неё. Пути перечисляются до проверки, а не после того, как один из них
224
- сошёлся.
225
- - **Признак снимается с вопроса владельца, а не с предмета правки.** Отданная сервером страница
226
- отвечает на «собралось ли», и на «видно ли» она не отвечает никогда: показ живёт после
227
- гидратации, а картинка — после запроса к чужой службе. Признаки под второй вопрос свои —
228
- `naturalWidth` у картинки больше нуля, узел показа появился на поднятой странице, — и снимаются
229
- они драйвером, а не запросом к адресу.
230
- - **Чужой отказ службы диагнозом настройки не бывает.** `403` называет состояние проекта у
231
- поставщика и молчит о том, какое значение лежит в настройке дерева; прочитанный как диагноз, он
232
- уводит в починку того, что цело, — а само значение читается одной командой на своей стороне.
233
- Владельцу оно тем более не заказывается: у захода оно уже есть.
234
- - **Прежнее поведение читается кодом той версии:** `git show <коммит до правки>:<файл>`. Тело
235
- коммита называет, что правка сменила, и молчит о том, что было верно до неё; условие показа, в
236
- которое дописано ещё одно обязательное значение, гасит показанное раньше и в самой правке
237
- выглядит уточнением. Правка соседней задачи, выкатившаяся тем же днём, входит в проверку прода
238
- наравне со своей: ветка отвечает за то, что уехало вместе с ней.
61
+ ## How the law applies here
62
+
63
+ - **A second instance of an application that is already up is not raised.** Before the first request
64
+ it is found out who answers on the port. An instance raised anew answers with its own build, not
65
+ the one under check. Who raises the stand — the owner or the agent — is said in the tree's names.
66
+ A taken port discovered late means the stand already exists: what was started on top of it is
67
+ stopped by process id, not by command name — both instances share the same one.
68
+ - **The browser is driven by one driver on the pinned profile.** The other doors — a second driver,
69
+ `open`, `osascript`, launching the binary — do not ask the pinned profile at all.
70
+ - **A browser raised by a library from inside a script is the same door as launching the binary.**
71
+ The command line does not show it at all. There stand the interpreter name and a file path, and
72
+ the driving lies inside the file itself. So what is judged is the content of the file being run,
73
+ and the code passed as an argument instead of a file. A rule that judged one command line promised
74
+ more than it checked, and the profile was bypassed through this door twice in one session.
75
+ - **The browser choice goes stale and needs a repeated call.** A choice made at the start of the
76
+ session does not hold: after a pause the next call opens a tab in another profile silently.
77
+ - **A refused profile choice ends the work with the browser; it does not start a search for a
78
+ workaround.** The profile is not among the connected ones — so there is nobody to drive. The tab
79
+ list, the navigation and the screenshot will go to whichever browser the extension counts as
80
+ active, and which one that is nobody knows. The state is named to the owner in words, and work
81
+ through the browser stands until their answer.
82
+ - **The profile is not picked from the list and not asked from the owner.** The list gives unstable
83
+ names that identify nothing, and a pick from it leads to a profile without a sign-in.
84
+ - **An unconfigured guard is a reason to stop, not a permission to go on.** The guard lets the
85
+ action through when the helper is silent, so that a broken harness does not stall the work. It
86
+ does not count as permission to work past the profile. An executor who got empty output from the
87
+ helper names that to the owner and does not drive the browser: the tab would open in the profile
88
+ the extension took for active, and which profile that is nobody knows.
89
+ - **A screen behind sign-in is checked on a stand with a substituted sign-in answer, not with a live
90
+ account.** The application gets the sign-in as a person gives it, through the form, and the stand
91
+ answers it. The sign that closes the screen arrives with the substituted profile. Asking a person
92
+ to do a step of the check — type a password, open a tab, press a button — means a wrongly chosen
93
+ path, not a lack of rights on the executor's side.
94
+ - **Changing the number of elements in a container is a layout edit.** It touches no styles, so it
95
+ reads as a markup edit, and the check shrinks to response codes. The pages answer in every locale,
96
+ and the document is already twice the viewport width. It is closed by a measurement — document
97
+ width against viewport width on a narrow screen — not by a look at a screenshot: a screenshot
98
+ shows what fit into the frame. A row with no wrapping and no narrow layout, grown from four
99
+ elements to eight, held a horizontal scrollbar on every page of the site for forty-four minutes of
100
+ production.
101
+ - **A measurement is taken on the longest value, not on the sample one.** Overlap, overflow past the
102
+ edge and clipping without a sign show only where the content does not fit its place. On a short
103
+ value all three look fine. The value for measurement is the extreme one — what the node can get
104
+ from a real consumer, not what stands in the example.
105
+ - **A ready-made kit piece taken for values of another size is measured, not looked at.** A
106
+ component that lived where values are short gets a value four times longer in its new place. It
107
+ behaves differently while staying the same code. The test does not see this at all: clipping by
108
+ the browser is not reflected in the markup, and the text comes out of it whole.
109
+ - **The stand proxy supplies what the application recognises the request's tenant by.** A tree that
110
+ keeps several organisations behind one application tells them apart by a header. The rendering
111
+ server puts its own host there, and the application answers every call with a refusal. From
112
+ outside that is a "not found" page — it looks like a code defect, not a stand defect. The
113
+ measurement is three headers on one stand: own host with port — refusal, own host without port —
114
+ refusal, the tenant name — the page. What tells one from the other is substituting the header, not
115
+ reading the code.
116
+ - **The production configuration is checked only behind the real proxy.** A bare page-serving server
117
+ knows nothing about caching, redirects and headers.
118
+ - **What is shown to a person is built from the work under discussion.** The stand is built from the
119
+ branch of this edit, not from the one the executor is standing on. A build from another branch
120
+ shows the tree without the edit, and the person reads that as "not done". What is said about the
121
+ shown names the branch it was built from. One such showing cost two turns: the owner repeated a
122
+ remark whose edit had long been made, and the executor set about explaining a defect already
123
+ fixed.
124
+ - **The work branch keeps the tip of main merged in the whole time, not only before delivery.** A
125
+ branch that has fallen behind builds into a stand with neither others' edits nor one's own
126
+ neighbouring ones. What is shown on it describes a tree nobody has. The tip is pulled in when its
127
+ movement became known, not when the work ended.
128
+ - **The first visit to a public screen is marked with the service-visit sign.** The driver drives an
129
+ ordinary browser, and the visit counter does not tell a check from a guest. Its
130
+ `navigator.webdriver` is `false`, its `User-Agent` string is a live browser's. What marks the
131
+ visit is said in the tree's names; a sign that lives in browser storage is written once per
132
+ profile, not for every address.
133
+
134
+ - **A screen whose data never exists in the development database is measured with the component's
135
+ real styles.** The markup is inserted into an already open screen with its own scope attribute.
136
+ The styling rules apply to it the same as they would to a live row. This is a technique, not a
137
+ workaround: the same computed values are measured, and only the row content is invented. A
138
+ workaround would be measuring another screen and calling that a measurement of the needed one.
139
+
140
+ - **A measurement that will have to be repeated is taken by an end-to-end test, not by the driver.**
141
+ Window width, node position and content going sideways are read there by the same computed values.
142
+ The viewport is set for the whole suite, and the number agrees on every run — while a manual
143
+ measurement lives one session and leaves with it. The driver stays where an unfamiliar screen is
144
+ looked at: it answers "what is going on here", it does not confirm a known number. The conclusion
145
+ "there is nothing to measure with", reached at a closed sign-in, most often means the search used
146
+ the wrong tool.
147
+
148
+ - **A measurement is taken before the work is shown to the owner, not after their remark.** Shown
149
+ without a measurement is a request for a check, not a check. On a screenshot cards stuck tight
150
+ together read as one with long content, a clipped shadow as no shadow, a zero gap as dense layout.
151
+ Each such defect is visible by one measurement command. Numbers taken from the reference in
152
+ advance are checked against the implementation the same way: work done by retelling the reference
153
+ in words diverges from it unnoticed.
154
+
155
+ A conclusion about layout is backed by a number: "looks fine" is never a check result. Nothing
156
+ guards this — how to measure is covered in pattern `browser-verification-measure`.
157
+
158
+ ## What of the law is not here
159
+
160
+ There is no check for direct access to the browser environment — that is `Q-FA-1` in the
161
+ frontend-application law: such access compiles and fails only when the page is served by the server.
162
+
163
+ ## Patterns
164
+
165
+ - `browser-verification-stand` — an honest stand from the production build, signing in to a closed
166
+ application, sorting out a port.
167
+ - `browser-verification-measure` — measurement instead of a look, pitfalls of the `computer` tool.
168
+
169
+ ## Pitfalls
170
+
171
+ - **First find out what answers on the port:** `lsof -nP -iTCP:<port> -sTCP:LISTEN` before the first
172
+ request. A built artifact from a past session regularly hangs on the application port. It answers
173
+ 200 with old code, and the handler created in the branch it does not have at all, so a 404 reads
174
+ as a registration defect. There may be several such processes; killing by command pattern hits
175
+ none of them — kill by PID from `lsof`, each one.
176
+ - **A command-name pattern is no good either to hit or to spare.** Two instances of one stand — the
177
+ one already up and the one just started — cannot be told apart by command text. It is the same for
178
+ both. Killing by pattern takes both, and there is nothing to sort it out with afterwards: what
179
+ gets killed is exactly the stand everything was started for. Own and foreign are told apart only
180
+ by the process id taken by sorting out the port; that is what stops them, one by one. The reverse
181
+ miss is the same in nature — the shell starts the process under a name the pattern lacks, and the
182
+ kill hits nothing.
183
+ - **Killing a process may be refused, and then the stand is raised alongside, not instead.** The
184
+ runtime environment may refuse it — even for one's own stand from a past session. Neither a
185
+ permission for the command nor rewording helps here. There is one move from here: a free port for
186
+ the new stand, and the list of what was left is named to the owner at the end of the session —
187
+ only they can kill those. Not named so, stands pile up across sessions and hold connections to the
188
+ storage.
189
+ - **A measurement is also taken by an end-to-end test, not only by the browser driver.** Window
190
+ width, node position and the document going sideways are read there by the same computed values.
191
+ The viewport is set for the test suite, and the result repeats on every run — unlike a manual
192
+ measurement, which lives exactly one session. The driver stays where an unfamiliar screen is
193
+ looked at, not where a known number is confirmed.
194
+ - **A statement about the production build is made from the build itself, not from the branch.**
195
+ Between the branch and what is served to the reader stands the image build. It substitutes
196
+ environment values, cuts out the unused and renames symbols. "The build holds this" is checked by
197
+ a search over the served file — all the more when the matter is exactly the value the build
198
+ substitutes.
199
+ - An incremental build goes stale piece by piece: the markup may already be new while the client
200
+ chunk is from a compilation before the edit. The sign of a dev build is bundle names without a
201
+ hash (`main.js`). A divergence between `curl` and the page after hydration is a reason to rebuild,
202
+ not to look for a defect in the code. Nor can "there is no such route" be concluded from here:
203
+ check against the route declaration.
204
+ - **A cache explains a divergence but does not confirm it.** `.angular/cache/…/vite/deps` holds only
205
+ packages from `node_modules`, none of the repository code. The conclusion "no defect, it is the
206
+ cache" closes the investigation, so it is accepted only after a check on a clean build. Three
207
+ rounds went on a stuck event feed panel while the defect lay in the outlet teardown.
208
+ - **A caching build step without declared outputs serves the past silently.** The cache hit happens,
209
+ and there is nothing to restore: the builder does not run, and the build directory keeps what lay
210
+ there from last time. The stand raises that build, and the application behaves like code that is
211
+ not in the tree. The pitfall above is about another cache: that one explains a divergence, this
212
+ one creates it, and the builder's output is green with it. Before looking for a defect in the
213
+ screen, the build step is asked for its declared outputs; that is checked by removing the build
214
+ directory and calling again — after a cache hit it must restore itself.
215
+ - The message `Angular debugging APIs are not available` in the console belongs to the Chrome
216
+ extension, not to the application: the production build does not publish `window.ng`. No code edit
217
+ is needed to cure it — `window.ng` in production is a map of the internals in the hands of anyone
218
+ who opens the console.
219
+ - Router behaviour is reproduced by clicks: substituting the address and entering by a direct link
220
+ raise the application anew, and it has no accumulated state.
221
+ - A measurement answers only the question asked. The rows of the profile popup matched the reference
222
+ by padding, font size and rounding, while the reference paints no hover background there at all —
223
+ a full-width highlight held on for two rounds with correct numbers.
224
+ - **When the version of the package that draws the layout changed, the screens are walked by hand.**
225
+ Tests click by `qa-dataid` and stay green even when a gap shifted, a size vanished and a row got a
226
+ different height. They check transitions, not looks. A pair of screenshots is too little here too
227
+ — every screen this package draws is looked at in turn.
228
+ - **There are three launch paths here, and they are checked separately:** the local command, the
229
+ image `deploy/api.Dockerfile` and the composition `docker-compose.prod.yml`. A variable set in the
230
+ check command says nothing about the image: the production composition has it, while a manual run
231
+ of the same image goes without it. The paths are listed before the check, not after one of them
232
+ matched.
233
+ - **The sign is taken from the owner's question, not from the subject of the edit.** A server-served
234
+ page answers "did it build", and it never answers "is it visible". The display lives after
235
+ hydration, and the picture after a request to an external service. The signs for the second
236
+ question are their own — the image's `naturalWidth` above zero, the display node appeared on the
237
+ raised page — and they are taken by the driver, not by a request to the address.
238
+ - **A refusal from an external service is never a diagnosis of a setting.** A `403` names the state
239
+ of the project at the provider and says nothing about what value lies in the tree's setting. Read
240
+ as a diagnosis, it leads to fixing what is intact — while the value itself is read by one command
241
+ on one's own side. All the less is it requested from the owner: the session already has it.
242
+ - **The previous behaviour is read from the code of that version:** `git show <commit before the
243
+ edit>:<file>`. A commit body names what the edit changed and is silent about what was true before
244
+ it. A display condition with one more mandatory value appended switches off what was shown before,
245
+ and in the edit itself it looks like a refinement. An edit from a neighbouring task rolled out the
246
+ same day enters the production check alongside one's own: the branch answers for what left
247
+ together with it.