@rt-tools/agent-kit 0.23.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 (288) hide show
  1. package/README.md +8 -2
  2. package/assets/agents/business-analyst.md +51 -50
  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-epics.github.mjs +75 -41
  15. package/assets/checks/board-folders.mjs +61 -0
  16. package/assets/checks/board-gh.github.mjs +35 -26
  17. package/assets/checks/board-long-work.github.mjs +24 -24
  18. package/assets/checks/board-paths.github.mjs +21 -16
  19. package/assets/checks/board-runs.github.mjs +45 -43
  20. package/assets/checks/board-titles.github.mjs +19 -17
  21. package/assets/checks/board.github.mjs +150 -128
  22. package/assets/checks/check-archive-age.mjs +23 -19
  23. package/assets/checks/check-board.github.mjs +179 -157
  24. package/assets/checks/check-descriptions.mjs +30 -29
  25. package/assets/checks/check-doc-paths.mjs +104 -82
  26. package/assets/checks/check-dupes.mjs +84 -80
  27. package/assets/checks/check-file-size.mjs +79 -70
  28. package/assets/checks/check-glossary.mjs +47 -37
  29. package/assets/checks/check-hook-scope.mjs +30 -27
  30. package/assets/checks/check-lib-layers.mjs +22 -21
  31. package/assets/checks/check-profile-drift.mjs +48 -43
  32. package/assets/checks/check-prose-style.mjs +125 -33
  33. package/assets/checks/check-push-gate.mjs +53 -50
  34. package/assets/checks/check-reuse.mjs +50 -40
  35. package/assets/checks/check-schema-drift.mjs +87 -83
  36. package/assets/checks/check-specs.mjs +155 -134
  37. package/assets/checks/check-state-next.mjs +66 -52
  38. package/assets/checks/check-states.mjs +32 -30
  39. package/assets/checks/check-styles.mjs +52 -51
  40. package/assets/checks/check-turn-map.mjs +54 -46
  41. package/assets/checks/lib-boundaries.mjs +32 -30
  42. package/assets/checks/lib-common.mjs +30 -29
  43. package/assets/checks/lib-domains.mjs +34 -34
  44. package/assets/checks/lib-manifests.mjs +17 -15
  45. package/assets/checks/lib-reexports.mjs +18 -18
  46. package/assets/checks/rt-kit-checks.config.mjs +174 -142
  47. package/assets/checks/signals.mjs +43 -39
  48. package/assets/checks/spec-anchors.mjs +114 -87
  49. package/assets/checks/spec-common.mjs +128 -84
  50. package/assets/checks/spec-contract.mjs +30 -30
  51. package/assets/checks/spec-proposed.mjs +27 -24
  52. package/assets/checks/spec-scenarios.mjs +51 -28
  53. package/assets/checks/task-new.github.mjs +85 -56
  54. package/assets/commands/feedback.md +65 -59
  55. package/assets/commands/next-session.md +64 -57
  56. package/assets/commands/skill-curator.md +83 -79
  57. package/assets/defaults/gate-map.sh +115 -91
  58. package/assets/defaults/project.sh +228 -178
  59. package/assets/defaults/shell.sh +85 -65
  60. package/assets/defaults/turn-map.md +45 -44
  61. package/assets/docs/GLOSSARY.md +142 -65
  62. package/assets/hooks/browser-device-id.sh +12 -12
  63. package/assets/hooks/browser-guard-device-id.sh +46 -14
  64. package/assets/hooks/browser-guard-no-asking.sh +5 -4
  65. package/assets/hooks/browser-guard-no-listing.sh +12 -11
  66. package/assets/hooks/browser-guard-no-other-drivers.sh +48 -42
  67. package/assets/hooks/browser-guard-require-select.sh +34 -23
  68. package/assets/hooks/claim-guard.sh +62 -56
  69. package/assets/hooks/commit-msg.sh +11 -10
  70. package/assets/hooks/conscience-guard.sh +91 -45
  71. package/assets/hooks/constitution-index.sh +16 -16
  72. package/assets/hooks/deny-tail.sh +28 -26
  73. package/assets/hooks/dev-server-guard.sh +46 -43
  74. package/assets/hooks/dispatch.sh +84 -39
  75. package/assets/hooks/docs-guard.sh +105 -86
  76. package/assets/hooks/exam-guard.sh +146 -84
  77. package/assets/hooks/git-guard-delivery-conflict.sh +38 -36
  78. package/assets/hooks/git-guard-delivery-draft.sh +85 -0
  79. package/assets/hooks/git-guard-delivery-folder.sh +50 -43
  80. package/assets/hooks/git-guard-delivery-signature.sh +88 -52
  81. package/assets/hooks/git-guard-delivery.sh +207 -253
  82. package/assets/hooks/git-guard-main.sh +65 -26
  83. package/assets/hooks/git-guard-push-tests.sh +133 -75
  84. package/assets/hooks/glossary-load.sh +23 -22
  85. package/assets/hooks/grill-gate-ask.sh +12 -11
  86. package/assets/hooks/grill-gate.sh +94 -87
  87. package/assets/hooks/guard-note.sh +20 -19
  88. package/assets/hooks/handoff-entry-guard.sh +26 -24
  89. package/assets/hooks/handoff-write.sh +74 -67
  90. package/assets/hooks/hook-input.sh +70 -50
  91. package/assets/hooks/lint-after-edit.sh +95 -61
  92. package/assets/hooks/observe.sh +28 -26
  93. package/assets/hooks/override-write-guard.sh +23 -21
  94. package/assets/hooks/postmortem-guard.sh +42 -39
  95. package/assets/hooks/profile-check.sh +22 -20
  96. package/assets/hooks/proposal-guard.sh +57 -49
  97. package/assets/hooks/prose-style-guard.sh +19 -17
  98. package/assets/hooks/qa-dataid-guard.sh +52 -49
  99. package/assets/hooks/rerun-guard.sh +31 -30
  100. package/assets/hooks/reuse-first-guard.sh +108 -87
  101. package/assets/hooks/roles.sh +14 -14
  102. package/assets/hooks/rule-article.sh +36 -34
  103. package/assets/hooks/rule-source-guard.sh +52 -36
  104. package/assets/hooks/skill-gate-layers.sh +59 -57
  105. package/assets/hooks/skill-gate-rearm.sh +15 -8
  106. package/assets/hooks/skill-gate.sh +89 -81
  107. package/assets/hooks/skill-loaded.sh +6 -6
  108. package/assets/hooks/sql-guard-parse.sh +68 -66
  109. package/assets/hooks/sql-guard-request.sh +48 -46
  110. package/assets/hooks/sql-guard-target.sh +57 -51
  111. package/assets/hooks/sql-guard-write.sh +84 -79
  112. package/assets/hooks/sql-guard.sh +52 -47
  113. package/assets/hooks/stand-login-guard.sh +104 -0
  114. package/assets/hooks/task-context-load.sh +60 -55
  115. package/assets/hooks/task-flow-context.sh +87 -69
  116. package/assets/hooks/task-flow-draft-guard.sh +55 -48
  117. package/assets/hooks/task-flow-guard.sh +67 -64
  118. package/assets/hooks/turn-entry-load.sh +39 -32
  119. package/assets/hooks/turn-exit-guard.sh +256 -204
  120. package/assets/hooks/turn-exit-patterns.sh +53 -0
  121. package/assets/hooks/utf8.sh +11 -11
  122. package/assets/hooks/waiting-turn-guard.sh +94 -94
  123. package/assets/hooks/window-fill-guard.sh +70 -62
  124. package/assets/hooks/work-start-guard.sh +52 -49
  125. package/assets/hooks/write-targets.sh +115 -30
  126. package/assets/laws/autonomous-work.md +29 -27
  127. package/assets/laws/code-structure.md +31 -30
  128. package/assets/laws/delivery.md +148 -137
  129. package/assets/laws/entity-editing.md +52 -50
  130. package/assets/laws/entity-models.md +14 -13
  131. package/assets/laws/frontend-application.md +39 -38
  132. package/assets/laws/lib-imports.md +27 -27
  133. package/assets/laws/lists.md +31 -29
  134. package/assets/laws/navigation.md +37 -37
  135. package/assets/laws/observability.md +41 -40
  136. package/assets/laws/project-documentation.md +106 -99
  137. package/assets/laws/reuse-first.md +31 -29
  138. package/assets/laws/shared-code.md +27 -27
  139. package/assets/laws/verifiability.md +131 -114
  140. package/assets/laws/work-conduct.md +250 -250
  141. package/assets/patterns/admin-lists-screen.md +72 -69
  142. package/assets/patterns/admin-nav-item.md +51 -46
  143. package/assets/patterns/angular-patterns-state.md +32 -31
  144. package/assets/patterns/api-layer-pair.md +33 -31
  145. package/assets/patterns/autonomous-work-run.md +50 -49
  146. package/assets/patterns/browser-verification-measure.md +143 -67
  147. package/assets/patterns/browser-verification-stand.md +181 -128
  148. package/assets/patterns/component-structure-new.md +51 -42
  149. package/assets/patterns/dependencies-upgrade.md +55 -39
  150. package/assets/patterns/doc-style-human.md +93 -0
  151. package/assets/patterns/doc-style-sweep.md +82 -79
  152. package/assets/patterns/doc-style-trace.md +87 -81
  153. package/assets/patterns/doc-style-write.md +130 -122
  154. package/assets/patterns/entity-aside.md +77 -63
  155. package/assets/patterns/entity-models-new.md +37 -37
  156. package/assets/patterns/entity-store.md +33 -33
  157. package/assets/patterns/git-workflow-commit.azure.md +94 -75
  158. package/assets/patterns/git-workflow-commit.github.md +153 -129
  159. package/assets/patterns/git-workflow-commit.gitlab.md +96 -78
  160. package/assets/patterns/git-workflow-docker.md +165 -147
  161. package/assets/patterns/git-workflow-freshness.md +45 -45
  162. package/assets/patterns/git-workflow-merge.md +99 -86
  163. package/assets/patterns/git-workflow-migration.md +54 -52
  164. package/assets/patterns/git-workflow-pr-ready.md +57 -56
  165. package/assets/patterns/git-workflow-pr.azure.md +126 -121
  166. package/assets/patterns/git-workflow-pr.github.md +179 -175
  167. package/assets/patterns/git-workflow-pr.gitlab.md +138 -131
  168. package/assets/patterns/git-workflow-restart.md +35 -31
  169. package/assets/patterns/git-workflow-secrets.md +80 -73
  170. package/assets/patterns/git-workflow-stack.md +131 -106
  171. package/assets/patterns/lib-layers-move.md +62 -53
  172. package/assets/patterns/lib-layers-new.md +59 -45
  173. package/assets/patterns/observability-record.md +72 -67
  174. package/assets/patterns/platform-access-di.md +31 -29
  175. package/assets/patterns/reuse-first-extend.md +66 -61
  176. package/assets/patterns/shared-code-new.md +39 -38
  177. package/assets/patterns/spec-driven-domain.md +161 -151
  178. package/assets/patterns/spec-driven-rule.md +179 -168
  179. package/assets/patterns/spec-driven-sweep.md +41 -39
  180. package/assets/patterns/status-report-table.github.md +37 -36
  181. package/assets/patterns/styling-bem-component.md +42 -42
  182. package/assets/patterns/styling-bem-layout.md +39 -34
  183. package/assets/patterns/styling-bem-sheet.md +59 -58
  184. package/assets/patterns/task-flow-archive.md +222 -215
  185. package/assets/patterns/task-flow-close.md +215 -203
  186. package/assets/patterns/task-flow-handoff.md +154 -145
  187. package/assets/patterns/task-flow-resume.md +138 -133
  188. package/assets/patterns/task-flow-start.md +204 -192
  189. package/assets/patterns/testing-e2e.md +103 -92
  190. package/assets/patterns/testing-unit.md +77 -70
  191. package/assets/patterns/ts-procedure.md +32 -29
  192. package/assets/patterns/turn-entry-map.md +50 -48
  193. package/assets/pitfalls/agent-kit.md +152 -141
  194. package/assets/pitfalls/doc-style.md +96 -91
  195. package/assets/pitfalls/git-workflow.azure.md +49 -46
  196. package/assets/pitfalls/git-workflow.github.md +264 -234
  197. package/assets/pitfalls/git-workflow.gitlab.md +49 -45
  198. package/assets/pitfalls/spec-driven.md +73 -71
  199. package/assets/pitfalls/styling-bem.md +46 -40
  200. package/assets/pitfalls/task-flow.md +262 -246
  201. package/assets/pitfalls/testing.md +99 -92
  202. package/assets/pitfalls/turn-conduct.md +96 -81
  203. package/assets/rules/angular-patterns.md +81 -80
  204. package/assets/rules/api-layer.md +77 -74
  205. package/assets/rules/autonomous-work.md +75 -74
  206. package/assets/rules/browser-verification.md +223 -188
  207. package/assets/rules/component-structure.md +72 -69
  208. package/assets/rules/dependencies.md +74 -67
  209. package/assets/rules/deploy-flow.azure.md +118 -108
  210. package/assets/rules/deploy-flow.github.md +145 -135
  211. package/assets/rules/deploy-flow.gitlab.md +120 -110
  212. package/assets/rules/doc-style.md +209 -148
  213. package/assets/rules/entity-conventions.needs-admin.md +81 -79
  214. package/assets/rules/entity-models.md +73 -70
  215. package/assets/rules/git-workflow.azure.md +224 -228
  216. package/assets/rules/git-workflow.github.md +250 -242
  217. package/assets/rules/git-workflow.gitlab.md +218 -217
  218. package/assets/rules/lib-layers.md +85 -86
  219. package/assets/rules/lists.md +101 -97
  220. package/assets/rules/navigation.md +78 -78
  221. package/assets/rules/observability.needs-app.md +165 -153
  222. package/assets/rules/platform-access.md +76 -75
  223. package/assets/rules/reuse-first.md +153 -137
  224. package/assets/rules/shared-code.md +82 -79
  225. package/assets/rules/spec-driven.md +272 -260
  226. package/assets/rules/status-report.md +55 -58
  227. package/assets/rules/styling-bem.md +83 -72
  228. package/assets/rules/task-flow.md +282 -270
  229. package/assets/rules/testing.md +224 -188
  230. package/assets/rules/turn-conduct.md +255 -258
  231. package/assets/rules/turn-entry.md +92 -87
  232. package/assets/rules/typescript-conventions.md +94 -88
  233. package/assets/samples/specs/_template/spec.md +47 -47
  234. package/assets/samples/tasks/_template/grill.md +20 -20
  235. package/assets/samples/tasks/_template/plan.md +32 -30
  236. package/assets/samples/tasks/_template/progress.md +16 -16
  237. package/assets/skills/agent-kit-extend.md +129 -113
  238. package/assets/skills/agent-kit.md +236 -222
  239. package/assets/skills/write-a-skill.md +76 -71
  240. package/assets/templates/findings.md +19 -19
  241. package/assets/templates/gate-map.sh +16 -14
  242. package/assets/templates/implementation.md +28 -27
  243. package/assets/templates/pattern.md +17 -17
  244. package/assets/templates/pitfalls.md +6 -6
  245. package/assets/templates/postmortem.md +24 -23
  246. package/assets/templates/project.sh +24 -24
  247. package/assets/templates/proposal.md +62 -60
  248. package/assets/templates/rule.md +38 -38
  249. package/assets/workflows/feature.js +46 -46
  250. package/assets/workflows/plan.js +54 -54
  251. package/lib/catalog.d.ts +2 -0
  252. package/lib/catalog.d.ts.map +1 -1
  253. package/lib/catalog.js +4 -3
  254. package/lib/catalog.js.map +1 -1
  255. package/lib/commands.d.ts.map +1 -1
  256. package/lib/commands.js +68 -4
  257. package/lib/commands.js.map +1 -1
  258. package/lib/companion.js +3 -2
  259. package/lib/companion.js.map +1 -1
  260. package/lib/enroll.d.ts +7 -1
  261. package/lib/enroll.d.ts.map +1 -1
  262. package/lib/enroll.js +13 -4
  263. package/lib/enroll.js.map +1 -1
  264. package/lib/observations.d.ts +10 -1
  265. package/lib/observations.d.ts.map +1 -1
  266. package/lib/observations.js +1 -0
  267. package/lib/observations.js.map +1 -1
  268. package/lib/override-marks.d.ts +24 -0
  269. package/lib/override-marks.d.ts.map +1 -0
  270. package/lib/override-marks.js +98 -0
  271. package/lib/override-marks.js.map +1 -0
  272. package/lib/plan.d.ts +11 -0
  273. package/lib/plan.d.ts.map +1 -1
  274. package/lib/plan.js +10 -1
  275. package/lib/plan.js.map +1 -1
  276. package/lib/ship.d.ts +0 -7
  277. package/lib/ship.d.ts.map +1 -1
  278. package/lib/ship.js +10 -2
  279. package/lib/ship.js.map +1 -1
  280. package/lib/shipment.d.ts.map +1 -1
  281. package/lib/shipment.js +7 -3
  282. package/lib/shipment.js.map +1 -1
  283. package/lib/sync.d.ts.map +1 -1
  284. package/lib/sync.js +45 -11
  285. package/lib/sync.js.map +1 -1
  286. package/package.json +1 -1
  287. package/rt-tools-agent-kit-0.26.0.tgz +0 -0
  288. package/rt-tools-agent-kit-0.23.0.tgz +0 -0
