@mark1russell7/conventions 0.50.16 → 0.51.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
@@ -78,6 +78,8 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
78
78
  | `shared-ci` | The workflow `ci.yml` calls the shared workflow `reusable-ci.yml` of the template, and no workflow or action of the repository has the name of a shared one of the template. A `ci.yml` with its own steps, or a local copy, does not get the fixes and the new checks of the template. The template itself is not examined (option `home`). On 2026-11-07, 3 of 19 repositories of the account ran CI steps of their own. |
79
79
  | `setup-cue` | No workflow or action installs the cue CLI with its own command (a download of a release asset of `cue-lang/cue`, or `go install`). A caller of `reusable-ci.yml` gives the input `cue-version`. Another job uses the action `setup-cue` of the template. The action installs the CLI from a cache, or with retries and a sha256 check. On 2026-11-08, a 504 of GitHub failed each bare `curl` of the CLI. |
80
80
  | `playwright-install` | No workflow, action or site config installs the Playwright browsers with its own command (`playwright install` or `install-deps`). A job step uses the action `setup-playwright` of the template. The build of `reusable-pages.yml` gives the key `playwright-browsers`. The action has a cache, a time limit and one more try. On 2026-11-11 the package mirror did not resolve, and each bare install of client and lag stopped in apt. The rule fails from 2026-12-01. | client run 43034026417, lag #113 and #115, template #315 (2026-11-11). |
81
+ | `moved-repo-calls` | No `uses:` of a workflow or composite action names a repository by its old owner after the repository moved. GitHub does not follow the redirect of a moved repository for `uses:`, so each run fails before it starts ("workflow file issue"). The package knows the moves (`src/moves.ts`), and the option `moves` adds more (`owner/name=owner/name`). `conventions fix` writes the new owner. The rule fails from 2026-12-09. | ireko #133 (2026-11-24). |
82
+ | `schedule-literals` | In a workflow that reads `github.event.schedule`, each cron in quotes is a cron of its own `on.schedule`. A scheduled run gives the cron that started it, so an old copy of a cron matches no run. `conventions fix` writes the cron when the file has one cron that no comparison names and one copy that no schedule has. The rule fails from 2026-12-09. | systems #669 (2026-11-24). |
81
83
  | `gate-trigger` | No workflow has `paths` or `paths-ignore` on `on.pull_request` or `on.pull_request_target`. The ruleset needs the summary check `<Name> OK` of each gate, and a workflow with a path filter does not start on each pull request. Then its check is not there, the ruleset cannot ask for it, and a pull request can merge before the gate ends. A gate uses the actions `changes` and `gate-summary` of the template (`CI.md`, "A gate with paths"). | private `gate-trigger` (a decision of 2026-11-02). |
82
84
  | `summary-job` | Each gate workflow (`ci.yml`, `security.yml`) that starts on pull requests has one summary job `<Name> OK` that needs each of its jobs. The ruleset names only the summary checks. Without them, it must name each job: then it does not wait for a new job, and a renamed job blocks each pull request. On 2026-11-09, 21 of 43 public repositories had a gate with no summary job. | private `summary-job` (a decision of 2026-11-09). |
83
85
  | `license-file` | Each public package has a license field, and a license file with the same license in its own folder. A public repository, or a repository with a public package, has a license file at its root. In a GitHub Actions run, the event file tells if the repository is public, and the option `license` (MIT by default) is the license of a root with no public package. npm packs only the license file of the folder of the package, and GitHub reads only the one of the root: on 2026-11-02 five public repositories showed no license on GitHub while npm said MIT. `conventions fix` writes the missing files. | private strategy (2026-11-02). |
package/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { c as runCli } from "./run-CekNIcxq.js";
2
+ import { c as runCli } from "./run-BbSnF13L.js";
3
3
  import { readFileSync } from "node:fs";
4
4
  // src/cli.ts
