Skip to content

The doctor's checks in the order of the pages; one-loop takes main - #59

Merged
davidjalbers merged 3 commits into
one-loopfrom
the-doctor-checks-in-the-pages-order
Dec 1, 2026
Merged

davidjalbers merged 3 commits into
one-loopfrom
the-doctor-checks-in-the-pages-order

Conversation

@davidjalbers

Copy link
Copy Markdown
Contributor

Two separate things, as two commits.

1. The doctor's checks in the order of the pages.
The compendium's pages, as they will be at the release (plexus-ms/compendium#13), state the check of PLX-Repo/Hooks in § 2 of contracts/repo.md and the check of PLX-Repo/Verbs in § 3, each in a sentence of its own.
CHECKS now follows that order, and the hermetic copy packages/lib/src/testing/doctor-checks.md holds the two sentences verbatim from that page at a99b099.
The test's own FAILING table follows CHECKS, since a test holds the two in the same order.

What a user sees change: in plx doctor's output, and in the findings of --json, a repo's PLX-Repo/Hooks findings now come before its PLX-Repo/Verbs findings.
Nothing else changes: --help does not list the checks, and no other test or newborn asserts the order of findings across requirements.

2. one-loop takes main.
origin/main is merged in with a merge commit; its one commit (#52, the changesets "format": false fix) is already in one-loop through #50.
Three conflicts, each resolved to one-loop's side: newborns/repo-turbo.test.ts and packages/dev/src/ship.integration.test.ts, where one-loop already asserts what main added, in its own words; packages/lib/src/updatesMove.test.ts, which one-loop deleted, stays deleted.
The template's .changeset/config.json.jinja merged clean and is the same on both sides.
The merge changes no file against its first parent, and origin/main is an ancestor of the head.

The order at the cut.
doctor.test.ts reads a compendium only when PLX_COMPENDIUM is set, and nothing sets it: not mise test, not mise e2e, not mise ship, not the hooks, not the workflows.
turbo runs the tests in strict env mode, so a PLX_COMPENDIUM in the maintainer's shell does not reach them either: with it set to the released compendium, turbo run test --filter=@plexus-ms/lib --force passed on the hermetic copy.
So the cut passes in any order of the merges, as far as this test goes.
Against the released compendium (main), the test fails as it already did before this change, since that page still names PLX-Repo/SubVerbs; it passes once compendium#13 is merged.

Verification.
node --test packages/lib/src/doctor.test.ts was red before the change with PLX_COMPENDIUM set to compendium#13, and red with the hermetic copy once the copy was updated; after the change it is green with both.
The forced mise run test && mise run e2e passed: the packages' unit tests all green, newborns 58 of 58.

🤖 Generated with Claude Code

davidjalbers and others added 3 commits November 30, 2026 22:39
… with @changesets/cli 3.1.0 (#52)

* test(newborns): a package repo's changeset version writes a changelog its verify accepts

The newborn package repo asserts the CHANGELOG.md that changeset version
writes and runs its own verify on the result, so that a changelog the repo's
Biome would refuse, or a formatter changesets cannot start, fails here.

Refs PLX-196

Co-Authored-By: Claude Fable 5.2 <[email protected]>

* fix(repo-turbo): a package repo's changesets format nothing

@changesets/cli 3.1.0 (apply-release-plan 8.2.0, write 1.1.0) adds Biome to
the formatters its default "format": "auto" detects, finds biome.json, and
formats each changelog and changeset it writes with
`pnpm exec @biomejs/biome format`. pnpm exec runs a binary, and Biome's is
`biome`, so changeset version exits 1 in every package repo of the template
(changesets/format#56, open). Biome would have nothing to do anyway: the
shared configuration turns its formatter off for Markdown. "format": false,
which @changesets/config 4.0 already accepts, says so and holds for 3.0 and
3.1 alike.

Refs PLX-196

Co-Authored-By: Claude Fable 5.2 <[email protected]>

* test(lib): the move test no longer holds for repo-turbo, whose template has changed since

Its header says a later change to a template ends the test for it: the
changesets key added to repo-turbo's .changeset/config.json is such a change.
repo-operations is left as it was.

Refs PLX-196

Co-Authored-By: Claude Fable 5.2 <[email protected]>

* test(dev): the move test compares what the move concerns, since repo-turbo's template has changed since

Refs PLX-196

Co-Authored-By: Claude Fable 5.2 <[email protected]>

---------

Co-authored-by: Claude Fable 5.2 <[email protected]>
…PLX-Repo/Verbs

The contract page states the check of PLX-Repo/Hooks in § 2 and that of
PLX-Repo/Verbs in § 3, each in a sentence of its own below its requirements
block. CHECKS follows that order, so a repo's findings of the hooks come
before those of the verbs, and the hermetic copy of the sentences says what
the page says.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ries already

main's one commit (pull request 52) makes a package repo's changesets format
nothing. one-loop carries the same fix from its own pull request 50, so the
merge changes no file: the template's .changeset/config.json merged clean and
equal on both sides, and the three conflicts are resolved to one-loop's side.
newborns/repo-turbo.test.ts and the move test in ship.integration.test.ts
already assert what main added, in one-loop's words; updatesMove.test.ts stays
deleted, as one-loop deleted it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@davidjalbers davidjalbers self-assigned this Dec 1, 2026
@davidjalbers
davidjalbers merged commit 14ae75d into one-loop Dec 1, 2026
2 checks passed
@davidjalbers
davidjalbers deleted the the-doctor-checks-in-the-pages-order branch December 1, 2026 01:22
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.

1 participant