@mark1russell7/conventions 0.62.4 → 0.62.6
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 +1 -0
- package/build/cli.js +1 -1
- package/build/index.d.ts +19 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -2
- package/build/{run-CBlggDDs.js → run-BmDy6yLq.js} +72 -9
- package/build/run-BmDy6yLq.js.map +1 -0
- package/package.json +1 -1
- package/build/run-CBlggDDs.js.map +0 -1
package/README.md
CHANGED
|
@@ -104,6 +104,7 @@ The rules come from the invariants audit of 2026-10-26 (strategy item s38). The
|
|
|
104
104
|
| `site-check-in-ci` | A repository that deploys a site with the Pages workflow has `.github/site.json`. The call of the deploy gives no site input, and no pull request starts the deploy, directly or through a call. A job that uses `reusable-pages-check.yml` checks the site, and "CI OK" needs that job. Thus the check of a pull request builds the site that `main` deploys, and a bad site does not merge. The rule fails from 2026-12-01. | private `site-probe-in-ci` (a decision of 2026-11-08). |
|
|
105
105
|
| `pages-after-release` | A repository with a public package and a release workflow starts its Pages workflow after a release and on each day. `conventions fix` writes the triggers. A workflow with its own deploy steps needs a person. |
|
|
106
106
|
| `shared-docs` | Each lock file `shared.lock.json` names a document in its field `file`. Each shared block of the document (`<!-- shared:<id> -->` to `<!-- /shared:<id> -->`) has the SHA-256 that the lock gives, and the lock has each block. A linked block has its home in another repository. Its lock entry gives `{repo, path, commit, sha256}`, with a full commit. The document has a `<!-- linked:<id> -->` block with the link to the home at that commit, and no copy. In CI, the rule downloads each home and compares the hash. A home that does not answer in 30 seconds is a break. On 2026-11-03 three repositories kept copies of a block whose home in rigor had a different hash. | layout-contract `scripts/check-shared.mjs` (#155). |
|
|
107
|
+
| `retired-files` | A repository keeps no file that the template gave to each repository and gives no more. The list is data (`RETIRED_FILES`): each entry has the path, the day and the reason. The first entries are the callers of the AI review (`.github/workflows/ai-review.yml`, `.github/workflows/codex-review.yml`) and their docs (`AI-REVIEW.md`, `CODEX-REVIEW.md`). A pull request from a fork gets no API key, so these callers do not review an outside pull request. The template sync of the release train deletes each retired file. The rule fails from 2026-12-31. | canon `ai-review-off` (a pull request of 2026-12-03). private `ai-review-off` (a decision of 2026-12-03). |
|
|
107
108
|
|
|
108
109
|
The rule `release-files` needs the base of the change. On a pull request, the checkout is a merge commit, and the rule reads its two parents (`fetch-depth` 2 or more). In other runs, give `--base <ref>`. On a dispatched run of a pull request, the CI of the template gives the base in `CONVENTIONS_BASE` (refer to "Commands"). Without a base, the rule shows `skip`.
|
|
109
110
|
|
package/build/cli.js
CHANGED
package/build/index.d.ts
CHANGED
|
@@ -916,6 +916,7 @@ export declare function publishedMinorRule(lookup?: RegistryLookup, now?: () =>
|
|
|
916
916
|
export declare const publishedMinor: Rule;
|
|
917
917
|
export declare const releaseFiles: Rule;
|
|
918
918
|
export declare const requiredScripts: Rule;
|
|
919
|
+
export declare const retiredFiles: Rule;
|
|
919
920
|
/** This function gives the value of a `roadmap: <file>` line, or undefined for another line, an empty value or an expression. */
|
|
920
921
|
export declare function roadmapOfLine(line: string): string | undefined;
|
|
921
922
|
export declare const roadmapParses: Rule;
|
|
@@ -1432,5 +1433,22 @@ export declare function npmUrl(name: string, version: string): string;
|
|
|
1432
1433
|
* link to npm. The Releases page of `site-pages` reads each list item as a change.
|
|
1433
1434
|
*/
|
|
1434
1435
|
export declare function releaseNotes(name: string, version: string, changelog: string | undefined): string;
|
|
1435
|
-
|
|
1436
|
+
/**
|
|
1437
|
+
* The files that the template gave to each repository and gives no more. The rule `retired-files` breaks on each one
|
|
1438
|
+
* that a repository keeps, and the template sync of the release train deletes them.
|
|
1439
|
+
*/
|
|
1440
|
+
/** A file that the template gave to each repository, and gives no more. */
|
|
1441
|
+
interface RetiredFile {
|
|
1442
|
+
/** The path of the file from the root of a repository. */
|
|
1443
|
+
readonly path: string;
|
|
1444
|
+
/** The day on which the template stopped giving the file (`YYYY-MM-DD`). */
|
|
1445
|
+
readonly since: string;
|
|
1446
|
+
/** Why the template stopped giving the file. */
|
|
1447
|
+
readonly reason: string;
|
|
1448
|
+
}
|
|
1449
|
+
/** Each retired file, by path. */
|
|
1450
|
+
export declare const RETIRED_FILES: readonly RetiredFile[];
|
|
1451
|
+
/** This function gives the retired file of a path, or undefined. */
|
|
1452
|
+
export declare function retiredFile(path: string): RetiredFile | undefined;
|
|
1453
|
+
export { type Advisory, type AllowedHit, type AuditSource, type Break, type CheckOptions, type CheckResult, type CliIo, type ConsoleGate, type ConsoleKind, type ConventionsConfig, type Edit, type EventClass, type ExpressionValue, type FixResult, type HiddenFailure, type Home, type HomeAnswer, type HomeFetch, type HomeModule, type HomeShape, type HomeState, type HookOptions, type JobPeak, type KeyLines, type LinePlace, type Manifest, type Minor, type ModuleUse, type NameHit, type NameRule, type NpmDrift, type NpmDriftKind, type NpmPresence, OWNERS, type OptionSpec, type OptionValue, type Options, type Owner, type PackageInfo, type PagesCall, type ParsedConcurrency, type ParsedJob, type ParsedStep, type ParsedWorkflow, type PathFilter, type PeakOptions, type PrePushArgs, type PrePushOptions, type PrivateNameList, type PrivatePattern, type PrivateSources, type RegistryAnswer, type RegistryLookup, type RepoRef, type RetiredFile, type Rule, type RuleConfig, type RuleContext, type RuleOutcome, type RuleResult, type RuleState, type RunPart, type SecurityCaller, type SummaryJob, type TextBreakOptions, type TriggerFilters, type Workflow, type WorkflowInput, type WorkflowJob, type WorkflowPeak, type WorkflowPermissions, type WorkflowStep, type YamlFault, globFolders, globToRegExp, isWorkspaceFolder, ownerOf, ownersOf, packageFolders, parseWorkspaceGlobs, repoKeyer, sharedNames, workspaceGlobs };
|
|
1436
1454
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -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/git-pin-on-npm.ts","../src/rules/pinned-git-deps.ts","../src/rules/pnpm-yaml-parses.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;;UAG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;;;;;wBAyBvB,qBAAqB,UAAU;qBAOlC,eAAe;;qBC3Cf,WAAW;qBAEX,gBAAgB;qBCgHhB,WAAW;;wBCnGR,YAAY;;wBAKZ,cAAc;;UAOb;;WAEN;;WAEA;;WAEA;;WAEA;;;wBAuCK,eAAe,eAAe;;UAmC7B;;WAEN;WACA;;WAEA;WACA;;;wBAIK,cAAc,gBAAgB;qBAgBjC,UAAU;qBC9EV,mBAAmB;qBCyOnB,cAAc;;;;;KChSf;WAA4B;WAAsC,QAAQ,SAAS;WAAkC;;WAA+B;;;KAGpJ,kBAAkB,0BAA0B,qBAAqB,oBAAoB;;qBAGpF;;qBAGA;;qBAwBA;;;;;qBAyBA,WAAW;;wBAoGR,qBAAqB,SAAQ,iBAA6B;qBAiH7D,kBAAkB;;KCjRnB,kBAAkB,eAAe;;wBAG7B,QAAQ,kBAAkB;;;;;;wBAY1B,QAAQ,oBAAoB;;;;;wBAuB5B,eAAe,eAAe,oBAAoB;;wBA0ClD,mBAAmB,SAAQ,gBAA4B,qBAA+B;qBA8DzF,gBAAgB;qBC9IhB,cAAc;qBCad,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/git-pin-on-npm.ts","../src/rules/pinned-git-deps.ts","../src/rules/pnpm-yaml-parses.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/retired-files.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","../src/retired.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;;;;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;;;;;;;wBAQD,YAAY,SAAS,aAAa,IAAI,KAAK;;;;;;;;;;;;KCzc/C;;UAGK;WACN,OAAO,YAAY;WACnB;;WAEA;;;wBA8DK,mBAAmB,cAAc,gBAAgB;;;;;wBAoGjD,WAAW,eAAe,gBAAgB,YAAY;;;;;wBActD,OAAO,mBAAmB;;qBCjM7B,cAAc,SAAS;WAA0B;WAA0B;;;UCiBvE;WACN;WACA;WACA;;;;;WAKA;WACA,iBAAiB;;WAEjB;;WAEA;;;;;WAKA;;;UAIM;WACN,gBAAgB;;WAEhB;;;UAIM;;WAEN;;WAEA;;WAEA;WACA,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;;;;;;UCzD3C;;WAEN;;WAEA;;WAEA;;;qBAQE,wBAAwB;;wBAQrB,YAAY,eAAe"}
|
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as retiredFile, $n as SHARED_WORKFLOWS, $r as RULE_WARN_DAYS, $t as lineNameHits, A as scriptsOf, An as homePackage, Ar as LICENSE_TEXTS, At as PAGES_WORKFLOWS, B as giveWaySlots, Bn as mapText, Br as skippableJobs, Bt as PRIVATE_PATTERNS_VARIABLE, C as setVersions, Cn as spansOf, Cr as SECURITY_SCAN_INPUTS, Ct as dependencySpecifiers, D as trustPolicy, Dn as moduleUses, Dr as withOneJob, Dt as siteCheckInCi, E as TRAIN_SCOPES, En as moduleMessage, Er as securityOneJob, Et as pinnedGitDeps, F as sourceMain, Fn as HOME_EXPORTS, Fr as repositoryIsPublic, Ft as packNoBuildinfo, G as workflowPeaks, Gn as readOverlay, Gr as MATRIX_EXPAND_MAX, Gt as privatePatterns, H as repositoryPeak, Hn as npmDrift, Hr as summaryName, Ht as noLocalPaths, I as TEMPLATE_CALLED, In as HOMES, Ir as ACTIONS_COMMIT, It as DEFAULT_ALLOWED, J as mayRun, Jn as serviceRunMain, Jr as readWorkflow, Jt as PrivateNameListError, K as evaluateExpression, Kn as SERVICE_PACKAGE, Kr as parseWorkflow, Kt as privateTextBreaks, L as UNKNOWN_MATRIX_JOBS, Ln as MAP_RULE, Lr as convertGate, Lt as HOME_PATTERNS, M as testsRequired, Mn as repoOf, Mr as licenseFile, Mt as pagesSite, N as isSourcePath, Nn as reposOf, Nr as licenseFileOf, Nt as exportsRequire, O as typedScripts, On as modulesOf, Or as runnerBudget, Ot as pagesAfterRelease, P as pathsOf, Pn as signaturesOf, Pr as mitText, Pt as publishTextSafe, Q as RETIRED_FILES, Qn as SHARED_CI, Qr as DEPENDENCY_FIELDS, Qt as lineNameHit, R as calledJobs, Rn as findHomes, Rr as gateTrigger, Rt as PRIVATE_NAMES_FILE_CONFIG, S as namedVersions, Sn as shapesOfSource, Sr as SECURITY_SCAN_COMMIT, St as gitPinOnNpm, T as IGNORE_AFTER, Tn as homeModule, Tr as securityCallers, Tt as isPinned, U as runnerPeak, Un as npmNames, Ur as gateAfterCancel, Ut as privateNamesFile, V as matrixPeak, Vn as mergeHomes, Vr as summaryJob, Vt as invalidPatternBreaks, W as runsAtOnce, Wn as npmPackagesOf, Wr as FILTER_KEYS, Wt as privateNamesFiles, X as roadmapParses, Xn as tsconfigTest, Xr as STRICT_OPTIONS, Xt as isAllowedHit, Y as roadmapOfLine, Yn as hasTests, Yr as yamlFaults, Yt as firstNameMatch, Z as retiredFiles, Zn as SHARED_ACTIONS, Zr as cuePreset, Zt as isCommonUse, _ as runPrePushArgs, _i as parseConfig, _n as apiReportScript, _r as SUMMARY_GATES, _t as startsTests, a as listRules, ai as lineOf, an as NOT_SOURCE, ar as HOME_TIMEOUT_MS, at as publishedMinorRule, b as GITHUB_YAML, bn as homeShapesOf, br as startsOnPullRequest, bt as PNPM_YAML, c as runCli, ci as parseJsonc, cn as consoleKind, cr as sharedDocsRule, ct as SHIPPED_FIELDS, d as HOOK_MARKER, di as repositoryOfRemote, dn as noConsole, dr as hasReleaseMode, dt as unreleasedChange, ei as cleanPath, en as mergePrivateNames, er as callsSharedCi, et as requiredScripts, f as NO_READ_LINE, fi as runGit, fn as noBuildOutput, fr as releaseModeRule, ft as unreleasedChangeRule, g as prePush, gi as defaultOptions, gn as coverageProvider, gr as securityWorkflow, gt as parseAdvisory, h as parsePrePushArgs, hi as specifiersOf, hn as mainCheck, hr as securityGate, ht as jobFails, i as formatResult, ii as keyLine, in as CONSOLE_LAST_DAY, ir as callPermissionsRule, it as publishedMinor, j as typedFiles, jn as messageOf, jr as authorOf, jt as pagesCalls, k as configsOfScript, kn as declaredName, kr as scheduleMinute, kt as pushMainOnly, l as runFix, li as readJsonc, ln as isCliFile, lr as addReleaseMode, lt as UNSHIPPED_FILES, m as installHook, mi as showFiles, mn as hasImportMetaMain, mr as isSecurityGate, mt as hiddenFailures, n as annotations, ni as hasFile, nn as parsePrivateNames, nr as setupCue, nt as lockedVersions, o as readConfig, oi as matchesAny, on as consoleBreaks, or as blockHash, ot as reachOf, p as PRE_PUSH_HOOK, pi as runGitShow, pn as REAL_COMPARE, pr as SECURITY_FILE, pt as playwrightInstall, q as groupParts, qn as runCalls, qr as readAction, qt as PRIVATE_NAME_LIST, r as createContext, ri as inFolder, rn as pathNameHit, rr as callPermissions, rt as minorOf, s as runChecks, si as parseCatFileBatch, sn as consoleGate, sr as githubFetch, st as NPM_REGISTRY, t as USAGE, ti as codePackages, tn as nameMatches, tr as sharedCi, tt as releaseFiles, u as summaryMarkdown, ui as replaceLine, un as isConsoleSource, ur as callsReleaseBuild, ut as npmLookup, v as RULES, vi as parseRuleConfig, vn as containedHome, vr as addSummaryJob, vt as swallowsTests, w as versionTitle, wn as HOME_SHAPES, wr as SECURITY_TIMEOUT_MINUTES, wt as isGitSpecifier, x as workflowParses, xn as shapeMessage, xr as summaryJobRule, xt as pnpmYamlParses, y as workspaceProtocol, yn as homeShape, yr as hasSummaryJob, yt as pipeFails, z as eventClass, zn as mapMarkdown, zr as prPathFilters, zt as PRIVATE_NAMES_FILE_VARIABLE } from "./run-BmDy6yLq.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
|
|
@@ -66,6 +66,6 @@ function releaseNotes(name, version, changelog) {
|
|
|
66
66
|
if (section.length <= 1e5) return section;
|
|
67
67
|
return `${section.slice(0, MAX_NOTES)}\n\n(The CHANGELOG.md of \`${name}\` has the full text.)`;
|
|
68
68
|
}
|
|
69
|
-
export { ACTIONS_COMMIT, CONSOLE_LAST_DAY, DEFAULT_ALLOWED, DEPENDENCY_FIELDS, FILTER_KEYS, GITHUB_YAML, HOMES, HOME_EXPORTS, HOME_PATTERNS, HOME_SHAPES, HOME_TIMEOUT_MS, HOOK_MARKER, IGNORE_AFTER, LICENSE_TEXTS, MAP_RULE, MATRIX_EXPAND_MAX, MAX_NOTES, NOT_SOURCE, NO_READ_LINE, NPM_REGISTRY, OWNERS, PAGES_WORKFLOWS, PNPM_YAML, PRE_PUSH_HOOK, PRIVATE_NAMES_FILE_CONFIG, PRIVATE_NAMES_FILE_VARIABLE, PRIVATE_NAME_LIST, PRIVATE_PATTERNS_VARIABLE, PrivateNameListError, REAL_COMPARE, RULES, RULE_WARN_DAYS, SECURITY_FILE, SECURITY_SCAN_COMMIT, SECURITY_SCAN_INPUTS, SECURITY_TIMEOUT_MINUTES, SERVICE_PACKAGE, SHARED_ACTIONS, SHARED_CI, SHARED_WORKFLOWS, SHIPPED_FIELDS, STRICT_OPTIONS, SUMMARY_GATES, TEMPLATE_CALLED, TRAIN_SCOPES, UNKNOWN_MATRIX_JOBS, UNSHIPPED_FILES, USAGE, addReleaseMode, addSummaryJob, annotations, apiReportScript, authorOf, blockHash, callPermissions, callPermissionsRule, calledJobs, callsReleaseBuild, callsSharedCi, changelogSection, cleanPath, codePackages, configsOfScript, consoleBreaks, consoleGate, consoleKind, containedHome, convertGate, coverageProvider, createContext, cuePreset, declaredName, defaultOptions, dependencySpecifiers, evaluateExpression, eventClass, exportsRequire, findHomes, firstNameMatch, formatResult, gateAfterCancel, gateTrigger, gitPinOnNpm, githubFetch, giveWaySlots, globFolders, globToRegExp, groupParts, hasFile, hasImportMetaMain, hasReleaseMode, hasSummaryJob, hasTests, hiddenFailures, homeModule, homePackage, homeShape, homeShapesOf, inFolder, installHook, invalidPatternBreaks, isAllowedHit, isCliFile, isCommonUse, isConsoleSource, isGitSpecifier, isPinned, isSecurityGate, isSourcePath, isWorkspaceFolder, jobFails, keyLine, licenseFile, licenseFileOf, lineNameHit, lineNameHits, lineOf, listRules, lockedVersions, mainCheck, mapMarkdown, mapText, matchesAny, matrixPeak, mayRun, mergeHomes, mergePrivateNames, messageOf, minorOf, mitText, moduleMessage, moduleUses, modulesOf, nameMatches, namedVersions, noBuildOutput, noConsole, noLocalPaths, npmDrift, npmLookup, npmNames, npmPackagesOf, npmUrl, ownerOf, ownersOf, packNoBuildinfo, packageFolders, pagesAfterRelease, pagesCalls, pagesSite, parseAdvisory, parseCatFileBatch, parseConfig, parseJsonc, parsePrePushArgs, parsePrivateNames, parseRuleConfig, parseWorkflow, parseWorkspaceGlobs, pathNameHit, pathsOf, pinnedGitDeps, pipeFails, playwrightInstall, pnpmYamlParses, prPathFilters, prePush, privateNamesFile, privateNamesFiles, privatePatterns, privateTextBreaks, publishTextSafe, publishedMinor, publishedMinorRule, pushMainOnly, reachOf, readAction, readConfig, readJsonc, readOverlay, readWorkflow, releaseFiles, releaseModeRule, releaseNotes, replaceLine, repoKeyer, repoOf, reposOf, repositoryIsPublic, repositoryOfRemote, repositoryPeak, requiredScripts, roadmapOfLine, roadmapParses, runCalls, runChecks, runCli, runFix, runGit, runGitShow, runPrePushArgs, runnerBudget, runnerPeak, runsAtOnce, scheduleMinute, scriptsOf, securityCallers, securityGate, securityOneJob, securityWorkflow, serviceRunMain, setVersions, setupCue, shapeMessage, shapesOfSource, sharedCi, sharedDocsRule, sharedNames, showFiles, signaturesOf, siteCheckInCi, skippableJobs, sourceMain, spansOf, specifiersOf, startsOnPullRequest, startsTests, summaryJob, summaryJobRule, summaryMarkdown, summaryName, swallowsTests, tagName, testsRequired, trustPolicy, tsconfigTest, typedFiles, typedScripts, unreleasedChange, unreleasedChangeRule, versionTitle, withOneJob, workflowParses, workflowPeaks, workspaceGlobs, workspaceProtocol, yamlFaults };
|
|
69
|
+
export { ACTIONS_COMMIT, CONSOLE_LAST_DAY, DEFAULT_ALLOWED, DEPENDENCY_FIELDS, FILTER_KEYS, GITHUB_YAML, HOMES, HOME_EXPORTS, HOME_PATTERNS, HOME_SHAPES, HOME_TIMEOUT_MS, HOOK_MARKER, IGNORE_AFTER, LICENSE_TEXTS, MAP_RULE, MATRIX_EXPAND_MAX, MAX_NOTES, NOT_SOURCE, NO_READ_LINE, NPM_REGISTRY, OWNERS, PAGES_WORKFLOWS, PNPM_YAML, PRE_PUSH_HOOK, PRIVATE_NAMES_FILE_CONFIG, PRIVATE_NAMES_FILE_VARIABLE, PRIVATE_NAME_LIST, PRIVATE_PATTERNS_VARIABLE, PrivateNameListError, REAL_COMPARE, RETIRED_FILES, RULES, RULE_WARN_DAYS, SECURITY_FILE, SECURITY_SCAN_COMMIT, SECURITY_SCAN_INPUTS, SECURITY_TIMEOUT_MINUTES, SERVICE_PACKAGE, SHARED_ACTIONS, SHARED_CI, SHARED_WORKFLOWS, SHIPPED_FIELDS, STRICT_OPTIONS, SUMMARY_GATES, TEMPLATE_CALLED, TRAIN_SCOPES, UNKNOWN_MATRIX_JOBS, UNSHIPPED_FILES, USAGE, addReleaseMode, addSummaryJob, annotations, apiReportScript, authorOf, blockHash, callPermissions, callPermissionsRule, calledJobs, callsReleaseBuild, callsSharedCi, changelogSection, cleanPath, codePackages, configsOfScript, consoleBreaks, consoleGate, consoleKind, containedHome, convertGate, coverageProvider, createContext, cuePreset, declaredName, defaultOptions, dependencySpecifiers, evaluateExpression, eventClass, exportsRequire, findHomes, firstNameMatch, formatResult, gateAfterCancel, gateTrigger, gitPinOnNpm, githubFetch, giveWaySlots, globFolders, globToRegExp, groupParts, hasFile, hasImportMetaMain, hasReleaseMode, hasSummaryJob, hasTests, hiddenFailures, homeModule, homePackage, homeShape, homeShapesOf, inFolder, installHook, invalidPatternBreaks, isAllowedHit, isCliFile, isCommonUse, isConsoleSource, isGitSpecifier, isPinned, isSecurityGate, isSourcePath, isWorkspaceFolder, jobFails, keyLine, licenseFile, licenseFileOf, lineNameHit, lineNameHits, lineOf, listRules, lockedVersions, mainCheck, mapMarkdown, mapText, matchesAny, matrixPeak, mayRun, mergeHomes, mergePrivateNames, messageOf, minorOf, mitText, moduleMessage, moduleUses, modulesOf, nameMatches, namedVersions, noBuildOutput, noConsole, noLocalPaths, npmDrift, npmLookup, npmNames, npmPackagesOf, npmUrl, ownerOf, ownersOf, packNoBuildinfo, packageFolders, pagesAfterRelease, pagesCalls, pagesSite, parseAdvisory, parseCatFileBatch, parseConfig, parseJsonc, parsePrePushArgs, parsePrivateNames, parseRuleConfig, parseWorkflow, parseWorkspaceGlobs, pathNameHit, pathsOf, pinnedGitDeps, pipeFails, playwrightInstall, pnpmYamlParses, prPathFilters, prePush, privateNamesFile, privateNamesFiles, privatePatterns, privateTextBreaks, publishTextSafe, publishedMinor, publishedMinorRule, pushMainOnly, reachOf, readAction, readConfig, readJsonc, readOverlay, readWorkflow, releaseFiles, releaseModeRule, releaseNotes, replaceLine, repoKeyer, repoOf, reposOf, repositoryIsPublic, repositoryOfRemote, repositoryPeak, requiredScripts, retiredFile, retiredFiles, roadmapOfLine, roadmapParses, runCalls, runChecks, runCli, runFix, runGit, runGitShow, runPrePushArgs, runnerBudget, runnerPeak, runsAtOnce, scheduleMinute, scriptsOf, securityCallers, securityGate, securityOneJob, securityWorkflow, serviceRunMain, setVersions, setupCue, shapeMessage, shapesOfSource, sharedCi, sharedDocsRule, sharedNames, showFiles, signaturesOf, siteCheckInCi, skippableJobs, sourceMain, spansOf, specifiersOf, startsOnPullRequest, startsTests, summaryJob, summaryJobRule, summaryMarkdown, summaryName, swallowsTests, tagName, testsRequired, trustPolicy, tsconfigTest, typedFiles, typedScripts, unreleasedChange, unreleasedChangeRule, versionTitle, withOneJob, workflowParses, workflowPeaks, workspaceGlobs, workspaceProtocol, yamlFaults };
|
|
70
70
|
|
|
71
71
|
//# sourceMappingURL=index.js.map
|
|
@@ -4981,7 +4981,7 @@ const HOMES = [
|
|
|
4981
4981
|
"encrypt at rest",
|
|
4982
4982
|
"verify copy"
|
|
4983
4983
|
],
|
|
4984
|
-
note: "Hashes come from rigor-generators, the loop from @mark1russell7/service, fetches of the S3 API through polite-crawler/api. Media documents
|
|
4984
|
+
note: "Hashes come from rigor-generators, the loop from @mark1russell7/service, fetches of the S3 API through polite-crawler/api. Media documents use its blob store. Each app backup moves its upload and its encryption onto it, and keeps its own schedule and its own data rules. Keys are input data: the repository holds no key."
|
|
4985
4985
|
},
|
|
4986
4986
|
{
|
|
4987
4987
|
area: "media-documents",
|
|
@@ -5006,7 +5006,7 @@ const HOMES = [
|
|
|
5006
5006
|
"multipart",
|
|
5007
5007
|
"sha-256 id"
|
|
5008
5008
|
],
|
|
5009
|
-
note: "
|
|
5009
|
+
note: "Hashes come from rigor-generators. The content-addressed blob store and its store adapters come from the home backups (mark1russell7/backup). Do not grow a local upload."
|
|
5010
5010
|
},
|
|
5011
5011
|
{
|
|
5012
5012
|
area: "system-io",
|
|
@@ -5070,7 +5070,7 @@ const HOMES = [
|
|
|
5070
5070
|
"ecosystem",
|
|
5071
5071
|
"osv ecosystem"
|
|
5072
5072
|
],
|
|
5073
|
-
note: "Registry lookups stay in @procedures/npm. The purl.ts of the alerts source-osv moves to it
|
|
5073
|
+
note: "Registry lookups stay in @procedures/npm. The purl.ts of the alerts source-osv moves to it."
|
|
5074
5074
|
},
|
|
5075
5075
|
{
|
|
5076
5076
|
area: "headless-browser",
|
|
@@ -5185,7 +5185,7 @@ const HOMES = [
|
|
|
5185
5185
|
"command line"
|
|
5186
5186
|
],
|
|
5187
5187
|
signatures: ["parseArgs", "parseArgv"],
|
|
5188
|
-
note: "Nine hand-written parsers exist
|
|
5188
|
+
note: "Nine hand-written parsers exist. Until the library is ready, use @procedures/cli-run or keep the parser small."
|
|
5189
5189
|
},
|
|
5190
5190
|
{
|
|
5191
5191
|
area: "data-structures",
|
|
@@ -6182,7 +6182,7 @@ const HOMES = [
|
|
|
6182
6182
|
"bfd",
|
|
6183
6183
|
"qemu"
|
|
6184
6184
|
],
|
|
6185
|
-
note: "The labs need Docker, so they run in CI. Fault plans are data in rigor-chaos: the harness applies them at layers 3 and 4, and rigor-proxy applies them to TCP, WebSocket and HTTP streams. A repository that tests a client against a faulty network uses these labs: do not grow a local compose file with a Toxiproxy or an iptables sidecar. The containerlab, VM and k3s tiers, and with them a simulated homelab, are planned in the
|
|
6185
|
+
note: "The labs need Docker, so they run in CI. Fault plans are data in rigor-chaos: the harness applies them at layers 3 and 4, and rigor-proxy applies them to TCP, WebSocket and HTTP streams. A repository that tests a client against a faulty network uses these labs: do not grow a local compose file with a Toxiproxy or an iptables sidecar. The containerlab, VM and k3s tiers, and with them a simulated homelab, are planned in the roadmap of mark1russell7/systems."
|
|
6186
6186
|
},
|
|
6187
6187
|
{
|
|
6188
6188
|
area: "network-names",
|
|
@@ -6223,7 +6223,7 @@ const HOMES = [
|
|
|
6223
6223
|
"domainOf",
|
|
6224
6224
|
"isDomain"
|
|
6225
6225
|
],
|
|
6226
|
-
note: "The address module and the target parse of netdiag move to it first, then domainOf of the alerts source-ransomware and isDomain of source-statuspage
|
|
6226
|
+
note: "The address module and the target parse of netdiag move to it first, then domainOf of the alerts source-ransomware and isDomain of source-statuspage. DNS probes stay in netdiag, fetches in polite-crawler."
|
|
6227
6227
|
},
|
|
6228
6228
|
{
|
|
6229
6229
|
area: "network-diagnosis",
|
|
@@ -80294,6 +80294,68 @@ const requiredScripts = {
|
|
|
80294
80294
|
});
|
|
80295
80295
|
}
|
|
80296
80296
|
};
|
|
80297
|
+
// src/retired.ts
|
|
80298
|
+
/** The reason of the AI review files. */
|
|
80299
|
+
const AI_REVIEW = "A pull request from a fork gets no API key, so the AI review does not review an outside pull request. Each review that runs uses an API key that costs money. The owner stopped the AI review on 2026-12-03.";
|
|
80300
|
+
/** Each retired file, by path. */
|
|
80301
|
+
const RETIRED_FILES = [
|
|
80302
|
+
{
|
|
80303
|
+
path: ".github/workflows/ai-review.yml",
|
|
80304
|
+
since: "2026-12-03",
|
|
80305
|
+
reason: AI_REVIEW
|
|
80306
|
+
},
|
|
80307
|
+
{
|
|
80308
|
+
path: ".github/workflows/codex-review.yml",
|
|
80309
|
+
since: "2026-12-03",
|
|
80310
|
+
reason: AI_REVIEW
|
|
80311
|
+
},
|
|
80312
|
+
{
|
|
80313
|
+
path: "AI-REVIEW.md",
|
|
80314
|
+
since: "2026-12-03",
|
|
80315
|
+
reason: AI_REVIEW
|
|
80316
|
+
},
|
|
80317
|
+
{
|
|
80318
|
+
path: "CODEX-REVIEW.md",
|
|
80319
|
+
since: "2026-12-03",
|
|
80320
|
+
reason: AI_REVIEW
|
|
80321
|
+
}
|
|
80322
|
+
];
|
|
80323
|
+
/** This function gives the retired file of a path, or undefined. */
|
|
80324
|
+
function retiredFile(path) {
|
|
80325
|
+
return RETIRED_FILES.find((file) => file.path === path);
|
|
80326
|
+
}
|
|
80327
|
+
// src/rules/retired-files.ts
|
|
80328
|
+
/**
|
|
80329
|
+
* The rule `retired-files`: a repository keeps no file that the template gave to each repository and gives no more.
|
|
80330
|
+
*/
|
|
80331
|
+
const retiredFiles = {
|
|
80332
|
+
id: "retired-files",
|
|
80333
|
+
title: "A repository keeps no file that the template gave to each repository and gives no more (`RETIRED_FILES`).",
|
|
80334
|
+
reason: "The template gave each repository the callers of the AI review and their docs. A pull request from a fork gets no API key, so these callers do not review an outside pull request. Each review that runs uses an API key that costs money. A retired file that stays gives a review or a note on each pull request, and Renovate moves its pins each week.",
|
|
80335
|
+
fix: "Delete the file. The template sync of the release train deletes each retired file in its pull request.",
|
|
80336
|
+
sources: [{
|
|
80337
|
+
repo: "canon",
|
|
80338
|
+
rule: "ai-review-off",
|
|
80339
|
+
doc: "a pull request of 2026-12-03 deleted the two callers and the two docs"
|
|
80340
|
+
}, {
|
|
80341
|
+
repo: "private",
|
|
80342
|
+
rule: "ai-review-off",
|
|
80343
|
+
doc: "a decision of the owner on 2026-12-03: the AI review does not scale for public repositories"
|
|
80344
|
+
}],
|
|
80345
|
+
options: {},
|
|
80346
|
+
failsFrom: "2026-12-31",
|
|
80347
|
+
check(context) {
|
|
80348
|
+
const breaks = [];
|
|
80349
|
+
for (const file of RETIRED_FILES) {
|
|
80350
|
+
if (!existsSync(join(context.root, file.path))) continue;
|
|
80351
|
+
breaks.push({
|
|
80352
|
+
file: file.path,
|
|
80353
|
+
message: `${file.path} is a retired file of the template (since ${file.since}). ${file.reason} Delete the file.`
|
|
80354
|
+
});
|
|
80355
|
+
}
|
|
80356
|
+
return breaks;
|
|
80357
|
+
}
|
|
80358
|
+
};
|
|
80297
80359
|
// src/rules/roadmap-parses.ts
|
|
80298
80360
|
/**
|
|
80299
80361
|
* The rule `roadmap-parses`: each roadmap that a workflow or the site config gives to the Status page parses, on the
|
|
@@ -82881,7 +82943,8 @@ const RULES = [
|
|
|
82881
82943
|
pagesSite,
|
|
82882
82944
|
siteCheckInCi,
|
|
82883
82945
|
pagesAfterRelease,
|
|
82884
|
-
sharedDocs
|
|
82946
|
+
sharedDocs,
|
|
82947
|
+
retiredFiles
|
|
82885
82948
|
];
|
|
82886
82949
|
// src/pre-push.ts
|
|
82887
82950
|
/**
|
|
@@ -84086,6 +84149,6 @@ function runHook(args, io) {
|
|
|
84086
84149
|
git: (gitArgs) => runGit(io.cwd, gitArgs)
|
|
84087
84150
|
}, io);
|
|
84088
84151
|
}
|
|
84089
|
-
export {
|
|
84152
|
+
export { retiredFile as $, SHARED_WORKFLOWS as $n, RULE_WARN_DAYS as $r, lineNameHits as $t, scriptsOf as A, homePackage as An, LICENSE_TEXTS as Ar, PAGES_WORKFLOWS as At, giveWaySlots as B, mapText as Bn, skippableJobs as Br, PRIVATE_PATTERNS_VARIABLE as Bt, setVersions as C, spansOf as Cn, SECURITY_SCAN_INPUTS as Cr, dependencySpecifiers as Ct, trustPolicy as D, moduleUses as Dn, withOneJob as Dr, siteCheckInCi as Dt, TRAIN_SCOPES as E, moduleMessage as En, securityOneJob as Er, pinnedGitDeps as Et, sourceMain as F, HOME_EXPORTS as Fn, repositoryIsPublic as Fr, packNoBuildinfo as Ft, workflowPeaks as G, readOverlay as Gn, MATRIX_EXPAND_MAX as Gr, privatePatterns as Gt, repositoryPeak as H, npmDrift as Hn, summaryName as Hr, noLocalPaths as Ht, TEMPLATE_CALLED as I, HOMES as In, ACTIONS_COMMIT as Ir, DEFAULT_ALLOWED as It, mayRun as J, serviceRunMain as Jn, readWorkflow as Jr, PrivateNameListError as Jt, evaluateExpression as K, SERVICE_PACKAGE as Kn, parseWorkflow as Kr, privateTextBreaks as Kt, UNKNOWN_MATRIX_JOBS as L, MAP_RULE as Ln, convertGate as Lr, HOME_PATTERNS as Lt, testsRequired as M, repoOf as Mn, licenseFile as Mr, pagesSite as Mt, isSourcePath as N, reposOf as Nn, licenseFileOf as Nr, exportsRequire as Nt, typedScripts as O, modulesOf as On, runnerBudget as Or, pagesAfterRelease as Ot, pathsOf as P, signaturesOf as Pn, mitText as Pr, publishTextSafe as Pt, RETIRED_FILES as Q, SHARED_CI as Qn, DEPENDENCY_FIELDS as Qr, lineNameHit as Qt, calledJobs as R, findHomes as Rn, gateTrigger as Rr, PRIVATE_NAMES_FILE_CONFIG as Rt, namedVersions as S, shapesOfSource as Sn, SECURITY_SCAN_COMMIT as Sr, gitPinOnNpm as St, IGNORE_AFTER as T, homeModule as Tn, securityCallers as Tr, isPinned as Tt, runnerPeak as U, npmNames as Un, gateAfterCancel as Ur, privateNamesFile as Ut, matrixPeak as V, mergeHomes as Vn, summaryJob as Vr, invalidPatternBreaks as Vt, runsAtOnce as W, npmPackagesOf as Wn, FILTER_KEYS as Wr, privateNamesFiles as Wt, roadmapParses as X, tsconfigTest as Xn, STRICT_OPTIONS as Xr, isAllowedHit as Xt, roadmapOfLine as Y, hasTests as Yn, yamlFaults as Yr, firstNameMatch as Yt, retiredFiles as Z, SHARED_ACTIONS as Zn, cuePreset as Zr, isCommonUse as Zt, runPrePushArgs as _, parseConfig as _i, apiReportScript as _n, SUMMARY_GATES as _r, startsTests as _t, listRules as a, lineOf as ai, NOT_SOURCE as an, HOME_TIMEOUT_MS as ar, publishedMinorRule as at, GITHUB_YAML as b, homeShapesOf as bn, startsOnPullRequest as br, PNPM_YAML as bt, runCli as c, parseJsonc as ci, consoleKind as cn, sharedDocsRule as cr, SHIPPED_FIELDS as ct, HOOK_MARKER as d, repositoryOfRemote as di, noConsole as dn, hasReleaseMode as dr, unreleasedChange as dt, cleanPath as ei, mergePrivateNames as en, callsSharedCi as er, requiredScripts as et, NO_READ_LINE as f, runGit as fi, noBuildOutput as fn, releaseModeRule as fr, unreleasedChangeRule as ft, prePush as g, defaultOptions as gi, coverageProvider as gn, securityWorkflow as gr, parseAdvisory as gt, parsePrePushArgs as h, specifiersOf as hi, mainCheck as hn, securityGate as hr, jobFails as ht, formatResult as i, keyLine as ii, CONSOLE_LAST_DAY as in, callPermissionsRule as ir, publishedMinor as it, typedFiles as j, messageOf$1 as jn, authorOf as jr, pagesCalls as jt, configsOfScript as k, declaredName as kn, scheduleMinute as kr, pushMainOnly as kt, runFix as l, readJsonc as li, isCliFile as ln, addReleaseMode as lr, UNSHIPPED_FILES as lt, installHook as m, showFiles as mi, hasImportMetaMain as mn, isSecurityGate as mr, hiddenFailures as mt, annotations as n, hasFile as ni, parsePrivateNames as nn, setupCue as nr, lockedVersions as nt, readConfig as o, matchesAny as oi, consoleBreaks as on, blockHash as or, reachOf as ot, PRE_PUSH_HOOK as p, runGitShow as pi, REAL_COMPARE as pn, SECURITY_FILE as pr, playwrightInstall as pt, groupParts as q, runCalls as qn, readAction as qr, PRIVATE_NAME_LIST as qt, createContext as r, inFolder as ri, pathNameHit as rn, callPermissions as rr, minorOf as rt, runChecks as s, parseCatFileBatch as si, consoleGate as sn, githubFetch as sr, NPM_REGISTRY as st, USAGE as t, codePackages as ti, nameMatches as tn, sharedCi as tr, releaseFiles as tt, summaryMarkdown as u, replaceLine as ui, isConsoleSource as un, callsReleaseBuild as ur, npmLookup as ut, RULES as v, parseRuleConfig as vi, containedHome as vn, addSummaryJob as vr, swallowsTests as vt, versionTitle as w, HOME_SHAPES as wn, SECURITY_TIMEOUT_MINUTES as wr, isGitSpecifier as wt, workflowParses as x, shapeMessage as xn, summaryJobRule as xr, pnpmYamlParses as xt, workspaceProtocol as y, homeShape as yn, hasSummaryJob as yr, pipeFails as yt, eventClass as z, mapMarkdown as zn, prPathFilters as zr, PRIVATE_NAMES_FILE_VARIABLE as zt };
|
|
84090
84153
|
|
|
84091
|
-
//# sourceMappingURL=run-
|
|
84154
|
+
//# sourceMappingURL=run-BmDy6yLq.js.map
|