@mark1russell7/conventions 0.60.0 → 0.61.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
@@ -71,7 +71,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
71
71
  | `roadmap-parses` | Each call of the Pages workflow of the template (`reusable-pages.yml`) gives a `roadmap`, or `site-pages: false`. Without it, the Status page shows no item of the plan. Each roadmap that a workflow gives to the Status page (a `roadmap:` key) parses as `@mark1russell7/site-pages` reads it. The rule uses the parser of site-pages. Thus a pull request finds a bad row, and the Pages job on `main` does not stop on it. | private `fail-closed` (a decision of 2026-10-30). |
72
72
  | `workflow-parses` | Each workflow of `.github/workflows` and each file `action.yml` of `.github/actions` parses as YAML, with the parser of the package `yaml`. GitHub refuses a workflow that does not parse, and starts no job. A workflow that starts only on a schedule, a dispatch or `workflow_run` does not start on its pull request. So the rule finds its fault before the merge. The break names the first fault of each file. | layout-contract `memory-probe.yml`, run 42172612147 (2026-11-06). |
73
73
  | `runner-budget` | The repositories of each owner share the runners of its plan: 40 for the personal account, 60 for the organization (`OWNERS`). Each `strategy` with a `matrix` has a `max-parallel` of 3 or less. Each workflow has a concurrency group at the top or in each job. A job that calls a shared workflow of the option `grouped` gets its group from that workflow, and each job of that workflow has a group. The minute of each `cron` comes from a hash of the repository and the file (1 to 59), so the schedules of the repositories do not start together. The repository comes from `GITHUB_REPOSITORY` or from the remote `origin`. | private `runner-slots` (a decision of 2026-10-30). |
74
- | `runner-peak` | The workflows of a repository hold at most its share of the runners in a busy minute. The peak of a job is the jobs of one run (a matrix, capped by its `max-parallel`, or a called workflow with its own jobs) times the runs that its concurrency group lets run at one time. A group of the commit or the run, or no group, gives the option `burst` of runs on `push` and on pull requests. A group of the branch gives one run on `push` and a burst of pull requests. A group with no expression gives one run. A job with an `if` that is false on an event does not count on it. The option `pushBurst` gives the burst of `push` (a burst of merges). A step of the action `give-way` holds each job after its job to its input `slots` on the events of its input `events`. The peak of a workflow is the sum of its classes of events (push, pull request, other). The repository adds the classes push and pull request of each workflow, and counts the class other one time: its largest peak. A job that `needs` a different job does not run at the same time as it in one run. Thus the peak of a class is the antichain with the largest weight of the graph of the needs, for each layer of runs, from `maxWeightAntichain` of `@mark1russell7/collections`. The peak is exact for that graph. The functions `workflowPeaks`, `repositoryPeak` and `giveWaySlots` give the same numbers to other tools. | private `runner-slots` (a decision of 2026-10-30), and a wait of 15.9 minutes for a runner on 2026-11-24. |
74
+ | `runner-peak` | The workflows of a repository hold at most its share of the runners in a busy minute. The peak of a job is the jobs of one run (a matrix, capped by its `max-parallel`, or a called workflow with its own jobs) times the runs that its concurrency group lets run at one time. A group of the commit or the run, or no group, gives the option `burst` of runs on `push` and on pull requests. A group of the branch gives one run on `push` and a burst of pull requests. A group with no expression gives one run. A job with an `if` that is false on an event does not count on it. The option `pushBurst` gives the burst of `push` (a burst of merges). A step of the action `give-way` holds each job after its job to its input `slots` on the events of its input `events`. The peak of a workflow is the sum of its classes of events (push, pull request, other). The repository adds the classes push and pull request of each workflow, and counts the class other one time: its largest peak. The option `runs` gives the measured runs at one time of a workflow and a class, from a model of its run records. The model is Little's law `L = λ·W`, with the law of the run minutes in place of one `W`. The measured runs replace the burst, and the group and the step `give-way` still cap them. A measured class other adds to the peak of the repository. A job that `needs` a different job does not run at the same time as it in one run. Thus the peak of a class is the antichain with the largest weight of the graph of the needs, for each layer of runs, from `maxWeightAntichain` of `@mark1russell7/collections`. The peak is exact for that graph. The functions `workflowPeaks`, `repositoryPeak` and `giveWaySlots` give the same numbers to other tools. | private `runner-slots` (a decision of 2026-10-30), and a wait of 15.9 minutes for a runner on 2026-11-24. |
75
75
  | `main-runs-finish` | A workflow that starts on `push`, `workflow_call` or `workflow_run` does not cancel a run in progress. A called workflow gets the event of its caller. A run of `workflow_run` is a run of the default branch. A newer push cancels only the run of a pull request: `cancel-in-progress: ${{ github.event_name == 'pull_request' }}`. A run of `push` or `workflow_call` has the concurrency group of its commit: `${{ github.event_name == 'pull_request' && github.ref || github.sha }}`. GitHub gives a run of `workflow_run` the last commit of the default branch, so the rule does not examine its group: a newer run that takes the place of a waiting run tests the same commit or a newer one. In one group, GitHub cancels a run that waits when a newer run comes, whatever `cancel-in-progress` says. On 2026-11-03 four waiting CI runs of `main` in client were cancelled, so its version commit had no result and no release. On 2026-11-03 the next merge cancelled the CI run of a commit on `main`, so the main check of that commit had no result. A bench run on `main` was cancelled too, and its claim had no measurement. | private `main-runs-finish` (a decision of 2026-11-03). |
76
76
  | `push-main-only` | A workflow that starts on `push` and on `pull_request` limits `push` to the default branch with `branches`, and has `workflow_dispatch`. Without the limit, each commit of a pull request starts two runs. A `push` with only a tag filter, a `pull_request` with `types` that do not have `synchronize`, and `pull_request_target` are not breaks. `CI.md` tells each case in "One run for each commit". |
77
77
  | `pipe-fails` | A failure on the left of a pipe fails its step. With no `shell` key, GitHub has no `pipefail`, so `tests \| tee out.txt` passes when the tests fail. The fix adds `shell: bash` as the default of the workflow. A step that then turns red had a failure that the pipe hid. |
@@ -181,6 +181,7 @@ An unknown rule, an unknown option, or an exception or a changed option without
181
181
  | `runner-peak.share` | `0` | The most jobs that the workflows of the repository hold at one time in a busy minute. `0` turns the rule off. |
182
182
  | `runner-peak.burst` | `5` | The runs of pull requests that start in a busy minute when each run has its own group. It is also the burst of `push` when `pushBurst` is `0`. |
183
183
  | `runner-peak.pushBurst` | `0` | The runs of `push` (a burst of merges) that start in a busy minute when each run has its own group. `0` uses `burst`. |
184
+ | `runner-peak.runs` | `[]` | The measured runs at one time of a workflow and a class, as `<file>@<class>=<runs>` (`lab.yml@pull=13`). The class is `push`, `pull` or `other`. They replace the burst. |
184
185
  | `runner-peak.called` | the shared workflows of the template, as `<file>=<jobs>` | The jobs of each run of a called workflow of another repository. A call of a workflow that is not in the list counts 1. |
185
186
  | `gate-trigger.allow` | `[]` | The file names of the workflows that can filter pull requests by path, because they are not a gate (for example a preview). |
186
187
  | `summary-job.gates` | `["ci.yml", "security.yml"]` | The file names of the gate workflows that must have a summary job. |
package/build/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { readFileSync } from "node:fs";
3
- import { c as runCli } from "./run-DOZFXGy_.js";
3
+ import { c as runCli } from "./run-51JRimSi.js";
4
4
  // src/cli.ts
