Skip to content

Trial fixes: init --with names version skew, pinned shipped README links, openapi --check, find-user (#911, #916, #917) - #921

Merged
jimhoyd merged 11 commits into
mainfrom
claude/trial-small-fixes
Sep 29, 2026
Merged

jimhoyd merged 11 commits into
mainfrom
claude/trial-small-fixes

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Fixes #911 and #916, and #917 items 1, 3 and 4, all found by the #841 agent trial. Item 2's options are on #917.

Evidence (macOS, Node 26)

  • npm test 1183. npm run verify passes after merging main (Authenticated fixtures reach audit readiness (#914) #918). npm run test:package passed before the merge.
  • Budgets: core raised to 969 / 3816 KiB, 520 entries (measured 987,655 / 3,903,679 bytes, 515 entries; the OAS schema now ships in core). Store raised to 100 / 375 KiB.

Limits

  • Pinned links point at the v0.6.5 tag, whose docs may lack newer anchors until the next release bump.
  • The skew diagnosis can't tell apart two builds that carry the same version and neither has a file: pin.

🤖 Generated with Claude Code

jimhoyd and others added 9 commits September 29, 2026 08:32
…skew (#911)

An installed extension whose entry failed to import (a SyntaxError for a
missing core export) reached the CLI as a plain Error and printed the generic
'Operation failed'. The import is now wrapped in an addon-load ConfigError that
quotes the failure, says whether the add-on catalog and the site's core come
from different builds, and gives the next step; init --with adds the two-step
path that keeps the site.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pes (#916)

Installed package READMEs linked ../../docs/..., which an install does not
have, and the store README linked blob/main. Their links are now reference
definitions pinned to blob/v<current version> inside a
urlcode-current-version block, so release:bump moves them; SECURITY.md files
link the repository security policy. The store README shows the list shape
{items,total,next?,may,etags}, the error envelope and points to
urlcode openapi --host-file.

check-local-links gains a shipped-link rule (a shipped package Markdown file
may not link outside its package or at main) and checks pinned
blob/v<current>/ links against the checkout, fragments included.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… 3.1 schema (#917)

The official OpenAPI 3.1 schema (Apache-2.0, attributed in NOTICE) moves
from test/fixtures/openapi to data/openapi and ships in the core package.
packages/core/src/openapi-check.ts checks a document against it (with the
documented $dynamicRef workaround), every Schema Object against the JSON
Schema 2020-12 meta-schema and every local $ref. urlcode openapi --check
[file.json] checks the project's export or a file, prints a bounded report and
exits 1 when invalid. The repository's export tests now use the same check.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
members add --principal needs the Better Auth user id, and for a
self-registered user the only way to get it was a SQL query. find-user looks
the user up through Better Auth's internal adapter (the case-insensitive
lookup its sign-in uses), prints id, email, name and createdAt as one JSON
line, exits 1 when no user has the email, and never migrates or creates the
database.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the store guide (#917)

errors.format: json already gives a body-schema 422 the store's
{error:{code,message,issues}} nesting; HTTP.md and STORE.md now say so, show
the site.errors setting, and note that the code vocabularies differ
(UNPROCESSABLE_CONTENT vs invalid_record) and that without format: json the
422's error is a string. STORE.md's members add points at
urlcode-auth find-user. llms-full.txt regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Core now ships the OpenAPI 3.1 schema and openapi-check; the store README
gains response shapes and pinned links. Measured on Node 26 with headroom
for CI's Node 24 gzip variance.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jimhoyd
jimhoyd merged commit 1637c60 into main Sep 29, 2026
27 checks passed
@jimhoyd
jimhoyd deleted the claude/trial-small-fixes branch September 29, 2026 14:37
jimhoyd added a commit that referenced this pull request Sep 29, 2026
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.

init --with fails with a generic 'Operation failed' and writes nothing

1 participant