@rt-tools/agent-kit 0.24.0 → 0.27.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 (312) hide show
  1. package/assets/agents/business-analyst.md +51 -50
  2. package/assets/agents/cargo-writer.md +54 -0
  3. package/assets/agents/conscience.md +37 -35
  4. package/assets/agents/project-manager.md +49 -48
  5. package/assets/agents/prose-editor.md +31 -29
  6. package/assets/agents/qa-engineer.md +50 -48
  7. package/assets/agents/rules-reviewer.md +63 -58
  8. package/assets/agents/skill-curator.md +83 -78
  9. package/assets/agents/spec-critic.md +34 -29
  10. package/assets/agents/spec-writer.md +35 -32
  11. package/assets/agents/strict-teacher.md +39 -37
  12. package/assets/checks/archive-age.mjs +48 -28
  13. package/assets/checks/archive-prune.mjs +16 -14
  14. package/assets/checks/board-epic-link.github.mjs +29 -0
  15. package/assets/checks/board-epics.github.mjs +286 -49
  16. package/assets/checks/board-folders.mjs +61 -0
  17. package/assets/checks/board-gh.github.mjs +35 -26
  18. package/assets/checks/board-long-work.github.mjs +29 -25
  19. package/assets/checks/board-paths.github.mjs +21 -16
  20. package/assets/checks/board-pull-state.github.mjs +168 -0
  21. package/assets/checks/board-runs.github.mjs +45 -43
  22. package/assets/checks/board-task-dirs.github.mjs +98 -0
  23. package/assets/checks/board-titles.github.mjs +19 -17
  24. package/assets/checks/board.github.mjs +133 -194
  25. package/assets/checks/check-archive-age.mjs +23 -19
  26. package/assets/checks/check-board.github.mjs +131 -263
  27. package/assets/checks/check-descriptions.mjs +30 -29
  28. package/assets/checks/check-doc-paths.mjs +91 -88
  29. package/assets/checks/check-dupes.mjs +84 -80
  30. package/assets/checks/check-file-size.mjs +74 -71
  31. package/assets/checks/check-glossary.mjs +47 -37
  32. package/assets/checks/check-hook-scope.mjs +30 -27
  33. package/assets/checks/check-lib-layers.mjs +22 -21
  34. package/assets/checks/check-profile-drift.mjs +48 -43
  35. package/assets/checks/check-prose-style.mjs +138 -39
  36. package/assets/checks/check-push-gate.mjs +53 -50
  37. package/assets/checks/check-reuse.mjs +50 -40
  38. package/assets/checks/check-schema-drift.mjs +104 -84
  39. package/assets/checks/check-specs.mjs +155 -134
  40. package/assets/checks/check-state-next.mjs +66 -52
  41. package/assets/checks/check-states.mjs +32 -30
  42. package/assets/checks/check-styles.mjs +52 -51
  43. package/assets/checks/check-turn-map.mjs +54 -46
  44. package/assets/checks/epic-table.github.mjs +268 -0
  45. package/assets/checks/lib-boundaries.mjs +32 -30
  46. package/assets/checks/lib-common.mjs +30 -29
  47. package/assets/checks/lib-domains.mjs +34 -34
  48. package/assets/checks/lib-manifests.mjs +17 -15
  49. package/assets/checks/lib-reexports.mjs +18 -18
  50. package/assets/checks/rt-kit-checks.config.mjs +187 -142
  51. package/assets/checks/signals.mjs +43 -39
  52. package/assets/checks/spec-anchors.mjs +114 -87
  53. package/assets/checks/spec-common.mjs +128 -84
  54. package/assets/checks/spec-contract.mjs +30 -30
  55. package/assets/checks/spec-proposed.mjs +27 -24
  56. package/assets/checks/spec-scenarios.mjs +51 -28
  57. package/assets/checks/specs-for.mjs +214 -0
  58. package/assets/checks/task-new.github.mjs +315 -61
  59. package/assets/commands/feedback.md +65 -59
  60. package/assets/commands/next-session.md +64 -57
  61. package/assets/commands/night.md +115 -0
  62. package/assets/commands/skill-curator.md +83 -79
  63. package/assets/defaults/gate-map.sh +108 -97
  64. package/assets/defaults/project.sh +232 -185
  65. package/assets/defaults/shell.sh +73 -68
  66. package/assets/defaults/turn-map.md +47 -44
  67. package/assets/docs/GLOSSARY.md +142 -65
  68. package/assets/hooks/browser-device-id.sh +16 -12
  69. package/assets/hooks/browser-guard-device-id.sh +34 -28
  70. package/assets/hooks/browser-guard-no-asking.sh +5 -4
  71. package/assets/hooks/browser-guard-no-listing.sh +12 -11
  72. package/assets/hooks/browser-guard-no-other-drivers.sh +48 -42
  73. package/assets/hooks/browser-guard-require-select.sh +34 -23
  74. package/assets/hooks/claim-guard.sh +62 -56
  75. package/assets/hooks/commit-msg.sh +14 -10
  76. package/assets/hooks/conscience-guard.sh +91 -45
  77. package/assets/hooks/constitution-index.sh +16 -16
  78. package/assets/hooks/deny-tail.sh +28 -26
  79. package/assets/hooks/dev-server-guard.sh +50 -43
  80. package/assets/hooks/dispatch.sh +60 -46
  81. package/assets/hooks/docs-guard.sh +100 -91
  82. package/assets/hooks/epic-over.sh +49 -0
  83. package/assets/hooks/epic-stop-guard.sh +108 -0
  84. package/assets/hooks/exam-guard.sh +105 -93
  85. package/assets/hooks/git-guard-delivery-conflict.sh +41 -36
  86. package/assets/hooks/git-guard-delivery-draft.sh +48 -38
  87. package/assets/hooks/git-guard-delivery-epic.sh +167 -0
  88. package/assets/hooks/git-guard-delivery-folder.sh +50 -43
  89. package/assets/hooks/git-guard-delivery-signature.sh +119 -53
  90. package/assets/hooks/git-guard-delivery.sh +223 -183
  91. package/assets/hooks/git-guard-main.sh +38 -34
  92. package/assets/hooks/git-guard-push-tests.sh +99 -87
  93. package/assets/hooks/glossary-load.sh +23 -22
  94. package/assets/hooks/grill-gate-ask.sh +12 -11
  95. package/assets/hooks/grill-gate.sh +94 -87
  96. package/assets/hooks/guard-note.sh +20 -19
  97. package/assets/hooks/handoff-entry-guard.sh +45 -25
  98. package/assets/hooks/handoff-write.sh +74 -67
  99. package/assets/hooks/hook-input.sh +67 -58
  100. package/assets/hooks/lint-after-edit.sh +95 -61
  101. package/assets/hooks/observe.sh +28 -26
  102. package/assets/hooks/override-write-guard.sh +23 -21
  103. package/assets/hooks/postmortem-guard.sh +42 -39
  104. package/assets/hooks/profile-check.sh +22 -20
  105. package/assets/hooks/proposal-guard.sh +57 -49
  106. package/assets/hooks/prose-style-guard.sh +49 -24
  107. package/assets/hooks/qa-dataid-guard.sh +83 -58
  108. package/assets/hooks/rerun-guard.sh +31 -30
  109. package/assets/hooks/reuse-first-guard.sh +108 -87
  110. package/assets/hooks/roles.sh +14 -14
  111. package/assets/hooks/rule-article.sh +39 -34
  112. package/assets/hooks/rule-source-guard.sh +47 -42
  113. package/assets/hooks/skill-gate-layers.sh +63 -57
  114. package/assets/hooks/skill-gate-rearm.sh +15 -8
  115. package/assets/hooks/skill-gate.sh +89 -81
  116. package/assets/hooks/skill-loaded.sh +10 -6
  117. package/assets/hooks/sql-guard-parse.sh +71 -66
  118. package/assets/hooks/sql-guard-request.sh +51 -46
  119. package/assets/hooks/sql-guard-target.sh +60 -51
  120. package/assets/hooks/sql-guard-write.sh +87 -79
  121. package/assets/hooks/sql-guard.sh +52 -47
  122. package/assets/hooks/stand-login-guard.sh +43 -37
  123. package/assets/hooks/task-context-load.sh +60 -55
  124. package/assets/hooks/task-flow-context.sh +87 -69
  125. package/assets/hooks/task-flow-draft-guard.sh +55 -48
  126. package/assets/hooks/task-flow-guard.sh +67 -64
  127. package/assets/hooks/turn-entry-load.sh +39 -32
  128. package/assets/hooks/turn-exit-guard.sh +260 -204
  129. package/assets/hooks/turn-exit-patterns.sh +63 -0
  130. package/assets/hooks/utf8.sh +14 -11
  131. package/assets/hooks/waiting-turn-guard.sh +104 -94
  132. package/assets/hooks/window-fill-guard.sh +70 -62
  133. package/assets/hooks/work-start-guard.sh +52 -49
  134. package/assets/hooks/write-targets.sh +99 -44
  135. package/assets/laws/autonomous-work.md +29 -27
  136. package/assets/laws/code-structure.md +31 -30
  137. package/assets/laws/delivery.md +170 -137
  138. package/assets/laws/entity-editing.md +52 -50
  139. package/assets/laws/entity-models.md +14 -13
  140. package/assets/laws/frontend-application.md +39 -38
  141. package/assets/laws/lib-imports.md +27 -27
  142. package/assets/laws/lists.md +31 -29
  143. package/assets/laws/navigation.md +37 -37
  144. package/assets/laws/observability.md +41 -40
  145. package/assets/laws/project-documentation.md +106 -99
  146. package/assets/laws/reuse-first.md +31 -29
  147. package/assets/laws/shared-code.md +27 -27
  148. package/assets/laws/verifiability.md +131 -124
  149. package/assets/laws/work-conduct.md +250 -244
  150. package/assets/patterns/admin-lists-screen.md +72 -69
  151. package/assets/patterns/admin-nav-item.md +51 -46
  152. package/assets/patterns/angular-patterns-state.md +32 -31
  153. package/assets/patterns/api-layer-pair.md +33 -31
  154. package/assets/patterns/autonomous-work-run.md +50 -49
  155. package/assets/patterns/browser-verification-measure.md +124 -88
  156. package/assets/patterns/browser-verification-stand.md +169 -157
  157. package/assets/patterns/component-structure-new.md +51 -42
  158. package/assets/patterns/dependencies-upgrade.md +55 -39
  159. package/assets/patterns/doc-style-human.md +55 -37
  160. package/assets/patterns/doc-style-sweep.md +82 -79
  161. package/assets/patterns/doc-style-trace.md +87 -81
  162. package/assets/patterns/doc-style-write.md +130 -122
  163. package/assets/patterns/entity-aside.md +77 -63
  164. package/assets/patterns/entity-models-new.md +37 -37
  165. package/assets/patterns/entity-store.md +33 -33
  166. package/assets/patterns/git-workflow-commit.azure.md +94 -87
  167. package/assets/patterns/git-workflow-commit.github.md +160 -142
  168. package/assets/patterns/git-workflow-commit.gitlab.md +96 -90
  169. package/assets/patterns/git-workflow-docker.md +165 -147
  170. package/assets/patterns/git-workflow-freshness.md +45 -45
  171. package/assets/patterns/git-workflow-merge.md +102 -94
  172. package/assets/patterns/git-workflow-migration.md +54 -52
  173. package/assets/patterns/git-workflow-pr-ready.md +57 -56
  174. package/assets/patterns/git-workflow-pr.azure.md +127 -122
  175. package/assets/patterns/git-workflow-pr.github.md +186 -177
  176. package/assets/patterns/git-workflow-pr.gitlab.md +139 -132
  177. package/assets/patterns/git-workflow-restart.md +35 -31
  178. package/assets/patterns/git-workflow-secrets.md +80 -73
  179. package/assets/patterns/git-workflow-stack.md +136 -107
  180. package/assets/patterns/lib-layers-move.md +62 -53
  181. package/assets/patterns/lib-layers-new.md +59 -45
  182. package/assets/patterns/observability-record.md +72 -67
  183. package/assets/patterns/platform-access-di.md +31 -29
  184. package/assets/patterns/reuse-first-extend.md +66 -61
  185. package/assets/patterns/shared-code-new.md +39 -38
  186. package/assets/patterns/spec-driven-domain.md +161 -151
  187. package/assets/patterns/spec-driven-rule.md +179 -168
  188. package/assets/patterns/spec-driven-sweep.md +41 -39
  189. package/assets/patterns/status-report-table.github.md +48 -36
  190. package/assets/patterns/styling-bem-component.md +42 -42
  191. package/assets/patterns/styling-bem-layout.md +39 -34
  192. package/assets/patterns/styling-bem-sheet.md +59 -58
  193. package/assets/patterns/task-flow-archive.md +222 -215
  194. package/assets/patterns/task-flow-close.md +234 -203
  195. package/assets/patterns/task-flow-handoff.md +154 -145
  196. package/assets/patterns/task-flow-resume.md +138 -133
  197. package/assets/patterns/task-flow-start.md +228 -202
  198. package/assets/patterns/testing-e2e.md +102 -101
  199. package/assets/patterns/testing-unit.md +77 -70
  200. package/assets/patterns/ts-procedure.md +32 -29
  201. package/assets/patterns/turn-entry-map.md +50 -48
  202. package/assets/pitfalls/agent-kit.md +172 -142
  203. package/assets/pitfalls/doc-style.md +96 -91
  204. package/assets/pitfalls/git-workflow.azure.md +49 -46
  205. package/assets/pitfalls/git-workflow.github.md +270 -234
  206. package/assets/pitfalls/git-workflow.gitlab.md +49 -45
  207. package/assets/pitfalls/spec-driven.md +73 -71
  208. package/assets/pitfalls/styling-bem.md +46 -40
  209. package/assets/pitfalls/task-flow.md +262 -246
  210. package/assets/pitfalls/testing.md +99 -92
  211. package/assets/pitfalls/turn-conduct.md +96 -81
  212. package/assets/rules/angular-patterns.md +81 -80
  213. package/assets/rules/api-layer.md +77 -74
  214. package/assets/rules/autonomous-work.md +87 -74
  215. package/assets/rules/browser-verification.md +223 -214
  216. package/assets/rules/component-structure.md +72 -69
  217. package/assets/rules/dependencies.md +74 -67
  218. package/assets/rules/deploy-flow.azure.md +118 -108
  219. package/assets/rules/deploy-flow.github.md +145 -135
  220. package/assets/rules/deploy-flow.gitlab.md +120 -110
  221. package/assets/rules/doc-style.md +201 -173
  222. package/assets/rules/entity-conventions.needs-admin.md +81 -79
  223. package/assets/rules/entity-models.md +73 -70
  224. package/assets/rules/git-workflow.azure.md +224 -228
  225. package/assets/rules/git-workflow.github.md +268 -239
  226. package/assets/rules/git-workflow.gitlab.md +218 -217
  227. package/assets/rules/lib-layers.md +85 -86
  228. package/assets/rules/lists.md +101 -97
  229. package/assets/rules/navigation.md +78 -78
  230. package/assets/rules/observability.needs-app.md +165 -153
  231. package/assets/rules/platform-access.md +76 -75
  232. package/assets/rules/reuse-first.md +153 -143
  233. package/assets/rules/shared-code.md +82 -79
  234. package/assets/rules/spec-driven.md +279 -260
  235. package/assets/rules/status-report.md +62 -58
  236. package/assets/rules/styling-bem.md +81 -77
  237. package/assets/rules/task-flow.md +303 -270
  238. package/assets/rules/testing.md +224 -209
  239. package/assets/rules/turn-conduct.md +262 -258
  240. package/assets/rules/turn-entry.md +92 -87
  241. package/assets/rules/typescript-conventions.md +94 -88
  242. package/assets/samples/specs/_template/spec.md +47 -47
  243. package/assets/samples/tasks/_template/grill.md +20 -20
  244. package/assets/samples/tasks/_template/plan.md +32 -30
  245. package/assets/samples/tasks/_template/progress.md +16 -16
  246. package/assets/skills/agent-kit-extend.md +129 -113
  247. package/assets/skills/agent-kit.md +259 -233
  248. package/assets/skills/write-a-skill.md +76 -71
  249. package/assets/templates/findings.md +19 -19
  250. package/assets/templates/gate-map.sh +16 -14
  251. package/assets/templates/implementation.md +28 -27
  252. package/assets/templates/pattern.md +17 -17
  253. package/assets/templates/pitfalls.md +6 -6
  254. package/assets/templates/postmortem.md +24 -23
  255. package/assets/templates/project.sh +24 -24
  256. package/assets/templates/proposal.md +62 -60
  257. package/assets/templates/rule.md +38 -38
  258. package/assets/workflows/feature.js +46 -46
  259. package/assets/workflows/plan.js +54 -54
  260. package/bin/agent-kit.d.ts.map +1 -1
  261. package/bin/agent-kit.js +8 -1
  262. package/bin/agent-kit.js.map +1 -1
  263. package/lib/cargo-prose.d.ts +41 -0
  264. package/lib/cargo-prose.d.ts.map +1 -0
  265. package/lib/cargo-prose.js +88 -0
  266. package/lib/cargo-prose.js.map +1 -0
  267. package/lib/cargo.d.ts +12 -1
  268. package/lib/cargo.d.ts.map +1 -1
  269. package/lib/cargo.js +8 -2
  270. package/lib/cargo.js.map +1 -1
  271. package/lib/catalog.d.ts +2 -0
  272. package/lib/catalog.d.ts.map +1 -1
  273. package/lib/catalog.js +4 -3
  274. package/lib/catalog.js.map +1 -1
  275. package/lib/commands.d.ts.map +1 -1
  276. package/lib/commands.js +5 -2
  277. package/lib/commands.js.map +1 -1
  278. package/lib/companion.js +3 -2
  279. package/lib/companion.js.map +1 -1
  280. package/lib/enroll.d.ts +7 -1
  281. package/lib/enroll.d.ts.map +1 -1
  282. package/lib/enroll.js +12 -3
  283. package/lib/enroll.js.map +1 -1
  284. package/lib/fate.d.ts +29 -0
  285. package/lib/fate.d.ts.map +1 -0
  286. package/lib/fate.js +147 -0
  287. package/lib/fate.js.map +1 -0
  288. package/lib/override-marks.d.ts +7 -0
  289. package/lib/override-marks.d.ts.map +1 -1
  290. package/lib/override-marks.js +14 -0
  291. package/lib/override-marks.js.map +1 -1
  292. package/lib/plan.d.ts +11 -0
  293. package/lib/plan.d.ts.map +1 -1
  294. package/lib/plan.js +10 -1
  295. package/lib/plan.js.map +1 -1
  296. package/lib/ship.d.ts +29 -9
  297. package/lib/ship.d.ts.map +1 -1
  298. package/lib/ship.js +44 -2
  299. package/lib/ship.js.map +1 -1
  300. package/lib/shipment.d.ts.map +1 -1
  301. package/lib/shipment.fixture.d.ts +8 -1
  302. package/lib/shipment.fixture.d.ts.map +1 -1
  303. package/lib/shipment.fixture.js +9 -0
  304. package/lib/shipment.fixture.js.map +1 -1
  305. package/lib/shipment.js +38 -5
  306. package/lib/shipment.js.map +1 -1
  307. package/lib/sync.d.ts.map +1 -1
  308. package/lib/sync.js +45 -11
  309. package/lib/sync.js.map +1 -1
  310. package/package.json +1 -1
  311. package/rt-tools-agent-kit-0.27.0.tgz +0 -0
  312. package/rt-tools-agent-kit-0.24.0.tgz +0 -0
