@mark1russell7/conventions 0.8.1 → 0.9.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/README.md CHANGED
@@ -14,11 +14,21 @@ Add the script `"check:conventions": "conventions check"` to the root `package.j
14
14
 
15
15
  ```sh
16
16
  pnpm exec conventions check
17
+ pnpm exec conventions fix
17
18
  pnpm exec conventions --list
18
19
  ```
19
20
 
20
21
  Each break shows the file, the line, the rule and the fix. In GitHub Actions, the check also writes an annotation on the line of each break. It also writes a table of the rules to the summary of the run (`GITHUB_STEP_SUMMARY`). The exit code is 1 when a rule has a break.
21
22
 
23
+ `conventions fix` writes the fixes that the rules know, and checks again. It continues until no fix applies. Each fix is an exact change of a file, and the fix writes it only when the file did not change after the check. These breaks have a fix:
24
+
25
+ - `runner-budget`: the minute of a schedule, a `max-parallel` of a matrix, and a concurrency group at the top of a workflow. A new run of a pull request stops the old run. A run of another event waits for the old run.
26
+ - `tests-required`: the option `passWithNoTests` in a config or a script, in a package with test files. A package with no tests needs a person, who removes its test script.
27
+ - `typed-files`: a config file at the root of a package (`vitest.config.ts`). The fix adds `*.config.ts` and `rootDir: "."` to the `tsconfig.test.json` of the package, when that file has no comments.
28
+ - `trust-policy`: the settings `trustPolicy`, `trustPolicyIgnoreAfter` and `trustPolicyExclude` of `pnpm-workspace.yaml`. The fix makes the file when the repository has none.
29
+
30
+ The text output marks each break that has a fix. In the JSON output, such a break has `fixable: true`. The release train starts `conventions fix` in its update pull requests. Thus a break that a script can fix does not block a repository.
31
+
22
32
  ## Rules
23
33
 
24
34
  The rules come from the invariants audit of 2026-10-26 (strategy item s38). The audit read the rule documents of 7 repositories. Each rule here is a convention that 3 or more repositories tell, and that a script examines exactly. The column "From" gives the repository and the id of each audit row.
@@ -27,6 +37,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
27
37
  |---|---|---|
28
38
  | `pinned-git-deps` | A dependency from git (`github:`, `git+https:`, `owner/repo`) names a full commit SHA. The rule also examines `overrides`, `resolutions` and `pnpm.overrides`. | coeval `pinned-deps`, `unpublished-dep-pinned`. headroom `non-npm-deps-pinned`, `pinned-github-specifier`. Graph `github-dep-full-sha`, `github-dep-pinned`. client `general-npm-version`. |
29
39
  | `workspace-protocol` | A dependency on a package of the workspace uses `workspace:`. The rule does not examine peer dependencies. | client `workspace-protocol`, `workspace-deps`. coeval `pinned-deps`. headroom `non-npm-deps-pinned`. crawler `mcp-workspace-dep`. |
40
+ | `trust-policy` | A repository with a `pnpm-lock.yaml` sets `trustPolicy: no-downgrade` in `pnpm-workspace.yaml`: pnpm refuses a version with less trust evidence than an earlier version, for example one with no provenance after versions from a trusted publisher. `trustPolicyIgnoreAfter` is 10080 or more, so the check examines the versions of the last 7 days. A stolen-token version is new, and older versions can have less evidence for other reasons. `trustPolicyExclude` has the scopes of the release train, which checks the provenance of their versions itself. | fleet `trust-policy` (STRATEGY.md, 2026-11-01). |
30
41
  | `source-main` | The `main` of each workspace package is `src/index.ts` (a package with only a `bin` has no `main`, and a private package with no entry is an app). A public package that has a source entry has the same field in `publishConfig`, and that field points at the build. | coeval `package-main-source`, `source-package-main`. crawler `pkg-source-main`, `source-package-main`, `publish-config-build`. Graph `new-package-main-index`, `source-package-main`. headroom `source-package-main`. |
31
42
  | `tsconfig-test` | Each package with a `tsconfig.json` has a `tsconfig.test.json`, and its `typecheck` script names it. | coeval, crawler, Vex `package-tsconfig-test` or `pkg-tsconfig-test`, and `tsconfig-test`. headroom `tsconfig-test`, `tsconfig-test-per-package`. |
32
43
  | `cue-preset` | The `tsconfig.json` of each package extends a preset of `@mark1russell7/cue`. No config of a package turns off a strict option that its preset turns on. | client `cue-config`, `no-manual-tsconfig`. Graph `cue-preset-strict`, `strict-preset`, `new-package-via-cli`. coeval, crawler, headroom, Vex `package-scaffold`. |
@@ -89,6 +100,8 @@ An unknown rule, an unknown option, or an exception or a changed option without
89
100
  | `typed-scripts.shellLines` | `1` | The most lines of code of a shell script (a launcher). Empty lines and comments do not count. |
90
101
  | `typed-files.configs` | `[]` | More tsconfig files, relative to the root, that CI examines with another command (for example a script that the typecheck starts). |
91
102
  | `roadmap-parses.roadmaps` | `[]` | More roadmap files, relative to the root, for a roadmap that no workflow names. |
103
+ | `trust-policy.exclude` | `["@mark1russell7/*", "@procedures/*"]` | The patterns that `trustPolicyExclude` must have. |
104
+ | `trust-policy.ignoreAfter` | `10080` | The smallest `trustPolicyIgnoreAfter`, in minutes. |
92
105
  | `runner-budget.maxParallel` | `3` | The largest `max-parallel` of a matrix. |
93
106
  | `runner-budget.minute` | `true` | When `false`, the rule does not examine the minute of the schedules. |
94
107
  | `runner-budget.grouped` | `["reusable-ai-review.yml", "reusable-codex-review.yml"]` | The shared workflows that give a concurrency group in each of their jobs. |
@@ -98,6 +111,7 @@ An unknown rule, an unknown option, or an exception or a changed option without
98
111
  | Option | What it sets |
99
112
  |---|---|
100
113
  | `check` | Start each rule. |
114
+ | `fix` | Write the fixes of the breaks that have one, and check again. The exit code is 1 when a break stays. |
101
115
  | `--list` | Show each rule: the reason, the fix, the options, the state and the audit rows. |
102
116
  | `--root <folder>` | The root of the repository. The default is the current folder. |
103
117
  | `--rule <id>` | Only this rule. Use it again for more rules. |
@@ -106,13 +120,16 @@ An unknown rule, an unknown option, or an exception or a changed option without
106
120
 
107
121
  ## Add a rule
108
122
 
109
- A rule is a module in `src/rules/` that exports a `Rule`. A `Rule` has an `id`, a `title`, a `reason`, a `fix` and its audit `sources`. It also has its `options` with defaults, and a function `check(context, options)`. The function gives a list of breaks, or `{ skipped: "<reason>" }`. Add the rule to `RULES` in `src/rules/index.ts`, with a test of a case that passes and a case that breaks. Add a rule only when 3 or more repositories tell it and a script examines it exactly.
123
+ A rule is a module in `src/rules/` that exports a `Rule`. A `Rule` has an `id`, a `title`, a `reason`, a `fix` and its audit `sources`. It also has its `options` with defaults, and a function `check(context, options)`. The function gives a list of breaks, or `{ skipped: "<reason>" }`.
124
+
125
+ A break can have `edits`: each edit gives a file, its whole text `before` and its whole text `after`. Give an edit only when the fix is certain, and test it with `runFix`. Add the rule to `RULES` in `src/rules/index.ts`, with a test of a case that passes and a case that breaks. Add a rule only when 3 or more repositories tell it and a script examines it exactly.
110
126
 
111
127
  ## Library
112
128
 
113
129
  The package also exports the functions of the tool:
114
130
 
115
- - `runChecks(options)` starts the rules and gives the result of each rule. `runCli(args, io)` is the bin.
131
+ - `runChecks(options)` starts the rules and gives the result of each rule. `runFix(options)` writes the edits and gives the changed files and the last result. `runCli(args, io)` is the bin.
132
+ - `replaceLine(text, line, lines)` gives the text with one line replaced, for the edits of a rule.
116
133
  - `formatResult(result)`, `summaryMarkdown(result)`, `annotations(result)` and `listRules(config)` give the output.
117
134
  - `parseConfig(value, rules)` and `readConfig(root)` read the field `conventions`.
118
135
  - `RULES` and each rule, with the helpers `isGitSpecifier`, `isPinned`, `isSourcePath` and `parseJsonc`.
package/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as runCli } from "./run-B7ftggFF.js";
2
+ import { c as runCli } from "./run-CRjXzR_6.js";
3
3
  // src/cli.ts
4
4
  try {
5
5
  process.exitCode = runCli(process.argv.slice(2), {
package/build/index.d.ts CHANGED
@@ -13,7 +13,23 @@ interface Break {
13
13
  readonly message: string;
14
14
  /** A fix for this break. The fix of the rule applies when this field is missing. */
15
15
  readonly fix?: string;
16
+ /** The changes of files that fix this break, for `conventions fix`. A break with no edits needs a person. */
17
+ readonly edits?: readonly Edit[];
16
18
  }
19
+ /**
20
+ * A change of one file that `conventions fix` writes. The file must still have the text `before`, else the edit does
21
+ * not apply. An edit that an earlier edit made stale waits for the next check.
22
+ */
23
+ interface Edit {
24
+ /** The file, relative to the root, with `/`. */
25
+ readonly file: string;
26
+ /** The whole text of the file before the change. An empty text makes a file that does not exist. */
27
+ readonly before: string;
28
+ /** The whole text of the file after the change. */
29
+ readonly after: string;
30
+ }
31
+ /** This function gives `text` with the line `line` (from 1) replaced by `lines`, with the line ends of `text`. An empty `lines` removes the line. */
32
+ export declare function replaceLine(text: string, line: number, lines: readonly string[]): string;
17
33
  /** A value of an option of a rule. */
18
34
  type OptionValue = string | number | boolean | readonly string[];
19
35
  /** The options of a rule, after the defaults. */
@@ -182,6 +198,11 @@ export declare function configsOfScript(script: string): string[];
182
198
  export declare function scriptsOf(scripts: Readonly<Record<string, unknown>>, name: string, seen?: Set<string>): string[];
183
199
  export declare const typedFiles: Rule;
184
200
  export declare const typedScripts: Rule;
201
+ /** The scopes that the release train updates. The train checks the provenance of their versions itself. */
202
+ export declare const TRAIN_SCOPES: readonly ["@mark1russell7/*", "@procedures/*"];
203
+ /** 7 days, in minutes. */
204
+ export declare const IGNORE_AFTER = 10080;
205
+ export declare const trustPolicy: Rule;
185
206
  export declare const workspaceProtocol: Rule;
186
207
  /** Each rule of the check. */
187
208
  export declare const RULES: readonly Rule[];
@@ -222,6 +243,21 @@ export declare function readConfig(root: string, rules?: readonly Rule[]): Conve
222
243
  export declare function createContext(root: string, config: ConventionsConfig, options?: Pick<CheckOptions, "base" | "env">): RuleContext;
223
244
  /** This function starts each rule on the repository at `options.root`, and gives the result of each rule. */
224
245
  export declare function runChecks(options: CheckOptions): CheckResult;
246
+ /** The result of `runFix`. */
247
+ interface FixResult {
248
+ /** The files that the edits changed, relative to the root, with `/`, in the order of the first change. */
249
+ readonly changed: readonly string[];
250
+ /** The number of checks. */
251
+ readonly passes: number;
252
+ /** The result of the last check, after the edits. */
253
+ readonly result: CheckResult;
254
+ }
255
+ /**
256
+ * This function writes the edits of the breaks, and checks again, until no edit applies. In each pass it writes the first
257
+ * edit of each file whose `before` is the current text of the file. The other edits of that file wait for the next check,
258
+ * which gives them again from the new text. Thus a fix does not write over a change that it did not see.
259
+ */
260
+ export declare function runFix(options: CheckOptions): FixResult;
225
261
  /** This function gives the text of a result for a terminal or a CI log. */
226
262
  export declare function formatResult(result: CheckResult): string;
227
263
  /** This function gives the result as Markdown for the summary of a GitHub Actions run. */
@@ -265,5 +301,5 @@ export declare function workspaceGlobs(root: string): string[] | undefined;
265
301
  * The result has absolute paths, in the order of the code units.
266
302
  */
267
303
  export declare function packageFolders(root: string, globs?: readonly string[] | undefined): string[];
268
- export type { AuditSource, Break, CheckOptions, CheckResult, CliIo, ConventionsConfig, Manifest, OptionSpec, OptionValue, Options, PackageInfo, Rule, RuleConfig, RuleContext, RuleOutcome, RuleResult };
304
+ export type { AuditSource, Break, CheckOptions, CheckResult, CliIo, ConventionsConfig, Edit, FixResult, Manifest, OptionSpec, OptionValue, Options, PackageInfo, Rule, RuleConfig, RuleContext, RuleOutcome, RuleResult };
269
305
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/no-build-output.ts","../src/rules/no-local-paths.ts","../src/rules/pinned-git-deps.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/rules/source-main.ts","../src/rules/tests-required.ts","../src/rules/tsconfig-test.ts","../src/rules/typed-files.ts","../src/rules/typed-scripts.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/workspace.ts"],"mappings":";UASiB;WACN;WACA;WACA;;;UAIM;;WAEN;;WAEA;WACA;;WAEA;;;KAIC;;KAGA,UAAU,SAAS,eAAe;;UAG7B;WACN;WACA,SAAS;WACT;;;KAIC,WAAW,SAAS;;UAGf;;WAEN;;WAEA;;WAEA;;WAEA;WACA,UAAU;;;UAIJ;;WAEN;;WAEA,aAAa;;WAEb,mBAAmB;;WAEnB,KAAK,SAAS;;WAEd;;EAET;;EAEA,IAAI;;;KAIM,uBAAuB;WAAqB;;;UAGvC;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;EAC1C,MAAM,SAAS,aAAa,SAAS,UAAU;;;qBAIpC;;wBAGG,aAA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BAsBxB,YAAY,QAAQ;;wBAYpB,UAAU,QAAQ,+BAA+B,iBAAgB;;UAkBhE;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;;qBAIP;;wBAwBG,OAAO,yBAAyB,IAAI;;;;;;wBCxNpC,aAAa,eAAe;;;;;wBAsD5B,YAAY,cAAc;;;;;;wBA8B1B,eAAe;;;;;;;wBAwCf,eAAe,cAAc"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/no-build-output.ts","../src/rules/no-local-paths.ts","../src/rules/pinned-git-deps.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/rules/source-main.ts","../src/rules/tests-required.ts","../src/rules/tsconfig-test.ts","../src/rules/typed-files.ts","../src/rules/typed-scripts.ts","../src/rules/trust-policy.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/workspace.ts"],"mappings":";UASiB;WACN;WACA;WACA;;;UAIM;;WAEN;;WAEA;WACA;;WAEA;;WAEA,iBAAiB;;;;;;UAOX;;WAEN;;WAEA;;WAEA;;;wBAIK,YAAY,cAAc,cAAc;;KAQ5C;;KAGA,UAAU,SAAS,eAAe;;UAG7B;WACN;WACA,SAAS;WACT;;;KAIC,WAAW,SAAS;;UAGf;;WAEN;;WAEA;;WAEA;;WAEA;WACA,UAAU;;;UAIJ;;WAEN;;WAEA,aAAa;;WAEb,mBAAmB;;WAEnB,KAAK,SAAS;;WAEd;;EAET;;EAEA,IAAI;;;KAIM,uBAAuB;WAAqB;;;UAGvC;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;EAC1C,MAAM,SAAS,aAAa,SAAS,UAAU;;;qBAIpC;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,eAAe;;q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;;wBA0BrB,gBAAgB,QAAQ;;wBAsBxB,YAAY,QAAQ;;wBAYpB,UAAU,QAAQ,+BAA+B,iBAAgB;;UAkBhE;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;;qBAIP;;wBA0BG,OAAO,yBAAyB,IAAI;;;;;;wBC9QpC,aAAa,eAAe;;;;;wBAsD5B,YAAY,cAAc;;;;;;wBA8B1B,eAAe;;;;;;;wBAwCf,eAAe,cAAc"}
package/build/index.js CHANGED
@@ -1 +1 @@
1
- export { M as DEFAULT_ALLOWED, R as DEPENDENCY_FIELDS, N as HOME_PATTERNS, u as RULES, I as STRICT_OPTIONS, t as USAGE, n as annotations, z as cleanPath, B as codePackages, p as configsOfScript, r as createContext, L as cuePreset, et as defaultOptions, i as formatResult, X as globFolders, Z as globToRegExp, V as hasFile, g as hasTests, H as inFolder, k as isGitSpecifier, A as isPinned, y as isSourcePath, U as keyLine, W as lineOf, a as listRules, G as matchesAny, F as noBuildOutput, P as noLocalPaths, Q as packageFolders, tt as parseConfig, K as parseJsonc, b as pathsOf, j as pinnedGitDeps, o as readConfig, q as readJsonc, O as releaseFiles, S as repositoryOfRemote, D as requiredScripts, T as roadmapOfLine, E as roadmapParses, s as runChecks, c as runCli, J as runGit, C as runnerBudget, w as scheduleMinute, m as scriptsOf, x as sourceMain, Y as specifiersOf, l as summaryMarkdown, v as testsRequired, _ as tsconfigTest, h as typedFiles, f as typedScripts, $ as workspaceGlobs, d as workspaceProtocol } from "./run-B7ftggFF.js";
1
+ export { I as DEFAULT_ALLOWED, H as DEPENDENCY_FIELDS, L as HOME_PATTERNS, p as IGNORE_AFTER, d as RULES, B as STRICT_OPTIONS, m as TRAIN_SCOPES, t as USAGE, n as annotations, U as cleanPath, W as codePackages, _ as configsOfScript, r as createContext, V as cuePreset, at as defaultOptions, i as formatResult, tt as globFolders, nt as globToRegExp, G as hasFile, x as hasTests, K as inFolder, N as isGitSpecifier, P as isPinned, C as isSourcePath, q as keyLine, J as lineOf, a as listRules, Y as matchesAny, z as noBuildOutput, R as noLocalPaths, rt as packageFolders, ot as parseConfig, X as parseJsonc, w as pathsOf, F as pinnedGitDeps, o as readConfig, Z as readJsonc, M as releaseFiles, Q as replaceLine, E as repositoryOfRemote, j as requiredScripts, k as roadmapOfLine, A as roadmapParses, s as runChecks, c as runCli, l as runFix, $ as runGit, D as runnerBudget, O as scheduleMinute, v as scriptsOf, T as sourceMain, et as specifiersOf, u as summaryMarkdown, b as testsRequired, h as trustPolicy, S as tsconfigTest, y as typedFiles, g as typedScripts, it as workspaceGlobs, f as workspaceProtocol } from "./run-CRjXzR_6.js";