5
5
  try {
@@ -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/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/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.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/rules/shared-docs.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/workflow.ts","../src/rules/workflow-parses.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/pre-push.ts","../src/home-exports.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;;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,QAAQ,SAAS,aAAa,SAAS;;;qBAO5B;;wBAGG,aAAa,U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AS9C;;;;;;;;qBAgCA;;UAgBI;;WAEN;WACA,KAAK,SAAS;;WAEd,MAAM;;;;;;;wBAQD,YAAY,SAAS,aAAa,IAAI,KAAK;;qBCnd9C,cAAc,SAAS;WAA0B;WAA0B;;;;;;;;;qBCM3E;;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/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/rules/license-file.ts","../src/rules/coverage-provider.ts","../src/rules/main-check.ts","../src/rules/no-build-output.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/rules/shared-docs.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/workflow.ts","../src/rules/workflow-parses.ts","../src/rules/workspace-protocol.ts","../src/rules/index.ts","../src/run.ts","../src/pre-push.ts","../src/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BAAiB;;WAEjB;;;wBAaK,WAAW,cAAc,iBAAgB,SAAiB;;wBAO1D,cAAc,cAAc,QAAQ,mBAAmB,UAAS,KAAK,0CAA+C;;wBAwCpH,UAAU,SAAS,eAAe;;UAkEjC;;WAEN;;WAEA;;WAEA,QAAQ;;;;;;;wBAWH,OAAO,SAAS,eAAe;;wBAyC/B,aAAa,QAAQ;;wBA4BrB,gBAAgB,QAAQ;;;;;;wBA2BxB,YAAY,QAAQ;;wBAapB,UAAU,QAAQ,+BAA+B,iBAAgB;;UAkBhE;WACN;WACA,KAAK,SAAS;WACd,SAAS;WACT,SAAS;;WAET;;;qBAIE;;wBAwEG,OAAO,yBAAyB,IAAI;;qBChYvC;;UAGI;;WAEN;;;;;WAKA;;;;;WAKA;;;;;WAKA;;WAEA;WACA,KAAK,SAAS;;WAEd;;WAEA,MAAM;;WAEN,YAAY;;;;;;;;;;;;wBA0MP,QAAQ,SAAS,gBAAgB,IAAI,KAAK;;UA6GzC;;WAEN;WACA;WACA;WACA;;;;;;wBAOK,iBAAiB,0BAA0B;;;;;wBAuB3C,eAAe,MAAM,aAAa,IAAI,KAAK;;qBAS9C;;;;;;;;qBAgCA;;UAgBI;;WAEN;WACA,KAAK,SAAS;;WAEd,MAAM;;;;;;;wBAQD,YAAY,SAAS,aAAa,IAAI,KAAK;;qBCnd9C,cAAc,SAAS;WAA0B;WAA0B;;;;;;;;;qBCM3E;;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 unreleasedChange, $n as summaryJob, $t as homePackage, A as scriptsOf, An as addSummaryJob, At as privateTextBreaks, B as roadmapOfLine, Bn as runnerBudget, Bt as parsePrivateNames, C as setVersions, Cn as sharedCi, Cr as runGitShow, Ct as PRIVATE_NAMES_FILE_VARIABLE, D as trustPolicy, Dn as securityGate, Dr as parseConfig, Dt as privateNamesFile, E as TRAIN_SCOPES, En as isSecurityGate, Er as defaultOptions, Et as noLocalPaths, F as sourceMain, Fn as SECURITY_SCAN_INPUTS, Ft as isCommonUse, G as minorOf, Gn as licenseFileOf, Gt as mainCheck, H as requiredScripts, Hn as LICENSE_TEXTS, Ht as noBuildOutput, I as HOME_TIMEOUT_MS, In as SECURITY_TIMEOUT_MINUTES, It as lineNameHit, J as reachOf, Jn as ACTIONS_COMMIT, Jt as homeModule, K as publishedMinor, Kn as mitText, Kt as coverageProvider, L as blockHash, Ln as securityCallers, Lt as lineNameHits, M as testsRequired, Mn as startsOnPullRequest, Mt as PrivateNameListError, N as isSourcePath, Nn as summaryJobRule, Nt as firstNameMatch, O as typedScripts, On as securityWorkflow, Or as parseRuleConfig, Ot as privateNamesFiles, P as pathsOf, Pn as SECURITY_SCAN_COMMIT, Pt as isAllowedHit, Q as npmLookup, Qn as skippableJobs, Qt as declaredName, R as githubFetch, Rn as securityOneJob, Rt as mergePrivateNames, S as namedVersions, Sn as callsSharedCi, Sr as runGit, St as PRIVATE_NAMES_FILE_CONFIG, T as IGNORE_AFTER, Tn as SECURITY_FILE, Tr as specifiersOf, Tt as invalidPatternBreaks, U as releaseFiles, Un as authorOf, Ut as REAL_COMPARE, V as roadmapParses, Vn as scheduleMinute, Vt as pathNameHit, W as lockedVersions, Wn as licenseFile, Wt as hasImportMetaMain, X as SHIPPED_FIELDS, Xn as gateTrigger, Xt as moduleUses, Y as NPM_REGISTRY, Yn as convertGate, Yt as moduleMessage, Z as UNSHIPPED_FILES, Zn as prPathFilters, Zt as modulesOf, _ as runPrePushArgs, _n as hasTests, _r as parseCatFileBatch, _t as exportsRequire, a as listRules, an as HOMES, ar as yamlFaults, at as startsTests, b as GITHUB_YAML, bn as SHARED_CI, br as replaceLine, bt as DEFAULT_ALLOWED, c as runCli, cn as mapMarkdown, cr as DEPENDENCY_FIELDS, ct as isGitSpecifier, d as HOOK_MARKER, dn as npmDrift, dr as codePackages, dt as siteCheckInCi, en as messageOf, er as summaryName, et as unreleasedChangeRule, f as NO_READ_LINE, fn as npmNames, fr as hasFile, ft as pagesAfterRelease, g as prePush, gn as serviceRunMain, gr as matchesAny, gt as pagesSite, h as parsePrePushArgs, hn as runCalls, hr as lineOf, ht as pagesCalls, i as formatResult, in as HOME_EXPORTS, ir as readWorkflow, it as parseAdvisory, j as typedFiles, jn as hasSummaryJob, jt as PRIVATE_NAME_LIST, k as configsOfScript, kn as SUMMARY_GATES, kt as privatePatterns, l as runFix, ln as mapText, lr as RULE_WARN_DAYS, lt as isPinned, m as installHook, mn as SERVICE_PACKAGE, mr as keyLine, mt as PAGES_WORKFLOWS, n as annotations, nn as reposOf, nr as parseWorkflow, nt as hiddenFailures, o as readConfig, on as MAP_RULE, or as STRICT_OPTIONS, ot as swallowsTests, p as PRE_PUSH_HOOK, pn as readOverlay, pr as inFolder, pt as pushMainOnly, q as publishedMinorRule, qn as repositoryIsPublic, qt as apiReportScript, r as createContext, rn as signaturesOf, rr as readAction, rt as jobFails, s as runChecks, sn as findHomes, sr as cuePreset, st as pipeFails, t as USAGE, tn as repoOf, tr as gateAfterCancel, tt as playwrightInstall, u as summaryMarkdown, un as mergeHomes, ur as cleanPath, ut as pinnedGitDeps, v as RULES, vn as tsconfigTest, vr as parseJsonc, vt as publishTextSafe, w as versionTitle, wn as setupCue, wr as showFiles, wt as PRIVATE_PATTERNS_VARIABLE, x as workflowParses, xn as SHARED_WORKFLOWS, xr as repositoryOfRemote, xt as HOME_PATTERNS, y as workspaceProtocol, yn as SHARED_ACTIONS, yr as readJsonc, yt as packNoBuildinfo, z as sharedDocsRule, zn as withOneJob, zt as nameMatches } from "./run-CekNIcxq.js";
1
+ import { $ as unreleasedChange, $n as summaryJob, $t as homePackage, A as scriptsOf, An as addSummaryJob, At as privateTextBreaks, B as roadmapOfLine, Bn as runnerBudget, Bt as parsePrivateNames, C as setVersions, Cn as sharedCi, Cr as runGitShow, Ct as PRIVATE_NAMES_FILE_VARIABLE, D as trustPolicy, Dn as securityGate, Dr as parseConfig, Dt as privateNamesFile, E as TRAIN_SCOPES, En as isSecurityGate, Er as defaultOptions, Et as noLocalPaths, F as sourceMain, Fn as SECURITY_SCAN_INPUTS, Ft as isCommonUse, G as minorOf, Gn as licenseFileOf, Gt as mainCheck, H as requiredScripts, Hn as LICENSE_TEXTS, Ht as noBuildOutput, I as HOME_TIMEOUT_MS, In as SECURITY_TIMEOUT_MINUTES, It as lineNameHit, J as reachOf, Jn as ACTIONS_COMMIT, Jt as homeModule, K as publishedMinor, Kn as mitText, Kt as coverageProvider, L as blockHash, Ln as securityCallers, Lt as lineNameHits, M as testsRequired, Mn as startsOnPullRequest, Mt as PrivateNameListError, N as isSourcePath, Nn as summaryJobRule, Nt as firstNameMatch, O as typedScripts, On as securityWorkflow, Or as parseRuleConfig, Ot as privateNamesFiles, P as pathsOf, Pn as SECURITY_SCAN_COMMIT, Pt as isAllowedHit, Q as npmLookup, Qn as skippableJobs, Qt as declaredName, R as githubFetch, Rn as securityOneJob, Rt as mergePrivateNames, S as namedVersions, Sn as callsSharedCi, Sr as runGit, St as PRIVATE_NAMES_FILE_CONFIG, T as IGNORE_AFTER, Tn as SECURITY_FILE, Tr as specifiersOf, Tt as invalidPatternBreaks, U as releaseFiles, Un as authorOf, Ut as REAL_COMPARE, V as roadmapParses, Vn as scheduleMinute, Vt as pathNameHit, W as lockedVersions, Wn as licenseFile, Wt as hasImportMetaMain, X as SHIPPED_FIELDS, Xn as gateTrigger, Xt as moduleUses, Y as NPM_REGISTRY, Yn as convertGate, Yt as moduleMessage, Z as UNSHIPPED_FILES, Zn as prPathFilters, Zt as modulesOf, _ as runPrePushArgs, _n as hasTests, _r as parseCatFileBatch, _t as exportsRequire, a as listRules, an as HOMES, ar as yamlFaults, at as startsTests, b as GITHUB_YAML, bn as SHARED_CI, br as replaceLine, bt as DEFAULT_ALLOWED, c as runCli, cn as mapMarkdown, cr as DEPENDENCY_FIELDS, ct as isGitSpecifier, d as HOOK_MARKER, dn as npmDrift, dr as codePackages, dt as siteCheckInCi, en as messageOf, er as summaryName, et as unreleasedChangeRule, f as NO_READ_LINE, fn as npmNames, fr as hasFile, ft as pagesAfterRelease, g as prePush, gn as serviceRunMain, gr as matchesAny, gt as pagesSite, h as parsePrePushArgs, hn as runCalls, hr as lineOf, ht as pagesCalls, i as formatResult, in as HOME_EXPORTS, ir as readWorkflow, it as parseAdvisory, j as typedFiles, jn as hasSummaryJob, jt as PRIVATE_NAME_LIST, k as configsOfScript, kn as SUMMARY_GATES, kt as privatePatterns, l as runFix, ln as mapText, lr as RULE_WARN_DAYS, lt as isPinned, m as installHook, mn as SERVICE_PACKAGE, mr as keyLine, mt as PAGES_WORKFLOWS, n as annotations, nn as reposOf, nr as parseWorkflow, nt as hiddenFailures, o as readConfig, on as MAP_RULE, or as STRICT_OPTIONS, ot as swallowsTests, p as PRE_PUSH_HOOK, pn as readOverlay, pr as inFolder, pt as pushMainOnly, q as publishedMinorRule, qn as repositoryIsPublic, qt as apiReportScript, r as createContext, rn as signaturesOf, rr as readAction, rt as jobFails, s as runChecks, sn as findHomes, sr as cuePreset, st as pipeFails, t as USAGE, tn as repoOf, tr as gateAfterCancel, tt as playwrightInstall, u as summaryMarkdown, un as mergeHomes, ur as cleanPath, ut as pinnedGitDeps, v as RULES, vn as tsconfigTest, vr as parseJsonc, vt as publishTextSafe, w as versionTitle, wn as setupCue, wr as showFiles, wt as PRIVATE_PATTERNS_VARIABLE, x as workflowParses, xn as SHARED_WORKFLOWS, xr as repositoryOfRemote, xt as HOME_PATTERNS, y as workspaceProtocol, yn as SHARED_ACTIONS, yr as readJsonc, yt as packNoBuildinfo, z as sharedDocsRule, zn as withOneJob, zt as nameMatches } from "./run-BbSnF13L.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-_CIq-8ei.js";
4
4
  // src/release-text.ts