5
5
  try {
6
6
  const args = process.argv.slice(2);
package/build/index.d.ts CHANGED
@@ -343,9 +343,9 @@ export declare function callsReleaseBuild(text: string): boolean;
343
343
  /** This function tells if a release.yml reads the mode of the build. */
344
344
  export declare function hasReleaseMode(text: string): boolean;
345
345
  /**
346
- * This function gives the release.yml with three changes. The job `version` (pinned to the commit of its build job)
346
+ * This function gives the release.yml with four changes. The job `version` (pinned to the commit of its build job)
347
347
  * comes before the job publish. The jobs publish and tag get the condition of the mode. The path filter of `on.push`
348
- * gets `.changeset/*.md`.
348
+ * gets `.changeset/*.md`. The condition of the job version reads the output drift of the build (addDrift).
349
349
  * For a form that it does not know, it gives a reason and the text as it is. A file that has all three already does not change.
350
350
  */
351
351
  export declare function addReleaseMode(text: string): {
@@ -982,6 +982,8 @@ interface ParsedStep {
982
982
  readonly secrets: readonly string[];
983
983
  /** The inputs of the action of the step (`with`), each as text. An expression stays as it is. A step with no inputs has an empty map. */
984
984
  readonly with: Readonly<Record<string, string>>;
985
+ /** The shell script of the step (`run`), or an empty text. */
986
+ readonly run: string;
985
987
  }
986
988
  /** The `concurrency` of a workflow or of a job. GitHub runs at most one run of a group, and one more run of it waits. */
987
989
  interface ParsedConcurrency {
@@ -1019,6 +1021,8 @@ interface ParsedJob {
1019
1021
  readonly needs: readonly string[];
1020
1022
  /** The workflow that the job calls (`uses`), with no pin, or an empty text. */
1021
1023
  readonly uses: string;
1024
+ /** The inputs of the workflow that the job calls (`with`), each as text. An expression stays as it is. A job with no inputs has an empty map. */
1025
+ readonly with: Readonly<Record<string, string>>;
1022
1026
  readonly permissions: WorkflowPermissions;
1023
1027
  /** The secrets that the job and its steps read. The name `inherit` is `secrets: inherit`, and `*` is the whole context. */
1024
1028
  readonly secrets: readonly string[];
@@ -1068,6 +1072,8 @@ interface PeakOptions {
1068
1072
  readonly pushBurst?: number;
1069
1073
  /** The jobs of each run of a called workflow of another repository, by its file name (`reusable-ci.yml`). */
1070
1074
  readonly called: Readonly<Record<string, number>>;
1075
+ /** The measured runs at one time of a workflow and a class, by `<file>@<class>` (`lab.yml@pull`). They replace the burst. */
1076
+ readonly runs?: Readonly<Record<string, number>>;
1071
1077
  }
1072
1078
  /** The peak of one job: the jobs of one run, and the runs at one time. */
1073
1079
  interface JobPeak {
@@ -1089,14 +1095,18 @@ interface WorkflowPeak {
1089
1095
  readonly event: string;
1090
1096
  readonly peak: number;
1091
1097
  readonly jobs: readonly JobPeak[];
1098
+ readonly measured?: number;
1092
1099
  }>>>;
1093
1100
  }
1094
1101
  /**
1095
1102
  * This function gives the runs of a concurrency group that run at one time on the event. A group that depends on the commit
1096
1103
  * or the run, or no group, gives a burst on `push` and on pull requests. A group of the branch gives one run on `push` (the
1097
1104
  * default branch) and a burst of pull requests. Each other event gives one run. The burst of `push` is `pushBurst`, and its default is `burst`.
1105
+ *
1106
+ * The measured runs replace the burst. On an other event, they hold when the group depends on the commit, the run, the
1107
+ * branch or an input. A group that all runs share gives one run.
1098
1108
  */
1099
- export declare function runsAtOnce(concurrency: ParsedConcurrency | null, event: string, burst: number, pushBurst?: number): number;
1109
+ export declare function runsAtOnce(concurrency: ParsedConcurrency | null, event: string, burst: number, pushBurst?: number, measured?: number): number;
1100
1110
  /**
1101
1111
  * This function gives the runs at one time that a step `give-way` of the job lets past on the event: its input `slots`.
1102
1112
  * The default of `slots` is 1. The cap holds when the step can run on the event, and the event is in its input `events`.
@@ -1111,15 +1121,16 @@ export declare function matrixPeak(job: ParsedJob): number;
1111
1121
  * event with the most jobs. Each job has its jobs of one run and the runs of its group (the group at the top of the file,
1112
1122
  * else the group of the job). A job that `needs` a different job does not run at the same time as it in one run. Thus the
1113
1123
  * peak is the sum of the antichains of the layers of runs (`layeredPeak`). The peak is exact for the graph of the needs.
1124
+ * The option `runs` replaces the burst of a workflow and a class with its measured runs.
1114
1125
  */
1115
1126
  export declare function workflowPeaks(workflows: readonly ParsedWorkflow[], options: PeakOptions): WorkflowPeak[];
1116
1127
  /**
1117
1128
  * This function gives the most jobs of the workflows of a repository at one time in a busy minute. The classes `push` and
1118
- * `pull` of each workflow add up. The class `other` counts one time for the repository: one schedule or one dispatch, the
1119
- * largest of each workflow.
1129
+ * `pull` of each workflow add up. A class `other` with measured runs adds up too. The class `other` with no measured
1130
+ * runs counts one time for the repository: one schedule or one dispatch, the largest of each workflow.
1120
1131
  */
1121
1132
  export declare function repositoryPeak(peaks: readonly WorkflowPeak[]): number;
1122
- /** This function reads the option `called`: a list of `<file>=<jobs>`. A pair that does not parse is left out. */
1133
+ /** This function reads the options `called` and `runs`: a list of `<key>=<count>`. A pair that does not parse is left out. */
1123
1134
  export declare function calledJobs(values: readonly string[]): Record<string, number>;
1124
1135
  /**
1125
1136
  * The jobs of each run of the shared workflows of the template, on the event with the most jobs. A test of the template
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-after-cancel.ts","../src/rules/gate-trigger.ts","../src/rules/security-gate.ts","../src/rules/security-one-job.ts","../src/rules/summary-job.ts","../src/rules/release-mode.ts","../src/rules/shared-docs.ts","../src/rules/call-permissions.ts","../src/rules/setup-cue.ts","../src/rules/shared-ci.ts","../src/rules/service-run-main.ts","../src/map.ts","../src/rules/home-module.ts","../src/rules/home-package.ts","../src/home-shapes.ts","../src/rules/home-shape.ts","../src/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-console.ts","../src/private-names.ts","../src/rules/no-local-paths.ts","../src/rules/pack-no-buildinfo.ts","../src/rules/publish-text-safe.ts","../src/rules/exports-require.ts","../src/rules/api-report-script.ts","../src/rules/pages-after-release.ts","../src/rules/pages-site.ts","../src/rules/site-check-in-ci.ts","../src/rules/pinned-git-deps.ts","../src/rules/pipe-fails.ts","../src/rules/job-fails.ts","../src/rules/playwright-install.ts","../src/rules/push-main-only.ts","../src/rules/unreleased-change.ts","../src/rules/published-minor.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/workflow.ts","../src/rules/runner-peak.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/version-title.ts","../src/rules/workflow-parses.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/io.ts","../src/pre-push.ts","../src/workflow-expression.ts","../src/home-exports.ts","../src/run.ts","../src/release-text.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;WACN,iBAAiB;;WAEjB;;;UAIM;;WAEN;;WAEA;;WAEA;;WAEA;WACA,UAAU;;;UAIJ;;WAEN;;WAEA,aAAa;;WAEb,mBAAmB;;WAEnB,KAAK,SAAS;;WAEd;;WAEA;;EAET;;EAEA,IAAI;;;;;;EAMJ,SAAS;;;wBAIK,UAAU,SAAS,KAAK,iCAAiC;;KAM7D,uBAAuB;WAAqB;;;qBAG3C;;UAGI;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;;;;;WAKjC;;;;;;;WAOA;EACT,MAAM,SAAS,aAAa,SAAS,UAAU;;;;;;EAM/C,UAAU,SAAS;;;;;;EAMnB,QA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,MAAM,SAAS;;WAEf,iBAAiB;;WAEjB;;;wBAaK,WAAW,cAAc,iBAAgB,SAAiB;;wBAO1D,cAAc,cAAc,QAAQ,mBAAmB,UAAS,KAAK,0CAA+C;;wBAwCpH,UAAU,SAAS,eAAe;;UAuEjC;;WAEN;;WAEA;;WAEA,QAAQ;;;;;;;wBAWH,OAAO,SAAS,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA4BrB,gBAAgB,QAAQ;;;;;;wBA2BxB,YAAY,QAAQ;;wBAapB,UAAU,QAAQ,+BAA+B,iBAAgB;;qBAqBpE;;wBA8EG,OAAO,yBAAyB,IAAI;;;;;;;;qBCvZvC;;wBAGG,QAAQ,cAAc,iBAAiB;;;;;;;;wBAavC,iBAAiB,kBAAkB,iBAAiB;;wBA+BpD,OAAO,cAAc;;;;;wBAQrB,aAAa,cAAc,iBAAiB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/rule.ts","../src/config.ts","../src/rules/cue-preset.ts","../src/rules/gate-after-cancel.ts","../src/rules/gate-trigger.ts","../src/rules/security-gate.ts","../src/rules/security-one-job.ts","../src/rules/summary-job.ts","../src/rules/release-mode.ts","../src/rules/shared-docs.ts","../src/rules/call-permissions.ts","../src/rules/setup-cue.ts","../src/rules/shared-ci.ts","../src/rules/service-run-main.ts","../src/map.ts","../src/rules/home-module.ts","../src/rules/home-package.ts","../src/home-shapes.ts","../src/rules/home-shape.ts","../src/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.ts","../src/rules/no-console.ts","../src/private-names.ts","../src/rules/no-local-paths.ts","../src/rules/pack-no-buildinfo.ts","../src/rules/publish-text-safe.ts","../src/rules/exports-require.ts","../src/rules/api-report-script.ts","../src/rules/pages-after-release.ts","../src/rules/pages-site.ts","../src/rules/site-check-in-ci.ts","../src/rules/pinned-git-deps.ts","../src/rules/pipe-fails.ts","../src/rules/job-fails.ts","../src/rules/playwright-install.ts","../src/rules/push-main-only.ts","../src/rules/unreleased-change.ts","../src/rules/published-minor.ts","../src/rules/release-files.ts","../src/rules/required-scripts.ts","../src/rules/roadmap-parses.ts","../src/rules/runner-budget.ts","../src/workflow.ts","../src/rules/runner-peak.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/version-title.ts","../src/rules/workflow-parses.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/io.ts","../src/pre-push.ts","../src/workflow-expression.ts","../src/home-exports.ts","../src/run.ts","../src/release-text.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;WACN,iBAAiB;;WAEjB;;;UAIM;;WAEN;;WAEA;;WAEA;;WAEA;WACA,UAAU;;;UAIJ;;WAEN;;WAEA,aAAa;;WAEb,mBAAmB;;WAEnB,KAAK,SAAS;;WAEd;;WAEA;;EAET;;EAEA,IAAI;;;;;;EAMJ,SAAS;;;wBAIK,UAAU,SAAS,KAAK,iCAAiC;;KAM7D,uBAAuB;WAAqB;;;qBAG3C;;UAGI;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA,kBAAkB;;WAElB,SAAS,SAAS,eAAe;;;;;WAKjC;;;;;;;WAOA;EACT,MAAM,SAAS,aAAa,SAAS,UAAU;;;;;;EAM/C,UAAU,SAAS;;;;;;EAMnB,QAAQ,SAAS,SAAS,OAAO;;;;;;EAMjC,QAAQ,SAAS,aAAa,SAAS;;;qBAO5B;;wBAGG,aAAa,UAAU,UAAU;;wBAOjC,OAAO,cAAc,gBAAgB;;wBAOrC,QAAQ,cAAc,e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,cAAc,cAAc,QAAQ,mBAAmB,UAAS,KAAK,0CAA+C;;wBAwCpH,UAAU,SAAS,eAAe;;UAuEjC;;WAEN;;WAEA;;WAEA,QAAQ;;;;;;;wBAWH,OAAO,SAAS,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA4BrB,gBAAgB,QAAQ;;;;;;wBA2BxB,YAAY,QAAQ;;wBAapB,UAAU,QAAQ,+BAA+B,iBAAgB;;qBAqBpE;;wBA8EG,OAAO,yBAAyB,IAAI;;;;;;;;qBCvZvC;;wBAGG,QAAQ,cAAc,iBAAiB;;;;;;;;wBAavC,iBAAiB,kBAAkB,iBAAiB;;wBA+BpD,OAAO,cAAc;;;;;wBAQrB,aAAa,cAAc,iBAAiB"}
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as lockedVersions, $n as sharedDocsRule, $r as readJsonc, $t as consoleBreaks, A as scriptsOf, An as findHomes, Ar as prPathFilters, At as HOME_PATTERNS, B as giveWaySlots, Bn as hasTests, Br as STRICT_OPTIONS, Bt as PRIVATE_NAME_LIST, C as setVersions, Cn as messageOf, Cr as licenseFile, Ct as PAGES_WORKFLOWS, D as trustPolicy, Dn as HOME_EXPORTS, Dr as ACTIONS_COMMIT, Dt as publishTextSafe, E as TRAIN_SCOPES, En as signaturesOf, Er as repositoryIsPublic, Et as exportsRequire, F as sourceMain, Fn as npmNames, Fr as MATRIX_EXPAND_MAX, Ft as noLocalPaths, G as workflowPeaks, Gn as callsSharedCi, Gr as codePackages, Gt as lineNameHit, H as repositoryPeak, Hn as SHARED_ACTIONS, Hr as DEPENDENCY_FIELDS, Ht as firstNameMatch, I as TEMPLATE_CALLED, In as readOverlay, Ir as parseWorkflow, It as privateNamesFile, J as mayRun, Jn as callPermissions, Jr as keyLine, Jt as nameMatches, K as evaluateExpression, Kn as sharedCi, Kr as hasFile, Kt as lineNameHits, L as UNKNOWN_MATRIX_JOBS, Ln as SERVICE_PACKAGE, Lr as readAction, Lt as privateNamesFiles, M as testsRequired, Mn as mapText, Mr as summaryJob, Mt as PRIVATE_NAMES_FILE_VARIABLE, N as isSourcePath, Nn as mergeHomes, Nr as summaryName, Nt as PRIVATE_PATTERNS_VARIABLE, O as typedScripts, On as HOMES, Or as convertGate, Ot as packNoBuildinfo, P as pathsOf, Pn as npmDrift, Pr as gateAfterCancel, Pt as invalidPatternBreaks, Q as releaseFiles, Qn as githubFetch, Qr as parseJsonc, Qt as NOT_SOURCE, R as calledJobs, Rn as runCalls, Rr as readWorkflow, Rt as privatePatterns, S as namedVersions, Sn as homePackage, Sr as authorOf, St as pushMainOnly, T as IGNORE_AFTER, Tn as reposOf, Tr as mitText, Tt as pagesSite, U as runnerPeak, Un as SHARED_CI, Ur as RULE_WARN_DAYS, Ut as isAllowedHit, V as matrixPeak, Vn as tsconfigTest, Vr as cuePreset, Vt as PrivateNameListError, W as runsAtOnce, Wn as SHARED_WORKFLOWS, Wr as cleanPath, Wt as isCommonUse, X as roadmapParses, Xn as HOME_TIMEOUT_MS, Xr as matchesAny, Xt as pathNameHit, Y as roadmapOfLine, Yn as callPermissionsRule, Yr as lineOf, Yt as parsePrivateNames, Z as requiredScripts, Zn as blockHash, Zr as parseCatFileBatch, Zt as CONSOLE_LAST_DAY, _ as runPrePushArgs, _n as homeModule, _r as securityOneJob, _t as isGitSpecifier, a as listRules, ai as specifiersOf, an as REAL_COMPARE, ar as isSecurityGate, at as SHIPPED_FIELDS, b as GITHUB_YAML, bn as modulesOf, br as scheduleMinute, bt as siteCheckInCi, c as runCli, ci as parseRuleConfig, cn as coverageProvider, cr as SUMMARY_GATES, ct as unreleasedChange, d as HOOK_MARKER, dn as homeShape, dr as startsOnPullRequest, dt as hiddenFailures, ei as replaceLine, en as consoleGate, er as addReleaseMode, et as minorOf, f as NO_READ_LINE, fn as homeShapesOf, fr as summaryJobRule, ft as jobFails, g as prePush, gn as HOME_SHAPES, gr as securityCallers, gt as pipeFails, h as parsePrePushArgs, hn as spansOf, hr as SECURITY_TIMEOUT_MINUTES, ht as swallowsTests, i as formatResult, ii as showFiles, in as noBuildOutput, ir as SECURITY_FILE, it as NPM_REGISTRY, j as typedFiles, jn as mapMarkdown, jr as skippableJobs, jt as PRIVATE_NAMES_FILE_CONFIG, k as configsOfScript, kn as MAP_RULE, kr as gateTrigger, kt as DEFAULT_ALLOWED, l as runFix, ln as apiReportScript, lr as addSummaryJob, lt as unreleasedChangeRule, m as installHook, mn as shapesOfSource, mr as SECURITY_SCAN_INPUTS, mt as startsTests, n as annotations, ni as runGit, nn as isCliFile, nr as hasReleaseMode, nt as publishedMinorRule, o as readConfig, oi as defaultOptions, on as hasImportMetaMain, or as securityGate, ot as UNSHIPPED_FILES, p as PRE_PUSH_HOOK, pn as shapeMessage, pr as SECURITY_SCAN_COMMIT, pt as parseAdvisory, q as groupParts, qn as setupCue, qr as inFolder, qt as mergePrivateNames, r as createContext, ri as runGitShow, rn as noConsole, rr as releaseModeRule, rt as reachOf, s as runChecks, si as parseConfig, sn as mainCheck, sr as securityWorkflow, st as npmLookup, t as USAGE, ti as repositoryOfRemote, tn as consoleKind, tr as callsReleaseBuild, tt as publishedMinor, u as summaryMarkdown, un as containedHome, ur as hasSummaryJob, ut as playwrightInstall, v as RULES, vn as moduleMessage, vr as withOneJob, vt as isPinned, w as versionTitle, wn as repoOf, wr as licenseFileOf, wt as pagesCalls, x as workflowParses, xn as declaredName, xr as LICENSE_TEXTS, xt as pagesAfterRelease, y as workspaceProtocol, yn as moduleUses, yr as runnerBudget, yt as pinnedGitDeps, z as eventClass, zn as serviceRunMain, zr as yamlFaults, zt as privateTextBreaks } from "./run-DOZFXGy_.js";
1
+ import { $ as lockedVersions, $n as sharedDocsRule, $r as readJsonc, $t as consoleBreaks, A as scriptsOf, An as findHomes, Ar as prPathFilters, At as HOME_PATTERNS, B as giveWaySlots, Bn as hasTests, Br as STRICT_OPTIONS, Bt as PRIVATE_NAME_LIST, C as setVersions, Cn as messageOf, Cr as licenseFile, Ct as PAGES_WORKFLOWS, D as trustPolicy, Dn as HOME_EXPORTS, Dr as ACTIONS_COMMIT, Dt as publishTextSafe, E as TRAIN_SCOPES, En as signaturesOf, Er as repositoryIsPublic, Et as exportsRequire, F as sourceMain, Fn as npmNames, Fr as MATRIX_EXPAND_MAX, Ft as noLocalPaths, G as workflowPeaks, Gn as callsSharedCi, Gr as codePackages, Gt as lineNameHit, H as repositoryPeak, Hn as SHARED_ACTIONS, Hr as DEPENDENCY_FIELDS, Ht as firstNameMatch, I as TEMPLATE_CALLED, In as readOverlay, Ir as parseWorkflow, It as privateNamesFile, J as mayRun, Jn as callPermissions, Jr as keyLine, Jt as nameMatches, K as evaluateExpression, Kn as sharedCi, Kr as hasFile, Kt as lineNameHits, L as UNKNOWN_MATRIX_JOBS, Ln as SERVICE_PACKAGE, Lr as readAction, Lt as privateNamesFiles, M as testsRequired, Mn as mapText, Mr as summaryJob, Mt as PRIVATE_NAMES_FILE_VARIABLE, N as isSourcePath, Nn as mergeHomes, Nr as summaryName, Nt as PRIVATE_PATTERNS_VARIABLE, O as typedScripts, On as HOMES, Or as convertGate, Ot as packNoBuildinfo, P as pathsOf, Pn as npmDrift, Pr as gateAfterCancel, Pt as invalidPatternBreaks, Q as releaseFiles, Qn as githubFetch, Qr as parseJsonc, Qt as NOT_SOURCE, R as calledJobs, Rn as runCalls, Rr as readWorkflow, Rt as privatePatterns, S as namedVersions, Sn as homePackage, Sr as authorOf, St as pushMainOnly, T as IGNORE_AFTER, Tn as reposOf, Tr as mitText, Tt as pagesSite, U as runnerPeak, Un as SHARED_CI, Ur as RULE_WARN_DAYS, Ut as isAllowedHit, V as matrixPeak, Vn as tsconfigTest, Vr as cuePreset, Vt as PrivateNameListError, W as runsAtOnce, Wn as SHARED_WORKFLOWS, Wr as cleanPath, Wt as isCommonUse, X as roadmapParses, Xn as HOME_TIMEOUT_MS, Xr as matchesAny, Xt as pathNameHit, Y as roadmapOfLine, Yn as callPermissionsRule, Yr as lineOf, Yt as parsePrivateNames, Z as requiredScripts, Zn as blockHash, Zr as parseCatFileBatch, Zt as CONSOLE_LAST_DAY, _ as runPrePushArgs, _n as homeModule, _r as securityOneJob, _t as isGitSpecifier, a as listRules, ai as specifiersOf, an as REAL_COMPARE, ar as isSecurityGate, at as SHIPPED_FIELDS, b as GITHUB_YAML, bn as modulesOf, br as scheduleMinute, bt as siteCheckInCi, c as runCli, ci as parseRuleConfig, cn as coverageProvider, cr as SUMMARY_GATES, ct as unreleasedChange, d as HOOK_MARKER, dn as homeShape, dr as startsOnPullRequest, dt as hiddenFailures, ei as replaceLine, en as consoleGate, er as addReleaseMode, et as minorOf, f as NO_READ_LINE, fn as homeShapesOf, fr as summaryJobRule, ft as jobFails, g as prePush, gn as HOME_SHAPES, gr as securityCallers, gt as pipeFails, h as parsePrePushArgs, hn as spansOf, hr as SECURITY_TIMEOUT_MINUTES, ht as swallowsTests, i as formatResult, ii as showFiles, in as noBuildOutput, ir as SECURITY_FILE, it as NPM_REGISTRY, j as typedFiles, jn as mapMarkdown, jr as skippableJobs, jt as PRIVATE_NAMES_FILE_CONFIG, k as configsOfScript, kn as MAP_RULE, kr as gateTrigger, kt as DEFAULT_ALLOWED, l as runFix, ln as apiReportScript, lr as addSummaryJob, lt as unreleasedChangeRule, m as installHook, mn as shapesOfSource, mr as SECURITY_SCAN_INPUTS, mt as startsTests, n as annotations, ni as runGit, nn as isCliFile, nr as hasReleaseMode, nt as publishedMinorRule, o as readConfig, oi as defaultOptions, on as hasImportMetaMain, or as securityGate, ot as UNSHIPPED_FILES, p as PRE_PUSH_HOOK, pn as shapeMessage, pr as SECURITY_SCAN_COMMIT, pt as parseAdvisory, q as groupParts, qn as setupCue, qr as inFolder, qt as mergePrivateNames, r as createContext, ri as runGitShow, rn as noConsole, rr as releaseModeRule, rt as reachOf, s as runChecks, si as parseConfig, sn as mainCheck, sr as securityWorkflow, st as npmLookup, t as USAGE, ti as repositoryOfRemote, tn as consoleKind, tr as callsReleaseBuild, tt as publishedMinor, u as summaryMarkdown, un as containedHome, ur as hasSummaryJob, ut as playwrightInstall, v as RULES, vn as moduleMessage, vr as withOneJob, vt as isPinned, w as versionTitle, wn as repoOf, wr as licenseFileOf, wt as pagesCalls, x as workflowParses, xn as declaredName, xr as LICENSE_TEXTS, xt as pagesAfterRelease, y as workspaceProtocol, yn as moduleUses, yr as runnerBudget, yt as pinnedGitDeps, z as eventClass, zn as serviceRunMain, zr as yamlFaults, zt as privateTextBreaks } from "./run-51JRimSi.js";
2
2
  import { OWNERS, ownerOf, ownersOf, repoKeyer, sharedNames } from "./owners.js";
3
3
  import { a as packageFolders, i as isWorkspaceFolder, l as workspaceGlobs, n as globFolders, o as parseWorkspaceGlobs, r as globToRegExp } from "./workspace-B6xQXXcL.js";
4
4
  // src/release-text.ts
@@ -1706,18 +1706,22 @@ function secretsOf(value) {
1706
1706
  addSecrets(value, "", secrets, /* @__PURE__ */ new Set());
1707
1707
  return secrets;
1708
1708
  }
1709
+ /** This function gives the inputs (`with`) of a step, or of a job that calls a workflow, each as text. */
1710
+ function inputsOf(owner) {
1711
+ const inputs = isObject$1(owner["with"]) ? owner["with"] : {};
1712
+ return Object.fromEntries(Object.entries(inputs).map(([key, value]) => [key, optionalText(value)]));
1713
+ }
1709
1714
  /** This function reads a step: the same label as the line reader gives, its condition, its action and its secrets. */
1710
1715
  function parsedStep(value) {
1711
1716
  const step = isObject$1(value) ? value : {};
1712
1717
  const uses = actionOf(optionalText(step["uses"]));
1713
- const label = optionalText(step["name"]) || uses || (optionalText(step["run"]).split("\n")[0] ?? "") || optionalText(step["id"]) || "step";
1714
- const inputs = isObject$1(step["with"]) ? step["with"] : {};
1715
1718
  return {
1716
- label,
1719
+ label: optionalText(step["name"]) || uses || (optionalText(step["run"]).split("\n")[0] ?? "") || optionalText(step["id"]) || "step",
1717
1720
  if: optionalText(step["if"]),
1718
1721
  uses,
1719
1722
  secrets: [...secretsOf(step)],
1720
- with: Object.fromEntries(Object.entries(inputs).map(([key, value]) => [key, optionalText(value)]))
1723
+ with: inputsOf(step),
1724
+ run: optionalText(step["run"])
1721
1725
  };
1722
1726
  }
1723
1727
  /** This function gives the `concurrency` of a workflow or of a job: a group as one text, or a map with `group`. */
@@ -1798,6 +1802,7 @@ function parsedJob(id, value, line, lines) {
1798
1802
  if: optionalText(job["if"]),
1799
1803
  needs: listValues(job["needs"]),
1800
1804
  uses: actionOf(optionalText(job["uses"])),
1805
+ with: inputsOf(job),
1801
1806
  permissions: permissionsOf(job),
1802
1807
  secrets: [...secrets],
1803
1808
  steps: Array.isArray(job["steps"]) ? job["steps"].map(parsedStep) : []
@@ -3273,11 +3278,19 @@ const securityGate = {
3273
3278
  * `version`, and its jobs publish and tag start after each build. Then the publish fails ("Artifact not found for name:
3274
3279
  * release"), and no pull request "Version the packages" opens: the repository releases nothing. On 2026-11-30, 48
3275
3280
  * callers had this form, and guidebook, Logger and docker-mongo had a changeset that waited.
3281
+ *
3282
+ * From 2026-12-02, the build also gives the output `drift` (scripts/release/drift.ts of the template). A drift is a
3283
+ * set of shipped files that differ from npm at the same version, with no code change. An example is a lock file update
3284
+ * of Renovate. The job `version` then also starts, and writes a patch changeset for them. Its condition reads the output drift. The
3285
+ * condition is safe at each pin of the template, because an older build job gives no output drift.
3276
3286
  */
3277
3287
  /** The release workflow of a repository. */
3278
3288
  const RELEASE = ".github/workflows/release.yml";
3279
3289
  /** The condition of the mode in the jobs publish and tag. */
3280
3290
  const GUARD = "needs.build.outputs.mode != 'version'";
3291
+ /** The end of the condition of the job version before the drift, and after it. */
3292
+ const VERSION_ONLY = "&& needs.build.outputs.mode == 'version' }}";
3293
+ const VERSION_OR_DRIFT = "&& (needs.build.outputs.mode == 'version' || needs.build.outputs.drift != '') }}";
3281
3294
  const BUILD_USES = /^\s+uses:\s*["']?mark1russell7\/template\/\.github\/workflows\/reusable-release-build\.yml@([0-9a-f]{40})\b/mu;
3282
3295
  const JOB = /^ {2}([A-Za-z0-9_-]+):\s*$/u;
3283
3296
  const IF_ONE_LINE = /^( {4}if:\s*\$\{\{)(.*)\}\}\s*$/u;
@@ -3311,7 +3324,7 @@ function versionJob(sha) {
3311
3324
  " version:",
3312
3325
  " name: Version pull request",
3313
3326
  " needs: build",
3314
- " if: ${{ !cancelled() && needs.build.result == 'success' && needs.build.outputs.mode == 'version' }}",
3327
+ ` if: \${{ !cancelled() && needs.build.result == 'success' ${VERSION_OR_DRIFT}`,
3315
3328
  ` uses: mark1russell7/template/.github/workflows/reusable-release-version.yml@${sha} # main`,
3316
3329
  " permissions:",
3317
3330
  " # The branch changeset-release/main and the pull request",
@@ -3351,6 +3364,20 @@ function guard(lines, name) {
3351
3364
  }
3352
3365
  return `the job "${name}" has no condition and no needs`;
3353
3366
  }
3367
+ /**
3368
+ * This function gives the condition of the job version the output drift of the build: a condition that ends with
3369
+ * VERSION_ONLY gets VERSION_OR_DRIFT. A condition of a different form is the own model of its repository, and does not change.
3370
+ */
3371
+ function addDrift(lines) {
3372
+ const range = jobRange(lines, "version");
3373
+ if (range === void 0) return;
3374
+ for (let i = range.start + 1; i < range.end; i += 1) {
3375
+ const line = lines[i] ?? "";
3376
+ if (!/^ {4}if:/u.test(line)) continue;
3377
+ if (!line.includes("needs.build.outputs.drift") && line.trimEnd().endsWith(VERSION_ONLY)) lines[i] = `${line.trimEnd().slice(0, -43)}${VERSION_OR_DRIFT}`;
3378
+ return;
3379
+ }
3380
+ }
3354
3381
  /** The path filter of the changesets: the merge of a changeset starts the release, which opens the version pull request. */
3355
3382
  const CHANGESET_PATH = ".changeset/*.md";
3356
3383
  const PATHS_FLOW = /^( {4}paths:[ \t]*\[)([^\]]*)(\][ \t]*(#.*)?)$/u;
@@ -3399,9 +3426,9 @@ function addChangesetPath(lines) {
3399
3426
  }
3400
3427
  }
3401
3428
  /**
3402
- * This function gives the release.yml with three changes. The job `version` (pinned to the commit of its build job)
3429
+ * This function gives the release.yml with four changes. The job `version` (pinned to the commit of its build job)
3403
3430
  * comes before the job publish. The jobs publish and tag get the condition of the mode. The path filter of `on.push`
3404
- * gets `.changeset/*.md`.
3431
+ * gets `.changeset/*.md`. The condition of the job version reads the output drift of the build (addDrift).
3405
3432
  * For a form that it does not know, it gives a reason and the text as it is. A file that has all three already does not change.
3406
3433
  */
3407
3434
  function addReleaseMode(text) {
@@ -3429,6 +3456,7 @@ function addReleaseMode(text) {
3429
3456
  while (at > 0 && /^ {2}#/u.test(lines[at - 1] ?? "")) at -= 1;
3430
3457
  lines.splice(at, 0, ...versionJob(sha));
3431
3458
  }
3459
+ addDrift(lines);
3432
3460
  const reason = addChangesetPath(lines);
3433
3461
  if (reason !== void 0) return {
3434
3462
  text,
@@ -3439,9 +3467,9 @@ function addReleaseMode(text) {
3439
3467
  const releaseModeRule = {
3440
3468
  id: "release-mode",
3441
3469
  failsFrom: "2026-12-07",
3442
- title: "A release.yml that calls the build of the template has the job version, its jobs publish and tag skip the mode version, and it starts on a change of .changeset/*.md.",
3470
+ title: "A release.yml that calls the build of the template has the job version, which also starts for a drift, its jobs publish and tag skip the mode version, and it starts on a change of .changeset/*.md.",
3443
3471
  reason: "From 2026-11-29, the build of the template packs nothing while a changeset waits (the mode \"version\"). A release.yml with no job version then fails its publish (\"Artifact not found for name: release\") and opens no pull request \"Version the packages\", so the repository releases nothing. On 2026-11-30, 48 callers had this form, and three had a changeset that waited.",
3444
- fix: "Add the job \"version\" of the release.yml of the template (reusable-release-version.yml), add \"needs.build.outputs.mode != 'version'\" to the conditions of the jobs publish and tag, and add \".changeset/*.md\" to the paths of on.push.",
3472
+ fix: "Add the job \"version\" of the release.yml of the template (reusable-release-version.yml), add \"needs.build.outputs.mode != 'version'\" to the conditions of the jobs publish and tag, add \".changeset/*.md\" to the paths of on.push, and let the condition of the job version also start on needs.build.outputs.drift.",
3445
3473
  sources: [{
3446
3474
  repo: "private",
3447
3475
  rule: "release-mode",
@@ -3461,7 +3489,8 @@ const releaseModeRule = {
3461
3489
  if (!callsReleaseBuild(text)) return { skipped: "release.yml calls no reusable-release-build.yml of the template" };
3462
3490
  const added = addReleaseMode(text);
3463
3491
  if (added.reason === void 0 && added.text === text) return [];
3464
- const message = hasReleaseMode(text) ? `${RELEASE} does not start on a change of .changeset/*.md: a merged changeset opens no pull request "Version the packages" until a package.json changes.` : `${RELEASE} has no job "version", and its jobs publish and tag do not skip the mode "version": a changeset on main stops each release.`;
3492
+ const noDrift = hasReleaseMode(text) && !text.includes("needs.build.outputs.drift") && added.text.includes("needs.build.outputs.drift");
3493
+ const message = !hasReleaseMode(text) ? `${RELEASE} has no job "version", and its jobs publish and tag do not skip the mode "version": a changeset on main stops each release.` : noDrift ? `${RELEASE}: the job "version" does not start for a drift (needs.build.outputs.drift), so a lock file update of Renovate waits for a person to add a changeset.` : `${RELEASE} does not start on a change of .changeset/*.md: a merged changeset opens no pull request "Version the packages" until a package.json changes.`;
3465
3494
  return [{
3466
3495
  file: RELEASE,
3467
3496
  message,
@@ -3977,6 +4006,7 @@ const SHARED_WORKFLOWS = [
3977
4006
  "reusable-release-tag.yml",
3978
4007
  "reusable-release-tree.yml",
3979
4008
  "reusable-release-version.yml",
4009
+ "reusable-rigs.yml",
3980
4010
  "reusable-security.yml"
3981
4011
  ];
3982
4012
  /** The shared actions of the template, by folder name under `.github/actions`, and the folder `bundles` of their bundles. */
@@ -4000,6 +4030,7 @@ const SHARED_ACTIONS = [
4000
4030
  "select",
4001
4031
  "setup-cue",
4002
4032
  "setup-playwright",
4033
+ "setup-pnpm",
4003
4034
  "site-check",
4004
4035
  "site-config",
4005
4036
  "site-pages",
@@ -5772,7 +5803,7 @@ const HOMES = [
5772
5803
  {
5773
5804
  area: "reactive-ui",
5774
5805
  title: "Reactive expressions and rendering by type",
5775
- covers: "the reactive node store and expressions of render, its viewer; splay renders any data with a viewer for each type",
5806
+ covers: "the reactive node store and expressions of render, its viewer; splay renders any data with a viewer for each type; the context pool: the action ring of a node (the actions of each type as a tree of data, one ring for each level with a back circle, the open path, the parent chain, the geometry of the ring, its styles watch, bar and standard), with no framework in its core",
5776
5807
  packages: [
5777
5808
  "@mark1russell7/render-dsl",
5778
5809
  "@mark1russell7/render-node",
@@ -5786,9 +5817,13 @@ const HOMES = [
5786
5817
  "subscription",
5787
5818
  "viewer",
5788
5819
  "render",
5789
- "react"
5820
+ "react",
5821
+ "context pool",
5822
+ "action ring",
5823
+ "radial menu",
5824
+ "context menu"
5790
5825
  ],
5791
- note: "@mark1russell7/splay is in mark1russell7/splay."
5826
+ note: "@mark1russell7/splay is in mark1russell7/splay. The context pool is planned as the package @mark1russell7/render-context-pool in mark1russell7/render."
5792
5827
  },
5793
5828
  {
5794
5829
  area: "browser-monitoring",
@@ -77480,7 +77515,7 @@ const roadmapParses = {
77480
77515
  return breaks;
77481
77516
  }
77482
77517
  };
77483
- // ../../node_modules/.pnpm/@mark1russell7+collections@0.12.3/node_modules/@mark1russell7/collections/build/graph/index.js
77518
+ // ../../node_modules/.pnpm/@mark1russell7+collections@0.12.4/node_modules/@mark1russell7/collections/build/graph/index.js
77484
77519
  /**
77485
77520
  * This function gives the strongly connected components of the directed graph of the nodes `0` to `n - 1`, in its
77486
77521
  * compact form. The edges of the node `v` go to the items of `targets` from `start[v]` up to `start[v + 1]`.
@@ -77961,6 +77996,11 @@ function mayRun(condition, event) {
77961
77996
  * A step of the action `give-way` of the template holds the jobs after its job to its `slots` runs at one time. The
77962
77997
  * runs that wait still hold the runner of the job of the step. Each other event (a schedule, a dispatch) gives one run.
77963
77998
  * The repository counts the class `other` one time: its peak is the largest peak of that class of each workflow.
77999
+ *
78000
+ * The option `runs` gives the measured runs at one time of a workflow and a class. A model of the run records gives
78001
+ * them. The model is Little's law `L = λ·W`, with the law of the run minutes in place of one `W`. The measured runs
78002
+ * replace the burst. A measured class `other` adds to the peak of the repository. The burst and the class `other` one
78003
+ * time are the cases with no records.
77964
78004
  */
77965
78005
  /** The jobs of a matrix that the reader cannot count and that has no `max-parallel`: the most that the rule runner-budget lets run. */
77966
78006
  const UNKNOWN_MATRIX_JOBS = 3;
@@ -77979,14 +78019,18 @@ function eventClass(event) {
77979
78019
  * This function gives the runs of a concurrency group that run at one time on the event. A group that depends on the commit
77980
78020
  * or the run, or no group, gives a burst on `push` and on pull requests. A group of the branch gives one run on `push` (the
77981
78021
  * default branch) and a burst of pull requests. Each other event gives one run. The burst of `push` is `pushBurst`, and its default is `burst`.
78022
+ *
78023
+ * The measured runs replace the burst. On an other event, they hold when the group depends on the commit, the run, the
78024
+ * branch or an input. A group that all runs share gives one run.
77982
78025
  */
77983
- function runsAtOnce(concurrency, event, burst, pushBurst = burst) {
78026
+ function runsAtOnce(concurrency, event, burst, pushBurst = burst, measured) {
77984
78027
  const kind = eventClass(event);
77985
- if (kind === void 0 || kind === "other") return 1;
77986
- const many = kind === "push" ? pushBurst : burst;
78028
+ if (kind === void 0 || kind === "other" && measured === void 0) return 1;
78029
+ const many = measured ?? (kind === "push" ? pushBurst : burst);
77987
78030
  if (concurrency === null) return many;
77988
78031
  const parts = groupParts(concurrency.group, event);
77989
78032
  if (parts.has("commit") || parts.has("run")) return many;
78033
+ if (kind === "other") return parts.has("ref") || parts.has("input") ? many : 1;
77990
78034
  return parts.has("ref") && kind === "pull" ? many : 1;
77991
78035
  }
77992
78036
  /** The action of the template that holds a run while earlier runs of a heavy workflow are open. */
@@ -78131,6 +78175,7 @@ function jobOfRun(job, event, local, options, seen) {
78131
78175
  * event with the most jobs. Each job has its jobs of one run and the runs of its group (the group at the top of the file,
78132
78176
  * else the group of the job). A job that `needs` a different job does not run at the same time as it in one run. Thus the
78133
78177
  * peak is the sum of the antichains of the layers of runs (`layeredPeak`). The peak is exact for the graph of the needs.
78178
+ * The option `runs` replaces the burst of a workflow and a class with its measured runs.
78134
78179
  */
78135
78180
  function workflowPeaks(workflows, options) {
78136
78181
  const local = new Map(workflows.map((workflow) => [workflow.file, workflow]));
@@ -78141,9 +78186,10 @@ function workflowPeaks(workflows, options) {
78141
78186
  if (kind === void 0) continue;
78142
78187
  const running = workflow.jobs.filter((job) => mayRun(job.if, event));
78143
78188
  const slots = slotsOfJobs(running, event);
78189
+ const measured = options.runs?.[`${workflow.file}@${kind}`];
78144
78190
  const jobs = running.map((job) => {
78145
78191
  const one = jobOfRun(job, event, local, options, /* @__PURE__ */ new Set([workflow.file]));
78146
- const runs = runsAtOnce(workflow.concurrency ?? job.concurrency, event, options.burst, options.pushBurst);
78192
+ const runs = runsAtOnce(workflow.concurrency ?? job.concurrency, event, options.burst, options.pushBurst, measured);
78147
78193
  const cap = slots.get(job.id);
78148
78194
  const held = cap !== void 0 && cap < runs;
78149
78195
  return {
@@ -78162,7 +78208,8 @@ function workflowPeaks(workflows, options) {
78162
78208
  if (peak > (classes[kind]?.peak ?? -1)) classes[kind] = {
78163
78209
  event,
78164
78210
  peak,
78165
- jobs
78211
+ jobs,
78212
+ ...measured === void 0 ? {} : { measured }
78166
78213
  };
78167
78214
  }
78168
78215
  const peak = Object.values(classes).reduce((sum, item) => sum + item.peak, 0);
@@ -78175,13 +78222,15 @@ function workflowPeaks(workflows, options) {
78175
78222
  }
78176
78223
  /**
78177
78224
  * This function gives the most jobs of the workflows of a repository at one time in a busy minute. The classes `push` and
78178
- * `pull` of each workflow add up. The class `other` counts one time for the repository: one schedule or one dispatch, the
78179
- * largest of each workflow.
78225
+ * `pull` of each workflow add up. A class `other` with measured runs adds up too. The class `other` with no measured
78226
+ * runs counts one time for the repository: one schedule or one dispatch, the largest of each workflow.
78180
78227
  */
78181
78228
  function repositoryPeak(peaks) {
78182
- return peaks.reduce((sum, item) => sum + (item.classes.push?.peak ?? 0) + (item.classes.pull?.peak ?? 0), 0) + Math.max(0, ...peaks.map((item) => item.classes.other?.peak ?? 0));
78229
+ const bursts = peaks.reduce((sum, item) => sum + (item.classes.push?.peak ?? 0) + (item.classes.pull?.peak ?? 0), 0);
78230
+ const others = peaks.flatMap((item) => item.classes.other === void 0 ? [] : [item.classes.other]);
78231
+ return bursts + others.reduce((sum, item) => sum + (item.measured === void 0 ? 0 : item.peak), 0) + Math.max(0, ...others.map((item) => item.measured === void 0 ? item.peak : 0));
78183
78232
  }
78184
- /** This function reads the option `called`: a list of `<file>=<jobs>`. A pair that does not parse is left out. */
78233
+ /** This function reads the options `called` and `runs`: a list of `<key>=<count>`. A pair that does not parse is left out. */
78185
78234
  function calledJobs(values) {
78186
78235
  const out = {};
78187
78236
  for (const value of values) {
@@ -78197,7 +78246,8 @@ function peakText(item) {
78197
78246
  const unknown = value.jobs.some((job) => !job.known) ? ", a call of an unknown workflow counts 1" : "";
78198
78247
  const held = value.jobs.filter((job) => job.slots !== void 0).map((job) => job.id);
78199
78248
  const slots = held.length === 0 ? "" : `, give-way holds ${held.join(", ")}`;
78200
- return `${kind} ${String(value.peak)} on ${value.event} (up to ${String(runs)} runs at one time${slots}${unknown})`;
78249
+ const measured = value.measured === void 0 ? "" : ", measured";
78250
+ return `${kind} ${String(value.peak)} on ${value.event} (up to ${String(runs)} runs at one time${measured}${slots}${unknown})`;
78201
78251
  });
78202
78252
  return `${item.file.slice(item.file.lastIndexOf("/") + 1)} ${String(item.peak)}: ${parts.join("; ")}`;
78203
78253
  }
@@ -78218,6 +78268,7 @@ const TEMPLATE_CALLED = [
78218
78268
  "reusable-release-tag.yml=1",
78219
78269
  "reusable-release-tree.yml=1",
78220
78270
  "reusable-release-version.yml=1",
78271
+ "reusable-rigs.yml=1",
78221
78272
  "reusable-security.yml=3"
78222
78273
  ];
78223
78274
  const runnerPeak = {
@@ -78247,6 +78298,11 @@ const runnerPeak = {
78247
78298
  default: 0,
78248
78299
  description: "The runs of push (a burst of merges) that start in a busy minute when each run has its own group. 0 uses the option burst."
78249
78300
  },
78301
+ runs: {
78302
+ type: "strings",
78303
+ default: [],
78304
+ description: "The measured runs at one time of a workflow and a class, as `<file>@<class>=<runs>` (`lab.yml@pull=13`). The class is push, pull or other. They replace the burst. A model of the run records gives them."
78305
+ },
78250
78306
  called: {
78251
78307
  type: "strings",
78252
78308
  default: TEMPLATE_CALLED,
@@ -78269,10 +78325,12 @@ const runnerPeak = {
78269
78325
  const called = calledJobs(Array.isArray(options["called"]) ? options["called"] : []);
78270
78326
  const burst = Math.max(1, Number(options["burst"]));
78271
78327
  const push = Number(options["pushBurst"]);
78328
+ const runs = calledJobs(Array.isArray(options["runs"]) ? options["runs"] : []);
78272
78329
  const peaks = workflowPeaks(workflows, {
78273
78330
  burst,
78274
78331
  pushBurst: push >= 1 ? push : burst,
78275
- called
78332
+ called,
78333
+ runs
78276
78334
  }).sort((a, b) => b.peak - a.peak);
78277
78335
  const total = repositoryPeak(peaks);
78278
78336
  if (total <= share) return [];
@@ -81078,4 +81136,4 @@ function runHook(args, io) {
81078
81136
  }
81079
81137
  export { lockedVersions as $, sharedDocsRule as $n, readJsonc as $r, consoleBreaks as $t, scriptsOf as A, findHomes as An, prPathFilters as Ar, HOME_PATTERNS as At, giveWaySlots as B, hasTests as Bn, STRICT_OPTIONS as Br, PRIVATE_NAME_LIST as Bt, setVersions as C, messageOf$1 as Cn, licenseFile as Cr, PAGES_WORKFLOWS as Ct, trustPolicy as D, HOME_EXPORTS as Dn, ACTIONS_COMMIT as Dr, publishTextSafe as Dt, TRAIN_SCOPES as E, signaturesOf as En, repositoryIsPublic as Er, exportsRequire as Et, sourceMain as F, npmNames as Fn, MATRIX_EXPAND_MAX as Fr, noLocalPaths as Ft, workflowPeaks as G, callsSharedCi as Gn, codePackages as Gr, lineNameHit as Gt, repositoryPeak as H, SHARED_ACTIONS as Hn, DEPENDENCY_FIELDS as Hr, firstNameMatch as Ht, TEMPLATE_CALLED as I, readOverlay as In, parseWorkflow as Ir, privateNamesFile as It, mayRun as J, callPermissions as Jn, keyLine as Jr, nameMatches as Jt, evaluateExpression as K, sharedCi as Kn, hasFile as Kr, lineNameHits as Kt, UNKNOWN_MATRIX_JOBS as L, SERVICE_PACKAGE as Ln, readAction as Lr, privateNamesFiles as Lt, testsRequired as M, mapText as Mn, summaryJob as Mr, PRIVATE_NAMES_FILE_VARIABLE as Mt, isSourcePath as N, mergeHomes as Nn, summaryName as Nr, PRIVATE_PATTERNS_VARIABLE as Nt, typedScripts as O, HOMES as On, convertGate as Or, packNoBuildinfo as Ot, pathsOf as P, npmDrift as Pn, gateAfterCancel as Pr, invalidPatternBreaks as Pt, releaseFiles as Q, githubFetch as Qn, parseJsonc as Qr, NOT_SOURCE as Qt, calledJobs as R, runCalls as Rn, readWorkflow as Rr, privatePatterns as Rt, namedVersions as S, homePackage as Sn, authorOf as Sr, pushMainOnly as St, IGNORE_AFTER as T, reposOf as Tn, mitText as Tr, pagesSite as Tt, runnerPeak as U, SHARED_CI as Un, RULE_WARN_DAYS as Ur, isAllowedHit as Ut, matrixPeak as V, tsconfigTest as Vn, cuePreset as Vr, PrivateNameListError as Vt, runsAtOnce as W, SHARED_WORKFLOWS as Wn, cleanPath as Wr, isCommonUse as Wt, roadmapParses as X, HOME_TIMEOUT_MS as Xn, matchesAny as Xr, pathNameHit as Xt, roadmapOfLine as Y, callPermissionsRule as Yn, lineOf as Yr, parsePrivateNames as Yt, requiredScripts as Z, blockHash as Zn, parseCatFileBatch as Zr, CONSOLE_LAST_DAY as Zt, runPrePushArgs as _, homeModule as _n, securityOneJob as _r, isGitSpecifier as _t, listRules as a, specifiersOf as ai, REAL_COMPARE as an, isSecurityGate as ar, SHIPPED_FIELDS as at, GITHUB_YAML as b, modulesOf as bn, scheduleMinute as br, siteCheckInCi as bt, runCli as c, parseRuleConfig as ci, coverageProvider as cn, SUMMARY_GATES as cr, unreleasedChange as ct, HOOK_MARKER as d, homeShape as dn, startsOnPullRequest as dr, hiddenFailures as dt, replaceLine as ei, consoleGate as en, addReleaseMode as er, minorOf as et, NO_READ_LINE as f, homeShapesOf as fn, summaryJobRule as fr, jobFails as ft, prePush as g, HOME_SHAPES as gn, securityCallers as gr, pipeFails as gt, parsePrePushArgs as h, spansOf as hn, SECURITY_TIMEOUT_MINUTES as hr, swallowsTests as ht, formatResult as i, showFiles as ii, noBuildOutput as in, SECURITY_FILE as ir, NPM_REGISTRY as it, typedFiles as j, mapMarkdown as jn, skippableJobs as jr, PRIVATE_NAMES_FILE_CONFIG as jt, configsOfScript as k, MAP_RULE as kn, gateTrigger as kr, DEFAULT_ALLOWED as kt, runFix as l, apiReportScript as ln, addSummaryJob as lr, unreleasedChangeRule as lt, installHook as m, shapesOfSource as mn, SECURITY_SCAN_INPUTS as mr, startsTests as mt, annotations as n, runGit as ni, isCliFile as nn, hasReleaseMode as nr, publishedMinorRule as nt, readConfig as o, defaultOptions as oi, hasImportMetaMain as on, securityGate as or, UNSHIPPED_FILES as ot, PRE_PUSH_HOOK as p, shapeMessage as pn, SECURITY_SCAN_COMMIT as pr, parseAdvisory as pt, groupParts as q, setupCue as qn, inFolder as qr, mergePrivateNames as qt, createContext as r, runGitShow as ri, noConsole as rn, releaseModeRule as rr, reachOf as rt, runChecks as s, parseConfig as si, mainCheck as sn, securityWorkflow as sr, npmLookup as st, USAGE as t, repositoryOfRemote as ti, consoleKind as tn, callsReleaseBuild as tr, publishedMinor as tt, summaryMarkdown as u, containedHome as un, hasSummaryJob as ur, playwrightInstall as ut, RULES as v, moduleMessage as vn, withOneJob as vr, isPinned as vt, versionTitle as w, repoOf as wn, licenseFileOf as wr, pagesCalls as wt, workflowParses as x, declaredName as xn, LICENSE_TEXTS as xr, pagesAfterRelease as xt, workspaceProtocol as y, moduleUses as yn, runnerBudget as yr, pinnedGitDeps as yt, eventClass as z, serviceRunMain as zn, yamlFaults as zr, privateTextBreaks as zt };
81080
81138
 
81081
- //# sourceMappingURL=run-DOZFXGy_.js.map
81139
+ //# sourceMappingURL=run-51JRimSi.js.map