@@ -2,293 +2,297 @@
2
2
  name: turn-conduct
3
3
  kind: rule
4
4
  law: work-conduct
5
- description: Правило под «Закон о ведении работы» — про один ход. Брать, когда ход заканчивают: чем он кончается, что говорится владельцу о чужом шаге, чем подтверждается утверждение о дереве, что стерегут стражи. Паттерн task-flow-handoff. Ход работы целиком — правило task-flow.
5
+ description: Rule under the work-conduct law — about one turn. Load when a turn is being ended — what it ends with, what the owner is told about a step that is theirs, what backs a statement about the tree, what the guards watch. Pattern task-flow-handoff. The whole course of work — rule task-flow.
6
6
  ---
7
7
 
8
- # Ход захода — как это устроено здесь
8
+ # Turn conduct — how it works here
9
9
 
10
- Правило под закон `docs/constitution/work-conduct.md` — та его часть, что про один ход.
11
- Закон говорит, что должно быть верно; здесь — чем это стережётся в этом дереве. Ход работы
12
- от просьбы владельца до слияния, состояния работы и папка задачи — правило `task-flow`
13
- под тем же законом.
10
+ Rule under the law `docs/constitution/work-conduct.md` — the part about one turn. The law says what
11
+ must be true; here — what keeps it in this tree. The course of work from request to merge, the
12
+ states and the task folder — rule `task-flow` under the same law.
14
13
 
