@rt-tools/agent-kit 0.26.0 → 0.28.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/cargo-writer.md +54 -0
- package/assets/checks/board-epic-link.github.mjs +29 -0
- package/assets/checks/board-epic-plan.github.mjs +86 -0
- package/assets/checks/board-epics.github.mjs +217 -69
- package/assets/checks/board-long-work.github.mjs +5 -1
- package/assets/checks/board-pull-state.github.mjs +163 -0
- package/assets/checks/board-task-dirs.github.mjs +98 -0
- package/assets/checks/board.github.mjs +8 -91
- package/assets/checks/check-board.github.mjs +25 -165
- package/assets/checks/check-glossary.mjs +10 -2
- package/assets/checks/check-lib-layers.mjs +24 -1
- package/assets/checks/check-prose-style.mjs +19 -3
- package/assets/checks/check-reuse.mjs +26 -2
- package/assets/checks/check-schema-drift.mjs +19 -3
- package/assets/checks/check-specs.mjs +8 -1
- package/assets/checks/epic-table.github.mjs +268 -0
- package/assets/checks/lib-boundaries.mjs +2 -2
- package/assets/checks/lib-common.mjs +46 -0
- package/assets/checks/lib-manifests.mjs +18 -13
- package/assets/checks/rt-kit-checks.config.mjs +19 -0
- package/assets/checks/signals.mjs +39 -5
- package/assets/checks/spec-anchors.mjs +48 -4
- package/assets/checks/spec-common.mjs +40 -6
- package/assets/checks/spec-contract.mjs +33 -7
- package/assets/checks/spec-scenarios.mjs +24 -1
- package/assets/checks/specs-for.mjs +214 -0
- package/assets/checks/task-new.github.mjs +237 -6
- package/assets/commands/night.md +115 -0
- package/assets/defaults/gate-map.sh +20 -5
- package/assets/defaults/project.sh +13 -0
- package/assets/defaults/turn-map.md +3 -1
- package/assets/docs/GLOSSARY.md +22 -22
- package/assets/hooks/browser-device-id.sh +4 -0
- package/assets/hooks/browser-guard-device-id.sh +4 -0
- package/assets/hooks/commit-msg.sh +3 -0
- package/assets/hooks/dev-server-guard.sh +64 -31
- package/assets/hooks/epic-over.sh +49 -0
- package/assets/hooks/epic-stop-guard.sh +108 -0
- package/assets/hooks/exam-guard.sh +10 -10
- package/assets/hooks/git-guard-delivery-conflict.sh +56 -1
- package/assets/hooks/git-guard-delivery-draft.sh +10 -6
- package/assets/hooks/git-guard-delivery-epic.sh +167 -0
- package/assets/hooks/git-guard-delivery-signature.sh +32 -2
- package/assets/hooks/git-guard-delivery-tree.sh +50 -0
- package/assets/hooks/git-guard-delivery.sh +71 -27
- package/assets/hooks/git-guard-discard.sh +144 -0
- package/assets/hooks/git-guard-push-tests.sh +36 -16
- package/assets/hooks/handoff-entry-guard.sh +20 -2
- package/assets/hooks/prose-style-guard.sh +31 -8
- package/assets/hooks/qa-dataid-guard.sh +33 -11
- package/assets/hooks/reuse-first-guard.sh +29 -4
- package/assets/hooks/rule-article.sh +3 -0
- package/assets/hooks/rule-source-guard.sh +17 -2
- package/assets/hooks/skill-gate-layers.sh +4 -0
- package/assets/hooks/skill-gate.sh +7 -0
- package/assets/hooks/skill-loaded.sh +4 -0
- package/assets/hooks/sql-guard-parse.sh +3 -0
- package/assets/hooks/sql-guard-request.sh +3 -0
- package/assets/hooks/sql-guard-target.sh +3 -0
- package/assets/hooks/sql-guard-write.sh +21 -2
- package/assets/hooks/stand-login-guard.sh +3 -0
- package/assets/hooks/turn-exit-guard.sh +55 -67
- package/assets/hooks/turn-exit-patterns.sh +28 -1
- package/assets/hooks/turn-exit-verdict.sh +84 -0
- package/assets/hooks/utf8.sh +3 -0
- package/assets/hooks/waiting-turn-guard.sh +11 -1
- package/assets/hooks/write-targets.sh +3 -0
- package/assets/laws/delivery.md +37 -7
- package/assets/laws/verifiability.md +22 -4
- package/assets/patterns/git-workflow-commit.azure.md +1 -1
- package/assets/patterns/git-workflow-commit.github.md +9 -2
- package/assets/patterns/git-workflow-commit.gitlab.md +1 -1
- package/assets/patterns/git-workflow-merge.md +8 -5
- package/assets/patterns/git-workflow-pr.azure.md +1 -1
- package/assets/patterns/git-workflow-pr.github.md +44 -18
- package/assets/patterns/git-workflow-pr.gitlab.md +1 -1
- package/assets/patterns/git-workflow-stack.md +32 -9
- package/assets/patterns/status-report-table.github.md +11 -0
- package/assets/patterns/task-flow-close.md +96 -90
- package/assets/patterns/task-flow-start.md +40 -26
- package/assets/patterns/ts-procedure.md +6 -0
- package/assets/pitfalls/agent-kit.md +19 -0
- package/assets/pitfalls/git-workflow.github.md +44 -0
- package/assets/pitfalls/task-flow.md +25 -23
- package/assets/rules/autonomous-work.md +15 -3
- package/assets/rules/browser-verification.md +8 -0
- package/assets/rules/deploy-flow.github.md +6 -0
- package/assets/rules/doc-style.md +13 -4
- package/assets/rules/git-workflow.azure.md +10 -0
- package/assets/rules/git-workflow.github.md +144 -126
- package/assets/rules/git-workflow.gitlab.md +10 -0
- package/assets/rules/lib-layers.md +11 -0
- package/assets/rules/spec-driven.md +17 -1
- package/assets/rules/status-report.md +7 -0
- package/assets/rules/task-flow.md +78 -54
- package/assets/rules/testing.md +7 -0
- package/assets/rules/turn-conduct.md +30 -3
- package/assets/samples/tasks/_template/plan.md +4 -1
- package/assets/skills/agent-kit.md +40 -25
- package/bin/agent-kit.d.ts.map +1 -1
- package/bin/agent-kit.js +9 -2
- 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/commands.d.ts +1 -1
- package/lib/commands.d.ts.map +1 -1
- package/lib/commands.js +59 -2
- package/lib/commands.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/hooks-map.d.ts +5 -0
- package/lib/hooks-map.d.ts.map +1 -1
- package/lib/hooks-map.js +9 -3
- package/lib/hooks-map.js.map +1 -1
- 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 +2 -0
- package/lib/plan.d.ts.map +1 -1
- package/lib/plan.js +8 -0
- package/lib/plan.js.map +1 -1
- package/lib/proposals.d.ts +25 -0
- package/lib/proposals.d.ts.map +1 -1
- package/lib/proposals.js +43 -1
- package/lib/proposals.js.map +1 -1
- package/lib/ship.d.ts +29 -2
- package/lib/ship.d.ts.map +1 -1
- package/lib/ship.js +34 -0
- 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 +40 -14
- package/lib/shipment.js.map +1 -1
- package/package.json +1 -1
- package/rt-tools-agent-kit-0.28.0.tgz +0 -0
- package/rt-tools-agent-kit-0.26.0.tgz +0 -0
|
@@ -157,3 +157,22 @@ not see it. It is carried into the override by hand.
|
|
|
157
157
|
- **A trait the package did not declare fails the layout** — whether in the tree's `has` or in a
|
|
158
158
|
resource name. Traits are declared in a list with the package, next to the axes of difference.
|
|
159
159
|
|
|
160
|
+
## Layout pitfalls
|
|
161
|
+
- **The glossary is as much a laid-out resource as a rule.** The startup hook puts it into the
|
|
162
|
+
context in full, before the first reply, and so it looks like an ordinary tree document; it has
|
|
163
|
+
a header, but it reads as a service line. A new word goes into the glossary override, as a
|
|
164
|
+
section of its own.
|
|
165
|
+
|
|
166
|
+
- **A file write by a shell command is checked on all paths named in its body.** The gate takes
|
|
167
|
+
the paths out of the command text and reads the document body in full if the command holds an
|
|
168
|
+
interpreter name; an import line of a laid-out module then demands a second rule, and one is
|
|
169
|
+
demanded at a time — two refusals in a row, and each loses the written body. The edit tool is
|
|
170
|
+
checked by its one path; a shell redirect is for what does not become a tree file.
|
|
171
|
+
- **Your own thing standing next to the laid-out repeats its mechanics silently.** Parsing the
|
|
172
|
+
list of the known, the source roots and the debt snapshot is given by the checks config
|
|
173
|
+
module; a second such parser in your own check is seen by neither the layout audit nor the
|
|
174
|
+
duplicate check. Before starting your own, look at what the checks config module exports.
|
|
175
|
+
- **A rule loaded by a tool may be shown not in full, and the cut is marked by nothing.** A long
|
|
176
|
+
file comes into the context cut at a line, and the cut falls on the tail — where the override
|
|
177
|
+
sections are appended at the end. The shown lines are compared with the file length by one
|
|
178
|
+
command; if they differ, the file is read to the end.
|
|
@@ -131,6 +131,37 @@ Here moved the cases, numbers and rejected remedies that used to stand next to t
|
|
|
131
131
|
articles. No edit decision rests on them: they are for whoever investigates a miss or argues with
|
|
132
132
|
a guard.
|
|
133
133
|
|
|
134
|
+
- **A PR opened by another account is lawful while its reviewer is somebody else.** The clash the
|
|
135
|
+
guard judges is that of author and reviewer, not the account name: the machine account is named
|
|
136
|
+
aloud rather than demanded.
|
|
137
|
+
|
|
138
|
+
- **A chain branched from the epic branch twice diverges at the first merge.** The rest of the
|
|
139
|
+
branches then stand on a base that is gone.
|
|
140
|
+
|
|
141
|
+
- **While the handed-over conflicts, a person cannot merge it.** New work adds one more branch to
|
|
142
|
+
the same queue instead of fixing that.
|
|
143
|
+
|
|
144
|
+
- **A flag between the verb and `-b` is the same branch creation.** The guard used to judge only the
|
|
145
|
+
form without a flag.
|
|
146
|
+
|
|
147
|
+
- **A printed task number means only that the call went through.** The board is a separate service,
|
|
148
|
+
and a task lands on it only when added.
|
|
149
|
+
|
|
150
|
+
- **A temporary directory will not do for a runner's paths.** The package store lives there.
|
|
151
|
+
|
|
152
|
+
- **A pipeline step printed next to the push instead of refusing it is skipped.** A warning reads as
|
|
153
|
+
permission.
|
|
154
|
+
|
|
155
|
+
- **A write limit is told from exhaustion by the limits answer.** There it is zero.
|
|
156
|
+
|
|
157
|
+
- **At branch creation the column is not asked.** Nothing has moved it yet.
|
|
158
|
+
|
|
159
|
+
- **A fresh tip is given time before the audit counts it as running no checks.**
|
|
160
|
+
|
|
161
|
+
- **A machine signature sends git to the key agent.** A locked agent brings the whole suite down.
|
|
162
|
+
|
|
163
|
+
- **A run pushed out of the queue has zero steps.** That is what tells it from a failed one.
|
|
164
|
+
|
|
134
165
|
- **A refusal at the merge remains the second line.** A person merges as soon as they see green,
|
|
135
166
|
and the second line is simply never reached.
|
|
136
167
|
|
|
@@ -267,3 +298,16 @@ a guard.
|
|
|
267
298
|
broken command and is cured by the directory: the path to it is named from the root, and it is
|
|
268
299
|
called from there.
|
|
269
300
|
|
|
301
|
+
## The active account of the host client
|
|
302
|
+
|
|
303
|
+
A client login as the machine account hijacks every neighbouring session on the machine: a
|
|
304
|
+
neighbour with rights to one repository reads its task as nonexistent, and from inside the tree
|
|
305
|
+
the miss is invisible — the answer is an ordinary "not found". That is why the account is
|
|
306
|
+
substituted per call and never made active, even when the active one is already right.
|
|
307
|
+
|
|
308
|
+
- **Why a neighbouring runner rewrites a ready-made step's default.** On a machine with several
|
|
309
|
+
runners any path from the home directory is shared, so the version a neighbouring run installs
|
|
310
|
+
lands under the same path and is picked up by the next run of any project.
|
|
311
|
+
- **What the second tier of the delivery guard cannot ask without a network.** Task, column,
|
|
312
|
+
assignee and review live at the hosting: with no network and no token that tier is skipped, and
|
|
313
|
+
the skip is silent.
|
|
@@ -50,11 +50,9 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
50
50
|
the node was moved to another place in the markup. The owner rejected both and named the needed
|
|
51
51
|
way himself. Ask before the edit, do not show the measurement after.
|
|
52
52
|
- **A path offered to a person is judged by the number of their steps and by what they must have to
|
|
53
|
-
walk it.** From the code side an option looks cheap
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
price is named from the side of the one who will walk it; a retelling of the order without it the
|
|
57
|
-
owner reads as approval.
|
|
53
|
+
walk it.** From the code side an option looks cheap while for a person it costs a visit to the
|
|
54
|
+
server. The price is named from the side of the one who will walk it; a retelling of the order
|
|
55
|
+
without it the owner reads as approval.
|
|
58
56
|
- **The epic on the theme is read before the layout is decided.** The epic plan holds decisions that
|
|
59
57
|
survived a dozen tasks, and code exploration does not find them: a withdrawn decision leaves no
|
|
60
58
|
trace in the tree. A domain created by the generator and torn down half an hour later stood in the
|
|
@@ -115,11 +113,9 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
115
113
|
moved nothing.
|
|
116
114
|
|
|
117
115
|
- **One's own temporary files go outside the code tree — otherwise their removal is judged as an
|
|
118
|
-
edit of the application.** The write sign counts a deletion as a write, and
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
plan for cleaning up a draft. The directory is named by the tree's profile, and it lies outside
|
|
122
|
-
the code tree.
|
|
116
|
+
edit of the application.** The write sign counts a deletion as a write on purpose, and it has
|
|
117
|
+
nothing to tell one's own temporary directory from a domain directory. The directory is named by
|
|
118
|
+
the tree's profile, and it lies outside the code tree.
|
|
123
119
|
|
|
124
120
|
- **A task body written ahead of the plan names the method, and the method goes stale before the
|
|
125
121
|
defect.** A task of a series is created weeks before it is taken; by that day the proposed method
|
|
@@ -133,11 +129,10 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
133
129
|
passed is written into the PR body, where the reviewer reads it.
|
|
134
130
|
|
|
135
131
|
- **The owner's word about how something is arranged is a framing, not a decision.** What they named
|
|
136
|
-
usually already lives in the tree under that very word
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
diverge from the tree — the owner is asked, and asked before the edit.
|
|
132
|
+
usually already lives in the tree under that very word — a name on screen, a spec section, a model
|
|
133
|
+
field — and checking costs one search. Interpreted by the nearest code, the word looks like a
|
|
134
|
+
fulfilled request right up to acceptance. Did the reading diverge — the owner is asked before the
|
|
135
|
+
edit.
|
|
141
136
|
|
|
142
137
|
- **An instruction to work by the flow is an instruction to do its steps, including those that
|
|
143
138
|
change history.** Marking a stage, pushing the branch and opening the PR are prescribed by the
|
|
@@ -161,18 +156,16 @@ The rule is `task-flow`; the articles that hold the law stand there.
|
|
|
161
156
|
not catch this loss: the work loses to neighbouring assignments within the hour, and the week
|
|
162
157
|
passes afterwards.
|
|
163
158
|
- **A stack of branches costs more, and its price is named.** A PR into a neighbouring branch does
|
|
164
|
-
not start the pipeline declared for the main base; merging the base
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
long as the next edit does not rest on the code of the previous one.
|
|
159
|
+
not start the pipeline declared for the main base; merging the base closes the next PR as merged
|
|
160
|
+
although its edits are not in main; a conflict is resolved anew in every branch of the stack.
|
|
161
|
+
Tasks that follow one another in code lawfully live as branches from main, as long as the next
|
|
162
|
+
edit does not rest on the code of the previous one.
|
|
169
163
|
|
|
170
164
|
- **A find in the middle of a stage feels like part of the current work when the subject is
|
|
171
165
|
adjacent.** It has no sign of its own: before the first edit the find is not in the tree, and
|
|
172
166
|
after it the files of neighbouring work do not differ from one's own. So the plan's list of exit
|
|
173
|
-
conditions is checked, not the feeling
|
|
174
|
-
|
|
175
|
-
branch, and the two pieces of work would have had no separate rollback.
|
|
167
|
+
conditions is checked, not the feeling — otherwise the two pieces of work lose their separate
|
|
168
|
+
rollback.
|
|
176
169
|
|
|
177
170
|
## Executor behaviour — from incident analyses
|
|
178
171
|
|
|
@@ -260,3 +253,12 @@ they are for whoever investigates a miss or argues with a guard.
|
|
|
260
253
|
is two motions, and done by half it leaves the task in two sets at once: the epic looks unclosed
|
|
261
254
|
with all its work done. The total is written where the set is edited: postponed, it is written
|
|
262
255
|
from memory of how many tasks there were, not how many remain.
|
|
256
|
+
- **A run of the readiness command while writing the plan costs a minute** and shows the cause of
|
|
257
|
+
the line in the command's own output, where a guess shows nothing.
|
|
258
|
+
- **Without the sub-issue link the makeup of an epic is assembled by hand**, from the list of open
|
|
259
|
+
cards, one card at a time.
|
|
260
|
+
- **The task order says nothing about how the branches stand**, and the numbers of the created
|
|
261
|
+
tasks return to the order section by the same edit.
|
|
262
|
+
- **A finished epic is named to the owner by the same turn that takes work outside it.**
|
|
263
|
+
- **A retelling of a sample in the grill and in the epic plan is not the sample.**
|
|
264
|
+
- **The review of closed work ends with an edit of the rules layer or a proposal outward.**
|
|
@@ -16,7 +16,7 @@ work. The course of work itself — rule `task-flow`, the end of a turn — `tur
|
|
|
16
16
|
|
|
17
17
|
| In the law | Here |
|
|
18
18
|
| --- | --- |
|
|
19
|
-
| an autonomous session | the owner's request to work without them, stated in words and with a time boundary |
|
|
19
|
+
| an autonomous session | the owner's request to work without them, stated in words and with a time boundary; started by the command `/night` |
|
|
20
20
|
| a default instead of a question | a "Decisions" line in the grill: what was taken, the reason and the cost of a mistake |
|
|
21
21
|
| work visible from outside | pushing a branch, opening a PR, merging, publishing the package, sending cargo |
|
|
22
22
|
| a chain | the branch of each next piece of work is created from the branch of the previous one |
|
|
@@ -51,6 +51,18 @@ flowchart TD
|
|
|
51
51
|
|
|
52
52
|
## How the law applies here
|
|
53
53
|
|
|
54
|
+
- **The session is started by the command `/night`, and the time boundary goes to it as an
|
|
55
|
+
argument.** Before it there was no launch at all: the order of the night lay in the texts, and
|
|
56
|
+
every session assembled it from memory — what was forgotten showed only in the morning, by a
|
|
57
|
+
branch that cannot be merged or by work missing from the list. The command takes the boundary,
|
|
58
|
+
raises this rule and the pattern, makes the checks that cost a whole night if met at three
|
|
59
|
+
o'clock, and creates the file of the morning list.
|
|
60
|
+
- **The command called without a boundary asks the owner for one and starts nothing.** They are
|
|
61
|
+
still here at that minute; by morning there is nobody to ask, and a session without a boundary is
|
|
62
|
+
work without an end.
|
|
63
|
+
- **The command does not repeat the order of the night.** It raises the rule and the pattern:
|
|
64
|
+
rewritten into the command, the order would become a second source and diverge from the first
|
|
65
|
+
silently.
|
|
54
66
|
- **The branch of the next work is created from the previous one, not from main.** The first — from
|
|
55
67
|
main, each next — from the tip of the previous: `git checkout -b <ключ>-<номер>-<slug> <прошлая
|
|
56
68
|
ветка>`. The owner merges them in turn from the bottom up, and each PR stands on the previous one.
|
|
@@ -74,8 +86,8 @@ flowchart TD
|
|
|
74
86
|
|
|
75
87
|
## What of the law is not here
|
|
76
88
|
|
|
77
|
-
Nothing checks the session's time boundary: the
|
|
78
|
-
a word. Keeping the ban on what is visible from outside is held the same way — by the rule, not by a
|
|
89
|
+
Nothing checks the session's time boundary: the command asks for it and writes it down, and after
|
|
90
|
+
that the session ends when the work is over or the owner said a word. Keeping the ban on what is visible from outside is held the same way — by the rule, not by a
|
|
79
91
|
guard: the push command is no different from the one made by day.
|
|
80
92
|
|
|
81
93
|
## Patterns
|
|
@@ -152,6 +152,14 @@ flowchart TD
|
|
|
152
152
|
advance are checked against the implementation the same way: work done by retelling the reference
|
|
153
153
|
in words diverges from it unnoticed.
|
|
154
154
|
|
|
155
|
+
- **Work that carries a look over from a sample is accepted by a frame of one's own screen next to
|
|
156
|
+
the sample's frame.** Names carried into the markup are the technique, not the result: a green
|
|
157
|
+
build, linters and tests say nothing about a field clipped mid-line. Every remade screen is
|
|
158
|
+
looked at by the executor and shown to the owner; a screen not opened since the edit counts as
|
|
159
|
+
unchecked. A measurement set assembled by the author under their own edit confirms nothing
|
|
160
|
+
either — it holds what was fixed in that hour; the set is taken from what the work is accepted
|
|
161
|
+
by and is written before the edit.
|
|
162
|
+
|
|
155
163
|
A conclusion about layout is backed by a number: "looks fine" is never a check result. Nothing
|
|
156
164
|
guards this — how to measure is covered in pattern `browser-verification-measure`.
|
|
157
165
|
|
|
@@ -115,6 +115,12 @@ flowchart TD
|
|
|
115
115
|
- **A PR is checked before the merge by the same pipeline as the main branch.** Checks and image
|
|
116
116
|
builds go on the `pull_request` event, the rollout does not: it is held by the main-branch
|
|
117
117
|
condition on its step, and a PR image does not leave for the registry.
|
|
118
|
+
- **Which PRs the pipeline wakes for is named by the tree, and it sets the order of handing in.**
|
|
119
|
+
A base filter is not a detail of the settings: a PR the pipeline does not wake for has nothing
|
|
120
|
+
to wait for, and a draft on it costs a locked button and an extra turn. A tree with a single
|
|
121
|
+
runner pays a whole run for every PR into an epic branch, and pays it for checks the push gate
|
|
122
|
+
has already run on the same machine; a tree with runners to spare buys the earlier refusal. The
|
|
123
|
+
answer is written in the pipeline file next to the trigger, together with what is lost by it.
|
|
118
124
|
- **A divergence of production from the main branch is visible by the work queue audit.** A task
|
|
119
125
|
leaves the queue by a merge, but a merge is not yet production: a failed or unstarted rollout
|
|
120
126
|
touches neither the task nor its column, and there is nowhere to notice it. The audit asks for
|
|
@@ -174,6 +174,12 @@ flowchart TD
|
|
|
174
174
|
the run turned red for something other than the branch's change.
|
|
175
175
|
<!-- rt-when: *.md -->
|
|
176
176
|
|
|
177
|
+
- **The removal by expiry is not carried by whichever branch pushed first.** The check stands in the
|
|
178
|
+
gate of every branch, so the cleanup lands in the first work to reach a push and travels to the
|
|
179
|
+
reviewer inside an edit that has nothing to do with it. Either the cleanup is work of its own with
|
|
180
|
+
a task of its own, or the check refuses the run and not the push.
|
|
181
|
+
<!-- rt-when: *.md -->
|
|
182
|
+
|
|
177
183
|
- **A link to a record of the past in a live text lives exactly until the record's expiry.** The
|
|
178
184
|
address check does not read the archive at all, so the dead link turns red not there but in the
|
|
179
185
|
text that referenced it. A live text names the decision in words, not by the record's address.
|
|
@@ -228,10 +234,13 @@ written in.
|
|
|
228
234
|
|
|
229
235
|
## What of the law is not here
|
|
230
236
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
237
|
+
Part of the wording agreements is checked, and part is not. The wording check sees the listed
|
|
238
|
+
signs — officialese, a word not written here, a sentence over the limit — and it is called twice:
|
|
239
|
+
by the guard on an edit of a `.md` of the tree, and by the send on a cargo record leaving for the
|
|
240
|
+
intake. What is left with the author is one sentence per rule, no claims about the future and
|
|
241
|
+
freshness of a number in the text. The last two the law leaves with the author explicitly: an
|
|
242
|
+
open question is written in the same words as a promise, and a date and an id are numbers like
|
|
243
|
+
the ones that get recomputed.
|
|
235
244
|
|
|
236
245
|
No check reads the reply to the owner, and the misses in it are the same as in tree text: an
|
|
237
246
|
invented fact served alongside a verified one, and an appraisal of someone else's decision
|
|
@@ -99,6 +99,16 @@ flowchart TD
|
|
|
99
99
|
draft; the question is asked in the PR itself. The check pipeline does not run on a draft by
|
|
100
100
|
default — until the draft is lifted it stays silent, and that silence is not taken for a green
|
|
101
101
|
run.
|
|
102
|
+
- **`--hard` is not taken to drop a commit — that is `--soft`.** `reset --hard`, `checkout --
|
|
103
|
+
<path>`, `restore <path>` and `clean -f` erase what is not committed. On a dirty tree the guard
|
|
104
|
+
refuses and names the files; the bypass is `# discard: <reason>` in the command.
|
|
105
|
+
- **The working tree is emptied before the PR opens, not after.** `git status --porcelain` is asked
|
|
106
|
+
in the same turn as the opening: what is uncommitted goes to the host by a commit before it, or
|
|
107
|
+
is named. A push after the opening moves the tip past the green run the body names, and for that
|
|
108
|
+
stretch the PR invites merging a tip nothing has checked.
|
|
109
|
+
- **A push into a branch that has an open PR is followed by rereading its body.** The statement
|
|
110
|
+
about a green run names the tip by its sha, and moving the tip makes it false in silence: no check
|
|
111
|
+
reads a PR body.
|
|
102
112
|
- **The draft is lifted by a separate call — `az repos pr update --id <номер> --draft false`.** With
|
|
103
113
|
it the executor answers for readiness: checks passed, no rework left, the work matches the work
|
|
104
114
|
item. Lifting the draft and asking to merge are one turn, not two days.
|