@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,293 +2,290 @@
|
|
|
2
2
|
name: turn-conduct
|
|
3
3
|
kind: rule
|
|
4
4
|
law: work-conduct
|
|
5
|
-
description:
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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[
|
|
64
|
-
B
|
|
65
|
-
B
|
|
66
|
-
B
|
|
67
|
-
B
|
|
68
|
-
B
|
|
69
|
-
E
|
|
70
|
-
E
|
|
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
|
|
76
|
-
I
|
|
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
|
-
|
|
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 word about a stop the guard reads from the owner, not from the executor.** Otherwise the
|
|
165
|
+
stop is declared by whoever finds it convenient, and the ban holds until the first inconvenience.
|
|
166
|
+
- **The phrase "waiting for your word" is a stop declared by the executor, and the guard refuses it
|
|
167
|
+
by name.** Without the owner's word about a stop in the turn and without a question put to them by
|
|
168
|
+
the tool, waiting for their word is a report, not work; the instruction holds until they cancel
|
|
169
|
+
it.
|
|
170
|
+
- **A statement about the tree's state is watched by the statement guard, not by the executor's
|
|
171
|
+
memory.** Everything the reply says about the tree carries a command and its output; said without
|
|
172
|
+
one, it is no statement — not "checked", not "cleared", not "done". The guard reads the turn's
|
|
173
|
+
text to the owner and looks for a command of the same turn; each word has its own kind of command,
|
|
174
|
+
since a general sign "there was a command" would confirm one thing by another. The previous turn
|
|
175
|
+
does not count: the tree's state changes, and yesterday's output says nothing of today's.
|
|
176
|
+
- **The statement guard waits for the reply text rather than judging the record as it found it.**
|
|
177
|
+
The text lands in the turn record no earlier than the host calls the hook. Not having waited, the
|
|
178
|
+
guard returns the turn: an empty record means not "nothing to say" but "nothing to read".
|
|
179
|
+
- **The guard catches a statement word, not a wrong conclusion.** About a sample judged by one file,
|
|
180
|
+
or a path a person will not take, there is nothing to judge by: no word and no command to compare
|
|
181
|
+
with. This is the guard's known boundary; the articles below hold it, not the guard.
|
|
182
|
+
- **A turn about someone else's step is watched by the waiting guard, not by the executor's
|
|
183
|
+
memory.** It refuses a turn's end where someone else's step was spoken of and nothing was done on
|
|
184
|
+
the next task — no task created, no branch, no folder, no column moved. Someone else's step it
|
|
185
|
+
knows by two signs: a PR opened or a red run read in the turn. The words "taking the next task"
|
|
186
|
+
are not an action: they are said instead of one.
|
|
187
|
+
- **A turn that handed work in carries it to a lifted draft.** A draft's merge button is locked by
|
|
188
|
+
the host, and in the PR list ready cannot be told from unfinished. The next task is taken on top
|
|
189
|
+
of that, not instead. The waiting guard watches this: a turn that opened a PR does not end until a
|
|
190
|
+
command of the same turn asked the state of the handed-in work.
|
|
191
|
+
- **The waiting guard's refusal is lifted by both actions at once.** The taken next task carries the
|
|
192
|
+
open-PR sign away, and the demand to ask the handed-in work's state never sounds after it.
|
|
193
|
+
- **Work left in the working tree does not end the turn.** A branch ahead of the remote ref with no
|
|
194
|
+
open PR is done work nobody sees; the guard reads this without the network.
|
|
195
|
+
- **"Waiting for the run" is a statement about someone else's step, not a work state.** A run may be
|
|
196
|
+
green in an hour, or may never have started — and the second does not fix itself. The word demands
|
|
197
|
+
a command of the same turn that shows the run; said bare, the owner reads it as "the work is still
|
|
198
|
+
going" and waits in vain.
|
|
199
|
+
- **The end of a run is learned from the return of a background command, not from a look at the
|
|
200
|
+
page.** A background wait brings the executor back to the PR by itself; a look at the page is
|
|
201
|
+
repeated idly or not at all — the work does not move.
|
|
202
|
+
- **Waiting for one's own measurement is done with one wait, not a notification on every step.** A
|
|
203
|
+
notification is for where every event is acted on; where the outcome matters — one wait.
|
|
204
|
+
- **A guard's refusal ends the turn.** No other road to the refused edit is sought: not a shell
|
|
205
|
+
command, not a neighbouring tool, not an edit of the guard itself. The edit is done once the
|
|
206
|
+
refusal's condition is met, or not at all — then the owner is told the refusal, not a result. A
|
|
207
|
+
bypass costs more than a refusal: a guard refuses one file, a bypassed guard lifts the requirement
|
|
208
|
+
from the whole tree and says nothing. Not memory alone holds this — the guards also judge the
|
|
209
|
+
shell command that writes the file.
|
|
210
|
+
- **A command refused by a gate is repeated whole, not by its tail.** A gate refuses the call before
|
|
211
|
+
it runs, so none of its links worked — those before the refused one included. A repeated tail does
|
|
212
|
+
work where it was not expected:
|
|
213
|
+
- **A writing call is not appended to an exploration line.** A line assembled from questions reads
|
|
214
|
+
as a question whole — by its author too; the edit goes in a call of its own, where it is visible.
|
|
215
|
+
For a call with a reading twin, the kind is chosen by the action, not the command's name.
|
|
216
|
+
- **A turn in which a question was put to the owner does not end until laws and rules were read in
|
|
217
|
+
that same turn.** Reading is any of three roads: loading a rule, reading a file of laws or rules,
|
|
218
|
+
a search over them. The conversation guard refuses at the turn's end, not on the question tool:
|
|
219
|
+
questions are asked in prose more often than by menu. What was found lands in the grill section
|
|
220
|
+
"What the rules already say".
|
|
221
|
+
- **The owner's answer is sought in their own messages before the rules.** The law says a question
|
|
222
|
+
with a written answer is not put to the owner, and the most reachable record lies not in the tree
|
|
223
|
+
but in the conversation: the owner's first message and their answers to past rounds. The
|
|
224
|
+
conversation guard does not see this: it counts loading a rule and searching it as reading, and a
|
|
225
|
+
message leaves no trace. A question that answers itself in the owner's words devalues those asked
|
|
226
|
+
next to it.
|
|
227
|
+
- **The size of work is never a reason to cut its boundaries.** The owner who named the result did
|
|
228
|
+
not dispute the size: an offer to drop a part is a request to reassign the goal, served as a
|
|
229
|
+
clarification. What is costly is done at cost, or called costly outright, with the price named.
|
|
230
|
+
- **The actions the executor does not do without the owner's word are listed in the rule's
|
|
231
|
+
companion.** Each tree has its own list; the package knows only the demand that it be named.
|
|
232
|
+
Unnamed, it is derived from general words, and "do what the plan needs" becomes permission to push
|
|
233
|
+
and edit shared documents along with the commit. The appraisal "this is safe" does not replace the
|
|
234
|
+
list: whoever finds it convenient this minute assigns it, and it drifts.
|
|
235
|
+
- **A refusal of an irreversible action has a safe part, and it is done.** The demand to ask the
|
|
236
|
+
owner applies to the action, not the turn: work with a separable harmless part is split, not
|
|
237
|
+
postponed whole. A list of options instead of work reads as work — the more neatly drawn up, the
|
|
238
|
+
more fully: numbered, with figures, the emptiness of the turn behind it unseen. The owner is told
|
|
239
|
+
what is done and what remained for their word.
|
|
240
|
+
- **The sign of irreversibility is taken from the list, not derived by argument.** The list was
|
|
241
|
+
drawn up by someone who already weighed reversibility. The argument "it goes outside and cannot be
|
|
242
|
+
rolled back" always comes, the list only when read, and an argument on top of the list cancels it
|
|
243
|
+
silently: from outside it looks like caution, not a skipped step. Actions outside the list the
|
|
244
|
+
executor does not gate.
|
|
245
|
+
- **A turn in which the executor admitted a miss does not end until the incident record exists.**
|
|
246
|
+
The incident guard refuses at the turn's end: by the time of admission the miss has already
|
|
247
|
+
happened. The records directory is named by the rule's companion, the file name is the date and
|
|
248
|
+
the miss, the form — the layout template. The admission is caught by a set of samples: a miss
|
|
249
|
+
admitted in words outside the set the guard lets through.
|
|
250
|
+
- **A session begun from a handover enters the work by the same rule as any other.** The handover
|
|
251
|
+
lies outside the tree, no check reads it, and it was written yesterday: everything in it is
|
|
252
|
+
checked against the tree. The entry order is four steps in the resume pattern; a guard watches it,
|
|
253
|
+
not memory.
|
|
254
|
+
- **The state of unfinished work comes into the context at session start.** The plan and the
|
|
255
|
+
progress are given whole, the grill by path. A branch of the form `<KEY>-*` without a folder warns
|
|
256
|
+
with a ready command but does not break the session.
|
|
257
|
+
- **A filled window ends a turn only where there is no compaction.** Where it is declared, the
|
|
258
|
+
window is the turn going on: the session compacts and works on, and the stop threshold fires only
|
|
259
|
+
when compaction did not come. A turn closed below the threshold loses the rest of the window the
|
|
260
|
+
tree paid for, and only the owner catches this.
|
|
261
|
+
- **The session's window fill is watched by a guard, not by the executor's memory.** At the first
|
|
262
|
+
threshold it reminds to pick a stopping point, at the second it refuses everything but the
|
|
263
|
+
handover, delivery commands and the task folder — the folder whole: at closing, both the decision
|
|
264
|
+
along the way and the stage revision are edited. The window size and both thresholds the tree sets
|
|
265
|
+
itself; a tree that set no size gets no guard.
|
|
266
|
+
- **The context compaction threshold the tree sets itself, and it stands BELOW the stop threshold.**
|
|
267
|
+
Equal thresholds are a race, and the guard wins it: it stands on the call, and compaction comes
|
|
268
|
+
between turns. The distance is declared as a number, not derived as a difference; whether the
|
|
269
|
+
thresholds stand apart the layout audit tells.
|
|
270
|
+
- **A session closes with a handover, and it lies as a section of the progress.** It is committed
|
|
271
|
+
and goes into the branch, so the handover survives a move to another machine, and no second record
|
|
272
|
+
of the same is started. In it: the tree, the branch, what was done, the next step and what was
|
|
273
|
+
special about the session; for work without a task folder it leaves as a file outside the tree.
|
|
278
274
|
|
|
279
|
-
-
|
|
280
|
-
|
|
281
|
-
|
|
275
|
+
- **An option that silences a check is not put in the menu at all.** A disabled linter rule, a line
|
|
276
|
+
in the known list, a file taken out from under the check — all fix the reading, not what it
|
|
277
|
+
pointed at, and this option is the cheapest in the menu. The menu is assembled after it is struck
|
|
278
|
+
out.
|
|
282
279
|
|
|
283
|
-
##
|
|
280
|
+
## What of the law is not here
|
|
284
281
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
282
|
+
Nothing checks the completeness of what is said to the owner: the statement guard catches a
|
|
283
|
+
statement word and looks for a command of the same turn; a wrong conclusion from a right command it
|
|
284
|
+
cannot judge — there is nothing to compare with.
|
|
288
285
|
|
|
289
|
-
|
|
290
|
-
|
|
286
|
+
An admission of a miss is caught by samples, not by understanding: words outside the set the
|
|
287
|
+
incident guard lets through. That is its known boundary, not a promise.
|
|
291
288
|
|
|
292
|
-
##
|
|
289
|
+
## Patterns
|
|
293
290
|
|
|
294
|
-
- `task-flow-handoff` —
|
|
291
|
+
- `task-flow-handoff` — closing a session on window fill: the stopping point and the handover.
|