Skip to content

fix(registry): catch what the drift check missed, and refresh the manifests - #748

Merged
leemour merged 1 commit into
mainfrom
fix/drift-checks
Nov 25, 2026
Merged

leemour merged 1 commit into
mainfrom
fix/drift-checks

Conversation

@leemour

@leemour leemour commented Nov 25, 2026

Copy link
Copy Markdown
Member

Task

Make the registry drift check catch what it missed, and fix today's red run (#746).

Why

The check compared only what a manifest states, so a key the CLI leaves out was never drift. It read only Desktop's main branch, not the release people run. And its allow list accepted "not checked" as a reason, with no end date, so open questions stayed open.

What

scripts/official-tools.ts --check now also fails on:

  • A key the manifest leaves out or sets to null while Desktop's catalog runs something there. This found that zm and pbx state no meetings, gcal 0.35.0 states no accountRemove, and the messengers state no sync. Desktop's own fields stay out: mcpServer.port, accountRemove.keeps, skill.doctorSkills, and sign-in methods a CLI does not state (Desktop's carry fields the manifest has no place for). sync.lastShape is compared too.
  • A command Desktop runs that the CLI's latest release no longer has, read from both main and Desktop's latest release (v0.8.0 today). Desktop 0.8.0 still runs account list for tg, max and wa. Run on the live tg 0.136.0 manifest with account list taken out, the check reports tg profiles.args: Desktop v0.8.0 runs account list --no-record --json, @wirecat/tg-cli 0.136.0 has no such command. Each run now prints which tag it compared.
  • accountRemove.removes: the catalog must name at least the manifest's words. The schema has only signIn, so Desktop's serverSession for max is right: max session end logs out on MAX's side (max-cli v0.119.0 src/commands/session.ts).
  • An allow line without a real reason, or without an until date or an issue link. "Not checked" is refused, and a line past its date fails.

Every line in registry/drift-allow.json was settled from the CLI source at its npm version, and from Desktop's overlay code:

  • The one-argument and two-argument runs list filters ask the same thing, because cli-core joins the query words (src/cli/list-query.ts:134).
  • drive, gcal, email and zm still have the commands Desktop 0.8.0 runs as their doctor (status, session status).
  • What a sign-out keeps is Desktop's own wording, and is no longer compared.
  • Texts stay Desktop's by design (wirecat-desktop docs(privacy): name the npm version check and where sign-in keys can live #476), dated until the owner picks one wording.

Other changes:

  • --catalog <file> checks a Desktop branch before it merges.
  • registry/official-manifests.json is refreshed: hubspot 0.8.0, linear 0.5.0, max 0.119.0, memo 0.153.0, notion 0.9.0, pbx 0.10.0.

Closes #746

Testing

🤖 Generated with Claude Code

…ifests

The drift check between Desktop's catalog and each CLI's manifest now catches
four more kinds of drift:

- A key the manifest leaves out or sets to null, while the catalog runs
  something there (zm and pbx state no meetings, gcal 0.35.0 no accountRemove,
  the messengers no sync). Desktop's own fields stay out: mcpServer.port,
  accountRemove.keeps, skill.doctorSkills, and sign-in methods a CLI does not
  state.
- A command line in Desktop's catalog that names a command the CLI's latest
  release no longer has. It reads both main and Desktop's latest release, the
  catalog people run (Desktop 0.8.0 still runs `account list` for tg, max, wa).
- accountRemove.removes: the catalog must name at least the manifest's words.
  The manifest's schema has only signIn, so max's serverSession is right.
- An allow line in drift-allow.json without a real reason, or without an
  "until" date or an "issue" link. "Not checked" is refused, and a line past
  its date fails.

Every allow line now says why the difference is right for now, from the CLI
source at its npm version, and when it is looked at again. `--catalog <file>`
checks a Desktop branch before it merges.

registry/official-manifests.json is refreshed: hubspot 0.8.0, linear 0.5.0,
max 0.119.0, memo 0.153.0, notion 0.9.0, pbx 0.10.0 (issue #746).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 6078de9 into main Nov 25, 2026
3 checks passed
@leemour
leemour deleted the fix/drift-checks branch November 25, 2026 21:16
leemour added a commit that referenced this pull request Nov 25, 2026
## Task

Move the Slack CLI (`slk`) pages to slack-cli
[v0.3.0](https://github.com/WireCatLabs/slack-cli/releases/tag/v0.3.0),
now on npm.

## What

- `tools.json`: `slk` `docsRef` v0.2.0 → v0.3.0.
`translations/sources.json` from `pnpm sync`.
- `translations/slk/changelog.{ru,es}.md`: the 0.3.0 section (inbox
shows new replies in the threads you follow, built on cli-core 1.0.0 and
cli-base 1.0.0 with store version 73 and `store migrate --no-backup`).
Source links moved to `blob/v0.3.0/`.
- `translations/slk/commands.{ru,es}.md`: `store migrate [options]` with
its new `--no-backup` option, as in the English source.
- All four accepted with `docs:translation accept`.
- `registry/official-manifests.json`: no change. main already holds slk
0.3.0 since #748. The generator also moved two other tools, left to
their own PRs.

## Testing

`pnpm sync` (all tools), `pnpm docs:contracts`, `pnpm docs:check` and
`pnpm docs:release-notes`: pass.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Registry drift: Desktop's tool list lags a release

1 participant