15
- **Холодная часть:** `pitfalls.md` рядом — случаи и числа по разборам происшествий. Грузится по
16
- требованию, а не вместе с правилом.
14
+ **Cold part:** `pitfalls.md` next to it — cases and numbers from incident analyses. Loaded on
15
+ demand, not with the rule.
17
16
 
18
- ## Как это называется здесь
17
+ ## What it is called here
19
18
 
20
- | В законе | Здесь |
21
- | -------------------------------- | ----------------------------------------------------------------------------------------------- |
22
- | ход | один заход агента: от реплики владельца до ответа ему |
23
- | выход хода | один из четырёх способов кончить ход; чем подтверждается каждый — карта хода |
24
- | страж выходов хода | гард на завершении хода: читает объявленное состояние работы и то, что за ход сделано в дереве |
25
- | утверждение о состоянии дерева | слово ответа владельцу, за которым обязана стоять команда того же хода и её вывод |
26
- | передача захода | запись вне дерева: она пересказывает ход работы для вставки в новый заход |
27
- | порог сжатия и порог остановки | два числа заполнения окна; дерево задаёт их само, и первый стоит ниже второго |
19
+ | In the law | Here |
20
+ | --- | --- |
21
+ | turn | one pass of the agent: from the owner's message to the reply |
22
+ | a turn exit | one of the four ways to end a turn; what confirms each — the turn map |
23
+ | the guard of turn exits | a guard at the turn's end: reads the declared work state and what the turn did in the tree |
24
+ | a statement about the state of the tree | a word in the reply to the owner backed by a command of the same turn and its output |
25
+ | the session handover | a record outside the tree retelling the progress for a new session |
26
+ | the compaction threshold and the stop threshold | two window-fill numbers the tree sets itself; the first stands below the second |
28
27
 