@@ -3195,7 +3195,7 @@ const securityGate = {
3195
3195
  * GitHub fails at times with a 504, and a bare `curl` then fails the job.
3196
3196
  */
3197
3197
  /** The files of a composite action. */
3198
- const ACTION$2 = /^\.github\/actions\/.+\/action\.ya?ml$/;
3198
+ const ACTION$3 = /^\.github\/actions\/.+\/action\.ya?ml$/;
3199
3199
  /** The action of the template itself. It is the one place with the download. */
3200
3200
  const SHARED_ACTION$1 = ".github/actions/setup-cue/action.yml";
3201
3201
  /** A hand-written install of the cue CLI: a download of a release asset, or a build with `go install`. */
@@ -3242,7 +3242,7 @@ const setupCue = {
3242
3242
  const files = context.gitFiles();
3243
3243
  if (files === void 0) return { skipped: "the root is not in a git repository" };
3244
3244
  const breaks = [];
3245
- for (const file of files.filter((path) => (WORKFLOW$1.test(path) || ACTION$2.test(path)) && path !== SHARED_ACTION$1).sort(byCode)) {
3245
+ for (const file of files.filter((path) => (WORKFLOW$1.test(path) || ACTION$3.test(path)) && path !== SHARED_ACTION$1).sort(byCode)) {
3246
3246
  let text;
3247
3247
  try {
3248
3248
  text = readFileSync(join(context.root, file), "utf8");
@@ -3310,7 +3310,7 @@ const SHARED_ACTIONS = [
3310
3310
  /** The `uses` value of a job that calls the shared CI, with no pin. */
3311
3311
  const SHARED_CI = "mark1russell7/template/.github/workflows/reusable-ci.yml";
3312
3312
  /** The action folder of a path: `.github/actions/<name>/action.yml` gives `<name>`. */
3313
- const ACTION$1 = /^\.github\/actions\/([^/]+)\//;
3313
+ const ACTION$2 = /^\.github\/actions\/([^/]+)\//;
3314
3314
  /** The file name of a path. */
3315
3315
  const baseName = (path) => path.slice(path.lastIndexOf("/") + 1);
3316
3316
  /** This function tells if a job of a workflow text uses the shared CI of the template. */
@@ -3374,7 +3374,7 @@ const sharedCi = {
3374
3374
  });
3375
3375
  const actions = /* @__PURE__ */ new Set();
3376
3376
  for (const file of files) {
3377
- const folder = ACTION$1.exec(file)?.[1];
3377
+ const folder = ACTION$2.exec(file)?.[1];
3378
3378
  if (folder !== void 0 && SHARED_ACTIONS.includes(folder) && !actions.has(folder)) {
3379
3379
  actions.add(folder);
3380
3380
  breaks.push({
@@ -17565,6 +17565,171 @@ const mainCheck = {
17565
17565
  return breaks;
17566
17566
  }
17567
17567
  };
17568
+ // src/moves.ts
17569
+ /** Each known move. The rows come from `gh api repos/mark1russell7/<name>` for each repository of metrograph-labs, on 2026-11-25. */
17570
+ const MOVES = [
17571
+ {
17572
+ from: "mark1russell7/alerts",
17573
+ to: "metrograph-labs/alerts"
17574
+ },
17575
+ {
17576
+ from: "mark1russell7/capacity",
17577
+ to: "metrograph-labs/capacity"
17578
+ },
17579
+ {
17580
+ from: "mark1russell7/codeatlas",
17581
+ to: "metrograph-labs/codeatlas"
17582
+ },
17583
+ {
17584
+ from: "mark1russell7/highways",
17585
+ to: "metrograph-labs/highways"
17586
+ },
17587
+ {
17588
+ from: "mark1russell7/ireko",
17589
+ to: "metrograph-labs/ireko"
17590
+ },
17591
+ {
17592
+ from: "mark1russell7/layout-contract",
17593
+ to: "metrograph-labs/layout-contract"
17594
+ },
17595
+ {
17596
+ from: "mark1russell7/netdiag",
17597
+ to: "metrograph-labs/netdiag"
17598
+ },
17599
+ {
17600
+ from: "mark1russell7/packing",
17601
+ to: "metrograph-labs/packing"
17602
+ },
17603
+ {
17604
+ from: "mark1russell7/systems",
17605
+ to: "metrograph-labs/systems"
17606
+ },
17607
+ {
17608
+ from: "mark1russell7/typeset",
17609
+ to: "metrograph-labs/typeset"
17610
+ },
17611
+ {
17612
+ from: "mark1russell7/vex",
17613
+ to: "metrograph-labs/vex"
17614
+ }
17615
+ ];
17616
+ /**
17617
+ * This function reads a move in the form `owner/name=owner/name`, as the option `moves` gives it. It gives undefined
17618
+ * for a text of another form.
17619
+ */
17620
+ function parseMove(text) {
17621
+ const match = /^\s*([\w.-]+\/[\w.-]+)\s*=\s*([\w.-]+\/[\w.-]+)\s*$/.exec(text);
17622
+ if (match === null) return void 0;
17623
+ return {
17624
+ from: (match[1] ?? "").toLowerCase(),
17625
+ to: (match[2] ?? "").toLowerCase()
17626
+ };
17627
+ }
17628
+ /**
17629
+ * This function gives the last place of a repository after each move of `moves`, or undefined when it did not move. A
17630
+ * chain of moves (a to b, then b to c) gives c. A loop stops at the first repeat.
17631
+ */
17632
+ function movedTo(repo, moves) {
17633
+ const next = new Map(moves.map((move) => [move.from.toLowerCase(), move.to.toLowerCase()]));
17634
+ const seen = /* @__PURE__ */ new Set();
17635
+ let at = repo.toLowerCase();
17636
+ while (next.has(at) && !seen.has(at)) {
17637
+ seen.add(at);
17638
+ at = next.get(at) ?? at;
17639
+ }
17640
+ return at === repo.toLowerCase() ? void 0 : at;
17641
+ }
17642
+ // src/rules/moved-repo-calls.ts
17643
+ /**
17644
+ * The rule `moved-repo-calls`: no workflow or composite action calls a reusable workflow or an action by the old name
17645
+ * of a moved repository. GitHub does not follow the redirect of a moved repository for `uses:`.
17646
+ * Each run of the workflow then fails before it starts ("workflow file issue"), and no job shows why.
17647
+ */
17648
+ /** The files of a composite action. */
17649
+ const ACTION$1 = /^\.github\/actions\/.+\/action\.ya?ml$/;
17650
+ /** The value of `uses:` that names another repository: `owner/name`, then a path or nothing, then `@` and the ref. */
17651
+ const REMOTE = /^([\w.-]+)\/([\w.-]+)(\/[^@\s]*)?@\S+$/;
17652
+ /** This function gives each `uses:` of a workflow or an action that names another repository. A local path (`./`) and a Docker image (`docker://`) are not calls of a repository. */
17653
+ function remoteCalls(text) {
17654
+ const found = [];
17655
+ workflowLines(text).forEach((line, index) => {
17656
+ const value = keyValue(line, "uses");
17657
+ if (value === void 0) return;
17658
+ const match = REMOTE.exec(value);
17659
+ if (match === null) return;
17660
+ found.push({
17661
+ line: index + 1,
17662
+ repo: `${match[1] ?? ""}/${match[2] ?? ""}`
17663
+ });
17664
+ });
17665
+ return found;
17666
+ }
17667
+ /** This function gives the line with the first `<repo>/` or `<repo>@` after `uses:` replaced by the new repository. */
17668
+ function movedLine(line, repo, to) {
17669
+ const at = line.indexOf("uses:");
17670
+ const start = line.indexOf(repo, at < 0 ? 0 : at);
17671
+ if (start < 0) return line;
17672
+ return line.slice(0, start) + to + line.slice(start + repo.length);
17673
+ }
17674
+ const movedRepoCalls = {
17675
+ id: "moved-repo-calls",
17676
+ title: "No `uses:` of a workflow or an action names a repository by an old owner after the repository moved.",
17677
+ reason: "GitHub sends a request for the old name of a moved repository to the new name, but a call of a reusable workflow or an action does not follow it. On 2026-11-24, after vex moved to metrograph-labs, each CI run of ireko failed before it started: its ci.yml called mark1russell7/vex/.github/workflows/module-bytes.yml.",
17678
+ fix: "Write the new owner in the `uses:` line. The ref (a commit) stays the same, because the history of the repository did not change. `conventions fix` writes it.",
17679
+ sources: [{
17680
+ repo: "ireko",
17681
+ rule: "ci",
17682
+ doc: "ireko #133 (2026-11-24): the CI of main failed before it started (workflow file issue) after vex moved, until the call named metrograph-labs/vex"
17683
+ }, {
17684
+ repo: "private",
17685
+ rule: "moved-repo-calls",
17686
+ doc: "a decision of 2026-11-24: a gate holds each call of a moved repository"
17687
+ }],
17688
+ options: { moves: {
17689
+ type: "strings",
17690
+ default: [],
17691
+ description: "More moves for this repository, each in the form `owner/name=owner/name`, after the moves that the package knows."
17692
+ } },
17693
+ failsFrom: "2026-12-09",
17694
+ check(context, options) {
17695
+ const files = context.gitFiles();
17696
+ if (files === void 0) return { skipped: "the root is not in a git repository" };
17697
+ const extra = options["moves"].map((text) => ({
17698
+ text,
17699
+ move: parseMove(text)
17700
+ }));
17701
+ const bad = extra.find((each) => each.move === void 0);
17702
+ if (bad !== void 0) return { skipped: `the option moves has "${bad.text}", which is not in the form owner/name=owner/name` };
17703
+ const moves = [...MOVES, ...extra.map((each) => each.move)];
17704
+ const breaks = [];
17705
+ for (const file of files.filter((path) => WORKFLOW$1.test(path) || ACTION$1.test(path)).sort(byCode)) {
17706
+ let text;
17707
+ try {
17708
+ text = readFileSync(join(context.root, file), "utf8");
17709
+ } catch {
17710
+ continue;
17711
+ }
17712
+ const lines = text.split(/\r?\n/);
17713
+ for (const call of remoteCalls(text)) {
17714
+ const to = movedTo(call.repo, moves);
17715
+ if (to === void 0) continue;
17716
+ const original = lines[call.line - 1] ?? "";
17717
+ const after = replaceLine(text, call.line, [movedLine(original, call.repo, to)]);
17718
+ breaks.push({
17719
+ file,
17720
+ line: call.line,
17721
+ message: `${file} calls ${call.repo}, which moved to ${to}. GitHub does not follow the move for uses:, so each run fails before it starts. Write ${to} in its place.`,
17722
+ ...after === text ? {} : { edits: [{
17723
+ file,
17724
+ before: text,
17725
+ after
17726
+ }] }
17727
+ });
17728
+ }
17729
+ }
17730
+ return breaks;
17731
+ }
17732
+ };
17568
17733
  // src/rules/no-build-output.ts
17569
17734
  /**
17570
17735
  * The rule `no-build-output`: git does not keep build output.
@@ -21443,6 +21608,102 @@ const roadmapParses = {
21443
21608
  return breaks;
21444
21609
  }
21445
21610
  };
21611
+ // src/rules/schedule-literals.ts
21612
+ /**
21613
+ * The rule `schedule-literals`: a workflow can compare `github.event.schedule` with a cron in quotes. Each such cron
21614
+ * is a cron of the `on.schedule` of the same file. A scheduled run gives the cron that started it. A copy that does
21615
+ * not match matches no run, for example after a change of the minute of the schedule. That branch then does not run.
21616
+ */
21617
+ /** A cron of five fields, with one space or more between them. The first field (the minute) has a digit or `*`. */
21618
+ const CRON = new RegExp(`^[\\d*][\\d*/,-]*(?:\\s+[\\d*/,A-Za-z-]+){4}$`);
21619
+ /** A text in single or double quotes on a line. */
21620
+ const QUOTED = /'([^'\n]*)'|"([^"\n]*)"/g;
21621
+ /** This function tells if a text is a cron of five fields. */
21622
+ const isCron = (text) => CRON.test(text.trim());
21623
+ /** This function gives a cron with one space between its fields, so two forms of one cron compare the same. */
21624
+ const normalCron = (text) => text.trim().split(/\s+/).join(" ");
21625
+ /** This function reads the crons of a workflow. It does not read a comment line. */
21626
+ function workflowCrons(text) {
21627
+ const schedule = [];
21628
+ const literals = [];
21629
+ let readsSchedule = false;
21630
+ workflowLines(text).forEach((line, index) => {
21631
+ if (/github\.event\.schedule\b/.test(line)) readsSchedule = true;
21632
+ const cron = keyValue(line, "cron");
21633
+ if (cron !== void 0) {
21634
+ if (isCron(cron)) schedule.push(normalCron(cron));
21635
+ return;
21636
+ }
21637
+ for (const match of line.matchAll(QUOTED)) {
21638
+ const value = match[1] ?? match[2] ?? "";
21639
+ if (isCron(value)) literals.push({
21640
+ line: index + 1,
21641
+ text: value
21642
+ });
21643
+ }
21644
+ });
21645
+ return {
21646
+ schedule,
21647
+ literals,
21648
+ readsSchedule
21649
+ };
21650
+ }
21651
+ const scheduleLiterals = {
21652
+ id: "schedule-literals",
21653
+ title: "Each cron that a workflow compares with `github.event.schedule` is a cron of its own `on.schedule`.",
21654
+ reason: "A scheduled run gives in github.event.schedule the cron that started it. On 2026-11-24 the move of systems changed the minutes of the crons of cells.yml, and a case and two if: lines kept the old minutes, so no scheduled run matched them.",
21655
+ fix: "Write the cron of `on.schedule` in the comparison, character for character, or remove the comparison. `conventions fix` writes it when the file has one cron that no comparison names and one cron in quotes that no schedule has.",
21656
+ sources: [{
21657
+ repo: "systems",
21658
+ rule: "cells",
21659
+ doc: "systems #669 (2026-11-24): cells.yml compared github.event.schedule with crons of the old minutes after the move, in a case and two if: lines"
21660
+ }, {
21661
+ repo: "private",
21662
+ rule: "schedule-literals",
21663
+ doc: "a decision of 2026-11-24: a gate holds each cron that a workflow compares with github.event.schedule"
21664
+ }],
21665
+ options: {},
21666
+ failsFrom: "2026-12-09",
21667
+ check(context) {
21668
+ const files = context.gitFiles();
21669
+ if (files === void 0) return { skipped: "the root is not in a git repository" };
21670
+ const breaks = [];
21671
+ for (const file of files.filter((path) => WORKFLOW$1.test(path)).sort(byCode)) {
21672
+ let text;
21673
+ try {
21674
+ text = readFileSync(join(context.root, file), "utf8");
21675
+ } catch {
21676
+ continue;
21677
+ }
21678
+ const crons = workflowCrons(text);
21679
+ if (!crons.readsSchedule) continue;
21680
+ const known = new Set(crons.schedule);
21681
+ const wrong = crons.literals.filter((literal) => !known.has(normalCron(literal.text)));
21682
+ if (wrong.length === 0) continue;
21683
+ const named = new Set(crons.literals.map((literal) => normalCron(literal.text)));
21684
+ const unnamed = crons.schedule.filter((cron) => !named.has(cron));
21685
+ const distinct = [...new Set(wrong.map((literal) => literal.text))];
21686
+ const target = unnamed.length === 1 && distinct.length === 1 ? unnamed[0] : void 0;
21687
+ const after = target === void 0 ? void 0 : replaceQuoted(text, distinct[0] ?? "", target);
21688
+ for (const literal of wrong) breaks.push({
21689
+ file,
21690
+ line: literal.line,
21691
+ message: `${file} compares github.event.schedule with "${literal.text}", which is not a cron of its on.schedule (${crons.schedule.length === 0 ? "it has none" : crons.schedule.join(", ")}). No scheduled run matches it.${target === void 0 ? "" : ` The cron is "${target}".`}`,
21692
+ ...after === void 0 || after === text ? {} : { edits: [{
21693
+ file,
21694
+ before: text,
21695
+ after
21696
+ }] }
21697
+ });
21698
+ }
21699
+ return breaks;
21700
+ }
21701
+ };
21702
+ /** This function gives the text with each quoted copy of `from` (in single or double quotes) replaced by `to`, on lines that are not comments. */
21703
+ function replaceQuoted(text, from, to) {
21704
+ const eol = text.includes("\r\n") ? "\r\n" : "\n";
21705
+ return text.split(/\r?\n/).map((line) => line.trimStart().startsWith("#") ? line : line.split(`'${from}'`).join(`'${to}'`).split(`"${from}"`).join(`"${to}"`)).join(eol);
21706
+ }
21446
21707
  // src/rules/shared-docs.ts
21447
21708
  /**
21448
21709
  * The rule `shared-docs`: each shared block of a document agrees with its lock, and each linked block points to its
@@ -23082,6 +23343,8 @@ const RULES = [
23082
23343
  sharedCi,
23083
23344
  setupCue,
23084
23345
  playwrightInstall,
23346
+ movedRepoCalls,
23347
+ scheduleLiterals,
23085
23348
  homePackage,
23086
23349
  homeModule,
23087
23350
  licenseFile,
@@ -24103,4 +24366,4 @@ function runHook(args, io) {
24103
24366
  }
24104
24367
  export { unreleasedChange as $, summaryJob as $n, homePackage as $t, scriptsOf as A, addSummaryJob as An, privateTextBreaks as At, roadmapOfLine as B, runnerBudget as Bn, parsePrivateNames as Bt, setVersions as C, sharedCi as Cn, runGitShow as Cr, PRIVATE_NAMES_FILE_VARIABLE as Ct, trustPolicy as D, securityGate as Dn, parseConfig as Dr, privateNamesFile as Dt, TRAIN_SCOPES as E, isSecurityGate as En, defaultOptions as Er, noLocalPaths as Et, sourceMain as F, SECURITY_SCAN_INPUTS as Fn, isCommonUse as Ft, minorOf as G, licenseFileOf as Gn, mainCheck as Gt, requiredScripts as H, LICENSE_TEXTS as Hn, noBuildOutput as Ht, HOME_TIMEOUT_MS as I, SECURITY_TIMEOUT_MINUTES as In, lineNameHit as It, reachOf as J, ACTIONS_COMMIT as Jn, homeModule as Jt, publishedMinor as K, mitText as Kn, coverageProvider as Kt, blockHash as L, securityCallers as Ln, lineNameHits as Lt, testsRequired as M, startsOnPullRequest as Mn, PrivateNameListError as Mt, isSourcePath as N, summaryJobRule as Nn, firstNameMatch as Nt, typedScripts as O, securityWorkflow as On, parseRuleConfig as Or, privateNamesFiles as Ot, pathsOf as P, SECURITY_SCAN_COMMIT as Pn, isAllowedHit as Pt, npmLookup as Q, skippableJobs as Qn, declaredName as Qt, githubFetch as R, securityOneJob as Rn, mergePrivateNames as Rt, namedVersions as S, callsSharedCi as Sn, runGit as Sr, PRIVATE_NAMES_FILE_CONFIG as St, IGNORE_AFTER as T, SECURITY_FILE as Tn, specifiersOf as Tr, invalidPatternBreaks as Tt, releaseFiles as U, authorOf as Un, REAL_COMPARE as Ut, roadmapParses as V, scheduleMinute as Vn, pathNameHit as Vt, lockedVersions as W, licenseFile as Wn, hasImportMetaMain as Wt, SHIPPED_FIELDS as X, gateTrigger as Xn, moduleUses as Xt, NPM_REGISTRY as Y, convertGate as Yn, moduleMessage as Yt, UNSHIPPED_FILES as Z, prPathFilters as Zn, modulesOf as Zt, runPrePushArgs as _, hasTests as _n, parseCatFileBatch as _r, exportsRequire as _t, listRules as a, HOMES as an, yamlFaults as ar, startsTests as at, GITHUB_YAML as b, SHARED_CI as bn, replaceLine as br, DEFAULT_ALLOWED as bt, runCli as c, mapMarkdown as cn, DEPENDENCY_FIELDS as cr, isGitSpecifier as ct, HOOK_MARKER as d, npmDrift as dn, codePackages as dr, siteCheckInCi as dt, messageOf as en, summaryName as er, unreleasedChangeRule as et, NO_READ_LINE as f, npmNames as fn, hasFile as fr, pagesAfterRelease as ft, prePush as g, serviceRunMain as gn, matchesAny as gr, pagesSite as gt, parsePrePushArgs as h, runCalls as hn, lineOf as hr, pagesCalls as ht, formatResult as i, HOME_EXPORTS as in, readWorkflow as ir, parseAdvisory as it, typedFiles as j, hasSummaryJob as jn, PRIVATE_NAME_LIST as jt, configsOfScript as k, SUMMARY_GATES as kn, privatePatterns as kt, runFix as l, mapText as ln, RULE_WARN_DAYS as lr, isPinned as lt, installHook as m, SERVICE_PACKAGE as mn, keyLine as mr, PAGES_WORKFLOWS as mt, annotations as n, reposOf as nn, parseWorkflow as nr, hiddenFailures as nt, readConfig as o, MAP_RULE as on, STRICT_OPTIONS as or, swallowsTests as ot, PRE_PUSH_HOOK as p, readOverlay as pn, inFolder as pr, pushMainOnly as pt, publishedMinorRule as q, repositoryIsPublic as qn, apiReportScript as qt, createContext as r, signaturesOf as rn, readAction as rr, jobFails as rt, runChecks as s, findHomes as sn, cuePreset as sr, pipeFails as st, USAGE as t, repoOf as tn, gateAfterCancel as tr, playwrightInstall as tt, summaryMarkdown as u, mergeHomes as un, cleanPath as ur, pinnedGitDeps as ut, RULES as v, tsconfigTest as vn, parseJsonc as vr, publishTextSafe as vt, versionTitle as w, setupCue as wn, showFiles as wr, PRIVATE_PATTERNS_VARIABLE as wt, workflowParses as x, SHARED_WORKFLOWS as xn, repositoryOfRemote as xr, HOME_PATTERNS as xt, workspaceProtocol as y, SHARED_ACTIONS as yn, readJsonc as yr, packNoBuildinfo as yt, sharedDocsRule as z, withOneJob as zn, nameMatches as zt };
24105
24368
 
24106
- //# sourceMappingURL=run-CekNIcxq.js.map
24369
+ //# sourceMappingURL=run-BbSnF13L.js.map