@theholocron/astromech 5.0.0-alpha.282 → 5.0.0-alpha.284

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
@@ -248,3 +248,16 @@ config surface don't pull `@commitlint/*` in:
248
248
  The root entry also exports the config-file generators `holocron repo setup`
249
249
  writes (`createEditorconfig`, `createAlexrc`, `createPrePush`, …) and
250
250
  `createHeader`.
251
+
252
+ ## Repo validation — `@theholocron/astromech/repo-validation`
253
+
254
+ The rules of the `platform.repoValidation` checks, once, as pure functions over plain data (changed files, commit
255
+ subjects, the PR description, a manifest) that return findings. They do no git, no filesystem and no network, so the two
256
+ interfaces that run them only supply the data: the CLI (`holocron probe docs presence`, and the `docsEnforcement` job of
257
+ `holocron run platform.repoValidation`) from git, and [Sentinel](https://docs.theholocron.dev/holocron/sentinel/) from the
258
+ webhook and the GitHub API (#929).
259
+
260
+ - Docs presence: `isFeat(subjects)`, `packageOf(file, readPackage)`, `pageNames(dir)`, `hasDocsSignal(dir, changedFiles, addedCommentLines)`,
261
+ `isAddedDocComment(line)`, `parseSkipDocs(text)` (the `[skip docs] <reason>` marker) and
262
+ `evaluateDocsPresence({ packages, changedFiles, addedCommentLines, skip })`, which sorts a feature's packages into
263
+ those to warn about and those a marker excused.
package/dist/index.d.mts CHANGED
@@ -73,7 +73,7 @@ export declare function codecovConfig(repoRoot: string, existing: string | null,
73
73
  *
74
74
  * `theholocron/.github` is a **pure sync target**: `.github/workflows/*`,
75
75
  * `.github/actions/*` and `workflow-templates/*` there are generated from the
76
- * `.yml` files in `src/templates/reusable/` and pushed verbatim (with a
76
+ * `.yml` files in `ci/` (`@theholocron/ci`) and pushed verbatim (with a
77
77
  * "do not edit" header). Never hand-edit them in `.github`.
78
78
  *
79
79
  * Not to be confused with `WORKFLOW_TEMPLATES` in `github-action-thin-callers.ts` — those are