29
- ## Выходы хода
28
+ ## Turn exits
30
29
 
31
- Ход кончается четырьмя способами, и других нет: вопрос владельцу, ответа на который в правилах
32
- нет; отказ гарда; заполненное окно там, где сжатия нет; отданная работа, за которой начата
33
- следующая. Чем подтверждается каждый из четырёх, перечисляет карта хода — там, где дерево её
34
- разложило.
30
+ A turn ends in four ways and no others: a question to the owner the rules do not answer; a guard's
31
+ refusal; a filled window where there is no compaction; work handed in, with the next begun. What
32
+ confirms each, the turn map lists where the tree laid it out.
35
33
 
36
- Всё остальное — продолжение хода, а не его конец. Веха ходом не кончается: ни коммит, ни
37
- прочитанная договорённость, ни граница «прочитал — сейчас правлю», ни зелёная проверка.
38
- Переход из состояния в состояние — тем более: обязательное действие сделано, и следующее
39
- делается тем же ходом, а граница состояния выглядит законченным куском лучше всякой другой вехи,
40
- и отчёт встаёт ровно туда, где должно было стоять следующее действие.
34
+ Everything else is the turn going on, not its end. A milestone does not end a turn: not a commit,
35
+ not a read agreement, not the boundary "read — now editing", not a green check.
36
+ A transition from state to state — least of all: the mandatory action is done, and the next is
37
+ done in the same turn; a state boundary looks like a finished piece better than any milestone, and
38
+ the report lands exactly
39
+ where the next action should have stood.
41
40
 
42
- Четыре способа кончить ход выглядят работой и ею не являются: сводка о чужом шаге, меню при
43
- назначенном порядке, объявление намерения и названная, но не запущенная команда. Что при этом
44
- должно быть верно — ниже, в статьях о применении закона.
41
+ Four ways to end a turn look like work and are not: a summary of someone else's step, a menu under
42
+ an assigned order, a declaration of intent, and a command named but not run.
45
43
 
46
- Ход, кончающийся при идущем эпике, показывает владельцу его положение — той же таблицей, какой
47
- оно уходит в передаче: порядок задач лежит записанным, а тому, ради кого исполнитель по нему
48
- идёт, состояние очереди иначе не видно ни на одном ходу.
44
+ A turn ending while an epic runs shows the owner their position by the table the handover carries:
45
+ the order is written down, and the one it is followed for cannot otherwise see the queue's state.
49
46
 
50
- ## Где это лежит
47
+ ## Where it lives
51
48
 
52
- В этом дереве — таблица в `implementation.md` рядом. Пути живут там, а не здесь: правило
53
- переносится между репозиториями, раскладка — нет, и путь, названный в правиле, врёт в первом
54
- же дереве, которое держит код иначе.
49
+ In this tree — the table in `implementation.md` next to it. Paths live there, not here: the rule
50
+ travels between repositories, the layout does not.
55
51
 
56
- ## Ход
52
+ ## Flow
57
53
 
58
- Ход одного захода: чем он кончается, что проверяется до его конца и что при этом говорится
59
- владельцу.
54
+ One turn: what it ends with, what is checked before its end and what the owner is told then.
60
55
 
61
56
  ```mermaid
62
57
  flowchart TD
63
- A[Ход идёт] --> B{Что случилось}
64
- B -->|Владельцу задан вопрос| C[За тот же ход читались законы и правила]
65
- B -->|Гард отбил правку| D[Отказ назван владельцу, обход не искался]
66
- B -->|Окно захода заполнено| E{Дерево объявило сжатие}
67
- B -->|Работа отдана заявкой| F[По следующей задаче сделано действие, а не сказано]
68
- B -->|Ничего из этого| G[Ход продолжается: веха его концом не бывает]
69
- E -->|Да| G
70
- E -->|Нет| H[Ход работы дописан, передача написана]
71
- C --> I{Ответ владельцу говорит о дереве}
58
+ A[The turn is going] --> B{What happened}
59
+ B -->|A question to the owner| C[Laws and rules read in the same turn]
60
+ B -->|A guard refused an edit| D[The refusal named to the owner, no bypass sought]
61
+ B -->|The window is filled| E{The tree declared compaction}
62
+ B -->|Work handed in by a PR| F[An action done on the next task, not spoken]
63
+ B -->|None of these| G[The turn goes on: a milestone never ends it]
64
+ E -->|Yes| G
65
+ E -->|No| H[Progress written up, handover written]
66
+ C --> I{The reply speaks of the tree}
72
67
  D --> I
73
68
  F --> I
74
69
  H --> I
75
- I -->|Да| J[Каждое слово несёт команду того же хода и её вывод]
76
- I -->|Нет| K[Ход кончен]
70
+ I -->|Yes| J[Every word carries a command of the same turn and its output]
71
+ I -->|No| K[The turn is over]
77
72
  J --> K
78
73
  G --> A
79
74
  ```
80
75
 
