@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.
- package/README.md +8 -2
- package/assets/agents/business-analyst.md +51 -50
- package/assets/agents/conscience.md +37 -35
- package/assets/agents/project-manager.md +49 -48
- package/assets/agents/prose-editor.md +31 -29
- package/assets/agents/qa-engineer.md +50 -48
- package/assets/agents/rules-reviewer.md +63 -58
- package/assets/agents/skill-curator.md +83 -78
- package/assets/agents/spec-critic.md +34 -29
- package/assets/agents/spec-writer.md +35 -32
- package/assets/agents/strict-teacher.md +39 -37
- package/assets/checks/archive-age.mjs +48 -28
- package/assets/checks/archive-prune.mjs +16 -14
- package/assets/checks/board-epics.github.mjs +75 -41
- package/assets/checks/board-folders.mjs +61 -0
- package/assets/checks/board-gh.github.mjs +35 -26
- package/assets/checks/board-long-work.github.mjs +24 -24
- package/assets/checks/board-paths.github.mjs +21 -16
- package/assets/checks/board-runs.github.mjs +45 -43
- package/assets/checks/board-titles.github.mjs +19 -17
- package/assets/checks/board.github.mjs +150 -128
- package/assets/checks/check-archive-age.mjs +23 -19
- package/assets/checks/check-board.github.mjs +179 -157
- package/assets/checks/check-descriptions.mjs +30 -29
- package/assets/checks/check-doc-paths.mjs +104 -82
- package/assets/checks/check-dupes.mjs +84 -80
- package/assets/checks/check-file-size.mjs +79 -70
- package/assets/checks/check-glossary.mjs +47 -37
- package/assets/checks/check-hook-scope.mjs +30 -27
- package/assets/checks/check-lib-layers.mjs +22 -21
- package/assets/checks/check-profile-drift.mjs +48 -43
- package/assets/checks/check-prose-style.mjs +125 -33
- package/assets/checks/check-push-gate.mjs +53 -50
- package/assets/checks/check-reuse.mjs +50 -40
- package/assets/checks/check-schema-drift.mjs +87 -83
- package/assets/checks/check-specs.mjs +155 -134
- package/assets/checks/check-state-next.mjs +66 -52
- package/assets/checks/check-states.mjs +32 -30
- package/assets/checks/check-styles.mjs +52 -51
- package/assets/checks/check-turn-map.mjs +54 -46
- package/assets/checks/lib-boundaries.mjs +32 -30
- package/assets/checks/lib-common.mjs +30 -29
- package/assets/checks/lib-domains.mjs +34 -34
- package/assets/checks/lib-manifests.mjs +17 -15
- package/assets/checks/lib-reexports.mjs +18 -18
- package/assets/checks/rt-kit-checks.config.mjs +174 -142
- package/assets/checks/signals.mjs +43 -39
- package/assets/checks/spec-anchors.mjs +114 -87
- package/assets/checks/spec-common.mjs +128 -84
- package/assets/checks/spec-contract.mjs +30 -30
- package/assets/checks/spec-proposed.mjs +27 -24
- package/assets/checks/spec-scenarios.mjs +51 -28
- package/assets/checks/task-new.github.mjs +85 -56
- package/assets/commands/feedback.md +65 -59
- package/assets/commands/next-session.md +64 -57
- package/assets/commands/skill-curator.md +83 -79
- package/assets/defaults/gate-map.sh +115 -91
- package/assets/defaults/project.sh +228 -178
- package/assets/defaults/shell.sh +85 -65
- package/assets/defaults/turn-map.md +45 -44
- package/assets/docs/GLOSSARY.md +142 -65
- package/assets/hooks/browser-device-id.sh +12 -12
- package/assets/hooks/browser-guard-device-id.sh +46 -14
- package/assets/hooks/browser-guard-no-asking.sh +5 -4
- package/assets/hooks/browser-guard-no-listing.sh +12 -11
- package/assets/hooks/browser-guard-no-other-drivers.sh +48 -42
- package/assets/hooks/browser-guard-require-select.sh +34 -23
- package/assets/hooks/claim-guard.sh +62 -56
- package/assets/hooks/commit-msg.sh +11 -10
- package/assets/hooks/conscience-guard.sh +91 -45
- package/assets/hooks/constitution-index.sh +16 -16
- package/assets/hooks/deny-tail.sh +28 -26
- package/assets/hooks/dev-server-guard.sh +46 -43
- package/assets/hooks/dispatch.sh +84 -39
- package/assets/hooks/docs-guard.sh +105 -86
- package/assets/hooks/exam-guard.sh +146 -84
- package/assets/hooks/git-guard-delivery-conflict.sh +38 -36
- package/assets/hooks/git-guard-delivery-draft.sh +85 -0
- package/assets/hooks/git-guard-delivery-folder.sh +50 -43
- package/assets/hooks/git-guard-delivery-signature.sh +88 -52
- package/assets/hooks/git-guard-delivery.sh +207 -253
- package/assets/hooks/git-guard-main.sh +65 -26
- package/assets/hooks/git-guard-push-tests.sh +133 -75
- package/assets/hooks/glossary-load.sh +23 -22
- package/assets/hooks/grill-gate-ask.sh +12 -11
- package/assets/hooks/grill-gate.sh +94 -87
- package/assets/hooks/guard-note.sh +20 -19
- package/assets/hooks/handoff-entry-guard.sh +26 -24
- package/assets/hooks/handoff-write.sh +74 -67
- package/assets/hooks/hook-input.sh +70 -50
- package/assets/hooks/lint-after-edit.sh +95 -61
- package/assets/hooks/observe.sh +28 -26
- package/assets/hooks/override-write-guard.sh +23 -21
- package/assets/hooks/postmortem-guard.sh +42 -39
- package/assets/hooks/profile-check.sh +22 -20
- package/assets/hooks/proposal-guard.sh +57 -49
- package/assets/hooks/prose-style-guard.sh +19 -17
- package/assets/hooks/qa-dataid-guard.sh +52 -49
- package/assets/hooks/rerun-guard.sh +31 -30
- package/assets/hooks/reuse-first-guard.sh +108 -87
- package/assets/hooks/roles.sh +14 -14
- package/assets/hooks/rule-article.sh +36 -34
- package/assets/hooks/rule-source-guard.sh +52 -36
- package/assets/hooks/skill-gate-layers.sh +59 -57
- package/assets/hooks/skill-gate-rearm.sh +15 -8
- package/assets/hooks/skill-gate.sh +89 -81
- package/assets/hooks/skill-loaded.sh +6 -6
- package/assets/hooks/sql-guard-parse.sh +68 -66
- package/assets/hooks/sql-guard-request.sh +48 -46
- package/assets/hooks/sql-guard-target.sh +57 -51
- package/assets/hooks/sql-guard-write.sh +84 -79
- package/assets/hooks/sql-guard.sh +52 -47
- package/assets/hooks/stand-login-guard.sh +104 -0
- package/assets/hooks/task-context-load.sh +60 -55
- package/assets/hooks/task-flow-context.sh +87 -69
- package/assets/hooks/task-flow-draft-guard.sh +55 -48
- package/assets/hooks/task-flow-guard.sh +67 -64
- package/assets/hooks/turn-entry-load.sh +39 -32
- package/assets/hooks/turn-exit-guard.sh +256 -204
- package/assets/hooks/turn-exit-patterns.sh +53 -0
- package/assets/hooks/utf8.sh +11 -11
- package/assets/hooks/waiting-turn-guard.sh +94 -94
- package/assets/hooks/window-fill-guard.sh +70 -62
- package/assets/hooks/work-start-guard.sh +52 -49
- package/assets/hooks/write-targets.sh +115 -30
- package/assets/laws/autonomous-work.md +29 -27
- package/assets/laws/code-structure.md +31 -30
- package/assets/laws/delivery.md +148 -137
- package/assets/laws/entity-editing.md +52 -50
- package/assets/laws/entity-models.md +14 -13
- package/assets/laws/frontend-application.md +39 -38
- package/assets/laws/lib-imports.md +27 -27
- package/assets/laws/lists.md +31 -29
- package/assets/laws/navigation.md +37 -37
- package/assets/laws/observability.md +41 -40
- package/assets/laws/project-documentation.md +106 -99
- package/assets/laws/reuse-first.md +31 -29
- package/assets/laws/shared-code.md +27 -27
- package/assets/laws/verifiability.md +131 -114
- package/assets/laws/work-conduct.md +250 -250
- package/assets/patterns/admin-lists-screen.md +72 -69
- package/assets/patterns/admin-nav-item.md +51 -46
- package/assets/patterns/angular-patterns-state.md +32 -31
- package/assets/patterns/api-layer-pair.md +33 -31
- package/assets/patterns/autonomous-work-run.md +50 -49
- package/assets/patterns/browser-verification-measure.md +143 -67
- package/assets/patterns/browser-verification-stand.md +181 -128
- package/assets/patterns/component-structure-new.md +51 -42
- package/assets/patterns/dependencies-upgrade.md +55 -39
- package/assets/patterns/doc-style-human.md +93 -0
- package/assets/patterns/doc-style-sweep.md +82 -79
- package/assets/patterns/doc-style-trace.md +87 -81
- package/assets/patterns/doc-style-write.md +130 -122
- package/assets/patterns/entity-aside.md +77 -63
- package/assets/patterns/entity-models-new.md +37 -37
- package/assets/patterns/entity-store.md +33 -33
- package/assets/patterns/git-workflow-commit.azure.md +94 -75
- package/assets/patterns/git-workflow-commit.github.md +153 -129
- package/assets/patterns/git-workflow-commit.gitlab.md +96 -78
- package/assets/patterns/git-workflow-docker.md +165 -147
- package/assets/patterns/git-workflow-freshness.md +45 -45
- package/assets/patterns/git-workflow-merge.md +99 -86
- package/assets/patterns/git-workflow-migration.md +54 -52
- package/assets/patterns/git-workflow-pr-ready.md +57 -56
- package/assets/patterns/git-workflow-pr.azure.md +126 -121
- package/assets/patterns/git-workflow-pr.github.md +179 -175
- package/assets/patterns/git-workflow-pr.gitlab.md +138 -131
- package/assets/patterns/git-workflow-restart.md +35 -31
- package/assets/patterns/git-workflow-secrets.md +80 -73
- package/assets/patterns/git-workflow-stack.md +131 -106
- package/assets/patterns/lib-layers-move.md +62 -53
- package/assets/patterns/lib-layers-new.md +59 -45
- package/assets/patterns/observability-record.md +72 -67
- package/assets/patterns/platform-access-di.md +31 -29
- package/assets/patterns/reuse-first-extend.md +66 -61
- package/assets/patterns/shared-code-new.md +39 -38
- package/assets/patterns/spec-driven-domain.md +161 -151
- package/assets/patterns/spec-driven-rule.md +179 -168
- package/assets/patterns/spec-driven-sweep.md +41 -39
- package/assets/patterns/status-report-table.github.md +37 -36
- package/assets/patterns/styling-bem-component.md +42 -42
- package/assets/patterns/styling-bem-layout.md +39 -34
- package/assets/patterns/styling-bem-sheet.md +59 -58
- package/assets/patterns/task-flow-archive.md +222 -215
- package/assets/patterns/task-flow-close.md +215 -203
- package/assets/patterns/task-flow-handoff.md +154 -145
- package/assets/patterns/task-flow-resume.md +138 -133
- package/assets/patterns/task-flow-start.md +204 -192
- package/assets/patterns/testing-e2e.md +103 -92
- package/assets/patterns/testing-unit.md +77 -70
- package/assets/patterns/ts-procedure.md +32 -29
- package/assets/patterns/turn-entry-map.md +50 -48
- package/assets/pitfalls/agent-kit.md +152 -141
- package/assets/pitfalls/doc-style.md +96 -91
- package/assets/pitfalls/git-workflow.azure.md +49 -46
- package/assets/pitfalls/git-workflow.github.md +264 -234
- package/assets/pitfalls/git-workflow.gitlab.md +49 -45
- package/assets/pitfalls/spec-driven.md +73 -71
- package/assets/pitfalls/styling-bem.md +46 -40
- package/assets/pitfalls/task-flow.md +262 -246
- package/assets/pitfalls/testing.md +99 -92
- package/assets/pitfalls/turn-conduct.md +96 -81
- package/assets/rules/angular-patterns.md +81 -80
- package/assets/rules/api-layer.md +77 -74
- package/assets/rules/autonomous-work.md +75 -74
- package/assets/rules/browser-verification.md +223 -188
- package/assets/rules/component-structure.md +72 -69
- package/assets/rules/dependencies.md +74 -67
- package/assets/rules/deploy-flow.azure.md +118 -108
- package/assets/rules/deploy-flow.github.md +145 -135
- package/assets/rules/deploy-flow.gitlab.md +120 -110
- package/assets/rules/doc-style.md +209 -148
- package/assets/rules/entity-conventions.needs-admin.md +81 -79
- package/assets/rules/entity-models.md +73 -70
- package/assets/rules/git-workflow.azure.md +224 -228
- package/assets/rules/git-workflow.github.md +250 -242
- package/assets/rules/git-workflow.gitlab.md +218 -217
- package/assets/rules/lib-layers.md +85 -86
- package/assets/rules/lists.md +101 -97
- package/assets/rules/navigation.md +78 -78
- package/assets/rules/observability.needs-app.md +165 -153
- package/assets/rules/platform-access.md +76 -75
- package/assets/rules/reuse-first.md +153 -137
- package/assets/rules/shared-code.md +82 -79
- package/assets/rules/spec-driven.md +272 -260
- package/assets/rules/status-report.md +55 -58
- package/assets/rules/styling-bem.md +83 -72
- package/assets/rules/task-flow.md +282 -270
- package/assets/rules/testing.md +224 -188
- package/assets/rules/turn-conduct.md +255 -258
- package/assets/rules/turn-entry.md +92 -87
- package/assets/rules/typescript-conventions.md +94 -88
- package/assets/samples/specs/_template/spec.md +47 -47
- package/assets/samples/tasks/_template/grill.md +20 -20
- package/assets/samples/tasks/_template/plan.md +32 -30
- package/assets/samples/tasks/_template/progress.md +16 -16
- package/assets/skills/agent-kit-extend.md +129 -113
- package/assets/skills/agent-kit.md +236 -222
- package/assets/skills/write-a-skill.md +76 -71
- package/assets/templates/findings.md +19 -19
- package/assets/templates/gate-map.sh +16 -14
- package/assets/templates/implementation.md +28 -27
- package/assets/templates/pattern.md +17 -17
- package/assets/templates/pitfalls.md +6 -6
- package/assets/templates/postmortem.md +24 -23
- package/assets/templates/project.sh +24 -24
- package/assets/templates/proposal.md +62 -60
- package/assets/templates/rule.md +38 -38
- package/assets/workflows/feature.js +46 -46
- package/assets/workflows/plan.js +54 -54
- package/lib/catalog.d.ts +2 -0
- package/lib/catalog.d.ts.map +1 -1
- package/lib/catalog.js +4 -3
- package/lib/catalog.js.map +1 -1
- package/lib/commands.d.ts.map +1 -1
- package/lib/commands.js +68 -4
- package/lib/commands.js.map +1 -1
- package/lib/companion.js +3 -2
- package/lib/companion.js.map +1 -1
- package/lib/enroll.d.ts +7 -1
- package/lib/enroll.d.ts.map +1 -1
- package/lib/enroll.js +13 -4
- package/lib/enroll.js.map +1 -1
- package/lib/observations.d.ts +10 -1
- package/lib/observations.d.ts.map +1 -1
- package/lib/observations.js +1 -0
- package/lib/observations.js.map +1 -1
- package/lib/override-marks.d.ts +24 -0
- package/lib/override-marks.d.ts.map +1 -0
- package/lib/override-marks.js +98 -0
- package/lib/override-marks.js.map +1 -0
- package/lib/plan.d.ts +11 -0
- package/lib/plan.d.ts.map +1 -1
- package/lib/plan.js +10 -1
- package/lib/plan.js.map +1 -1
- package/lib/ship.d.ts +0 -7
- package/lib/ship.d.ts.map +1 -1
- package/lib/ship.js +10 -2
- package/lib/ship.js.map +1 -1
- package/lib/shipment.d.ts.map +1 -1
- package/lib/shipment.js +7 -3
- package/lib/shipment.js.map +1 -1
- package/lib/sync.d.ts.map +1 -1
- package/lib/sync.js +45 -11
- package/lib/sync.js.map +1 -1
- package/package.json +1 -1
- package/rt-tools-agent-kit-0.26.0.tgz +0 -0
- package/rt-tools-agent-kit-0.23.0.tgz +0 -0
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
name: task-flow-start
|
|
3
3
|
kind: pattern
|
|
4
4
|
rule: task-flow
|
|
5
|
-
description:
|
|
5
|
+
description: Pattern of rule task-flow. Load at the start of work from the owner — exploration before the first question, the six mandatory questions, the product agreement, creating the task, the branch and the folder. Returning to work — pattern task-flow-resume.
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Starting the work
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Pattern of the rule `task-flow`. What must be true meanwhile — the law
|
|
11
11
|
`docs/constitution/work-conduct.md`.
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## When to use
|
|
14
14
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
-
|
|
15
|
+
- The owner asks for something to be done; the size of the request does not matter — a folder is
|
|
16
|
+
created for any work.
|
|
17
|
+
- A defect noticed along the way becomes a task.
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Order
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
The steps below open one continuous count: a step number is one for the whole course of the work and
|
|
22
|
+
does not start over in the next pattern. The whole list is in the rule `task-flow`; it is also shown
|
|
23
|
+
to the owner at the start of work, so that after six questions what lies ahead is visible.
|
|
24
24
|
|
|
25
|
-
###
|
|
25
|
+
### State `просьба-не-разобрана`: exploration — before the first question
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
A question whose answer lies in the code is not put to the owner: it devalues the rest.
|
|
28
28
|
|
|
29
29
|
```
|
|
30
30
|
Agent(subagent_type: "Explore", prompt: "<тема просьбы>: что по ней уже есть в дереве —
|
|
@@ -32,134 +32,142 @@ Agent(subagent_type: "Explore", prompt: "<тема просьбы>: что по
|
|
|
32
32
|
есть ли готовый образец рядом. Верни находки, а не пересказ файлов.")
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
35
|
+
The findings go into the grill section "What is already in the tree".
|
|
36
|
+
|
|
37
|
+
The tree is not the only place where the answer lies. A decision of a past session, written nowhere,
|
|
38
|
+
lives only in that session's record: a search over them by the theme's word costs one command. What
|
|
39
|
+
is found is written into the tree in the same turn — into the epic plan if it links tasks, into the
|
|
40
|
+
progress if it concerns one.
|
|
41
|
+
|
|
42
|
+
Exploration that found nothing is no permission to ask. First, where the search went is named; then
|
|
43
|
+
the places missing from the list are reached — the epic plan, the archive, the records of past
|
|
44
|
+
sessions. "Not found in such a place" speaks of the place, not of the tree, and the question names
|
|
45
|
+
both ways in which the search went.
|
|
46
|
+
|
|
47
|
+
Exploration ends with command output, not with a feeling. Before the first question to the owner the
|
|
48
|
+
executor knows three things. How the repository is arranged (the root memo), what lies in the
|
|
49
|
+
directory at hand (`ls`), and whether something is already written on the theme (a search over the
|
|
50
|
+
documentation and the rules). Without a list of what counts as done, exploration runs as a mood: a
|
|
51
|
+
read handover passes for it, and not one command runs over the tree.
|
|
52
|
+
|
|
53
|
+
Exploration over a created task ends with a reproduced symptom, not a found file. The task body
|
|
54
|
+
describes the tree on the day of creation, and exploration by the names from the body confirms only
|
|
55
|
+
that the files are in place: a task that has lapsed cannot be told from a live one. Before the first
|
|
56
|
+
edit the exploration repeats what the task complains about — calls the procedure, reads the reply,
|
|
57
|
+
runs the check that stayed silent. The symptom did not reproduce — the task is closed as lapsed, and
|
|
58
|
+
that is a lawful outcome.
|
|
59
|
+
|
|
60
|
+
A tree named as a sample is read as a layout whole — by walking the directories two levels deep —
|
|
61
|
+
and only then come the questions about techniques. The answer to "how is this done here" gives one
|
|
62
|
+
folder, and generalised into a map of the tree it lies: the neighbouring family of directories is
|
|
63
|
+
left out, and the owner finds the loss.
|
|
64
|
+
|
|
65
|
+
What was inferred is marked right in the list, together with what confirms it. A guess by a
|
|
66
|
+
neighbouring case stands in one list with what was checked, and the owner reads the whole list as
|
|
67
|
+
checked.
|
|
68
|
+
|
|
69
|
+
The six questions are asked minus those the exploration answered: instead of a question with a ready
|
|
70
|
+
answer, the grill gets the line "taking such-and-such answer, here is where from". The sign is one —
|
|
71
|
+
whether the answer is in the tree; "the task seems clear" is no sign in either direction.
|
|
72
|
+
|
|
73
|
+
**Next move:** the findings land in the grill, and in the same turn the first of the six questions
|
|
74
|
+
goes to the owner. The exploration ended — the state stayed the same, so did the turn.
|
|
75
|
+
|
|
76
|
+
### State `просьба-не-разобрана`: the grill with the owner
|
|
77
|
+
|
|
78
|
+
Led by the main agent: a subagent cannot reach the owner. The command is `/grill-me`, one question
|
|
79
|
+
at a time, each with its recommended answer and the reason.
|
|
80
|
+
|
|
81
|
+
All six questions are closed, and those the exploration did not answer are asked:
|
|
82
|
+
|
|
83
|
+
| Question | Why |
|
|
84
|
+
| --- | --- |
|
|
85
|
+
| Does the task change the application's behaviour | the product agreement depends on it |
|
|
86
|
+
| Does it need an edit of a law or a rule | a law is not edited without the owner's knowledge |
|
|
87
|
+
| One task or several | what rolls back apart is split, and split BEFORE the branch |
|
|
88
|
+
| What is not part of the task | a boundary not named aloud does not exist |
|
|
89
|
+
| What will show that the task is closed | "it works" is no sign |
|
|
90
|
+
| Is there a sample the approach is taken from | exploration finds something similar, not the thing itself |
|
|
91
|
+
|
|
92
|
+
The list of six is the set of what is closed by the start of work, not a set of lines to be said. A
|
|
93
|
+
question the owner has already answered is marked closed together with what closed it: the answer is
|
|
94
|
+
sought in the documentation and in what was said in this same session, the original request
|
|
95
|
+
included. It can be closed by an assumption too, when the answer is obvious — by the line "question
|
|
96
|
+
closed by assumption: <what is taken>": a wrong assumption costs an edit, a question about the
|
|
97
|
+
obvious costs a session.
|
|
98
|
+
|
|
99
|
+
The size of the work is never a ground for a question about boundaries: "this is big work" is the
|
|
100
|
+
executor's judgement, "whether to do it whole" is the owner's, and they decided before the work
|
|
101
|
+
began.
|
|
102
|
+
|
|
103
|
+
The form of a question is set by the owner's settings: where a menu is required, a menu is asked,
|
|
104
|
+
and a free option is added to every question — a closed set has no line "wrong question".
|
|
105
|
+
|
|
106
|
+
**The framing of a handed-over text is not carried onto the current tree.** A session handover, a
|
|
107
|
+
proposals file and a spec describe the tree they were written in. Only the current tree knows about
|
|
108
|
+
the current one, and a statement about the layout is checked by a command here. Confirmation finds
|
|
109
|
+
itself — the signs of a tree that only installs the package stand on the one that writes and
|
|
110
|
+
installs it too.
|
|
111
|
+
|
|
112
|
+
The message with which the executor stops begins with what they wait for:
|
|
108
113
|
|
|
109
114
|
```
|
|
110
115
|
Стою на выборе <что решается>. Без ответа <что будет: пойду допущением таким-то / работа стоит>.
|
|
111
116
|
<Вопрос>
|
|
112
117
|
```
|
|
113
118
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
119
|
+
Under the question goes the table of the epic's position — the same as in the handover. Under, not
|
|
120
|
+
above: the stop is named by the first line, and the epic's position is what the owner decides from.
|
|
121
|
+
Work outside an epic carries no table.
|
|
117
122
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
123
|
+
Measurements, role findings and the list of decisions are by then written in the progress, and in
|
|
124
|
+
the message to the owner they are superfluous. A report with a question at its end looks diligent
|
|
125
|
+
exactly as reliably as the question drowns in it.
|
|
121
126
|
|
|
122
|
-
|
|
127
|
+
The answers are written into `docs/tasks/_draft-<slug>/grill.md` — the folder is still a draft,
|
|
128
|
+
there is no number.
|
|
123
129
|
|
|
124
130
|
```bash
|
|
125
131
|
mkdir -p docs/tasks/_draft-<slug>
|
|
126
132
|
cp docs/tasks/_template/grill.md docs/tasks/_draft-<slug>/grill.md
|
|
127
133
|
```
|
|
128
134
|
|
|
129
|
-
|
|
130
|
-
|
|
135
|
+
**Next move:** the owner's answer is appended to the grill, and the next question follows. The
|
|
136
|
+
answers are over — in the same turn the work goes into the roles pipeline.
|
|
131
137
|
|
|
132
|
-
###
|
|
138
|
+
### State `разбор-закрыт`: the pipeline after the grill
|
|
133
139
|
|
|
134
|
-
|
|
140
|
+
There will be no more questions — from here on, the roles:
|
|
135
141
|
|
|
136
142
|
```
|
|
137
143
|
Workflow(name: "plan", args: "docs/tasks/_draft-<slug>")
|
|
138
144
|
```
|
|
139
145
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
146
|
+
Need → the product agreement (`spec-writer`) → its adversarial review (`spec-critic`) → the plan and
|
|
147
|
+
the breakdown (`project-manager`). Gaps the roles could not close return to the owner — the main
|
|
148
|
+
agent carries them.
|
|
143
149
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
150
|
+
The agreement that came out of the pipeline is checked against `grill.md` line by line before work
|
|
151
|
+
by it. The role writes the text without seeing the owner and can turn their answer into its
|
|
152
|
+
opposite: the order of stages came out reversed, and included items moved to "not included". A
|
|
153
|
+
critic's finding that diverges from the owner's answer is carried to the owner, not carried out in
|
|
154
|
+
silence.
|
|
148
155
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
156
|
+
The turn does not end on this boundary. A closed grill looks like a finished piece — the answers are
|
|
157
|
+
on disk, the file is committed, there is something to report — and the report takes the place of the
|
|
158
|
+
agreement. It is written in the same turn, by the roles pipeline or by the executor's hand.
|
|
152
159
|
|
|
153
|
-
|
|
154
|
-
|
|
160
|
+
**Next move:** the agreement checked against the grill is committed, and in the same turn the task,
|
|
161
|
+
the branch and the folder are created — and if the grill produced a series, the epic is declared
|
|
162
|
+
first.
|
|
155
163
|
|
|
156
|
-
###
|
|
164
|
+
### State `договорённость-записана`: a series of tasks is declared an epic
|
|
157
165
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
166
|
+
The grill ended with one task — the step is skipped. Several came out, and the order between them
|
|
167
|
+
matters — the epic is declared here, before the first of them, and twice. As a card in the work
|
|
168
|
+
queue with the epic label, and as a plan next to it.
|
|
161
169
|
|
|
162
|
-
|
|
170
|
+
The epic plan names three things, and none is derived from the others:
|
|
163
171
|
|
|
164
172
|
```markdown
|
|
165
173
|
# <Возможность, которая разрабатывается>
|
|
@@ -172,26 +180,27 @@ Workflow(name: "plan", args: "docs/tasks/_draft-<slug>")
|
|
|
172
180
|
| 2 | <что делает> | <что из первой ей нужно> |
|
|
173
181
|
```
|
|
174
182
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
183
|
+
A set without an order is no order: two tasks whose order rested on understanding went into work the
|
|
184
|
+
other way round, and the second was redone under the first. The assigned order holds to the end of
|
|
185
|
+
the epic; a revision is the owner's decision, and it is written into the progress of the task that
|
|
186
|
+
caused it.
|
|
178
187
|
|
|
179
|
-
|
|
180
|
-
|
|
188
|
+
The plan lies outside the task folder: that one dies with the very first merge. The directory for it
|
|
189
|
+
is named by the rule's companion — the package has no path of its own.
|
|
181
190
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
191
|
+
The cards are created for all the tasks at once, right here: by the task creation call for every row
|
|
192
|
+
of the table, with the epic label. The issued numbers return to the same table — as a column or a
|
|
193
|
+
prefix to the name — and from this minute "take the next" answers with a number, not a name.
|
|
185
194
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
195
|
+
A task under an epic names it in its body — the card number and the path to the plan in one line —
|
|
196
|
+
and the plan names the task from its side. A one-sided binding looks as whole as a two-sided one:
|
|
197
|
+
the reader comes now from the epic, now from the card, and the second side exists for only one of
|
|
198
|
+
them.
|
|
190
199
|
|
|
191
|
-
|
|
192
|
-
|
|
200
|
+
**Next move:** the declared epic is committed together with the task numbers, and in the same turn
|
|
201
|
+
its first task is taken — by creating the branch and the folder.
|
|
193
202
|
|
|
194
|
-
###
|
|
203
|
+
### State `договорённость-записана`: the task, the branch, the folder
|
|
195
204
|
|
|
196
205
|
```bash
|
|
197
206
|
npm run task:new -- --title '<Что не так>' --slug <slug> --label documentation --label area:tooling < тело.md
|
|
@@ -199,100 +208,103 @@ git checkout -b <КЛЮЧ>-<номер>-<slug>
|
|
|
199
208
|
npm run task:move -- <номер> in-progress
|
|
200
209
|
```
|
|
201
210
|
|
|
202
|
-
|
|
203
|
-
|
|
211
|
+
The body comes as a file and is never empty: an empty task tells nothing to the executor or the
|
|
212
|
+
owner, and it can be filled in later only on the owner's word.
|
|
204
213
|
|
|
205
|
-
`task:new`
|
|
206
|
-
|
|
207
|
-
|
|
214
|
+
`task:new` renames `_draft-<slug>` to `<КЛЮЧ>-<номер>-<slug>` and fills in the plan header. The
|
|
215
|
+
branch is created by a second call: a compound "create and commit at once" is refused by the
|
|
216
|
+
main-branch guard whole.
|
|
208
217
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
218
|
+
The number is already issued — there is no draft and none is created: the folder opens straight
|
|
219
|
+
under the branch name. Half of all work starts this way: the number comes from a past session, a
|
|
220
|
+
noticed defect or a neighbouring task, and there is nothing to rename. The pitfall "the number never
|
|
221
|
+
comes first" does not apply here — it is about not creating the task before the grill.
|
|
213
222
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
223
|
+
The other two files are written, not laid down as templates for later: an empty `plan.md` cannot be
|
|
224
|
+
told from a plan without stages, and the next session trusts the task folder. The template is opened
|
|
225
|
+
by the same move that fills it, and the layout header is stripped from the copy right there —
|
|
226
|
+
otherwise the guard refuses the edit, and the pitfall next to the rule explains why:
|
|
218
227
|
|
|
219
228
|
```bash
|
|
220
|
-
cp docs/tasks/_template/plan.md docs/tasks/<КЛЮЧ>-<номер>-<slug>/plan.md #
|
|
229
|
+
cp docs/tasks/_template/plan.md docs/tasks/<КЛЮЧ>-<номер>-<slug>/plan.md # and written at once
|
|
221
230
|
cp docs/tasks/_template/progress.md docs/tasks/<КЛЮЧ>-<номер>-<slug>/progress.md
|
|
222
231
|
```
|
|
223
232
|
|
|
224
|
-
|
|
233
|
+
In the progress the first line declares the state — from this minute the guard reads it:
|
|
225
234
|
|
|
226
235
|
```markdown
|
|
227
|
-
-
|
|
236
|
+
- **State:** `задача-взята`
|
|
228
237
|
```
|
|
229
238
|
|
|
230
|
-
|
|
231
|
-
|
|
239
|
+
Until a state in which code is edited is declared, the guard refuses the edit and names the
|
|
240
|
+
mandatory action of the state that stands in the line.
|
|
232
241
|
|
|
233
|
-
|
|
234
|
-
|
|
242
|
+
**Next move:** having declared the state, the same turn takes up the plan starting with its header.
|
|
243
|
+
A created folder does not end the turn: not one written file is in it yet.
|
|
235
244
|
|
|
236
|
-
###
|
|
245
|
+
### State `задача-взята`: the plan header
|
|
237
246
|
|
|
238
|
-
|
|
247
|
+
The guard reads it:
|
|
239
248
|
|
|
240
249
|
```markdown
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
250
|
+
**Task:** <КЛЮЧ>-282 · **Branch:** <КЛЮЧ>-282-task-flow
|
|
251
|
+
**Draft:** `docs/specs/bookings/proposed/aside-header/`
|
|
252
|
+
**Behaviour:** changes
|
|
244
253
|
```
|
|
245
254
|
|
|
246
|
-
|
|
247
|
-
|
|
255
|
+
A tree with no "proposed" directory names the agreement by the domain spec itself — there it is
|
|
256
|
+
written straight into it, and nothing has to move at the closing of the work:
|
|
248
257
|
|
|
249
258
|
```markdown
|
|
250
|
-
|
|
259
|
+
**Spec:** `docs/specs/bookings/spec.md`
|
|
251
260
|
```
|
|
252
261
|
|
|
253
|
-
|
|
262
|
+
Work that does not touch `apps/**` and `libs/**` needs no agreement:
|
|
254
263
|
|
|
255
264
|
```markdown
|
|
256
|
-
|
|
265
|
+
**Behaviour:** unchanged — a move of the layer, invisible from outside. Подтверждено владельцем.
|
|
257
266
|
```
|
|
258
267
|
|
|
259
|
-
|
|
268
|
+
An empty reason is not accepted.
|
|
260
269
|
|
|
261
|
-
|
|
262
|
-
|
|
270
|
+
**Next move:** under the header the task footprint and the stages are written, the plan is
|
|
271
|
+
committed, and in the same turn the first stage begins.
|
|
263
272
|
|
|
264
|
-
###
|
|
273
|
+
### State `замысел-записан`: the first stage begins in the same turn
|
|
265
274
|
|
|
266
|
-
|
|
267
|
-
|
|
275
|
+
The plan is committed — the work moves into the first stage at once, without giving up the turn. The
|
|
276
|
+
state line is rewritten to `этап-идёт`, and from there the work is led by the resume pattern.
|
|
268
277
|
|
|
269
278
|
```markdown
|
|
270
|
-
-
|
|
271
|
-
-
|
|
279
|
+
- **State:** `этап-идёт`
|
|
280
|
+
- **Stage:** 1 из 3 — <название первого этапа из замысла>
|
|
272
281
|
```
|
|
273
282
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
##
|
|
287
|
-
|
|
288
|
-
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
- **
|
|
297
|
-
|
|
298
|
-
|
|
283
|
+
The turn does not end on this boundary. A written plan looks like a finished piece: the stages are
|
|
284
|
+
laid out, the file is committed, there is something to report — and the report takes exactly the
|
|
285
|
+
place the work should have taken. The owner reads it as done, and nothing is done: on 21 August a
|
|
286
|
+
session ended with the line "next step — such-and-such" at a window fill of about two percent.
|
|
287
|
+
|
|
288
|
+
Four things end a turn, and they are the same as for the other states: the window fill limit, a
|
|
289
|
+
guard's refusal, a question to the owner and handed-in work with the next begun. A pattern read to
|
|
290
|
+
the end is not among them — the text ended, the work did not.
|
|
291
|
+
|
|
292
|
+
**Next move:** the first stage is done in the same turn, and it is declared closed after its command
|
|
293
|
+
from the "Checked by" line has passed.
|
|
294
|
+
|
|
295
|
+
## Common misses
|
|
296
|
+
|
|
297
|
+
- **The number never comes first.** Until the grill ends it is not even known how many tasks come
|
|
298
|
+
out of it: a task created in advance is closed after the breakdown and stays as litter in the work
|
|
299
|
+
queue.
|
|
300
|
+
- **The grill is written to disk at once, not stored up in the conversation.** The session breaks
|
|
301
|
+
off, and a grill lived through in conversation is recovered only by the owner's retelling.
|
|
302
|
+
- **One grill produced several tasks — the common part leaves for the epic plan.** The task folder
|
|
303
|
+
dies with the merge, and the task order outlives it; the directory is named by the rule's
|
|
304
|
+
companion.
|
|
305
|
+
- **The task is created by a command, not by four calls in a row.** The board is not bound to the
|
|
306
|
+
repository, and the task gets onto it only by an explicit addition.
|
|
307
|
+
- **The branch slug is taken from the terminology of the agreement, not from the words of the
|
|
308
|
+
request.** The agreement is written before the branch, and that is exactly where it drops the
|
|
309
|
+
owner's word. The task title and the PR title can be fixed; the branch name after the PR opens —
|
|
310
|
+
no longer.
|