@rt-tools/agent-kit 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +149 -127
- package/assets/checks/check-archive-age.mjs +23 -19
- package/assets/checks/check-board.github.mjs +172 -164
- package/assets/checks/check-descriptions.mjs +30 -29
- package/assets/checks/check-doc-paths.mjs +91 -88
- package/assets/checks/check-dupes.mjs +84 -80
- package/assets/checks/check-file-size.mjs +74 -71
- 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 +120 -37
- 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 +108 -97
- package/assets/defaults/project.sh +225 -185
- package/assets/defaults/shell.sh +73 -68
- 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 +30 -28
- 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 +60 -46
- package/assets/hooks/docs-guard.sh +100 -91
- package/assets/hooks/exam-guard.sh +105 -93
- package/assets/hooks/git-guard-delivery-conflict.sh +38 -36
- package/assets/hooks/git-guard-delivery-draft.sh +45 -38
- 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 +196 -180
- package/assets/hooks/git-guard-main.sh +38 -34
- package/assets/hooks/git-guard-push-tests.sh +99 -87
- 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 +67 -58
- 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 +47 -42
- 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 +40 -37
- 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 +96 -44
- 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 -124
- package/assets/laws/work-conduct.md +250 -244
- 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 +124 -88
- package/assets/patterns/browser-verification-stand.md +169 -157
- package/assets/patterns/component-structure-new.md +51 -42
- package/assets/patterns/dependencies-upgrade.md +55 -39
- package/assets/patterns/doc-style-human.md +55 -37
- 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 +93 -86
- package/assets/patterns/git-workflow-commit.github.md +152 -141
- package/assets/patterns/git-workflow-commit.gitlab.md +95 -89
- 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 +98 -93
- 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 +102 -101
- 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 -214
- 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 +198 -173
- 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 -239
- 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 -143
- 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 +81 -77
- package/assets/rules/task-flow.md +282 -270
- package/assets/rules/testing.md +224 -209
- 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 +235 -211
- 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 +5 -2
- 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 +12 -3
- package/lib/enroll.js.map +1 -1
- 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 +6 -2
- 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.24.0.tgz +0 -0
|
@@ -2,142 +2,146 @@
|
|
|
2
2
|
name: task-flow-close
|
|
3
3
|
kind: pattern
|
|
4
4
|
rule: task-flow
|
|
5
|
-
description:
|
|
5
|
+
description: Pattern of rule task-flow. Load when bringing work to readiness — merging the product agreement into the domain spec, bringing the domain texts up to date with what was done, opening the PR as a draft and leaving draft. Taking the task folder apart — pattern task-flow-archive.
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Closing 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
|
-
- `npm run check:specs`
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
15
|
+
- The stages of the plan are closed.
|
|
16
|
+
- `npm run check:specs` listed the agreement in its "time to merge" section.
|
|
17
|
+
- The spec is measured for length right after the merge: one that has grown is split by the same
|
|
18
|
+
commit.
|
|
19
|
+
- The domain texts are brought up to what the work did.
|
|
20
|
+
- The gate suite is run whole — after the merge and the texts, not before them.
|
|
21
|
+
- The task folder is taken apart, and the PR opens as a draft.
|
|
22
|
+
- The run on the head is green, and the draft is lifted from the PR.
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
Taking the folder itself apart is not here — that is pattern `task-flow-archive`. It stands between
|
|
25
|
+
the suite run and opening the PR: the PR opens behind work already cleaned up.
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
**The run stands after merging the agreement and bringing the texts up to date, not before them.**
|
|
28
|
+
Both steps cost minutes, and the run costs the session window. A session that spent it on the run
|
|
29
|
+
hit the fill threshold on four binding lines, and there was nothing left to write them with. The
|
|
30
|
+
second argument is stronger than the first — a run that goes after the merge checks the merge
|
|
31
|
+
itself; going before it, it looks at a state of the tree that will not reach main.
|
|
31
32
|
|
|
32
|
-
##
|
|
33
|
+
## State `этапы-кончились`: the agreement merges into the domain spec
|
|
33
34
|
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
By one of the last commits of the branch, before the PR opens. By then the code is written, so the
|
|
36
|
+
`file:symbol` bindings are known — the rule enters the domain spec checkable at once.
|
|
36
37
|
|
|
37
38
|
```bash
|
|
38
|
-
npm run check:specs #
|
|
39
|
+
npm run check:specs # the "time to merge" section names the ready directories
|
|
39
40
|
```
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
42
|
+
**The spec is measured for length in the same turn.** Merging is a known move that grows a spec. One
|
|
43
|
+
merge took it to 572 lines against a limit of 500, and the executor learned of it from the push
|
|
44
|
+
guard's refusal — after the commit. One that has grown is split into subdomains right here, not on
|
|
45
|
+
the push.
|
|
46
|
+
|
|
47
|
+
The order of the move:
|
|
48
|
+
|
|
49
|
+
- the rules from `proposed/<фича>/spec.md` are appended to the domain's `spec.md`, into its
|
|
50
|
+
sections;
|
|
51
|
+
- the scenarios move to the domain's `scenarios.md` **with their old numbers**: test titles refer to
|
|
52
|
+
them, and renumbering breaks the audit;
|
|
53
|
+
- scenarios whose promise the work rewrote are edited in place: the number stays, the text is new,
|
|
54
|
+
the test title is edited by the same commit. Work that removes a technique rewrites a written
|
|
55
|
+
promise more often than it adds a new one, and a list naming one append does not name this edit at
|
|
56
|
+
all;
|
|
57
|
+
- the bindings from `proposed/<фича>/implementation.md` are appended to the domain's
|
|
58
|
+
`implementation.md` and set on the code that now exists;
|
|
59
|
+
- the laws the feature declared in its header are appended to the header of the domain spec;
|
|
60
|
+
- the `proposed/<фича>/` directory is deleted, and the line about the feature is removed from the
|
|
61
|
+
"proposed, not yet rolled out" section of `docs/specs/README.md`;
|
|
62
|
+
- the domain did not exist yet — `proposed/` is replaced by a full spec, and the domain gets a row
|
|
63
|
+
in the table of `docs/specs/README.md`.
|
|
64
|
+
|
|
65
|
+
The work went in several tasks — the merge goes in the last of them. Which one is last is seen in
|
|
66
|
+
the epic plan; a closed epic leaves for the archive or is deleted.
|
|
64
67
|
|
|
65
68
|
```bash
|
|
66
|
-
npm run check:specs #
|
|
69
|
+
npm run check:specs # after the merge: the bindings are in place, no scenario is lost
|
|
67
70
|
```
|
|
68
71
|
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
**Next move:** after the merged agreement, in the same turn, come the domain texts — the rules,
|
|
73
|
+
patterns and sections the work touched.
|
|
71
74
|
|
|
72
|
-
##
|
|
75
|
+
## State `этапы-кончились`: the domain texts are brought up to what was done
|
|
73
76
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
+
Only what was written before the code goes into the spec. The other texts — rules, patterns,
|
|
78
|
+
application laws — nobody re-reads after the edit, and they go on describing the old tree. The next
|
|
79
|
+
reader takes them for true.
|
|
77
80
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
+
What to re-read is taken from the plan section that names what the work touches: the specs, laws and
|
|
82
|
+
rules along its footprint stand there. What surfaced along the way is added. The whole constitution
|
|
83
|
+
and all the rules need not be read.
|
|
81
84
|
|
|
82
|
-
|
|
|
83
|
-
|
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
85
|
+
| Kind of text | What is done with it |
|
|
86
|
+
| --- | --- |
|
|
87
|
+
| the domain spec and its subdomains | a new feature gets a rule, a scenario and a binding; what is now included leaves "What is not included" |
|
|
88
|
+
| a rule and its `implementation.md` | a new statement with a `file:symbol` binding; a lifted one leaves together with its binding line |
|
|
89
|
+
| a pattern | code that diverged from the tree is fixed; a new technique is appended as a section |
|
|
90
|
+
| an application law and a general law | **the file is not edited**: the owner gets the text of the article, the work goes on without it |
|
|
91
|
+
| the product overview document | a new feature is appended as a line; the line about a lifted one is edited |
|
|
89
92
|
|
|
90
|
-
|
|
93
|
+
What is stale lies most often in three places, and all three are read whole:
|
|
91
94
|
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
-
|
|
96
|
-
|
|
95
|
+
- **"What of the law is not here" in a rule.** The spec audit does not read this section, so an
|
|
96
|
+
untruth lives there as long as it likes. For three tasks in a row a rule wrote that the tree
|
|
97
|
+
lacked the needed mechanism — and it was there;
|
|
98
|
+
- **"What is not included" in a domain spec.** A task boundary was written there, and the task is
|
|
99
|
+
long closed;
|
|
100
|
+
- **"Where it lives" in a rule.** Files move, the paths in the table stay.
|
|
97
101
|
|
|
98
102
|
```bash
|
|
99
|
-
#
|
|
103
|
+
# where the rule and the specs speak of what the work touched
|
|
100
104
|
grep -rn -i "<слово работы>" <каталог правил>/*/SKILL.md docs/specs/*/spec.md
|
|
101
|
-
#
|
|
102
|
-
grep -rn -A3 "
|
|
105
|
+
# the section nothing audits — read whole by eye
|
|
106
|
+
grep -rn -A3 "What of the law is not here" <каталог правил>/<правило>/SKILL.md
|
|
103
107
|
```
|
|
104
108
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
+
**A law is not edited in the branch.** An article of a law is an agreement with the owner, and the
|
|
110
|
+
owner changes it. The work diverged from it — the ready-made text of the article is written: into
|
|
111
|
+
the progress and into the PR body. The law file is edited after the answer. The same with
|
|
112
|
+
application laws: payments, locales and access are the same agreement, only about this application.
|
|
109
113
|
|
|
110
|
-
|
|
111
|
-
|
|
114
|
+
What was done at this step is written into the PR body: what was re-read, what was changed, and if
|
|
115
|
+
nothing was changed — why. The form of the section — pattern `git-workflow-pr`.
|
|
112
116
|
|
|
113
|
-
|
|
114
|
-
|
|
117
|
+
**Next move:** the updated texts are committed, and in the same turn the task folder is taken apart
|
|
118
|
+
— by the last commit of the branch, pattern `task-flow-archive`.
|
|
115
119
|
|
|
116
|
-
##
|
|
120
|
+
## State `папка-разобрана`: the work is handed in by a PR
|
|
117
121
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
122
|
+
The folder is taken apart and pushed, the work is cleaned up behind — the PR opens as a draft. From
|
|
123
|
+
this minute the work waits for the owner, not for the machine, and the session does not end on it:
|
|
124
|
+
the next task is taken by the same move, pattern `task-flow-resume`.
|
|
121
125
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
126
|
+
**Readiness is measured by what is told, not by what has passed.** The list of what is done by the
|
|
127
|
+
opening reads as a list of mandatory checks, and its boundary is not visible. It exists: a check the
|
|
128
|
+
executor cannot pass for a reason outside the work — a refused permission, an unreachable
|
|
129
|
+
environment, a key held by a person — does not cancel readiness. It goes into "Not run" and into
|
|
130
|
+
"Remaining step", named together with the reason; silence about it reads as passed.
|
|
127
131
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
There is no state on disk any more — the progress left with the folder. This is the price of the
|
|
133
|
+
cleanup standing before the PR. The tail of four steps — open the PR, wait for the run, lift the
|
|
134
|
+
draft, ask to merge — is held by this pattern, not by a line in a file. The guard counts the work
|
|
135
|
+
handed in by the branch history: a folder removed by its commit is the sign.
|
|
132
136
|
|
|
133
|
-
###
|
|
137
|
+
### The section on the remaining step is written in the PR body, not appended later
|
|
134
138
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
It stands there from the minute of opening. Saying it aloud is not enough, and the requirement does
|
|
140
|
+
not hold on that alone. A message lives until the next message, and the merge decision is taken on
|
|
141
|
+
the PR page — there is no conversation there at all. The owner merges as soon as they see green, and
|
|
142
|
+
a PR opened without the section goes into main before the section is appended. That is how a task
|
|
143
|
+
folder once went unsorted while the run was going. The section stands last and says exactly one
|
|
144
|
+
thing: is anything left before the merge.
|
|
141
145
|
|
|
142
146
|
```markdown
|
|
143
147
|
## Оставшийся шаг
|
|
@@ -146,7 +150,7 @@ grep -rn -A3 "Чего из закона здесь нет" <каталог пр
|
|
|
146
150
|
черновик; до этого кнопка слияния заблокирована хостингом.
|
|
147
151
|
```
|
|
148
152
|
|
|
149
|
-
|
|
153
|
+
The draft is lifted — the section is rewritten by the same call that edits the body:
|
|
150
154
|
|
|
151
155
|
```markdown
|
|
152
156
|
## Оставшийся шаг
|
|
@@ -154,31 +158,33 @@ grep -rn -A3 "Чего из закона здесь нет" <каталог пр
|
|
|
154
158
|
Не осталось: прогон зелёный, черновик снят. Можно вливать.
|
|
155
159
|
```
|
|
156
160
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
161
|
+
The section heading and the words of both samples are written in the language of the PR, not the
|
|
162
|
+
language of the pattern. The samples are set in the language of this tree's PRs and are carried over
|
|
163
|
+
whole — the order of thoughts, the wording and the heading, the heading last. It looks like part of
|
|
164
|
+
the form, not part of the text. The same holds for the two messages to the owner below: they are
|
|
165
|
+
samples of **what** is said, not of which words.
|
|
162
166
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
167
|
+
The section is neither left empty nor removed altogether: a missing section and "no steps left" read
|
|
168
|
+
the same and mean different things. The full sample of a PR body — in the pattern for creating a
|
|
169
|
+
commit and a PR, if the tree laid it out.
|
|
166
170
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
171
|
+
The delivery guard holds this, not the writer's memory: it reads the body straight from the opening
|
|
172
|
+
command — passed as an argument or as a file — and refuses the call together with everything else
|
|
173
|
+
that does not match. The heading sample is named by the tree, because the heading is written in the
|
|
174
|
+
PR's language, and the package knows no foreign words; unnamed, the section is not judged at all.
|
|
175
|
+
The work queue audit still does not read the body: the miss is caught at the minute of opening, that
|
|
176
|
+
is, where one call still fixes it.
|
|
172
177
|
|
|
173
|
-
|
|
174
|
-
|
|
178
|
+
The difference between the section and the spoken word is one, and it is all. The owner reads a
|
|
179
|
+
message only if they return to the conversation, and the section they see where they look when
|
|
180
|
+
pressing the button.
|
|
175
181
|
|
|
176
|
-
###
|
|
182
|
+
### Two messages to the owner, and the run between them
|
|
177
183
|
|
|
178
|
-
|
|
179
|
-
|
|
184
|
+
Both are mandatory, and the order between them is one. Neither replaces the other: the first says
|
|
185
|
+
the work is handed in and what it waits for, the second — that it is ready.
|
|
180
186
|
|
|
181
|
-
|
|
187
|
+
Right after the PR opens:
|
|
182
188
|
|
|
183
189
|
```
|
|
184
190
|
PR #<номер> открыт черновиком, папка задачи уже разобрана — за работой убрано. Жду прогона:
|
|
@@ -186,35 +192,36 @@ PR #<номер> открыт черновиком, папка задачи уж
|
|
|
186
192
|
попрошу тебя влить. Следующая задача уже взята: #<номер>, ветка <имя ветки>.
|
|
187
193
|
```
|
|
188
194
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
195
|
+
The last line names what is taken, not an intent to take, and that is no figure of speech. A sample
|
|
196
|
+
that ends with a promise is carried out as a promise: the session says the last line and ends the
|
|
197
|
+
turn on it. The message looks complete, and nobody sees the emptiness behind it, neither the owner
|
|
198
|
+
nor the session itself. A sample that ends with the number of a created branch cannot be carried out
|
|
199
|
+
so: while there is no branch, there is nothing to write the line with. The incident analysis —
|
|
200
|
+
`2026-08-16-next-task-said-not-taken.md`.
|
|
194
201
|
|
|
195
|
-
|
|
202
|
+
The run is green, the draft is lifted:
|
|
196
203
|
|
|
197
204
|
```
|
|
198
205
|
PR #<номер> готов к слиянию: прогон зелёный, черновик снят. Влей его, пожалуйста.
|
|
199
206
|
```
|
|
200
207
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
208
|
+
The draft is lifted before the second message, not after it. The owner, having read the request to
|
|
209
|
+
merge, goes to press the button — on a draft it is locked, and the turn comes back to the executor
|
|
210
|
+
for nothing.
|
|
204
211
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
212
|
+
The run is red — the message is the same in form, but speaks of the red and of what is being done
|
|
213
|
+
about it; there is no request to merge in it. The request sounds once and only when the work is
|
|
214
|
+
ready whole: said ahead of time, it stops meaning anything, and the owner returns to the old way —
|
|
215
|
+
merging by a green page.
|
|
209
216
|
|
|
210
|
-
|
|
211
|
-
|
|
217
|
+
Between the two messages the executor does not wait: the work is handed in for review, and the next
|
|
218
|
+
task is taken by the same move. They return to the PR by the turn that reads the end of the run.
|
|
212
219
|
|
|
213
|
-
###
|
|
220
|
+
### The work state stands as a section in the PR body
|
|
214
221
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
222
|
+
Saying it aloud is not enough, and the requirement does not hold on that alone. A message lives
|
|
223
|
+
until the next message, and the merge decision is taken on the PR page — there is no conversation
|
|
224
|
+
there at all. The section stands last and says exactly one thing: is anything left before the merge.
|
|
218
225
|
|
|
219
226
|
```markdown
|
|
220
227
|
## Оставшийся шаг
|
|
@@ -223,7 +230,7 @@ PR #<номер> готов к слиянию: прогон зелёный, че
|
|
|
223
230
|
черновик; до этого кнопка слияния заблокирована хостингом.
|
|
224
231
|
```
|
|
225
232
|
|
|
226
|
-
|
|
233
|
+
The draft is lifted — the section is rewritten by the same call that edits the body:
|
|
227
234
|
|
|
228
235
|
```markdown
|
|
229
236
|
## Оставшийся шаг
|
|
@@ -231,67 +238,72 @@ PR #<номер> готов к слиянию: прогон зелёный, че
|
|
|
231
238
|
Не осталось: прогон зелёный, черновик снят. Можно вливать.
|
|
232
239
|
```
|
|
233
240
|
|
|
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
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
-
|
|
286
|
-
|
|
287
|
-
-
|
|
288
|
-
|
|
289
|
-
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
241
|
+
The section heading and the words of both samples are written in the language of the PR, not the
|
|
242
|
+
language of the pattern. The samples are set in the language of this tree's PRs and are carried over
|
|
243
|
+
whole — the order of thoughts, the wording and the heading, the heading last. It looks like part of
|
|
244
|
+
the form, not part of the text. The same holds for the two messages to the owner above: they are
|
|
245
|
+
samples of **what** is said, not of which words.
|
|
246
|
+
|
|
247
|
+
The section is neither left empty nor removed altogether: a missing section and "no steps left" read
|
|
248
|
+
the same and mean different things. The full sample of a PR body — in the pattern for creating a
|
|
249
|
+
commit and a PR, if the tree laid it out.
|
|
250
|
+
|
|
251
|
+
An open PR is re-read by the account that will merge it, not by the one that opened it. The host's
|
|
252
|
+
answer to the author says only that the call went through: the right to open and the visibility of
|
|
253
|
+
what was opened are different things, and the second is checked only from the reader's side. An
|
|
254
|
+
invisible PR gives itself away by nothing — it is in the answer to its author, it carries labels,
|
|
255
|
+
and the owner's review queue is simply empty.
|
|
256
|
+
|
|
257
|
+
There is nothing to check this by machine, and there will be no check: no audit reads the PR body,
|
|
258
|
+
and the host asks about nothing but the title. The requirement is held by the same thing as the
|
|
259
|
+
spoken word — by whoever writes the body. The difference between them is one, and it is all. The
|
|
260
|
+
owner reads a message only if they return to the conversation, and the section they see where they
|
|
261
|
+
look when pressing the button.
|
|
262
|
+
|
|
263
|
+
### An edit after remarks goes without a plan on disk
|
|
264
|
+
|
|
265
|
+
The review returned remarks, or the run went red — it is fixed in the same branch. The plan is no
|
|
266
|
+
longer there, and the folder is not assembled again: the progress guard lets the edit through on the
|
|
267
|
+
sign from the branch history. What exactly is fixed is taken from the remark, not from the plan.
|
|
268
|
+
|
|
269
|
+
Main merged in to look at something is the same edit as main merged in for the work, and it leaves
|
|
270
|
+
by the same turn. A merge left in the working copy is either pushed in the same turn or not made —
|
|
271
|
+
otherwise the owner sees the old state and decides by it.
|
|
272
|
+
|
|
273
|
+
**Next move:** the run is green and there are no remarks — the draft is lifted, and the owner is
|
|
274
|
+
told the work is ready.
|
|
275
|
+
|
|
276
|
+
## Common misses
|
|
277
|
+
|
|
278
|
+
- **The texts are edited before the folder is taken apart:** the list of what to re-read lies in the
|
|
279
|
+
plan, and the taking-apart deletes it.
|
|
280
|
+
- **A decisions entry repeating a rule's article word for word is no reason next to it.** The rule
|
|
281
|
+
comes into the context by itself, the spec — only when opened; the pair diverges in silence. Such
|
|
282
|
+
an entry leaves whole, even if the section goes empty; a reason the article does not state is
|
|
283
|
+
appended to the article.
|
|
284
|
+
- **The PR body stays older than the taking-apart.** The taking-apart is the last commit of the
|
|
285
|
+
branch, and it makes untrue everything the body promised to do before the merge. The reviewer
|
|
286
|
+
reads the list of what is left as what is left, so the body is edited in the same turn.
|
|
287
|
+
- **A rule statement is lifted together with its binding line.** The link goes by text: a line
|
|
288
|
+
without a statement and a statement without a line redden the spec audit alike.
|
|
289
|
+
- **The section "What of the law is not here" is read by eye, grep does not help here.** The word to
|
|
290
|
+
search for is not the one expected. A rule referred to an article the law does not have, and by
|
|
291
|
+
the word of its theme that line was found — while the untruth was elsewhere.
|
|
292
|
+
- **"Audited" cannot be said without opening the file.** The rule is read whole: a stale statement
|
|
293
|
+
stands among true ones and differs from them by nothing.
|
|
294
|
+
- **The merge is not done after the merge into main.** Main then holds a "proposed, not yet rolled
|
|
295
|
+
out" section with what has been working for a month: a silent lie, the more convincing the older.
|
|
296
|
+
- **Scenario numbers are not renumbered at the merge.** The id is the key of the link to the tests,
|
|
297
|
+
and a shift breaks the audit for the neighbours.
|
|
298
|
+
- **"What is not included" is read whole after the merge, not appended to.** The feature's
|
|
299
|
+
boundaries land next to the domain's. Half repeat what stood there in other words, and the line
|
|
300
|
+
"this section does not exist yet" becomes a lie by the very work that merges it. The spec audit
|
|
301
|
+
does not look there.
|
|
302
|
+
- **One's own line of the work queue audit is found by name** — by the task number and the branch
|
|
303
|
+
name. The audit answers for the whole tree, and one closing had eight of someone else's folders
|
|
304
|
+
against one of its own.
|
|
305
|
+
- **The pair "size label — line in the epic plan" breaks from both sides.** A task on the trail of a
|
|
306
|
+
closed one inherits the label without the line about sessions. A closed epic takes the line away
|
|
307
|
+
from everyone who carries it.
|
|
308
|
+
- **A rule without a binding does not enter the domain spec.** There is no code carrying it out — so
|
|
309
|
+
it is an intent, and its place is the domain's open questions.
|