@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
|
@@ -1,239 +1,269 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
- **`UNKNOWN`
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
1
|
+
# Delivery — cold part
|
|
2
|
+
|
|
3
|
+
Pitfalls: traps already stepped on in a tree on GitHub. Loaded not with the rule but on demand —
|
|
4
|
+
an ordinary decision does not need it.
|
|
5
|
+
|
|
6
|
+
The rule is `git-workflow`; the articles that hold the law stand there.
|
|
7
|
+
|
|
8
|
+
## Pitfalls
|
|
9
|
+
|
|
10
|
+
- **Uncomputed mergeability is never a conflict.** The hosting recomputes it after every edit of
|
|
11
|
+
the main branch and answers with uncertainty until the count is done. Read as a conflict, it
|
|
12
|
+
refuses work on every fresh tip — that is, exactly where there is nothing to refuse. So both the
|
|
13
|
+
guard and the audit judge only an explicit "conflicting" and let a silent poll through.
|
|
14
|
+
- **A force push of a branch that stands under another in a stack closes its PR as merged.** The
|
|
15
|
+
hosting counts a PR merged once the tip of its branch is reachable from the base; the state
|
|
16
|
+
lies — the main branch has no such edit, and the task stays open. The requirement this follows
|
|
17
|
+
from is the rule's article that the lower branch of a chain does not rewrite history.
|
|
18
|
+
- **A branch caught up in the working tree and not pushed does not count as work.** A person sees
|
|
19
|
+
the previous state and reads it as "nothing done", while what was done lies where nobody sees
|
|
20
|
+
it. The rule's article says this about an unpushed resolved conflict, but a caught-up branch
|
|
21
|
+
without a single dispute does not fall under it at all.
|
|
22
|
+
- **`UNKNOWN` in the mergeability field means "not computed yet", not "no conflicts".** The
|
|
23
|
+
hosting recomputes it after every merge by someone else, and a PR read in that second looks
|
|
24
|
+
healthy.
|
|
25
|
+
- **One piece of work — one task, however many files it touches.** There is no number past which
|
|
26
|
+
an edit becomes a second task: what is split is what would have to be rolled back separately.
|
|
27
|
+
A blanket edit of the tree's texts was filed as three tasks "by volume" — two had to be
|
|
28
|
+
deleted, two PRs closed, and commits moved one by one with two conflicts. One of the three
|
|
29
|
+
yielded no commit at all: editing the bodies of already filed tasks is never a branch, nor a
|
|
30
|
+
task for a branch.
|
|
31
|
+
- **A task is created by the command, not by four calls in a row.** The board is not bound to the
|
|
32
|
+
repository, and a task lands on it only by explicit addition: two tasks stood outside the work
|
|
33
|
+
queue exactly because the step was retyped by hand. The creation command does all four — the
|
|
34
|
+
issue on the hosting, the number in its title, the addition to the board, the starting column —
|
|
35
|
+
and prints the ready-made branch creation line. A defect noticed along the way goes the same
|
|
36
|
+
route.
|
|
37
|
+
- **The branch is created by a second call, not the same one.** The main-branch guard rejects the
|
|
38
|
+
compound "create a branch and commit at once" whole: at the moment of parsing the branch does
|
|
39
|
+
not exist yet.
|
|
40
|
+
- **A side of a conflict can be a deletion, and "keep both sides" creates a second declaration.**
|
|
41
|
+
The main branch removes the declaration because the symbol moved — in the conflict this looks
|
|
42
|
+
like a side that added nothing. It is sorted out by reading the main branch's version whole,
|
|
43
|
+
not by hunk, and verified by the duplicates check: each copy alone is sound, build and lint
|
|
44
|
+
green.
|
|
45
|
+
- **The account for the push and the author of the PR are chosen separately.** If the push had to
|
|
46
|
+
go from another account, that does not carry over to the next call: the PR is opened with the
|
|
47
|
+
machine account's token, and which account opens it decides who can be assigned as reviewer.
|
|
48
|
+
Once a switch of account for the push leaked into publication — the PR came out from the
|
|
49
|
+
owner. The difference between a reading and a writing call is invisible in the command text
|
|
50
|
+
itself: identity arrives from the environment. So a writing call names the token explicitly,
|
|
51
|
+
and the opened PR is checked by the hosting's answer about its author — the printed link says
|
|
52
|
+
the PR was created and is silent about by whom. This is fixed only by reopening: a PR's author
|
|
53
|
+
cannot be changed.
|
|
54
|
+
- **An invalid pipeline file shows as a zero-length run right after the push.** GitHub creates
|
|
55
|
+
such a run even on a branch no trigger is subscribed to: in the list it stands as a failure,
|
|
56
|
+
and inside it has neither a step nor output — only the duration is readable. So the branch's
|
|
57
|
+
run list is looked at with the same motion as the push — `gh run list --branch <branch>`. One
|
|
58
|
+
such failure stood in the list until the merge and nobody looked at it: the rollout after the
|
|
59
|
+
merge failed with exactly the same thing.
|
|
60
|
+
- **A run that did not start on a push is brought back by repeating the event, not by
|
|
61
|
+
investigating the branch.** Measurement checked both lawful roads: opening a PR and pushing
|
|
62
|
+
into an already open PR both start a run — a text-only commit and the account that pushes have
|
|
63
|
+
nothing to do with it. The lost events fell on the hour when the hosting answered `429` on
|
|
64
|
+
downloading an action and `503` on the API, and the run list cannot tell "did not start" from
|
|
65
|
+
"was not created". So a tip without a run is named by the work queue audit, and the event is
|
|
66
|
+
brought back by a new commit or by closing and reopening the PR.
|
|
67
|
+
- **Red on the setup step is a hosting failure, not a branch defect.** The runner could not
|
|
68
|
+
download the checkout action and got `429 Too Many Requests`; the run never reached the code at
|
|
69
|
+
all. It is cured by restarting the run, and it differs from a substantive red by the step it
|
|
70
|
+
stopped on: three runs in one day failed exactly this way.
|
|
71
|
+
- **The `runner` context in a pipeline step's `env` refuses the whole pipeline file.** Only
|
|
72
|
+
`github`, `needs`, `strategy`, `matrix`, `vars`, `secrets` and `inputs` are available there;
|
|
73
|
+
`runner` appears at the level of a single command inside the step, where the same value arrives
|
|
74
|
+
as an environment variable. Such a file is not accepted at all: the run ends in zero seconds
|
|
75
|
+
without starting a single step. YAML parsing does not catch this — the syntax is valid, and
|
|
76
|
+
context availability is not syntax.
|
|
77
|
+
- **`online` on a self-hosted runner means a running process, not a working pipeline.** Two sides
|
|
78
|
+
match separately: `runs-on` of the pipeline steps and the labels of the runner itself. Until
|
|
79
|
+
they intersect, the runner stands `online` and takes nothing, while the steps go to the cloud —
|
|
80
|
+
by its state this looks configured. The owner is told the executed step with its number, not
|
|
81
|
+
the state line.
|
|
82
|
+
- **A self-hosted runner makes the run a shared resource, and the runs have one stand.** The port,
|
|
83
|
+
the database name and the build directory are hard-wired in the tree as one value for all: two
|
|
84
|
+
runs at once raise two stands on one port, and the second falls over whole. The costliest part
|
|
85
|
+
is not the fall but its look — in the summary it appears as a dozen red screen tests, that is,
|
|
86
|
+
as a defect of the edit that does not exist; three runs in a row fell this way on three
|
|
87
|
+
branches that touched no code. It is cured from both sides at once: the pipeline declares a
|
|
88
|
+
queue group for the whole tree, and the stand names are read from the environment with today's
|
|
89
|
+
values as the default — otherwise the run and the push gate, which calls the same command,
|
|
90
|
+
collide even with the queue. One queue is not enough, names alone are not either: runs also
|
|
91
|
+
share the disk, the builder cache and the image daemon.
|
|
92
|
+
- **Registry login from a runner started as a service fails silently.** The service runs without
|
|
93
|
+
a user session, and the registry client goes to the system keychain helper and gets an
|
|
94
|
+
interaction refusal — the step fails before the build. Its own settings directory with an empty
|
|
95
|
+
helper does not save it: the client writes the empty value back itself. Ready-made commands —
|
|
96
|
+
pattern `git-workflow-docker`.
|
|
97
|
+
- **A new working tree gets only what lies in the index.** `git worktree add` unpacks a commit,
|
|
98
|
+
and settings, keys, local permissions and dependencies are not part of a commit: the fresh tree
|
|
99
|
+
looks ready and hits the shortage not at once but on the first guard that needs a key. What
|
|
100
|
+
exactly is carried over by hand is named as a list in the rule's companion, and the list grows
|
|
101
|
+
with the same motion that creates a new file outside the index.
|
|
102
|
+
- **A run pushed out of the queue and a failed one are indistinguishable in the list.** Both
|
|
103
|
+
answer red, and the word for cancellation is the same for both. The branch behind the pushed-out
|
|
104
|
+
one was not checked by a single line: it has zero steps because it never started. Restarting
|
|
105
|
+
such a run is refused by the guard until the step's output has been read in the same turn —
|
|
106
|
+
which is why the audit line names reading the run first.
|
|
107
|
+
- **The same merge of the main branch done a third time in one session stops the work.**
|
|
108
|
+
Branches that append a line to the same list drop each other into a conflict at every merge,
|
|
109
|
+
and merging main round after round is a fix of the symptom. On the third round the cause is
|
|
110
|
+
named and the owner is asked, instead of a fourth round.
|
|
111
|
+
- **An empty file sent as the PR body wipes the description of the work whole.** That is how an
|
|
112
|
+
edit of the body assembled by a chain went: a change into the temporary files directory took
|
|
113
|
+
the call out of the tree, the body download failed, and the next link sent the file left empty.
|
|
114
|
+
A description assembled over three sessions became an empty line; it was restored from the
|
|
115
|
+
hosting's edit history — and only while that exists.
|
|
116
|
+
- **`gh project` with `--owner` answers `unknown owner type`.** That happens when the owner of the
|
|
117
|
+
board is not the account the call runs under. The identifier is taken from the board itself,
|
|
118
|
+
not assembled from the owner's name.
|
|
119
|
+
- **"The account is active anyway, nothing to substitute" is an argument turned against an
|
|
120
|
+
article already read.** The machine account's token was placed into the hosting client by a
|
|
121
|
+
login call, and the client itself announced the switch of the active account; from inside the
|
|
122
|
+
tree everything matched — calls answered, PRs opened from the right account. From that minute a
|
|
123
|
+
neighbouring session in another tree went to the hosting from an account with rights to one
|
|
124
|
+
repository: the delivery guard read its task as nonexistent and did not let it create a branch.
|
|
125
|
+
The owner noticed, from the neighbour's complaint, several turns later. The client's active
|
|
126
|
+
account stays with the owner; it is asked by the client's state output, not from memory.
|
|
127
|
+
|
|
128
|
+
## What stood in the articles
|
|
129
|
+
|
|
130
|
+
Here moved the cases, numbers and rejected remedies that used to stand next to the rule's
|
|
131
|
+
articles. No edit decision rests on them: they are for whoever investigates a miss or argues with
|
|
132
|
+
a guard.
|
|
133
|
+
|
|
134
|
+
- **A refusal at the merge remains the second line.** A person merges as soon as they see green,
|
|
135
|
+
and the second line is simply never reached.
|
|
136
|
+
|
|
137
|
+
- **A list where everything is grey reads as "work not done".** A draft and unfinished work look
|
|
138
|
+
the same; such PRs are found by the audit — at night, in someone else's session, after the
|
|
139
|
+
conversation is closed.
|
|
140
|
+
- **Nobody checks the login next to the service number.** A miss in the email is invisible from
|
|
141
|
+
inside: the commit looks one's own and is signed by a stranger.
|
|
142
|
+
|
|
143
|
+
- **A task key that diverged from the branch form in the profile.** They do not refuse; they stop
|
|
144
|
+
recognising the number: the check that looked for work without a task lets everything through.
|
|
145
|
+
- **The union merge on the index file is declared not for the dispute but for silence.** Without
|
|
146
|
+
the declaration a person is called at every merge — over a line that is needed whole from both
|
|
147
|
+
sides.
|
|
148
|
+
|
|
149
|
+
- **The gate is a promise that the push will not arrive red.** A set without the build and the
|
|
150
|
+
snapshots promises what it does not check.
|
|
151
|
+
- **The board shows what is done and what remains.** A PR answers a different question and links
|
|
152
|
+
itself to the card — it needs no separate card.
|
|
153
|
+
|
|
154
|
+
- **Mergeability used to be inferred from a local merge.** Between it and the owner's look main
|
|
155
|
+
moves ahead, and "it merged for me" says nothing about the button. A tree whose queue helper
|
|
156
|
+
says nothing about the `mergeable` field works as before: no field — no requirement.
|
|
157
|
+
- **The identity of the call that opens the PR.** A tree that named no machine account gets no
|
|
158
|
+
token substitution requirement: there is nothing to check the hosting's answer against.
|
|
159
|
+
|
|
160
|
+
- **Branches created from main one after another drop each other.** A measurement over one
|
|
161
|
+
hundred and six accumulated branches of one base: merging one makes up to twenty-three diverge,
|
|
162
|
+
seven and a half on average; twelve diverge with nobody. It was counted with `git merge-tree` in
|
|
163
|
+
memory — the measurement touches no working tree and moves no branch.
|
|
144
164
|
|
|
145
165
|
```bash
|
|
146
|
-
#
|
|
147
|
-
tree="$(git merge-tree --write-tree origin/main
|
|
148
|
-
probe="$(git commit-tree "$tree" -p origin/main -p
|
|
149
|
-
git merge-tree --write-tree "$probe"
|
|
166
|
+
# a merge probe without a single edit in the tree: the merge commit is created in the object database
|
|
167
|
+
tree="$(git merge-tree --write-tree origin/main <branch> | head -1)"
|
|
168
|
+
probe="$(git commit-tree "$tree" -p origin/main -p <branch> -m probe)"
|
|
169
|
+
git merge-tree --write-tree "$probe" <other branch> >/dev/null; echo $? # 1 — they will diverge
|
|
150
170
|
```
|
|
151
171
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
172
|
+
A tree as the argument is no good here: it has no history, no common base is counted, and
|
|
173
|
+
every probe answers "will merge".
|
|
174
|
+
|
|
175
|
+
- **What diverges is not the edit but the line both sides appended to.** In the same measurement
|
|
176
|
+
the resource's source merged cleanly while its laid-out copy diverged on the first line — the
|
|
177
|
+
one holding the resource's checksum. Two pieces of work edited different sections of different
|
|
178
|
+
files and still demanded resolution. Hence the rule to branch in a chain: what would have to be
|
|
179
|
+
removed is not the divergence but the very way of keeping a copy next to the source.
|
|
180
|
+
|
|
181
|
+
- **The build is part of the gate set.** Four merges in a row went into the main branch breaking
|
|
182
|
+
the rollout: a type error in uncovered code survived lint and unit tests and surfaced on the
|
|
183
|
+
image build.
|
|
184
|
+
- **A set rewritten as lines looks complete.** In one tree six checks lay next to the ones being
|
|
185
|
+
run and were run by neither the gate nor the pipeline: eight lines out of fourteen read as the
|
|
186
|
+
whole set, and the difference showed only by comparison with the package default.
|
|
187
|
+
- **The gate set is never narrower than the pipeline set.** Twice in a row an edit that passed the
|
|
188
|
+
gate whole was refused by the pipeline — and both times a green gate was read as "everything is
|
|
189
|
+
green locally". Hence the requirement to refuse the push on a step missing from the set, rather
|
|
190
|
+
than print a warning next to it.
|
|
191
|
+
- **Draft is not lifted from a branch that does not merge.** In one session three drafts were
|
|
192
|
+
lifted in a row, and the owner saw all three PRs conflicting. The mergeability article stood in
|
|
193
|
+
the rule before that — the miss repeated the same day, so the requirement is held by a guard,
|
|
194
|
+
not by memory.
|
|
195
|
+
- **Union of the sides on the shared index file.** Before the declaration the same line was
|
|
196
|
+
resolved six times in six branches in one session. One cannot promise "no more conflicts" by
|
|
197
|
+
the declaration: there will be no manual work, but merging main into open branches after every
|
|
198
|
+
merge will still be needed.
|
|
199
|
+
- **What was created is visible only to its creator.** Sixteen tasks were created twice this way,
|
|
200
|
+
and a PR was named to the owner by a number that did not exist for him: the restricted account
|
|
201
|
+
saw its own, and the hosting answered "not found" to everyone else.
|
|
202
|
+
- **A bypassed refusal carried away the sign of the restriction.** The request limit of the
|
|
203
|
+
restricted account stood at zero — not exhausted, simply not granted at all. The refusal was
|
|
204
|
+
bypassed by a call of another kind, the bypass worked, and the discrepancy surfaced twenty
|
|
205
|
+
minutes and four traces later, which had to be rewritten.
|
|
206
|
+
- **The identity of the call that opens the PR.** Before, both sides — the token substitution and
|
|
207
|
+
the hosting's answer about the author — were held by an article and an incident analysis, and
|
|
208
|
+
the miss repeated on the third day.
|
|
209
|
+
- **An unset task key.** A title `[-317]` assembled from an empty value matches nothing, and the
|
|
210
|
+
audit marks every task as misnamed: the real discrepancy drowns among these lines.
|
|
211
|
+
- **A branch that touched no line of the display runs the showcase snapshots** from the moment a
|
|
212
|
+
merge of main brought in someone else's styling edit. That is exactly the case for which the
|
|
213
|
+
check set is revised after a merge.
|
|
214
|
+
- **Returning a PR to draft — `gh pr ready --undo` — gets no review requirement:** it does what
|
|
215
|
+
the guard is after.
|
|
216
|
+
- **One's own drafts are judged all at once.** Leaving for a neighbouring branch switched the
|
|
217
|
+
guard off entirely: in one session four PRs in a row diverged from main this way, and the owner
|
|
218
|
+
noticed, not a check. The analysis is the record "2026-08-25-run-left-unwatched" in the intake.
|
|
219
|
+
- **The machine account's signature on every commit of the contribution.** Five commits of one
|
|
220
|
+
stack went signed by the owner, who made no edit: the guard judges only a commit that called
|
|
221
|
+
itself the machine account and looks for a mismatch in the number of the service address.
|
|
222
|
+
- **The PR state is reread from the hosting.** The client answers from the account whose token it
|
|
223
|
+
was given, and a review request to the author the hosting accepts silently and does not create.
|
|
224
|
+
- **Reviewers are asked through a REST call.** Under the machine account's token the client's
|
|
225
|
+
query fails whole, without the token it passes green — there is no way to tell "matched" from
|
|
226
|
+
"there was nothing to ask with".
|
|
227
|
+
|
|
228
|
+
- **The completeness of the gate set is judged by the names of the pipeline steps.** A check that
|
|
229
|
+
is not in the pipeline either is not there too: a set rewritten as lines instead of calling the
|
|
230
|
+
package default loses exactly the checks the package will add in its next edition. One's own
|
|
231
|
+
line instead of the default is lawful where it covers the same thing more strictly or calls the
|
|
232
|
+
named script.
|
|
233
|
+
- **A draft whose branch carries the task folder means work in progress, not abandoned work.**
|
|
234
|
+
Both signs are needed together: a green run on the tip without the folder taken apart says the
|
|
235
|
+
work is not handed over yet. A tree that named no machine account does not get this audit at
|
|
236
|
+
all.
|
|
237
|
+
- **The mergeability mark is not cleared even by a declared union of both sides.** The hosting
|
|
238
|
+
counts the union as its own device and reads no merge settings: until the branch has absorbed
|
|
239
|
+
main and that has reached the hosting, the PR stands conflicting with the divergence resolved
|
|
240
|
+
locally.
|
|
241
|
+
- **The layout audit is not in the pipeline, so neither is the step it would close.** An edit past
|
|
242
|
+
the source breaks nothing on the day it is made.
|
|
243
|
+
- **The working tree is not emptied for a tool run.** The question "was this debt there before my
|
|
244
|
+
edits or from them" is settled by a second copy of the tree, not by stashing the work: what is
|
|
245
|
+
stashed is seen by neither status nor audit, and a command that ran between the stash and the
|
|
246
|
+
pop writes to the same files — and the pop comes up as a conflict. Eight uncommitted files went
|
|
247
|
+
into the stash this way with a live ban on that command: the ban was read at the start of the
|
|
248
|
+
session, and the command was typed forty turns later.
|
|
249
|
+
- **The output of a command that needs the repository is collected in the repository directory.**
|
|
250
|
+
Redirection creates the file before the command manages to fail: the hosting client called from
|
|
251
|
+
the temporary files directory falls with a line saying this is not a repository, and by that
|
|
252
|
+
minute the empty file is already written. Travelling further — into the PR body, into the plan,
|
|
253
|
+
into the rule — it wipes what was written, and that is recovered only from the edit history on
|
|
254
|
+
the hosting's side. So the output file is placed in the tree, and what was written is checked
|
|
255
|
+
before it is sent anywhere.
|
|
256
|
+
|
|
257
|
+
- **A pipeline queue declared for the whole tree cancels the waiting run with someone else's
|
|
258
|
+
push.** A concurrency group that cancels the run in progress saves the machine exactly until the
|
|
259
|
+
first neighbour: their push cancels another branch's run, and that branch is left with a tip
|
|
260
|
+
without a single run — the PR then looks unchecked, and nobody is there to rerun it. So the
|
|
261
|
+
group is declared per branch, and stays shared only for the steps that need the stand: those
|
|
262
|
+
really cannot be run two at a time on one machine.
|
|
263
|
+
|
|
264
|
+
- **The tree's commands are called from its root, not from the package directory.** In a
|
|
265
|
+
subdirectory with its own manifest the launcher takes that one, not the root one, and answers
|
|
266
|
+
"no such command" — even though the tree has it and it is written correctly. This reads as a
|
|
267
|
+
broken command and is cured by the directory: the path to it is named from the root, and it is
|
|
268
|
+
called from there.
|
|
239
269
|
|