@theholocron/cli 5.2.1 → 5.4.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
@@ -727,7 +727,7 @@ commands and the config are provider-neutral; Discord is the first provider.
727
727
  | `holocron reconcile project [board]` | Sets item statuses where a rule says so: an open blocker means `blocked`, no blocker left means `planned`, closed means `done`, and, from the pull requests that close the item, an open one means `active` and green required checks mean `review` (a failure moves `review` back; GitHub reads them through `closedByPullRequestsReferences`) (status only; `--dry-run` previews; an open item with no status is reported). Runs hourly from `platform.projectReconcile.yml`, which `setup` writes when `providers.projects` declares boards |
728
728
  | `holocron reconcile ci [pull-request] [--max-age <minutes>] [--shadow] [--dry-run]` | Makes `ci / Required checks` say what the checks on each open pull request call for (spec `process-sentinel-posts-ci`): reads the head commit's check runs and statuses through `source` and posts the verdict with astromech's `postAggregate()`. A check missing or wrong for longer than `--max-age` (default 10) is a failing row, because a webhook was missed. Posts the real check only where `ci.aggregate` is `sentinel` (under `actions` it does nothing; `--shadow` repairs Sentinel's shadow check) and leaves a commit alone where the Actions job already posts it. The manual recovery path and, run every 15 minutes by the `reconcile-ci` task, the sweep |
729
729
  | `holocron doctor notifications [--built-only] [--deliver] [--post]` | Step by step: does the server match the layout, do the secrets exist, and does a person (not the bot) own it. A full run also leaves one `🧪 test:` post in the layout's `testChannel`; `--built-only` posts nothing; `--deliver` posts to every channel and removes each post; `--post [channel]` posts the result as the bot (the failures, or only the summary when none fail). It also reads the Checkly feed (webhook, alert channel, subscriptions), the Comlink relay (Worker, route, bindings, the tracker's integration and rule) and the Notifications workflow (the file, and the secrets it reads), posting nothing, so `--built-only` keeps those steps. The `bot-permissions` row compares what the bot's roles hold server-wide with the permissions it needs (`ServerInspection` `botPermissions`; the owner and Administrator hold all, channel overwrites are left to the forum row) and, when some are missing, fails naming them in plain words with the invite link that asks for them again (not a credential); it is skipped, with the reason, when the roles could not be read |
730
- | `holocron doctor ci` | Has the repo moved to the flat task vocabulary? One row each for the `tasks:` entries (a deprecated alias, with the id that replaces it), the generated callers (file, workflow and job name equal the task id), the `ci` aggregate's `expected` list (no id missing or stale) and where the callers point (`theholocron/.github` or holocron `ci-v1`). Read-only, no provider needed; exits 1 on a failure. `--shadow [--limit n]` adds a `shadow` row that compares Sentinel's `ci / Required checks (sentinel)` with the Actions `ci / Required checks` on the newest open and merged pull requests (through `source`): a decided pull request where they differ fails the row, and 20 consecutive that agree pass it (SPEC-0099). The ruleset's checks are `doctor repo`'s |
730
+ | `holocron doctor ci` | Has the repo moved to the flat task vocabulary? One row each for the `tasks:` entries (a deprecated alias, with the id that replaces it), the generated callers (file, workflow and job name equal the task id), the `ci` aggregate's `expected` list (no id missing or stale) and where the callers point (`theholocron/.github` or holocron `ci-v1`). Read-only, no provider needed; exits 1 on a failure. `--remote` adds `tag`, `refs` and `frozen` rows that read the hosted files over public URLs (run by `doctor --all` too). `--scan` adds a `repos` row naming each org repository that still calls the frozen `.github` files (clones every repo, so never in `doctor --all`). `--remote` adds three rows that read public URLs: the `ci-v1` tag exists in holocron, each file and action the workflows name at it is there, and every workflow left in `theholocron/.github` carries the frozen-copy notice (#1564). `--shadow [--limit n]` adds a `shadow` row that compares Sentinel's `ci / Required checks (sentinel)` with the Actions `ci / Required checks` on the newest open and merged pull requests (through `source`): a decided pull request where they differ fails the row, and 20 consecutive that agree pass it (SPEC-0099). The ruleset's checks are `doctor repo`'s |
731
731
  | `holocron doctor github-app` | Does each GitHub App instance in `githubApps` (`{ name, manifest, environment }`) have what its manifest file (`default_permissions`, `default_events`) declares? Reads the App's id and key from the vault `environment` in memory (never printed), calls `GET /app` and `GET /app/installations` with the App's JWT. Rows per instance: `reachable`, `events` (all subscribed), `permissions` (each granted at least at the manifest's level, `read < write < admin`), `installations` (none lags the App, a pending update fails). Extras on the App are `info` in a row's detail, never a failure. A gap ends with the App's settings page (user- or organization-owned) and, for an installation, its own page. Credentials that cannot be read are a skip; an unreadable manifest or a rejected JWT fails. Read-only |
732
732
  | `holocron redeliver webhooks [--since <time>] [--app <name>] [--dry-run] [--yes]` | Asks GitHub to deliver again the webhooks each `githubApps` instance's endpoint did not accept: reads the App's delivery log with its own JWT (id and key from its vault environment, in memory), keeps the deliveries whose latest attempt failed, and redelivers each once, oldest first (spec `process-sentinel-posts-ci`, recovery 2). Asks first unless `--yes` or `--dry-run`. It repairs every Sentinel handler; replaying is safe because each recomputes from the API |
733
733
  | `holocron doctor releases` | Did npm receive every release tag? One row per release line (each `release` task group, tags `<group>-v<version>`, and the repo-wide `v<version>`) and channel (`latest`, or a prerelease's first identifier such as `alpha`): the newest tag against what each package serves on that dist-tag. A package behind, or not on npm, fails the row, which names the tag and the `refs/notes/semantic-release-<tag>` note to delete and the two known causes (a sigstore 409, `ENEEDAUTH` fixed by `holocron publish package --sync-trust`). `publish package --skip-already-published` retries a sigstore 409 twice, publishes the rest of the group anyway and ends with every failure listed (and in the job summary), so a package left behind is the case to look for here. A tag under 30 minutes old is a skip. Reads git tags and npm's public registry; no provider or token. Read-only |