@@ -1,246 +1,262 @@
1
- # Ведение работы — холодная часть
2
-
3
- Ловушки и поведение по разборам происшествий. Грузится не вместе с правилом, а по требованию:
4
- при обычном решении она не нужна — она нужна тому, кто разбирает промах или спорит с гардом.
5
-
6
- Правило — `task-flow`; статьи, которыми держится закон, стоят там.
7
-
8
- ## Ловушки
9
-
10
- - **Задача, отобранная в эпик по своему телу, бывает закрыта до начала работы.** Между заведением
11
- задачи и её взятием проходят недели, и всё это время дерево правится соседними работами: у двух
12
- задач одного эпика по три части из четырёх оказались сделанными — тело описывало дерево
13
- месячной давности. Отбор поэтому начинается с чтения кода, а разбор просьбы называет, что из
14
- тела задачи в дереве ещё верно.
15
-
16
- - **Разрешение владельца, оставленное в репозитории, теряется на каждой новой ветке.** Оно
17
- записано номером в файл ветки, а следующая ветка отводится от главной и его не несёт: гард
18
- отбивает работу, которую владелец разрешил, — и повторяется это ровно столько раз, сколько
19
- веток заведут до слияния разрешившего коммита. Отказ гарда при этом называет файл и молчит о
20
- том, что запись принадлежит ветке: из его текста это читается как настройка дерева. Пока
21
- разрешение живёт в репозитории, номер дописывается заново в каждую новую ветку.
22
- - **Имя чужого дерева в файлы репозитория не пишется, а путь к образцу — пишется.** Обе вещи
23
- живут рядом с передачей захода именно поэтому: там законен полный путь, а в репозитории —
24
- только ссылка без имени.
25
- - **Строка «Ждём владельца» в ходе работы живёт дольше причины, по которой её написали.** Она
26
- лежит на диске, приходит в контекст следующим заходом и читается как действующее состояние —
27
- поэтому снимается тем же ходом, которым владелец ответил. Иначе ожидание подтверждает себя
28
- само: три указания владельца подряд не пересилили одной строки на диске.
29
-
30
- - **Папка называется именем ветки, один в один.** Хук запуска ищет её по
31
- `git branch --show-current`, и папка, названная иначе, не находится ничем: работа идёт с
32
- пустым контекстом, а владельца просят пересказать то, что уже записано.
33
- - **Разбор просьбы задним числом не переписывается.** Пересказ незаметно подгоняется под уже
34
- сделанное, и сверять результат становится не с чем. Решение, изменённое по ходу, дописывается
35
- в ход работы, а не правится в разборе.
36
- - **Договорённость о продукте не кладётся в папку задачи.** Папка умирает с мержем, а
37
- договорённость обязана его пережить: её сценарии получают номера в общей нумерации домена,
38
- и на них ссылаются заголовки тестов. Обратное тоже верно — ход работы не кладётся в
39
- `proposed/`: спек, в котором завелись шаги, снова становится планом и умирает после мержа.
40
- - **У меню нет строки «вопрос не тот».** Меню годится там, где выбор действительно закрыт;
41
- пока постановка вопроса не подтверждена, отвергнуть её владельцу нечем — он выбирает из
42
- вариантов неверной посылки, и выйти из набора может только руками. Настройки владельца,
43
- требующие меню, требование не снимают: тогда к каждому вопросу добавляется свободный вариант,
44
- и он же — единственное место, где вопрос отвергается целиком. Три вопроса ушли одним меню, у
45
- одного постановка была ложной. Там, где под сомнением сама уместность вопроса, его сперва
46
- проверяют по репликам владельца — и чаще всего не задают.
47
- - **Субагент вопросов владельцу не задаёт.** Ни роли, ни конвейер до него не достучатся —
48
- они возвращают текст главному агенту. Поэтому разбор ведёт главный агент, а роли стоят по
49
- обе стороны от него.
50
- - **Если дефект чинится правкой одного общего числа, спроси владельца, тем ли способом ты его
51
- чинишь.** Замер показывает, что дефект ушёл, — но не то, что причину вылечили. В одной
52
- задаче так ушли две правки подряд: сначала подняли общее число у соседнего узла, потом
53
- перенесли узел в другое место разметки. Обе владелец отверг, а нужный способ назвал сам.
54
- Спрашивают до правки, а не показывают замер после.
55
- - **Путь, предложенный человеку, судится числом его шагов и тем, чем ему для этого надо
56
- владеть.** Со стороны кода вариант выглядит дешёвым — «меньше путей», «строку запуска не
57
- трогаем», — а человеку он стоит захода на сервер: рекомендуемым так стояла выдача токена, за
58
- которой владельцу надо было идти по ssh в работающий контейнер. Цена называется со стороны
59
- того, кто пойдёт; пересказ порядка без неё владелец читает как одобрение.
60
- - **Эпик по теме читается до того, как решается раскладка.** Замысел эпика держит решения,
61
- которые пережили десяток задач, и разведка по коду их не находит: снятое решение следа в
62
- дереве не оставляет. Домен, заведённый генератором и снесённый через полчаса, стоял в замысле
63
- прямым запретом — но замысел открыли уже после того, как он был заведён во второй раз.
64
- - **Работа, которая разбирает чужую папку задачи, разбирает и свою — одним коммитом.** Свою
65
- папку она заводит наравне со всеми, и круг, которым исключение оправдывали, закрывается
66
- порядком разбора: последний коммит снимает обе. Однажды такой разбор оставил свою папку, и на
67
- неё пришлось заводить третью задачу. Как разобрать две папки — паттерн `task-flow-archive`.
68
- - **Слово для нового понятия берётся из `docs/GLOSSARY.md` или заводится там же.** Третий файл
69
- папки задачи называется `progress.md`, а не `journal.md`, ровно поэтому: журнал в этом
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
- Задача серии заводится за недели до того, как её берут, и к этому дню предложенный ход бывает
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
- коммит помещалась в тело PR и папки не заводила. За один заход это исключение дважды стало
179
- поводом обойти отказ гарда вместо того, чтобы завести папку и пойти дальше.
180
- - **Разбор папки до открытия PR.** Прежде уборка стояла после одобрения. Трижды подряд папка
181
- уехала в главную ветку неразобранной, и разобрать её было уже некому: работа перешла к
182
- следующей задаче, а PR закрылся.
183
- - **Шапка раскладки в копии образца.** Оставленная в копии, она отбивает первую же правку
184
- разбора просьбы, а отказ уводит править образец пакета вместо копии под задачу.
185
- - **Расхождение, не найденное чтением образца целиком, находит владелец** — на приёмке всей
186
- работой, а не отдельной правкой.
187
- - **Папка, уехавшая в главную ветку.** Три раза подряд папка закрытой задачи так и уехала
188
- неразобранной, в последний раз их набралось пять.
189
- - **Этап, вставший из-за одной своей части.** Этап состоял из пяти частей, одна ждала поднятых
190
- владельцем серверов — встали все пять. Остальные четыре от ожидаемого не зависели ничем.
191
-
192
- - **Замысел эпика, положенный каждым заходом заново, теряет решения предыдущих.** Имя, адрес и
193
- способ, названные владельцем по ходу, живут там же, где состав и порядок задач.
194
- - **Чтение обхода из самой команды работает и без сети.** Строка `Task-folder-skip:` читается и
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
- отложенный, он пишется по памяти о том, сколько задач было, а не сколько осталось.
1
+ # Work conduct — cold part
2
+
3
+ Pitfalls and behaviour from incident analyses. Loaded not with the rule but on demand: an ordinary
4
+ decision does not need it — it is for whoever investigates a miss or argues with a guard.
5
+
6
+ The rule is `task-flow`; the articles that hold the law stand there.
7
+
8
+ ## Pitfalls
9
+
10
+ - **A task picked into an epic by its body can be closed before the work starts.** Weeks pass
11
+ between creating a task and taking it, and all that time the tree is edited by neighbouring work:
12
+ two tasks of one epic had three parts out of four already done — the body described the tree of a
13
+ month ago. So selection starts with reading the code, and the grill names what of the task body is
14
+ still true in the tree.
15
+
16
+ - **An owner's permission left in the repository is lost on every new branch.** It is written into a
17
+ file of the branch, and the next branch is taken from main and does not carry it: the guard
18
+ forbids the permitted work as many times as branches are created before the merge. The refusal
19
+ names the file and is silent about the record belonging to the branch. While the permission lives
20
+ in the repository, the number is appended in every new branch.
21
+ - **The name of another tree is not written into repository files, but the path to a sample is.**
22
+ Both things live next to the session handover for exactly that reason: a full path is lawful
23
+ there, and in the repository — only a reference without the name.
24
+ - **The line "Waiting for the owner" in the progress outlives the reason it was written for.** It
25
+ lies on disk, enters the context in the next session and reads as the current state — so it is
26
+ removed in the same turn in which the owner answered. Otherwise the wait confirms itself: three
27
+ owner's instructions in a row did not outweigh one line on disk.
28
+
29
+ - **The folder is named after the branch, one to one.** The startup hook looks for it by `git branch
30
+ --show-current`, and a folder named otherwise is found by nothing: the work goes on with an empty
31
+ context, and the owner is asked to retell what is already written.
32
+ - **The grill is not rewritten after the fact.** The retelling gets quietly fitted to what has
33
+ already been done, and there is nothing left to check the result against. A decision changed along
34
+ the way is appended to the progress, not edited in the grill.
35
+ - **The product agreement is not placed in the task folder.** The folder dies with the merge, and
36
+ the agreement has to outlive it: its scenarios get numbers in the domain's shared numbering, and
37
+ test titles refer to them. The reverse holds too — the progress is not placed in `proposed/`: a
38
+ spec in which steps appeared becomes a plan again and dies after the merge.
39
+ - **A menu has no line "wrong question".** A menu fits where the choice is closed; until the framing
40
+ of the question is confirmed, the owner has nothing to reject it with — they choose among the
41
+ options of a false premise. If the settings demand a menu, a free option is added to every
42
+ question. Three questions went out as one menu, one of them with a false framing: whether a
43
+ question fits is first checked against the owner's replies.
44
+ - **A subagent asks the owner no questions.** Neither a role nor the pipeline reaches them — they
45
+ return text to the main agent. So the grill is led by the main agent, with the roles standing on
46
+ both sides of it.
47
+ - **If a defect is fixed by editing one shared number, ask the owner whether you are fixing it the
48
+ right way.** A measurement shows the defect is gone — not that the cause was cured. In one task
49
+ two edits went this way in a row: first a shared number on a neighbouring node was raised, then
50
+ the node was moved to another place in the markup. The owner rejected both and named the needed
51
+ way himself. Ask before the edit, do not show the measurement after.
52
+ - **A path offered to a person is judged by the number of their steps and by what they must have to
53
+ walk it.** From the code side an option looks cheap — "fewer paths", "the launch line is
54
+ untouched" — while for a person it costs a visit to the server: issuing a token stood as
55
+ recommended, and for it the owner would have had to go over ssh into a running container. The
56
+ price is named from the side of the one who will walk it; a retelling of the order without it the
57
+ owner reads as approval.
58
+ - **The epic on the theme is read before the layout is decided.** The epic plan holds decisions that
59
+ survived a dozen tasks, and code exploration does not find them: a withdrawn decision leaves no
60
+ trace in the tree. A domain created by the generator and torn down half an hour later stood in the
61
+ plan as an explicit ban — but the plan was opened only after it had been created a second time.
62
+ - **Work that takes apart someone else's task folder takes apart its own too — in one commit.** It
63
+ creates its own folder like everyone else, and the circle used to justify the exception is closed
64
+ by the order of the take-apart: the last commit removes both. Once such a take-apart left its own
65
+ folder, and a third task had to be created for it. How to take two folders apart — pattern
66
+ `task-flow-archive`.
67
+ - **The word for a new notion is taken from `docs/GLOSSARY.md` or added there.** The third file of
68
+ the task folder is called `progress.md`, not `journal.md`, for exactly that reason: there is one
69
+ journal in this tree, and it is a different one.
70
+ - **The task folder draft is named with the same short name as the future branch.** The creation
71
+ command looks for the draft by it and, not finding it, silently assembles the folder from the
72
+ template: the work goes on, while the grill stays lying in an abandoned directory, and the next
73
+ session questions the owner anew. The draft got its name from the words of the request, the branch
74
+ from the terminology of the agreement; the same words, yet not the same.
75
+
76
+ - **Waiting on one part of a stage is never a stop of the stage.** The parts that do not depend on
77
+ what is awaited are done in the same turn: to say "acceptance is pending" and touch nothing else
78
+ is a stop of the whole work for a reason that applies to a tenth of it. The rule speaks of the
79
+ task, and "one part is pending" is read by it as "the work is pending" — of five parts of a stage,
80
+ one was waiting.
81
+
82
+ - **A line with a path is never an assignment.** An address names a file, not an action; read as an
83
+ instruction, it gives the session work the owner did not ask for. The same with any line without a
84
+ verb: asking what to do with it is cheaper than writing fifty files past the request.
85
+
86
+ - **A stage's readiness sign is written about its own half of the output, not about the whole
87
+ output.** The check counts the whole tree, and the stage edits a part of it: "output without a
88
+ single debt line" fails not because the stage is not done but because three lines belong to an
89
+ unmerged neighbouring branch. The sign names its own lines and its own number, and a statement
90
+ about the whole output holds until the first neighbour.
91
+
92
+ - **A copy of the task folder template carries the layout header, and the very first edit is refused
93
+ by the guard.** The copy for the task looks like a laid-out file, and the refusal names the
94
+ package source address — it leads to editing the template instead of the copy. The task creation
95
+ command strips the header itself; copying by hand does not. Such a copy is fixed only by writing
96
+ it anew.
97
+ - **The project name in a stage's readiness sign is asked from the builder, not written from
98
+ memory.** To an unknown name the builder answers that nothing was run and exits zero: the sign's
99
+ command ran not a single test and kept silent exactly like a green run. This shows only by the
100
+ count of what was run, and nobody reads it.
101
+
102
+ - **A stage closed without a push runs the gate checks as its last motion.** A stage's sign calls
103
+ its own commands and knows no shared ones, and the gate turns red only on the push: a branch
104
+ without pushes accumulates red until the first one, and the miss travels two stages away from
105
+ where it was made.
106
+
107
+ - **A closing sign is asked whether the executor can confirm it alone.** A sign that requires a
108
+ person — a password, a button in someone else's panel, the owner's look — stops the work at the
109
+ last step: everything is done, and there is nothing to say "closed" with. This is asked during the
110
+ grill.
111
+
112
+ - **A closing sign checks the outcome at the side that stores it, not the answer of the call.** The
113
+ call answers about itself: sent, accepted, exit code zero — and all of that is true while nothing
114
+ is recorded. Eight tasks in a row counted the mark as working by the command's answer, and it
115
+ moved nothing.
116
+
117
+ - **One's own temporary files go outside the code tree — otherwise their removal is judged as an
118
+ edit of the application.** The write sign counts a deletion as a write, and that is on purpose:
119
+ something removed without a plan leaves no trace. The sign has nothing to tell one's own temporary
120
+ directory from a domain directory — both paths sit under the same root — and the guard demands a
121
+ plan for cleaning up a draft. The directory is named by the tree's profile, and it lies outside
122
+ the code tree.
123
+
124
+ - **A task body written ahead of the plan names the method, and the method goes stale before the
125
+ defect.** A task of a series is created weeks before it is taken; by that day the proposed method
126
+ can already be wrong: the package already does what the task called to write, the named place in
127
+ the tree is gone. So work starts with reading the file the task refers to, not with executing its
128
+ body. A discrepancy changes the method, but not the goal.
129
+
130
+ - **Work that ran into a permission is carried to the end without the part the permission opens.** A
131
+ run and a review end on their own, while a refused permission never ends: a turn that declared a
132
+ wait stops the work whole. Everything that does not depend on the permission is done; what was not
133
+ passed is written into the PR body, where the reviewer reads it.
134
+
135
+ - **The owner's word about how something is arranged is a framing, not a decision.** What they named
136
+ usually already lives in the tree under that very word: it has a name on screen, a section in the
137
+ spec and a field in the model, and checking costs one search. Interpreted by the nearest code, the
138
+ word looks like a fulfilled request right up to acceptance: the edit is merged by then, and the
139
+ owner got work in someone else's console instead of a field in the application. Did the reading
140
+ diverge from the tree — the owner is asked, and asked before the edit.
141
+
142
+ - **An instruction to work by the flow is an instruction to do its steps, including those that
143
+ change history.** Marking a stage, pushing the branch and opening the PR are prescribed by the
144
+ flow; no separate word for each is needed. The tree's general ban on acting without a request,
145
+ read literally, yields an instruction carried out by half. There is one boundary: the owner's
146
+ direct word about the step itself — "do not push the branch" holds however many times the flow
147
+ prescribes it.
148
+
149
+
150
+ - **The work queue does not end with the epic.** An epic occupied by other executors or finished
151
+ means the next task from the queue, not a stop: "no free tasks in the epic" is never an answer to
152
+ "what to do", because it is the queue that answers that question, not the epic. It is asked by the
153
+ command, not recalled from the handover: a statement in the handed-over text describes the tree
154
+ and the day it was written in.
155
+ - **A closing step of the work does not count as taking the next task.** Moving the task being
156
+ closed to the review column and removing its folder are mandatory closing steps, and both happen
157
+ in the same turn that opens the PR. A turn with nothing else in it does not move the work, however
158
+ many commands it holds.
159
+ - **A folder draft without a number is lost silently.** It lies outside history, and neither the
160
+ board, nor the work queue audit, nor the next session sees it. The abandoned-grill threshold does
161
+ not catch this loss: the work loses to neighbouring assignments within the hour, and the week
162
+ passes afterwards.
163
+ - **A stack of branches costs more, and its price is named.** A PR into a neighbouring branch does
164
+ not start the pipeline declared for the main base; merging the base branch closes the next PR as
165
+ merged although its edits are not in main; a conflict from someone else's merge is resolved anew
166
+ in every branch of the stack. An arrangement chosen silently collects the whole price and shows
167
+ none of its parts. Tasks that follow one another in code lawfully live as branches from main, as
168
+ long as the next edit does not rest on the code of the previous one.
169
+
170
+ - **A find in the middle of a stage feels like part of the current work when the subject is
171
+ adjacent.** It has no sign of its own: before the first edit the find is not in the tree, and
172
+ after it the files of neighbouring work do not differ from one's own. So the plan's list of exit
173
+ conditions is checked, not the feeling. Once such an edit was stopped by an unrelated refusal by
174
+ file kind, not by a check against the plan: without it, it would have gone into someone else's
175
+ branch, and the two pieces of work would have had no separate rollback.
176
+
177
+ ## Executor behaviour — from incident analyses
178
+
179
+ Moves out of the rule in the next task of the epic.
180
+
181
+ ## What stood in the articles
182
+
183
+ Cases and numbers that used to stand next to the rule's articles. No edit decision rests on them:
184
+ they are for whoever investigates a miss or argues with a guard.
185
+ - **A task folder for any work.** Before, the rule judged by the number of sessions: work fitting in
186
+ one commit went into the PR body and created no folder. In one session that exception twice became
187
+ a reason to bypass a guard's refusal instead of creating the folder and moving on.
188
+ - **Taking the folder apart before opening the PR.** Before, the cleanup stood after approval. Three
189
+ times in a row the folder went into the main branch untouched, and there was nobody left to take
190
+ it apart: the work had moved to the next task, and the PR was closed.
191
+ - **The layout header in a copy of the template.** Left in the copy, it refuses the very first edit
192
+ of the grill, and the refusal leads to editing the package template instead of the copy for the
193
+ task.
194
+ - **A discrepancy not found by reading the template whole is found by the owner** — at acceptance of
195
+ the whole work, not of a single edit.
196
+ - **A folder that went into the main branch.** Three times in a row the folder of a closed task went
197
+ there not taken apart; the last time there were five of them.
198
+ - **A stage stalled because of one of its parts.** The stage had five parts, one waited for servers
199
+ the owner had to raise — all five stalled. The other four did not depend on the awaited thing at
200
+ all.
201
+
202
+ - **An epic plan written anew by each session loses the decisions of the previous ones.** The name,
203
+ the address and the method named by the owner along the way live in the same place as the set and
204
+ order of tasks.
205
+ - **Reading the skip from the command itself works without the network too.** The
206
+ `Task-folder-skip:` line is read both from the PR body and from the call text: the second road
207
+ remains when the hosting is unreachable.
208
+ - **A draft without a number is the only folder absent from history.** There is nothing to put there
209
+ until there is a name.
210
+ - **On the board an epic of ten tasks looks like one.** Created one by one, they hide the volume:
211
+ the owner sees a card, not ten.
212
+ - **The review of closed work is led by the closed-task review role.** A tree that has not laid it
213
+ out leads the review itself.
214
+ - **The owner needs the list of states at the start of the work.** Without it, after six questions
215
+ neither what comes next nor how much lies ahead is visible.
216
+ - **The tail of handed-over work is four steps:** open the PR, wait for the run, lift the draft, ask
217
+ for a merge. They have no state on disk any more.
218
+ - **A one-line grill passes the guard the same as a hundred-line one.** The grill template lists the
219
+ six mandatory questions as a table, and an empty table passes on a par with a filled one.
220
+ - **The conversation guard's refusal is carried out after the fact.** The owner sees the unasked
221
+ question together with the refused turn: a prose question is not a tool call, and there is nothing
222
+ to catch it earlier. The guard marks the miss but does not undo it.
223
+ - **The folder requirement skip is needed where the work merges in parts.** Then it is not taken
224
+ apart until the end, and the reason stays in the PR.
225
+ - **The state line is more precise than any promise.** It is visible in the file, the guard reads
226
+ it, behind it stands a list with a mandatory action — which is why, moved ahead, it gives itself
227
+ away by nothing.
228
+ - **Progress living in the working tree is visible to nobody.** The owner sees a branch without a
229
+ single trace of what is done in it, and the next session finds emptiness instead of "Where we
230
+ stand". This is the second consequence of an uncommitted folder, and it is quieter than the first:
231
+ no refusal comes at all.
232
+ - **The layout header left in a copy of the template refuses the very first edit of the grill.** The
233
+ refusal then leads to editing the package template instead of the copy for the task.
234
+ - **Edits after review remarks go without a plan on disk.** The folder is taken apart by a commit of
235
+ the branch before the PR opens, and from that minute the work has no state: the branch history
236
+ judges it.
237
+ - **A state boundary looks like a finished piece better than any milestone.** A reply to the owner
238
+ about a taken task is indistinguishable from a stop: the number, the branch and the column are
239
+ named, and everything named is true.
240
+ - **A PR in the wrong language.** In a tree where PRs are written in another language, a foreign
241
+ title went to the hosting twice, and both times it was caught by eye.
242
+ - **A question drowned in the reply.** The owner asked three times why the work was standing.
243
+ - **Someone else's epic in the queue list.** Twice in a row the first task of someone else's epic
244
+ was taken next: in the list it looks like one's own.
245
+
246
+ - **An uncommitted task folder refuses where there is nothing left to fix.** The guard asks for it
247
+ from disk, so every edit passes without refusal, and the sign of handed-over work is taken from
248
+ the branch history. The refusal comes at opening the PR — when the folder has been taken apart by
249
+ hand: the plan is gone, and it has to be assembled from memory. All that while the owner sees a
250
+ branch without a trace of what is done in it.
251
+ - **A run placed as the first closing step eats the session window.** It costs more than all the
252
+ other steps together: the one who spent it hit the fill threshold on four binding lines — on work
253
+ that would have taken a minute had it come first.
254
+ - **Permission to work outside the assigned epic belongs to the working tree, not to the branch.**
255
+ Written into a repository file, it leaves with the branch: from a neighbouring one it is
256
+ invisible, and the epic guard refuses exactly the work the owner permitted. Its place is next to
257
+ the session handover. The list is filled by the executor and permitted by the owner: a number
258
+ written in by oneself is not a permission.
259
+ - **A task moved to another epic is removed from the previous one's set in the same turn.** The move
260
+ is two motions, and done by half it leaves the task in two sets at once: the epic looks unclosed
261
+ with all its work done. The total is written where the set is edited: postponed, it is written
262
+ from memory of how many tasks there were, not how many remain.