81
- ## Как закон применяется здесь
76
+ ## How the law applies here
82
77
 
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
- исполнитель говорит, что стоит, на чём остановлено и что будет с прежним, и только потом берётся
126
- за новое. Молчание об этом владелец читает как «прежнее кончилось».
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
- - **Ответ владельцу действием не работает и последним в ходе не стоит.** Порядок внутри хода
152
- один: работа, потом первый шаг следующей, и только потом текст. Обратный порядок — работа,
153
- отчёт, конец — стоит за каждой остановкой, которую разбирали: отчёт есть форма завершённости, и
154
- дописанная сводка читается как конец хода тем убедительнее, чем больше сделано. Сказать о
155
- сделанном можно всегда; место у этих слов — после следующего действия, а не вместо него.
156
- - **Последним действием хода бывает только работа.** Признак один на все виды остановки: правка
157
- файла или меняющая команда — последним из того, что за ход сделано. Частные ярусы стража —
158
- разведка, ожидание, отдача без начала следующей — из него только выводят понятный отказ;
159
- заводить новый ярус на каждый вид бессмысленно, потому что видов столько, сколько бывает
160
- поводов заговорить.
161
- - **Последним действием хода ожидание чужого шага не бывает.** Прогон, разбор владельцем и
162
- слияние идут без исполнителя, и работа на время ожидания остаётся ровно там, где стояла. Такой
163
- ход обманчив именно полнотой: в нём была работа, и много, — а признак «была ли за ход работа»
164
- отпускает его целиком. Судится поэтому последнее действие: ожидание в середине законно, запуск
165
- работы в фоне работой остаётся, а ход, кончившийся циклом до готовности прогона или слежением
166
- за ним, страж не выпускает.
167
- - **Передача пишется и там, где имени у ветки нет.** Всё, что в неё едет, лежит в дереве и на
168
- отсоединённой голове доступно целиком; имя нужно одному файлу, и он называется коротким снимком
169
- головы. Молчание хука здесь стоит дороже прочего: сжатие приходит без передачи, и следующий
170
- заход начинает с пустого места.
171
- - **Этап замысла объявляется закрытым только после того, как его команда проверки прошла.** Строка
172
- «Чем проверяется» несёт команду обратными кавычками и то, что в её выводе означает «сошлось».
173
- Страж читает прежний номер этапа из истории ветки и не выпускает ход, в котором номер вырос, а
174
- команда не запускалась: через заход отмеченное по памяти неотличимо от проверенного.
175
- - **Слово об остановке страж читает у владельца, а не у исполнителя.** Иначе остановку объявляет
176
- тот, кому она удобна, и запрет держится до первого неудобства.
177
- - **Утверждение о состоянии дерева стережёт гард утверждения, а не память исполнителя.** Всё, что
178
- ответ владельцу говорит о дереве, несёт команду и её вывод: сказанное без команды утверждением
179
- не считается — ни «проверено», ни «снято», ни «готово». Гард читает текст, сказанный владельцу
180
- за ход, и ищет команду того же хода; у каждого слова назван свой род команды, потому что общий
181
- признак «команда была» подтверждал бы одно другим. Прошлый ход не годится: состояние дерева
182
- меняется, и вчерашний вывод о нынешнем молчит.
183
- - **Гард утверждения ждёт текст ответа, а не судит запись, какой застал.** Текст ложится в запись
184
- хода не раньше, чем хост зовёт хук. Не дождавшись его, гард возвращает ход: пустая запись
185
- означает не «сказать было нечего», а «прочитать нечего».
186
- - **Слово-утверждение гард ловит, неверный вывод — нет.** Об образце, судимом по одному его файлу,
187
- и о пути, которым человек не пойдёт, судить нечем: там нет ни слова, ни команды, с которой
188
- сверять. Это известная граница гарда, и держат её статьи ниже, а не он.
189
- - **Ход о чужом шаге стережёт гард ожидания, а не память исполнителя.** Он отбивает завершение
190
- хода, в котором о чужом шаге сказано, а по следующей задаче не сделано ни одного действия — ни
191
- заведения задачи, ни ветки, ни папки, ни перевода колонки. Чужой шаг он узнаёт по двум
192
- признакам: в ходе открыт PR либо в ходе прочитан красный прогон. Слова «беру следующую задачу»
193
- гард действием не считает — ровно потому, что их и произносят вместо неё.
194
- - **Ход, отдавший работу, доводит её до снятого черновика.** У черновика кнопка слияния
195
- заблокирована хостингом, и по списку заявок готовое от недоделанного не отличить. Следующая
196
- задача берётся сверх этого, а не вместо. Стережёт это гард ожидания: ход, открывший заявку, не
197
- кончается, пока состояние отданной работы не спрошено командой того же хода.
198
- - **Отказ гарда ожидания снимается обоими действиями сразу.** Взятая следующая задача уносит
199
- признак открытой заявки с собой, и требование спросить состояние отданной работы после неё не
200
- прозвучит уже никогда.
201
- - **Работа, оставшаяся в рабочем дереве, ход не кончает.** Ветка впереди удалённой ссылки без
202
- открытой заявки — сделанное, которого не видит никто; страж читает это без сети.
203
- - **«Жду прогона» — утверждение о чужом шаге, а не состояние работы.** Прогон бывает зелёным час,
204
- а бывает не встав вовсе — и второе само не чинится. Слово это требует команды того же хода,
205
- которая прогон показывает, и без неё не говорится: сказанное без команды владелец читает как
206
- «работа ещё идёт» и ждёт напрасно. Держит это гард утверждения, а не память исполнителя.
207
- - **Конец прогона узнаётся возвратом фоновой команды, а не взглядом на страницу.** Ожидание в
208
- фоне возвращает исполнителя к заявке само; взгляд на страницу либо повторяется вхолостую, либо
209
- не повторяется вовсе, и оба исхода выглядят одинаково — работа не двигается.
210
- - **Ожидание своего же замера ведётся одним ожиданием, а не уведомлением на каждый шаг.**
211
- Уведомление ставится там, где надо действовать на каждое событие; где значим только итог —
212
- одно ожидание, кончающееся вместе с замером.
213
- - **Отказ гарда кончает ход.** Другого пути к отбитой правке не ищут: ни командой оболочки, ни
214
- соседним инструментом, ни правкой самого гарда. Отбитая правка либо делается после того, как
215
- условие отказа выполнено, либо не делается вовсе — и тогда владельцу называется отказ, а не
216
- результат. Обход стоит дороже отказа: гард отбивает один файл, а обойдённый гард снимает
217
- требование со всего дерева и молчит об этом. Держится это не только памятью — гарды судят и
218
- команду оболочки, которая пишет файл.
219
- - **Отбитая гейтом команда повторяется целиком, а не хвостом.** Гейт отбивает вызов до исполнения,
220
- поэтому не сработало ни одно её звено — включая те, что стояли до отбитого. Повторённый хвост
221
- делает работу в том месте, где её не ждали:
222
- - **Пишущий вызов в строку разведки не дописывается.** Строка, собранная из вопросов, читается как
223
- вопрос целиком — и своим автором тоже; правка идёт отдельным вызовом, где её видно. У вызова, у
224
- которого есть читающий двойник, род выбирается по действию, а не по имени команды.
225
- - **Ход, в котором владельцу задан вопрос, не заканчивается, пока за этот же ход не читались
226
- законы и правила.** Чтением считается любой из трёх путей: загрузка правила, чтение файла
227
- законов или правил, поиск по ним. Отбивает гард разговора — на завершении хода, а не на
228
- инструменте вопроса: спрашивают чаще прозой, чем меню. Найденное ложится в раздел «Что уже
229
- сказано в правилах» разбора.
230
- - **Ответ владельца ищется в его же репликах прежде, чем в правилах.** Закон говорит: вопрос с уже
231
- записанным ответом владельцу не задаётся, — и самая доступная запись лежит не в дереве, а в
232
- самом разговоре: первая реплика владельца и его ответы на прошлые круги вопросов. Гард разговора
233
- этого не видит: чтением он считает загрузку правила и поиск по нему, а реплика следа не
234
- оставляет. Вопрос, отвечающий сам себе словами владельца, обесценивает и заданные рядом.
235
- - **Объём работы поводом урезать её границы не бывает.** Владелец, назвавший результат, объёма не
236
- оспаривал: предложение выбросить часть — это просьба переназначить цель, поданная как уточнение.
237
- Дорогое делают дорого либо говорят прямо, что оно дорого, и называют цену.
238
- - **Действия, которые исполнитель не делает без слова владельца, перечислены в компаньоне
239
- правила.** Список у каждого дерева свой — пакет знает только требование, чтобы список был
240
- назван. Не названный, он выводится из общих слов, и «делай, что нужно по плану» становится
241
- разрешением на пуш и правку общих документов заодно с коммитом. Оценка «это безопасно» списка не
242
- заменяет: её назначает тот, кому она в эту минуту удобна, и она плывёт.
243
- - **У отказа от необратимого действия есть безопасная часть, и она делается.** Требование спросить
244
- владельца относится к действию, а не к ходу: работа, у которой отделима часть без последствий,
245
- делится, а не откладывается целиком. Список вариантов вместо работы читается как работа — тем
246
- полнее, чем аккуратнее составлен: пронумерован, с цифрами, и пустота хода за ним не видна.
247
- Владельцу называется, что уже сделано и что осталось за его словом.
248
- - **Признак необратимости берётся из списка, а не выводится доводом.** Список составлен тем, кто
249
- обратимость уже взвесил. Довод «уходит наружу и не откатывается» приходит всегда, а список —
250
- только когда его прочитали, и довод поверх списка отменяет его молча: со стороны это выглядит
251
- осторожностью, а не пропуском шага. Действия вне списка исполнитель не гейтит.
252
- - **Ход, в котором исполнитель признал промах, не заканчивается, пока записи о происшествии нет.**
253
- Отбивает гард происшествия — на завершении хода: к моменту признания промах уже случился.
254
- Каталог записей называет компаньон правила, имя файла — дата и чем был промах, форму держит
255
- образец раскладки. Признание ловится набором образцов: промах, признанный словами вне набора,
256
- гард пропускает.
257
- - **Заход, начатый с передачи, входит в работу тем же правилом, что и всякий другой.** Передача
258
- лежит вне дерева, её не читает ни одна проверка, и написана она вчера: всё, что в ней стоит,
259
- проверяется деревом. Порядок входа — четыре шага в паттерне возвращения; стережёт его гард, а не
260
- память.
261
- - **Состояние незаконченной работы приходит в контекст на запуске сессии.** Замысел и ход работы
262
- отдаются целиком, разбор просьбы — путём. Ветка вида `<КЛЮЧ>-*` без папки предупреждает готовой
263
- командой, но сессию не рвёт.
264
- - **Заполненное окно кончает ход только там, где сжатия нет.** Где оно объявлено, окно —
265
- продолжение хода: заход сжимается и работает дальше, а порог остановки срабатывает лишь тогда,
266
- когда сжатие не пришло. Ход, закрытый ниже порога, теряет остаток окна, за который дерево
267
- заплатило настройкой, и ловит это один владелец.
268
- - **Заполнение окна захода стережёт гард, а не память исполнителя.** На первом пороге он
269
- напоминает выбирать точку остановки, на втором отбивает всё, кроме передачи, команд поставки и
270
- папки задачи — папки целиком: на закрытии правят и решение по ходу, и пересмотр этапа. Размер окна и оба порога дерево задаёт само; не задавшее размера стража не получает.
271
- - **Порог сжатия контекста дерево задаёт само, и стоит он НИЖЕ порога остановки.** Совпавшие
272
- пороги — гонка, и выигрывает её страж: он стоит на вызове, а сжатие приходит между ходами. Расстояние объявляется числом, а не выводится разницей; сведены
273
- ли пороги, говорит разбор состояния раскладки.
274
- - **Заход закрывается передачей, и лежит она разделом хода работы.** Он коммитится и едет в
275
- ветку — значит передача переживает переход на другую машину, а второй записи об одном и том
276
- же не заводится. В ней дерево, ветка, сделанное, следующий шаг и особенности захода; у работы
277
- без папки задачи она уезжает файлом вне дерева.
78
+ - **A summary of someone else's step.** A run, the owner's review and a merge go on without the
79
+ executor and are not sped up by watching. Such a summary the owner reads as work: full, with
80
+ numbers and states, the emptiness behind it unseen. Someone else's step is named with one's own
81
+ begun step, not instead of it.
82
+ - **Someone else's step is of two kinds, and the second never ends by itself.** A run and a review
83
+ end without the executor; a refused permission never ends — it is waited for. Work that hit a
84
+ permission is finished without the part it opens; what was not passed is named in the PR body,
85
+ where the reviewer reads it: a message lives until the next one, the PR body until the merge.
86
+ - **One's own unclosed step is not handed to the owner.** A neat list of leftovers reads as an
87
+ account of work, and the owner sorts out what the executor could have finished. A question's form
88
+ does not fix this: a question is lawful only where neither the rules nor the tree answer it. The
89
+ list is written after everything the executor could close is struck out.
90
+ - **A menu under an assigned order.** A choice offered to the owner before the epic is over asks to
91
+ assign the order anew. No work left in the epic — say so: the epic is over — not "what next".
92
+ - **A declaration of intent.** "Taking the next task" is not taking it: the phrase lives to the end
93
+ of the turn, and the work does not move. Only the done is named: the created task's number, the
94
+ branch's name, the moved column.
95
+ - **Work named as a command is run in the turn that names it.** The line "running it now" does not
96
+ end a turn: either the run happened, or the turn is not over. A named command looks like begun
97
+ work better than any promise — exact, visible, and done cannot be told from composed. The reply is
98
+ written after the call, not instead of it: a message mid-turn is answered along with the begun
99
+ action.
100
+ - **A word about one's own work is judged by what the same turn did.** "Not stopping — going on" is
101
+ confirmed by the turn's end with work, not intent: otherwise the owner reads "promised — did not"
102
+ as a lie. It is the requirement on a word about the tree, turned on oneself.
103
+ - **An option offered to the owner is named with its cost to a person.** How many steps, where the
104
+ person ends up and what they need — without that the options look equal, and the choice goes by
105
+ arguments from the code. What makes an option unfit is written into it.
106
+ - **A tree state the owner named is cleared by a call before an explanation.** "Conflicts", "the run
107
+ is red", "the branch fell behind" point at what to clear, not a topic to discuss. The cause is
108
+ named after the fix, and only if asked: an explanation looks like work and touches no branch. A
109
+ "why" in the same message comes second.
110
+ - **A retelling of the current order without an appraisal reads as approval.** To a direct "how does
111
+ this work" an answer in facts is true and not enough: a setup named calmly sounds accepted.
112
+ Whether the order is fit for whoever uses it is named along with it.
113
+ - **A file path is never an assignment.** A line with an address names a file, not an action: read
114
+ as an instruction, it gives the session a task the owner did not give. The same for any message
115
+ without a verb — asking costs less than writing fifty files past the request.
116
+ - **An interruption of work by the owner is named aloud.** A task arrives that stops what was begun
117
+ — the executor says they stop, where, and what happens to the old work, then takes up the new.
118
+ Silence here the owner reads as "the old is finished".
119
+ - **A stop is named in a message of its own.** Not in a line at the end of a report: there it drowns
120
+ — the owner reads a report as an account of the done. Three things are named: what stands, what it
121
+ waits for and what the owner can decide.
122
+ - **Turn exits are watched by a guard, not by the executor's memory.** It reads the declared work
123
+ state and what the turn did on it: a file edit or a tree-changing command. A turn with neither
124
+ returns to the executor with the next step from the progress. Handed-in and merged work the guard
125
+ does not judge: it has already waited out someone else's step.
126
+ - **A removed task folder lifts the state requirement and does not end the turn.** The progress
127
+ leaves with the folder, taken apart before the PR opens: from then to the merge there is no state
128
+ line. A turn is not released by this sign — a removed folder means the middle of handing in, not
129
+ its end. From there the turn is judged by the second sign; a turn that opened the PR passes it by
130
+ itself.
131
+ - **Work without a branch and without a task folder is judged by the same guard by the second
132
+ sign.** It has no state, and the first sign has nowhere to come from — but a turn with no edit of
133
+ the tree does not end here either.
134
+ - **A taken task is not yet begun work, and the turn does not end on it.** Creating the branch,
135
+ moving the column and naming the number are preparation: the mandatory action of `задача-взята` is
136
+ not done by a single line, yet the turn holds much work, and the sign "was there work" releases
137
+ it. The guard has a tier for this; a branch without a task number is not under it, an assembled
138
+ folder template lifts it.
139
+ - **Exploration does not end a turn, however much of it there is.** Switching branch, pulling,
140
+ browsing history and reading PRs are preparation, not work; a turn of these alone leaves the work
141
+ where it stood. It looks like work better than anything else: commands, exact numbers, checkable
142
+ answers. Parts of a compound command are judged one by one: a read joined to an edit remains work.
143
+ - **A reply to the owner is not an action and does not stand last in a turn.** The order inside a
144
+ turn is one: work, the first step of the next, then text. The reverse — work, report, end — stands
145
+ behind every analysed stop: a report is a form of completeness, and an appended summary reads as
146
+ the turn's end the more convincingly the more was done. Saying what was done is always allowed;
147
+ its place is after the next action, not instead.
148
+ - **The last action of a turn is only ever work.** One sign for every kind of stop: a file edit or a
149
+ changing command — last among what the turn did. The guard's tiers — exploration, waiting, handing
150
+ in without starting the next — only derive a readable refusal from it.
151
+ - **Waiting for someone else's step is never the last action of a turn.** While they are waited for,
152
+ the work stays where it stood. The last action is judged: waiting mid-turn is lawful, background
153
+ work remains work, and a turn ended by a loop until the run is ready, or by watching it, is not
154
+ released.
155
+ - **The handover is written even where the branch has no name.** All of it lies in the tree and is
156
+ reachable on a detached head; one file needs a name, and a short snapshot of the head gives it.
157
+ The hook's silence costs more here than elsewhere: compaction comes without a handover, and the
158
+ next session starts from a blank.
159
+ - **A plan stage is declared closed only after its check command has passed.** The "Checked by"
160
+ (`Чем проверяется`) line carries the command in backticks and what in its output means "matches".
161
+ The guard reads the previous stage number from the branch history and holds a turn where the
162
+ number grew and the command did not run: a session later, marked from memory cannot be told from
163
+ checked.
164
+ - **The end of an epic is a stop, and it is the one lawful waiting for a word.** Every task of the
165
+ epic is merged or handed over, so there is no next task to take: a guard refuses taking one, and
166
+ the two guards that judge the end of a turn let the stop through by the same reading. The turn
167
+ shows the table of the epic's tasks, says what was done on each and what confirms it, and says
168
+ outright that the session waits for orders.
169
+ <!-- rt-when: ответ владельцу о состоянии работы -->
278
170
 
