@rt-tools/agent-kit 0.24.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/agents/business-analyst.md +51 -50
- package/assets/agents/cargo-writer.md +54 -0
- 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-epic-link.github.mjs +29 -0
- package/assets/checks/board-epics.github.mjs +286 -49
- 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 +29 -25
- package/assets/checks/board-paths.github.mjs +21 -16
- package/assets/checks/board-pull-state.github.mjs +168 -0
- package/assets/checks/board-runs.github.mjs +45 -43
- package/assets/checks/board-task-dirs.github.mjs +98 -0
- package/assets/checks/board-titles.github.mjs +19 -17
- package/assets/checks/board.github.mjs +133 -194
- package/assets/checks/check-archive-age.mjs +23 -19
- package/assets/checks/check-board.github.mjs +131 -263
- 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 +138 -39
- package/assets/checks/check-push-gate.mjs +53 -50
- package/assets/checks/check-reuse.mjs +50 -40
- package/assets/checks/check-schema-drift.mjs +104 -84
- 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/epic-table.github.mjs +268 -0
- 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 +187 -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/specs-for.mjs +214 -0
- package/assets/checks/task-new.github.mjs +315 -61
- package/assets/commands/feedback.md +65 -59
- package/assets/commands/next-session.md +64 -57
- package/assets/commands/night.md +115 -0
- package/assets/commands/skill-curator.md +83 -79
- package/assets/defaults/gate-map.sh +108 -97
- package/assets/defaults/project.sh +232 -185
- package/assets/defaults/shell.sh +73 -68
- package/assets/defaults/turn-map.md +47 -44
- package/assets/docs/GLOSSARY.md +142 -65
- package/assets/hooks/browser-device-id.sh +16 -12
- package/assets/hooks/browser-guard-device-id.sh +34 -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 +14 -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 +50 -43
- package/assets/hooks/dispatch.sh +60 -46
- package/assets/hooks/docs-guard.sh +100 -91
- package/assets/hooks/epic-over.sh +49 -0
- package/assets/hooks/epic-stop-guard.sh +108 -0
- package/assets/hooks/exam-guard.sh +105 -93
- package/assets/hooks/git-guard-delivery-conflict.sh +41 -36
- package/assets/hooks/git-guard-delivery-draft.sh +48 -38
- package/assets/hooks/git-guard-delivery-epic.sh +167 -0
- package/assets/hooks/git-guard-delivery-folder.sh +50 -43
- package/assets/hooks/git-guard-delivery-signature.sh +119 -53
- package/assets/hooks/git-guard-delivery.sh +223 -183
- 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 +45 -25
- 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 +49 -24
- package/assets/hooks/qa-dataid-guard.sh +83 -58
- 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 +39 -34
- package/assets/hooks/rule-source-guard.sh +47 -42
- package/assets/hooks/skill-gate-layers.sh +63 -57
- package/assets/hooks/skill-gate-rearm.sh +15 -8
- package/assets/hooks/skill-gate.sh +89 -81
- package/assets/hooks/skill-loaded.sh +10 -6
- package/assets/hooks/sql-guard-parse.sh +71 -66
- package/assets/hooks/sql-guard-request.sh +51 -46
- package/assets/hooks/sql-guard-target.sh +60 -51
- package/assets/hooks/sql-guard-write.sh +87 -79
- package/assets/hooks/sql-guard.sh +52 -47
- package/assets/hooks/stand-login-guard.sh +43 -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 +260 -204
- package/assets/hooks/turn-exit-patterns.sh +63 -0
- package/assets/hooks/utf8.sh +14 -11
- package/assets/hooks/waiting-turn-guard.sh +104 -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 +99 -44
- package/assets/laws/autonomous-work.md +29 -27
- package/assets/laws/code-structure.md +31 -30
- package/assets/laws/delivery.md +170 -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 +94 -87
- package/assets/patterns/git-workflow-commit.github.md +160 -142
- package/assets/patterns/git-workflow-commit.gitlab.md +96 -90
- 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 +102 -94
- 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 +127 -122
- package/assets/patterns/git-workflow-pr.github.md +186 -177
- package/assets/patterns/git-workflow-pr.gitlab.md +139 -132
- 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 +136 -107
- 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 +48 -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 +234 -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 +228 -202
- 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 +172 -142
- package/assets/pitfalls/doc-style.md +96 -91
- package/assets/pitfalls/git-workflow.azure.md +49 -46
- package/assets/pitfalls/git-workflow.github.md +270 -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 +87 -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 +201 -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 +268 -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 +279 -260
- package/assets/rules/status-report.md +62 -58
- package/assets/rules/styling-bem.md +81 -77
- package/assets/rules/task-flow.md +303 -270
- package/assets/rules/testing.md +224 -209
- package/assets/rules/turn-conduct.md +262 -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 +259 -233
- 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/bin/agent-kit.d.ts.map +1 -1
- package/bin/agent-kit.js +8 -1
- package/bin/agent-kit.js.map +1 -1
- package/lib/cargo-prose.d.ts +41 -0
- package/lib/cargo-prose.d.ts.map +1 -0
- package/lib/cargo-prose.js +88 -0
- package/lib/cargo-prose.js.map +1 -0
- package/lib/cargo.d.ts +12 -1
- package/lib/cargo.d.ts.map +1 -1
- package/lib/cargo.js +8 -2
- package/lib/cargo.js.map +1 -1
- 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/fate.d.ts +29 -0
- package/lib/fate.d.ts.map +1 -0
- package/lib/fate.js +147 -0
- package/lib/fate.js.map +1 -0
- package/lib/override-marks.d.ts +7 -0
- package/lib/override-marks.d.ts.map +1 -1
- package/lib/override-marks.js +14 -0
- package/lib/override-marks.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 +29 -9
- package/lib/ship.d.ts.map +1 -1
- package/lib/ship.js +44 -2
- package/lib/ship.js.map +1 -1
- package/lib/shipment.d.ts.map +1 -1
- package/lib/shipment.fixture.d.ts +8 -1
- package/lib/shipment.fixture.d.ts.map +1 -1
- package/lib/shipment.fixture.js +9 -0
- package/lib/shipment.fixture.js.map +1 -1
- package/lib/shipment.js +38 -5
- 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.27.0.tgz +0 -0
- package/rt-tools-agent-kit-0.24.0.tgz +0 -0
|
@@ -2,142 +2,145 @@
|
|
|
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.** A check the executor cannot pass
|
|
127
|
+
for a reason outside the work — a refused permission, an unreachable environment, a key held by a
|
|
128
|
+
person — does not cancel readiness: it goes into "Not run" and into "Remaining step" with the
|
|
129
|
+
reason. Silence about it reads as passed.
|
|
127
130
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
There is no state on disk any more — the progress left with the folder. This is the price of the
|
|
132
|
+
cleanup standing before the PR. The tail of four steps — open the PR, wait for the run, lift the
|
|
133
|
+
draft, ask to merge — is held by this pattern, not by a line in a file. The guard counts the work
|
|
134
|
+
handed in by the branch history: a folder removed by its commit is the sign.
|
|
132
135
|
|
|
133
|
-
###
|
|
136
|
+
### The section on the remaining step is written in the PR body, not appended later
|
|
134
137
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
It stands there from the minute of opening. Saying it aloud is not enough, and the requirement does
|
|
139
|
+
not hold on that alone. A message lives until the next message, and the merge decision is taken on
|
|
140
|
+
the PR page — there is no conversation there at all. The owner merges as soon as they see green, and
|
|
141
|
+
a PR opened without the section goes into main before the section is appended. That is how a task
|
|
142
|
+
folder once went unsorted while the run was going. The section stands last and says exactly one
|
|
143
|
+
thing: is anything left before the merge.
|
|
141
144
|
|
|
142
145
|
```markdown
|
|
143
146
|
## Оставшийся шаг
|
|
@@ -146,7 +149,7 @@ grep -rn -A3 "Чего из закона здесь нет" <каталог пр
|
|
|
146
149
|
черновик; до этого кнопка слияния заблокирована хостингом.
|
|
147
150
|
```
|
|
148
151
|
|
|
149
|
-
|
|
152
|
+
The draft is lifted — the section is rewritten by the same call that edits the body:
|
|
150
153
|
|
|
151
154
|
```markdown
|
|
152
155
|
## Оставшийся шаг
|
|
@@ -154,31 +157,33 @@ grep -rn -A3 "Чего из закона здесь нет" <каталог пр
|
|
|
154
157
|
Не осталось: прогон зелёный, черновик снят. Можно вливать.
|
|
155
158
|
```
|
|
156
159
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
The section heading and the words of both samples are written in the language of the PR, not the
|
|
161
|
+
language of the pattern. The samples are set in the language of this tree's PRs and are carried over
|
|
162
|
+
whole — the order of thoughts, the wording and the heading, the heading last. It looks like part of
|
|
163
|
+
the form, not part of the text. The same holds for the two messages to the owner below: they are
|
|
164
|
+
samples of **what** is said, not of which words.
|
|
162
165
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
+
The section is neither left empty nor removed altogether: a missing section and "no steps left" read
|
|
167
|
+
the same and mean different things. The full sample of a PR body — in the pattern for creating a
|
|
168
|
+
commit and a PR, if the tree laid it out.
|
|
166
169
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
The delivery guard holds this, not the writer's memory: it reads the body straight from the opening
|
|
171
|
+
command — passed as an argument or as a file — and refuses the call together with everything else
|
|
172
|
+
that does not match. The heading sample is named by the tree, because the heading is written in the
|
|
173
|
+
PR's language, and the package knows no foreign words; unnamed, the section is not judged at all.
|
|
174
|
+
The work queue audit still does not read the body: the miss is caught at the minute of opening, that
|
|
175
|
+
is, where one call still fixes it.
|
|
172
176
|
|
|
173
|
-
|
|
174
|
-
|
|
177
|
+
The difference between the section and the spoken word is one, and it is all. The owner reads a
|
|
178
|
+
message only if they return to the conversation, and the section they see where they look when
|
|
179
|
+
pressing the button.
|
|
175
180
|
|
|
176
|
-
###
|
|
181
|
+
### Two messages to the owner, and the run between them
|
|
177
182
|
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
Both are mandatory, and the order between them is one. Neither replaces the other: the first says
|
|
184
|
+
the work is handed in and what it waits for, the second — that it is ready.
|
|
180
185
|
|
|
181
|
-
|
|
186
|
+
Right after the PR opens:
|
|
182
187
|
|
|
183
188
|
```
|
|
184
189
|
PR #<номер> открыт черновиком, папка задачи уже разобрана — за работой убрано. Жду прогона:
|
|
@@ -186,35 +191,36 @@ PR #<номер> открыт черновиком, папка задачи уж
|
|
|
186
191
|
попрошу тебя влить. Следующая задача уже взята: #<номер>, ветка <имя ветки>.
|
|
187
192
|
```
|
|
188
193
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
+
The last line names what is taken, not an intent to take, and that is no figure of speech. A sample
|
|
195
|
+
that ends with a promise is carried out as a promise: the session says the last line and ends the
|
|
196
|
+
turn on it. The message looks complete, and nobody sees the emptiness behind it, neither the owner
|
|
197
|
+
nor the session itself. A sample that ends with the number of a created branch cannot be carried out
|
|
198
|
+
so: while there is no branch, there is nothing to write the line with. The incident analysis —
|
|
199
|
+
`2026-08-16-next-task-said-not-taken.md`.
|
|
194
200
|
|
|
195
|
-
|
|
201
|
+
The run is green, the draft is lifted:
|
|
196
202
|
|
|
197
203
|
```
|
|
198
204
|
PR #<номер> готов к слиянию: прогон зелёный, черновик снят. Влей его, пожалуйста.
|
|
199
205
|
```
|
|
200
206
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
207
|
+
The draft is lifted before the second message, not after it. The owner, having read the request to
|
|
208
|
+
merge, goes to press the button — on a draft it is locked, and the turn comes back to the executor
|
|
209
|
+
for nothing.
|
|
204
210
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
211
|
+
The run is red — the message is the same in form, but speaks of the red and of what is being done
|
|
212
|
+
about it; there is no request to merge in it. The request sounds once and only when the work is
|
|
213
|
+
ready whole: said ahead of time, it stops meaning anything, and the owner returns to the old way —
|
|
214
|
+
merging by a green page.
|
|
209
215
|
|
|
210
|
-
|
|
211
|
-
|
|
216
|
+
Between the two messages the executor does not wait: the work is handed in for review, and the next
|
|
217
|
+
task is taken by the same move. They return to the PR by the turn that reads the end of the run.
|
|
212
218
|
|
|
213
|
-
###
|
|
219
|
+
### The work state stands as a section in the PR body
|
|
214
220
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
221
|
+
Saying it aloud is not enough, and the requirement does not hold on that alone. A message lives
|
|
222
|
+
until the next message, and the merge decision is taken on the PR page — there is no conversation
|
|
223
|
+
there at all. The section stands last and says exactly one thing: is anything left before the merge.
|
|
218
224
|
|
|
219
225
|
```markdown
|
|
220
226
|
## Оставшийся шаг
|
|
@@ -223,7 +229,7 @@ PR #<номер> готов к слиянию: прогон зелёный, че
|
|
|
223
229
|
черновик; до этого кнопка слияния заблокирована хостингом.
|
|
224
230
|
```
|
|
225
231
|
|
|
226
|
-
|
|
232
|
+
The draft is lifted — the section is rewritten by the same call that edits the body:
|
|
227
233
|
|
|
228
234
|
```markdown
|
|
229
235
|
## Оставшийся шаг
|
|
@@ -231,67 +237,92 @@ PR #<номер> готов к слиянию: прогон зелёный, че
|
|
|
231
237
|
Не осталось: прогон зелёный, черновик снят. Можно вливать.
|
|
232
238
|
```
|
|
233
239
|
|
|
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
|
-
|
|
240
|
+
The section heading and the words of both samples are written in the language of the PR, not the
|
|
241
|
+
language of the pattern. The samples are set in the language of this tree's PRs and are carried over
|
|
242
|
+
whole — the order of thoughts, the wording and the heading, the heading last. It looks like part of
|
|
243
|
+
the form, not part of the text. The same holds for the two messages to the owner above: they are
|
|
244
|
+
samples of **what** is said, not of which words.
|
|
245
|
+
|
|
246
|
+
The section is neither left empty nor removed altogether: a missing section and "no steps left" read
|
|
247
|
+
the same and mean different things. The full sample of a PR body — in the pattern for creating a
|
|
248
|
+
commit and a PR, if the tree laid it out.
|
|
249
|
+
|
|
250
|
+
An open PR is re-read by the account that will merge it, not by the one that opened it. The host's
|
|
251
|
+
answer to the author says only that the call went through: the right to open and the visibility of
|
|
252
|
+
what was opened are different things, and the second is checked only from the reader's side. An
|
|
253
|
+
invisible PR gives itself away by nothing — it is in the answer to its author, it carries labels,
|
|
254
|
+
and the owner's review queue is simply empty.
|
|
255
|
+
|
|
256
|
+
There is nothing to check this by machine: no audit reads the request body, and the host asks about
|
|
257
|
+
nothing but the title. The owner reads a message only if they return to the conversation, and the
|
|
258
|
+
section they see where they look when pressing the button.
|
|
259
|
+
|
|
260
|
+
### An edit after remarks goes without a plan on disk
|
|
261
|
+
|
|
262
|
+
The review returned remarks, or the run went red — it is fixed in the same branch. The plan is no
|
|
263
|
+
longer there, and the folder is not assembled again: the progress guard lets the edit through on the
|
|
264
|
+
sign from the branch history. What exactly is fixed is taken from the remark, not from the plan.
|
|
265
|
+
|
|
266
|
+
A merge left in the working copy is either pushed in the same turn or not made — otherwise the owner
|
|
267
|
+
sees the old state and decides by it.
|
|
268
|
+
|
|
269
|
+
**Next move:** the run is green and there are no remarks — the draft is lifted, and the owner is
|
|
270
|
+
told the work is ready.
|
|
271
|
+
|
|
272
|
+
## State `задачи-эпика-кончились`: the epic is handed in by a request into the main branch
|
|
273
|
+
|
|
274
|
+
Every task of the epic is merged into its branch and every folder is taken apart — only then does
|
|
275
|
+
the epic branch get a request of its own, and its base is the main branch. Until that minute the
|
|
276
|
+
branch is not offered to a person at all: the merge button on it means the whole epic, and there is
|
|
277
|
+
nothing to press it for while a task is still being written.
|
|
278
|
+
|
|
279
|
+
Before opening, three things are checked by a command rather than by memory:
|
|
280
|
+
|
|
281
|
+
```bash
|
|
282
|
+
gh pr list --base <ветка эпика> --state open # no task of the epic is left unmerged
|
|
283
|
+
git ls-tree -r --name-only HEAD -- docs/tasks/ # no folder of a task of this epic is left
|
|
284
|
+
git fetch origin && git merge origin/main # the main branch is merged into the epic branch
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
A folder left in the epic branch reaches the main branch with it: what one branch needed becomes the
|
|
288
|
+
tree's for good. A foreign folder, arrived with a merge of the main branch, is not touched.
|
|
289
|
+
|
|
290
|
+
The body is written the same way as a task's, and its "Что сделано" is the list of the tasks by
|
|
291
|
+
number: the reviewer opens one page instead of five. The plan of the epic stays in the tree — it
|
|
292
|
+
outlives the branch.
|
|
293
|
+
|
|
294
|
+
**Next move:** the request is open as a draft, the run is awaited, the draft is lifted, and the
|
|
295
|
+
owner is asked to merge — by the number, in one turn.
|
|
296
|
+
|
|
297
|
+
## Common misses
|
|
298
|
+
|
|
299
|
+
- **The texts are edited before the folder is taken apart:** the list of what to re-read lies in the
|
|
300
|
+
plan, and the taking-apart deletes it.
|
|
301
|
+
- **A decisions entry repeating a rule's article word for word is no reason next to it.** Such an
|
|
302
|
+
entry leaves whole, even if the section goes empty; a reason the article does not state is
|
|
303
|
+
appended to the article.
|
|
304
|
+
- **The PR body stays older than the taking-apart.** The taking-apart is the last commit of the
|
|
305
|
+
branch, and it makes untrue everything the body promised to do before the merge. The reviewer
|
|
306
|
+
reads the list of what is left as what is left, so the body is edited in the same turn.
|
|
307
|
+
- **A rule statement is lifted together with its binding line.** The link goes by text: a line
|
|
308
|
+
without a statement and a statement without a line redden the spec audit alike.
|
|
309
|
+
- **The section "What of the law is not here" is read by eye, grep does not help here.** The word to
|
|
310
|
+
search for is not the one expected. A rule referred to an article the law does not have, and by
|
|
311
|
+
the word of its theme that line was found — while the untruth was elsewhere.
|
|
312
|
+
- **"Audited" cannot be said without opening the file.** The rule is read whole: a stale statement
|
|
313
|
+
stands among true ones and differs from them by nothing.
|
|
314
|
+
- **The merge is not done after the merge into main.** Main then holds a "proposed, not yet rolled
|
|
315
|
+
out" section with what has been working for a month.
|
|
316
|
+
- **Scenario numbers are not renumbered at the merge.** The id is the key of the link to the tests.
|
|
317
|
+
- **"What is not included" is read whole after the merge, not appended to.** The feature's
|
|
318
|
+
boundaries land next to the domain's, and the line "this section does not exist yet" becomes a lie
|
|
319
|
+
by the very work that merges it. The spec audit
|
|
320
|
+
does not look there.
|
|
321
|
+
- **One's own line of the work queue audit is found by name** — by the task number and the branch
|
|
322
|
+
name. The audit answers for the whole tree, and one closing had eight of someone else's folders
|
|
323
|
+
against one of its own.
|
|
324
|
+
- **The pair "size label — line in the epic plan" breaks from both sides.** A task on the trail of a
|
|
325
|
+
closed one inherits the label without the line about sessions. A closed epic takes the line away
|
|
326
|
+
from everyone who carries it.
|
|
327
|
+
- **A rule without a binding does not enter the domain spec.** There is no code carrying it out — so
|
|
328
|
+
it is an intent, and its place is the domain's open questions.
|