Repository navigation
Trial fixes: init --with names version skew, pinned shipped README links, openapi --check, find-user (#911, #916, #917) - #921
Merged
Conversation
…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]>
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]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ink rule Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
enabled auto-merge (squash)
September 29, 2026 14:11
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
jimhoyd
added a commit
that referenced
this pull request
Sep 29, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
init --withsaid only "Operation failed".URLCODE_ADDONSpointed at newer packed add-ons. An import then failed as a plain Error, which the CLI swallowed.loadDefinitionnow raisesaddon-load, which quotes the import error, diagnoses the version skew, and gives the next step.init --withalso says the init was undone and suggestsinitthenextensions add.test/init-with.test.ts.urlcode-current-versionblock, sorelease:bumpmoves them. This covers the store and mcp READMEs, plus two links in the auth and mcp READMEs that were added on main.{items,total,next?,may,etags}, the error envelopes, and a pointer tourlcode openapi --host-file.shipped-linkrule incheck-local-links: a shipped README that links outside its package, or toblob/main, now fails. Pinned links are checked against the checkout, anchors included.urlcode openapi --check [file].data/openapi/with NOTICE attribution (Apache-2.0), including the documented$dynamicRefworkaround.$ref.urlcode-auth find-user --email. Uses Better Auth's own adapter (findUserByEmail, case-insensitive), with no raw SQL. Documented next tourlcode-store members add.errors.format: jsonthey already share the same{error:{code,message,issues}}structure; only the code vocabularies differ. HTTP.md's "One parser for runtime and store errors" showssite.errors: {format: json, paths: [/api/*]}. No wire format changed.Evidence (macOS, Node 26)
npm test1183.npm run verifypasses after merging main (Authenticated fixtures reach audit readiness (#914) #918).npm run test:packagepassed before the merge.Limits
file:pin.🤖 Generated with Claude Code