279
- - **Вариант, глушащий проверку, в меню не ставится вовсе.** Выключенное правило линтера, строка
280
- в списке известного, выведенный из-под проверки файл — все они чинят показание, а не то, на что
281
- она указала, и вариант этот в меню самый дешёвый. Меню собирается после того, как он вычеркнут.
171
+ - **The word about a stop the guard reads from the owner, not from the executor.** Otherwise the
172
+ stop is declared by whoever finds it convenient, and the ban holds until the first inconvenience.
173
+ - **The phrase "waiting for your word" is a stop declared by the executor, and the guard refuses it
174
+ by name.** Without the owner's word about a stop in the turn and without a question put to them by
175
+ the tool, waiting for their word is a report, not work; the instruction holds until they cancel
176
+ it.
177
+ - **A statement about the tree's state is watched by the statement guard, not by the executor's
178
+ memory.** Everything the reply says about the tree carries a command and its output; said without
179
+ one, it is no statement — not "checked", not "cleared", not "done". The guard reads the turn's
180
+ text to the owner and looks for a command of the same turn; each word has its own kind of command,
181
+ since a general sign "there was a command" would confirm one thing by another. The previous turn
182
+ does not count: the tree's state changes, and yesterday's output says nothing of today's.
183
+ - **The statement guard waits for the reply text rather than judging the record as it found it.**
184
+ The text lands in the turn record no earlier than the host calls the hook. Not having waited, the
185
+ guard returns the turn: an empty record means not "nothing to say" but "nothing to read".
186
+ - **The guard catches a statement word, not a wrong conclusion.** About a sample judged by one file,
187
+ or a path a person will not take, there is nothing to judge by: no word and no command to compare
188
+ with. This is the guard's known boundary; the articles below hold it, not the guard.
189
+ - **A turn about someone else's step is watched by the waiting guard, not by the executor's
190
+ memory.** It refuses a turn's end where someone else's step was spoken of and nothing was done on
191
+ the next task — no task created, no branch, no folder, no column moved. Someone else's step it
192
+ knows by two signs: a PR opened or a red run read in the turn. The words "taking the next task"
193
+ are not an action: they are said instead of one.
194
+ - **A turn that handed work in carries it to a lifted draft.** A draft's merge button is locked by
195
+ the host, and in the PR list ready cannot be told from unfinished. The next task is taken on top
196
+ of that, not instead. The waiting guard watches this: a turn that opened a PR does not end until a
197
+ command of the same turn asked the state of the handed-in work.
198
+ - **The waiting guard's refusal is lifted by both actions at once.** The taken next task carries the
199
+ open-PR sign away, and the demand to ask the handed-in work's state never sounds after it.
200
+ - **Work left in the working tree does not end the turn.** A branch ahead of the remote ref with no
201
+ open PR is done work nobody sees; the guard reads this without the network.
202
+ - **"Waiting for the run" is a statement about someone else's step, not a work state.** A run may be
203
+ green in an hour, or may never have started — and the second does not fix itself. The word demands
204
+ a command of the same turn that shows the run; said bare, the owner reads it as "the work is still
205
+ going" and waits in vain.
206
+ - **The end of a run is learned from the return of a background command, not from a look at the
207
+ page.** A background wait brings the executor back to the PR by itself; a look at the page is
208
+ repeated idly or not at all — the work does not move.
209
+ - **Waiting for one's own measurement is done with one wait, not a notification on every step.** A
210
+ notification is for where every event is acted on; where the outcome matters — one wait.
211
+ - **A guard's refusal ends the turn.** No other road to the refused edit is sought: not a shell
212
+ command, not a neighbouring tool, not an edit of the guard itself. The edit is done once the
213
+ refusal's condition is met, or not at all — then the owner is told the refusal, not a result. A
214
+ bypass costs more than a refusal: a guard refuses one file, a bypassed guard lifts the requirement
215
+ from the whole tree and says nothing. Not memory alone holds this — the guards also judge the
216
+ shell command that writes the file.
217
+ - **A command refused by a gate is repeated whole, not by its tail.** A gate refuses the call before
218
+ it runs, so none of its links worked — those before the refused one included. A repeated tail does
219
+ work where it was not expected:
220
+ - **A writing call is not appended to an exploration line.** A line assembled from questions reads
221
+ as a question whole — by its author too; the edit goes in a call of its own, where it is visible.
222
+ For a call with a reading twin, the kind is chosen by the action, not the command's name.
223
+ - **A turn in which a question was put to the owner does not end until laws and rules were read in
224
+ that same turn.** Reading is any of three roads: loading a rule, reading a file of laws or rules,
225
+ a search over them. The conversation guard refuses at the turn's end, not on the question tool:
226
+ questions are asked in prose more often than by menu. What was found lands in the grill section
227
+ "What the rules already say".
228
+ - **The owner's answer is sought in their own messages before the rules.** The law says a question
229
+ with a written answer is not put to the owner, and the most reachable record lies not in the tree
230
+ but in the conversation: the owner's first message and their answers to past rounds. The
231
+ conversation guard does not see this: it counts loading a rule and searching it as reading, and a
232
+ message leaves no trace. A question that answers itself in the owner's words devalues those asked
233
+ next to it.
234
+ - **The size of work is never a reason to cut its boundaries.** The owner who named the result did
235
+ not dispute the size: an offer to drop a part is a request to reassign the goal, served as a
236
+ clarification. What is costly is done at cost, or called costly outright, with the price named.
237
+ - **The actions the executor does not do without the owner's word are listed in the rule's
238
+ companion.** Each tree has its own list; the package knows only the demand that it be named.
239
+ Unnamed, it is derived from general words, and "do what the plan needs" becomes permission to push
240
+ and edit shared documents along with the commit. The appraisal "this is safe" does not replace the
241
+ list: whoever finds it convenient this minute assigns it, and it drifts.
242
+ - **A refusal of an irreversible action has a safe part, and it is done.** The demand to ask the
243
+ owner applies to the action, not the turn: work with a separable harmless part is split, not
244
+ postponed whole. A list of options instead of work reads as work — the more neatly drawn up, the
245
+ more fully: numbered, with figures, the emptiness of the turn behind it unseen. The owner is told
246
+ what is done and what remained for their word.
247
+ - **The sign of irreversibility is taken from the list, not derived by argument.** The list was
248
+ drawn up by someone who already weighed reversibility. The argument "it goes outside and cannot be
249
+ rolled back" always comes, the list only when read, and an argument on top of the list cancels it
250
+ silently: from outside it looks like caution, not a skipped step. Actions outside the list the
251
+ executor does not gate.
252
+ - **A turn in which the executor admitted a miss does not end until the incident record exists.**
253
+ The incident guard refuses at the turn's end: by the time of admission the miss has already
254
+ happened. The records directory is named by the rule's companion, the file name is the date and
255
+ the miss, the form — the layout template. The admission is caught by a set of samples: a miss
256
+ admitted in words outside the set the guard lets through.
257
+ - **A session begun from a handover enters the work by the same rule as any other.** The handover
258
+ lies outside the tree, no check reads it, and it was written yesterday: everything in it is
259
+ checked against the tree. The entry order is four steps in the resume pattern; a guard watches it,
260
+ not memory.
261
+ - **The state of unfinished work comes into the context at session start.** The plan and the
262
+ progress are given whole, the grill by path. A branch of the form `<KEY>-*` without a folder warns
263
+ with a ready command but does not break the session.
264
+ - **A filled window ends a turn only where there is no compaction.** Where it is declared, the
265
+ window is the turn going on: the session compacts and works on, and the stop threshold fires only
266
+ when compaction did not come. A turn closed below the threshold loses the rest of the window the
267
+ tree paid for, and only the owner catches this.
268
+ - **The session's window fill is watched by a guard, not by the executor's memory.** At the first
269
+ threshold it reminds to pick a stopping point, at the second it refuses everything but the
270
+ handover, delivery commands and the task folder — the folder whole: at closing, both the decision
271
+ along the way and the stage revision are edited. The window size and both thresholds the tree sets
272
+ itself; a tree that set no size gets no guard.
273
+ - **The context compaction threshold the tree sets itself, and it stands BELOW the stop threshold.**
274
+ Equal thresholds are a race, and the guard wins it: it stands on the call, and compaction comes
275
+ between turns. The distance is declared as a number, not derived as a difference; whether the
276
+ thresholds stand apart the layout audit tells.
277
+ - **A session closes with a handover, and it lies as a section of the progress.** It is committed
278
+ and goes into the branch, so the handover survives a move to another machine, and no second record
279
+ of the same is started. In it: the tree, the branch, what was done, the next step and what was
280
+ special about the session; for work without a task folder it leaves as a file outside the tree.
282
281
 
