hushrun 0.10.0 → 0.11.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/THIRD-PARTY-NOTICES.md +40 -40
- package/package.json +8 -7
- package/skills/hushrun/SKILL.md +82 -0
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -102,47 +102,47 @@ This file is generated from Cargo.lock and the crates' own license files; don't
|
|
|
102
102
|
| [getrandom](https://crates.io/crates/getrandom/0.3.4) | 0.3.4 | MIT OR Apache-2.0 | [66](#text-66), [68](#text-68) |
|
|
103
103
|
| [getrandom](https://crates.io/crates/getrandom/0.4.3) | 0.4.3 | MIT OR Apache-2.0 | [66](#text-66), [69](#text-69) |
|
|
104
104
|
| [getset](https://crates.io/crates/getset/0.1.7) | 0.1.7 | MIT | [70](#text-70) |
|
|
105
|
-
| [gix](https://crates.io/crates/gix/0.
|
|
106
|
-
| [gix-actor](https://crates.io/crates/gix-actor/0.44.
|
|
107
|
-
| [gix-bitmap](https://crates.io/crates/gix-bitmap/0.6.
|
|
108
|
-
| [gix-chunk](https://crates.io/crates/gix-chunk/0.10.
|
|
109
|
-
| [gix-command](https://crates.io/crates/gix-command/0.12.
|
|
110
|
-
| [gix-commitgraph](https://crates.io/crates/gix-commitgraph/0.
|
|
111
|
-
| [gix-config](https://crates.io/crates/gix-config/0.62.
|
|
112
|
-
| [gix-config-value](https://crates.io/crates/gix-config-value/0.21.
|
|
113
|
-
| [gix-date](https://crates.io/crates/gix-date/0.18.
|
|
114
|
-
| [gix-diff](https://crates.io/crates/gix-diff/0.
|
|
115
|
-
| [gix-discover](https://crates.io/crates/gix-discover/0.57.
|
|
116
|
-
| [gix-error](https://crates.io/crates/gix-error/0.5.
|
|
117
|
-
| [gix-fs](https://crates.io/crates/gix-fs/0.24.
|
|
118
|
-
| [gix-glob](https://crates.io/crates/gix-glob/0.29.
|
|
119
|
-
| [gix-hash](https://crates.io/crates/gix-hash/0.28.
|
|
105
|
+
| [gix](https://crates.io/crates/gix/0.90.0) | 0.90.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
106
|
+
| [gix-actor](https://crates.io/crates/gix-actor/0.44.1) | 0.44.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
107
|
+
| [gix-bitmap](https://crates.io/crates/gix-bitmap/0.6.1) | 0.6.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
108
|
+
| [gix-chunk](https://crates.io/crates/gix-chunk/0.10.1) | 0.10.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
109
|
+
| [gix-command](https://crates.io/crates/gix-command/0.12.1) | 0.12.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
110
|
+
| [gix-commitgraph](https://crates.io/crates/gix-commitgraph/0.42.0) | 0.42.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
111
|
+
| [gix-config](https://crates.io/crates/gix-config/0.62.2) | 0.62.2 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
112
|
+
| [gix-config-value](https://crates.io/crates/gix-config-value/0.21.1) | 0.21.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
113
|
+
| [gix-date](https://crates.io/crates/gix-date/0.18.1) | 0.18.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
114
|
+
| [gix-diff](https://crates.io/crates/gix-diff/0.70.0) | 0.70.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
115
|
+
| [gix-discover](https://crates.io/crates/gix-discover/0.57.1) | 0.57.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
116
|
+
| [gix-error](https://crates.io/crates/gix-error/0.5.2) | 0.5.2 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
117
|
+
| [gix-fs](https://crates.io/crates/gix-fs/0.24.1) | 0.24.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
118
|
+
| [gix-glob](https://crates.io/crates/gix-glob/0.29.1) | 0.29.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
119
|
+
| [gix-hash](https://crates.io/crates/gix-hash/0.28.1) | 0.28.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
120
120
|
| [gix-hashtable](https://crates.io/crates/gix-hashtable/0.18.0) | 0.18.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
121
|
-
| [gix-index](https://crates.io/crates/gix-index/0.
|
|
121
|
+
| [gix-index](https://crates.io/crates/gix-index/0.58.0) | 0.58.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
122
122
|
| [gix-lock](https://crates.io/crates/gix-lock/26.0.0) | 26.0.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
123
123
|
| [gix-macros](https://crates.io/crates/gix-macros/0.2.0) | 0.2.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
124
|
-
| [gix-object](https://crates.io/crates/gix-object/0.66.
|
|
125
|
-
| [gix-odb](https://crates.io/crates/gix-odb/0.
|
|
126
|
-
| [gix-pack](https://crates.io/crates/gix-pack/0.
|
|
127
|
-
| [gix-packetline](https://crates.io/crates/gix-packetline/0.24.
|
|
128
|
-
| [gix-parallel](https://crates.io/crates/gix-parallel/0.50.
|
|
129
|
-
| [gix-path](https://crates.io/crates/gix-path/0.14.
|
|
130
|
-
| [gix-protocol](https://crates.io/crates/gix-protocol/0.
|
|
131
|
-
| [gix-quote](https://crates.io/crates/gix-quote/0.10.
|
|
132
|
-
| [gix-ref](https://crates.io/crates/gix-ref/0.69.
|
|
133
|
-
| [gix-refspec](https://crates.io/crates/gix-refspec/0.47.
|
|
134
|
-
| [gix-revision](https://crates.io/crates/gix-revision/0.
|
|
135
|
-
| [gix-revwalk](https://crates.io/crates/gix-revwalk/0.
|
|
136
|
-
| [gix-sec](https://crates.io/crates/gix-sec/0.16.
|
|
137
|
-
| [gix-shallow](https://crates.io/crates/gix-shallow/0.15.
|
|
124
|
+
| [gix-object](https://crates.io/crates/gix-object/0.66.1) | 0.66.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
125
|
+
| [gix-odb](https://crates.io/crates/gix-odb/0.87.0) | 0.87.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
126
|
+
| [gix-pack](https://crates.io/crates/gix-pack/0.77.0) | 0.77.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
127
|
+
| [gix-packetline](https://crates.io/crates/gix-packetline/0.24.1) | 0.24.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
128
|
+
| [gix-parallel](https://crates.io/crates/gix-parallel/0.50.1) | 0.50.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
129
|
+
| [gix-path](https://crates.io/crates/gix-path/0.14.1) | 0.14.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
130
|
+
| [gix-protocol](https://crates.io/crates/gix-protocol/0.68.0) | 0.68.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
131
|
+
| [gix-quote](https://crates.io/crates/gix-quote/0.10.1) | 0.10.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
132
|
+
| [gix-ref](https://crates.io/crates/gix-ref/0.69.1) | 0.69.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
133
|
+
| [gix-refspec](https://crates.io/crates/gix-refspec/0.47.1) | 0.47.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
134
|
+
| [gix-revision](https://crates.io/crates/gix-revision/0.52.0) | 0.52.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
135
|
+
| [gix-revwalk](https://crates.io/crates/gix-revwalk/0.38.0) | 0.38.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
136
|
+
| [gix-sec](https://crates.io/crates/gix-sec/0.16.1) | 0.16.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
137
|
+
| [gix-shallow](https://crates.io/crates/gix-shallow/0.15.1) | 0.15.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
138
138
|
| [gix-tempfile](https://crates.io/crates/gix-tempfile/26.0.0) | 26.0.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
139
|
-
| [gix-trace](https://crates.io/crates/gix-trace/0.3.
|
|
140
|
-
| [gix-transport](https://crates.io/crates/gix-transport/0.
|
|
141
|
-
| [gix-traverse](https://crates.io/crates/gix-traverse/0.
|
|
142
|
-
| [gix-url](https://crates.io/crates/gix-url/0.40.
|
|
143
|
-
| [gix-utils](https://crates.io/crates/gix-utils/0.5.
|
|
144
|
-
| [gix-validate](https://crates.io/crates/gix-validate/0.13.
|
|
145
|
-
| [gix-zlib](https://crates.io/crates/gix-zlib/0.
|
|
139
|
+
| [gix-trace](https://crates.io/crates/gix-trace/0.3.1) | 0.3.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72), [73](#text-73) |
|
|
140
|
+
| [gix-transport](https://crates.io/crates/gix-transport/0.62.0) | 0.62.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
141
|
+
| [gix-traverse](https://crates.io/crates/gix-traverse/0.64.0) | 0.64.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
142
|
+
| [gix-url](https://crates.io/crates/gix-url/0.40.1) | 0.40.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
143
|
+
| [gix-utils](https://crates.io/crates/gix-utils/0.5.2) | 0.5.2 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
144
|
+
| [gix-validate](https://crates.io/crates/gix-validate/0.13.1) | 0.13.1 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
145
|
+
| [gix-zlib](https://crates.io/crates/gix-zlib/0.4.0) | 0.4.0 | MIT OR Apache-2.0 | [71](#text-71), [72](#text-72) |
|
|
146
146
|
| [globset](https://crates.io/crates/globset/0.4.20) | 0.4.20 | Unlicense OR MIT | [1](#text-1), [2](#text-2), [3](#text-3) |
|
|
147
147
|
| [granit-parser](https://crates.io/crates/granit-parser/1.3.0) | 1.3.0 | MIT OR Apache-2.0 | [74](#text-74) |
|
|
148
148
|
| [h2](https://crates.io/crates/h2/0.4.20) | 0.4.20 | MIT | [75](#text-75) |
|
|
@@ -5082,7 +5082,7 @@ SOFTWARE.
|
|
|
5082
5082
|
|
|
5083
5083
|
### Text 71
|
|
5084
5084
|
|
|
5085
|
-
gix 0.
|
|
5085
|
+
gix 0.90.0 (`LICENSE-APACHE`), gix-actor 0.44.1 (`LICENSE-APACHE`), gix-bitmap 0.6.1 (`LICENSE-APACHE`), gix-chunk 0.10.1 (`LICENSE-APACHE`), gix-command 0.12.1 (`LICENSE-APACHE`), gix-commitgraph 0.42.0 (`LICENSE-APACHE`), gix-config 0.62.2 (`LICENSE-APACHE`), gix-config-value 0.21.1 (`LICENSE-APACHE`), gix-date 0.18.1 (`LICENSE-APACHE`), gix-diff 0.70.0 (`LICENSE-APACHE`), gix-discover 0.57.1 (`LICENSE-APACHE`), gix-error 0.5.2 (`LICENSE-APACHE`), gix-fs 0.24.1 (`LICENSE-APACHE`), gix-glob 0.29.1 (`LICENSE-APACHE`), gix-hash 0.28.1 (`LICENSE-APACHE`), gix-hashtable 0.18.0 (`LICENSE-APACHE`), gix-index 0.58.0 (`LICENSE-APACHE`), gix-lock 26.0.0 (`LICENSE-APACHE`), gix-macros 0.2.0 (`LICENSE-APACHE`), gix-object 0.66.1 (`LICENSE-APACHE`), gix-odb 0.87.0 (`LICENSE-APACHE`), gix-pack 0.77.0 (`LICENSE-APACHE`), gix-packetline 0.24.1 (`LICENSE-APACHE`), gix-parallel 0.50.1 (`LICENSE-APACHE`), gix-path 0.14.1 (`LICENSE-APACHE`), gix-protocol 0.68.0 (`LICENSE-APACHE`), gix-quote 0.10.1 (`LICENSE-APACHE`), gix-ref 0.69.1 (`LICENSE-APACHE`), gix-refspec 0.47.1 (`LICENSE-APACHE`), gix-revision 0.52.0 (`LICENSE-APACHE`), gix-revwalk 0.38.0 (`LICENSE-APACHE`), gix-sec 0.16.1 (`LICENSE-APACHE`), gix-shallow 0.15.1 (`LICENSE-APACHE`), gix-tempfile 26.0.0 (`LICENSE-APACHE`), gix-trace 0.3.1 (`LICENSE-APACHE`), gix-transport 0.62.0 (`LICENSE-APACHE`), gix-traverse 0.64.0 (`LICENSE-APACHE`), gix-url 0.40.1 (`LICENSE-APACHE`), gix-utils 0.5.2 (`LICENSE-APACHE`), gix-validate 0.13.1 (`LICENSE-APACHE`), gix-zlib 0.4.0 (`LICENSE-APACHE`), pin-project-lite 0.2.17 (`LICENSE-APACHE`), simdutf8 0.1.5 (`LICENSE-Apache`), sync_wrapper 1.0.2 (`LICENSE`).
|
|
5086
5086
|
|
|
5087
5087
|
```text
|
|
5088
5088
|
|
|
@@ -5266,7 +5266,7 @@ gix 0.89.0 (`LICENSE-APACHE`), gix-actor 0.44.0 (`LICENSE-APACHE`), gix-bitmap 0
|
|
|
5266
5266
|
|
|
5267
5267
|
### Text 72
|
|
5268
5268
|
|
|
5269
|
-
gix 0.
|
|
5269
|
+
gix 0.90.0 (`LICENSE-MIT`), gix-actor 0.44.1 (`LICENSE-MIT`), gix-bitmap 0.6.1 (`LICENSE-MIT`), gix-chunk 0.10.1 (`LICENSE-MIT`), gix-command 0.12.1 (`LICENSE-MIT`), gix-commitgraph 0.42.0 (`LICENSE-MIT`), gix-config 0.62.2 (`LICENSE-MIT`), gix-config-value 0.21.1 (`LICENSE-MIT`), gix-date 0.18.1 (`LICENSE-MIT`), gix-diff 0.70.0 (`LICENSE-MIT`), gix-discover 0.57.1 (`LICENSE-MIT`), gix-error 0.5.2 (`LICENSE-MIT`), gix-fs 0.24.1 (`LICENSE-MIT`), gix-glob 0.29.1 (`LICENSE-MIT`), gix-hash 0.28.1 (`LICENSE-MIT`), gix-hashtable 0.18.0 (`LICENSE-MIT`), gix-index 0.58.0 (`LICENSE-MIT`), gix-lock 26.0.0 (`LICENSE-MIT`), gix-macros 0.2.0 (`LICENSE-MIT`), gix-object 0.66.1 (`LICENSE-MIT`), gix-odb 0.87.0 (`LICENSE-MIT`), gix-pack 0.77.0 (`LICENSE-MIT`), gix-packetline 0.24.1 (`LICENSE-MIT`), gix-parallel 0.50.1 (`LICENSE-MIT`), gix-path 0.14.1 (`LICENSE-MIT`), gix-protocol 0.68.0 (`LICENSE-MIT`), gix-quote 0.10.1 (`LICENSE-MIT`), gix-ref 0.69.1 (`LICENSE-MIT`), gix-refspec 0.47.1 (`LICENSE-MIT`), gix-revision 0.52.0 (`LICENSE-MIT`), gix-revwalk 0.38.0 (`LICENSE-MIT`), gix-sec 0.16.1 (`LICENSE-MIT`), gix-shallow 0.15.1 (`LICENSE-MIT`), gix-tempfile 26.0.0 (`LICENSE-MIT`), gix-trace 0.3.1 (`LICENSE-MIT`), gix-transport 0.62.0 (`LICENSE-MIT`), gix-traverse 0.64.0 (`LICENSE-MIT`), gix-url 0.40.1 (`LICENSE-MIT`), gix-utils 0.5.2 (`LICENSE-MIT`), gix-validate 0.13.1 (`LICENSE-MIT`), gix-zlib 0.4.0 (`LICENSE-MIT`).
|
|
5270
5270
|
|
|
5271
5271
|
```text
|
|
5272
5272
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -5290,7 +5290,7 @@ SOFTWARE.
|
|
|
5290
5290
|
|
|
5291
5291
|
### Text 73
|
|
5292
5292
|
|
|
5293
|
-
gix-trace 0.3.
|
|
5293
|
+
gix-trace 0.3.1 (`LICENSE-MIT-tracing-forest`).
|
|
5294
5294
|
|
|
5295
5295
|
```text
|
|
5296
5296
|
The `gix-trace::forest` module is derived from tracing-forest 0.2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hushrun",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Skip tests, lint and typecheck when this exact code already passed them, on laptops, in CI and in coding agents' sandboxes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ci",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"files": [
|
|
38
38
|
"bin/",
|
|
39
|
+
"skills/",
|
|
39
40
|
"vendor/",
|
|
40
41
|
"LICENSE.md",
|
|
41
42
|
"THIRD-PARTY-NOTICES.md"
|
|
@@ -44,11 +45,11 @@
|
|
|
44
45
|
"node": ">=18"
|
|
45
46
|
},
|
|
46
47
|
"optionalDependencies": {
|
|
47
|
-
"@hushrun/cli-darwin-arm64": "0.
|
|
48
|
-
"@hushrun/cli-darwin-x64": "0.
|
|
49
|
-
"@hushrun/cli-linux-arm64": "0.
|
|
50
|
-
"@hushrun/cli-linux-x64": "0.
|
|
51
|
-
"@hushrun/cli-win32-arm64": "0.
|
|
52
|
-
"@hushrun/cli-win32-x64": "0.
|
|
48
|
+
"@hushrun/cli-darwin-arm64": "0.11.0",
|
|
49
|
+
"@hushrun/cli-darwin-x64": "0.11.0",
|
|
50
|
+
"@hushrun/cli-linux-arm64": "0.11.0",
|
|
51
|
+
"@hushrun/cli-linux-x64": "0.11.0",
|
|
52
|
+
"@hushrun/cli-win32-arm64": "0.11.0",
|
|
53
|
+
"@hushrun/cli-win32-x64": "0.11.0"
|
|
53
54
|
}
|
|
54
55
|
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: hushrun
|
|
3
|
+
description: Use before every git push in a repository that uses hushrun, when hushrun's pre-push hook refuses a push, when a line starts with "hushrun:", and when asked to set hushrun up. hushrun skips CI checks that this exact code already passed, so running them here first means CI doesn't run them again.
|
|
4
|
+
compatibility: hushrun 0.11.0 or newer for `hushrun guide`; everything else here works with any hushrun.
|
|
5
|
+
metadata:
|
|
6
|
+
hushrun-skill: "1"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# hushrun
|
|
10
|
+
|
|
11
|
+
hushrun remembers which checks passed on which files. A pass here skips the same check in CI, on
|
|
12
|
+
any branch or commit with the same files.
|
|
13
|
+
|
|
14
|
+
This skill holds what every hushrun does the same way. **Run `hushrun guide` once per session.**
|
|
15
|
+
It prints the rest for the hushrun installed here, such as what each of its lines means, and says
|
|
16
|
+
whether hushrun and this skill are current. If `guide` is an unknown command, this hushrun is
|
|
17
|
+
older than 0.11.0: follow this skill, and tell the person, who updates it.
|
|
18
|
+
|
|
19
|
+
In these commands, `hushrun` is `npx hushrun` where hushrun is a dev dependency (it is in
|
|
20
|
+
`package.json`'s `devDependencies`).
|
|
21
|
+
|
|
22
|
+
## Is hushrun here?
|
|
23
|
+
|
|
24
|
+
A repository uses hushrun when its `package.json` has scripts that start with `hushrun run`, or a
|
|
25
|
+
`"hushrun"` key that names a backend; in another language, when it has a `hushrun.yaml` that
|
|
26
|
+
names a `backend`.
|
|
27
|
+
|
|
28
|
+
## Before you push
|
|
29
|
+
|
|
30
|
+
1. Commit your work.
|
|
31
|
+
2. Run `hushrun ready`. It lists what CI would still run on this exact code, and the commands that
|
|
32
|
+
run it here, each in full, with the directory it runs in.
|
|
33
|
+
3. Run those commands as printed, each on its own, so that each is the check CI looks for. If a
|
|
34
|
+
check fails, fix the code, not the check.
|
|
35
|
+
4. Run `hushrun ready` again until it says the code is ready, then push.
|
|
36
|
+
|
|
37
|
+
`hushrun ready --format json` gives the same answer as data: `next` holds the commands to run, and
|
|
38
|
+
exit code 10 means they are still to run. A check in state `ci` is one nothing here changes: CI or
|
|
39
|
+
another machine runs it, and `why` says what it needs.
|
|
40
|
+
|
|
41
|
+
## When a push is refused
|
|
42
|
+
|
|
43
|
+
hushrun's pre-push hook refuses a coding agent's push while a check that can run here hasn't
|
|
44
|
+
passed on the code being pushed. It prints the same list and the same commands as `hushrun
|
|
45
|
+
ready`: run them, then push again. Don't push with `--no-verify` unless the person asks you to.
|
|
46
|
+
If a check can't run on this machine, tell the person what it needs, and don't work around it.
|
|
47
|
+
|
|
48
|
+
## When something is out of date
|
|
49
|
+
|
|
50
|
+
hushrun says so in a line that starts with `hushrun:`, or in `hushrun ready`'s notes:
|
|
51
|
+
|
|
52
|
+
- a newer release of hushrun is out;
|
|
53
|
+
- this repository's copy of this skill is older than this hushrun's, and `hushrun skill update`
|
|
54
|
+
updates it;
|
|
55
|
+
- a newer hushrun wrote this repository's copy, so this hushrun is the one to update.
|
|
56
|
+
|
|
57
|
+
Finish the task first. Then tell the person what hushrun said, with the command it gave. Don't
|
|
58
|
+
update hushrun, or rewrite this skill, in the middle of a task unless the person asks: the package
|
|
59
|
+
is the repository's, the binary is theirs, and an update changes the tool you are using.
|
|
60
|
+
|
|
61
|
+
## Reporting back
|
|
62
|
+
|
|
63
|
+
Say which checks hushrun skipped because this code passed them before, which `hushrun ready` left
|
|
64
|
+
to CI (`ci`), and anything hushrun said is out of date.
|
|
65
|
+
|
|
66
|
+
## Setting hushrun up
|
|
67
|
+
|
|
68
|
+
When a person asks you to add hushrun to a repository, run `npx hushrun init --yes` at its root.
|
|
69
|
+
It prints a sign-in link and a code: show both to the person and wait, since only they can approve
|
|
70
|
+
it. Then show them the diff. `hushrun guide` covers the rest, such as a person in several
|
|
71
|
+
organizations, and sandboxes with no browser.
|
|
72
|
+
|
|
73
|
+
## Never
|
|
74
|
+
|
|
75
|
+
- Commit a token (`hra_…`, `hru_…`), a `HUSHRUN_AGENT` string (`hushrun_agent_…`) or a machine key,
|
|
76
|
+
or print one in a log or a pull request.
|
|
77
|
+
- Remove `hushrun run --` from a script to make a check run.
|
|
78
|
+
- Edit the `"hushrun"` key in `package.json`, `hushrun.yaml`, a `HUSHRUN_*` variable, or
|
|
79
|
+
`id-token: write` or a `hushrun run` in a CI file, unless the person asks.
|
|
80
|
+
- Run `hushrun login`, `hushrun logout` or `hushrun token` without being asked.
|
|
81
|
+
|
|
82
|
+
More: https://hushrun.com/docs/for-agents.md
|