283
- ## Чего из закона здесь нет
282
+ - **An option that silences a check is not put in the menu at all.** A disabled linter rule, a line
283
+ in the known list, a file taken out from under the check — all fix the reading, not what it
284
+ pointed at, and this option is the cheapest in the menu. The menu is assembled after it is struck
285
+ out.
284
286
 
285
- Полноту сказанного владельцу не проверяет ничто: гард утверждения ловит слово-утверждение и
286
- ищет команду того же хода, а неверный вывод из верной команды не судит ничем — об образце,
287
- судимом по одному его файлу, и о пути, которым человек не пойдёт, сверять нечего.
287
+ ## What of the law is not here
288
288
 
289
- Признание промаха ловится набором образцов, а не пониманием смысла: промах, признанный
290
- словами вне набора, гард происшествия пропускает. Это его известная граница, а не обещание.
289
+ Nothing checks the completeness of what is said to the owner: the statement guard catches a
290
+ statement word and looks for a command of the same turn; a wrong conclusion from a right command it
291
+ cannot judge — there is nothing to compare with.
291
292
 
292
- ## Паттерны
293
+ An admission of a miss is caught by samples, not by understanding: words outside the set the
294
+ incident guard lets through. That is its known boundary, not a promise.
293
295
 
294
- - `task-flow-handoff` — закрытие захода по заполнению окна: точка остановки и передача.
296
+ ## Patterns
297
+
298
+ - `task-flow-handoff` — closing a session on window fill: the stopping point and the handover.