Skip to content

Add a store-crud recipe to the catalog (refs #324) - #325

Merged
jimhoyd merged 2 commits into
mainfrom
feat/store-crud-recipe-324
Sep 20, 2026
Merged

jimhoyd merged 2 commits into
mainfrom
feat/store-crud-recipe-324

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #324 (does not close it).

What

  • New catalog recipe recipes/store-crud (one todos collection served by the operator-installed store extension, ordered create/read/update/delete fixture that leaves the collection empty and is re-runnable). urlcode recipes search "crud store persist" finds it first.
  • README and recipe metadata state plainly that the operator installs @jimhoyd/urlcode-store and writes a host file, and that init --with store is not yet available from npm until release wiring ([Request]: Wire @jimhoyd/urlcode-store into the release train #323) lands.
  • Updated RECIPES.md, STORE.md, OPEN-DECISIONS.md, AI-AUTHORING.md and llms.txt (the "report it as a gap" statements); regenerated llms-full.txt.

Core change

None beyond the catalog name in src/recipes.ts: the fixture host already runs extension-backed recipes and supports ordered steps fixtures with captures. Core cannot import the store package (root typecheck resolves @jimhoyd/urlcode/extensions from dist), so the recipe's fixtures run in packages/store/test/store.test.ts against the real extension; core's every-recipe loop skips it with a comment. Derived metadata and the search are still checked by the core recipe tests.

Package budget

Core pack is now 428 files against the 430 cap (the recipe adds 4). Cap not changed; only 2 entries of headroom remain.

Verification

npm ci, npm run docs:llms, npm run check:docs, npm run verify all pass locally (macOS). Paths use node:path join; no POSIX-only assumptions. Note: audit --expect-routes 1 against the recipe was verified manually with the store registered but is not part of an automated test.

🤖 Generated with Claude Code


Package budget (reviewed explanation). Raises the core entries budget in scripts/package-audit.ts from 430 to 440, as the maintainer approved. CI counts 432 entries in the built package: recipes/store-crud adds four files on top of the not-found and body-validation examples. Packed and unpacked size budgets are unchanged.

jimhoyd and others added 2 commits September 20, 2026 14:13
The recipe declares one collection served by the operator-installed store
extension, with an ordered create/read/update/delete fixture that leaves the
collection empty. Its fixtures run in packages/store, which can import the
real extension; core cannot. Docs and the AI gap statements now point at the
recipe and state that the operator installs the store and that init --with
store is not yet available from npm (#323).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
CI counts 432 entries in the built package: the store-crud recipe adds four
files on top of the not-found and body-validation examples. Approved by the
maintainer.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@jimhoyd
jimhoyd force-pushed the feat/store-crud-recipe-324 branch from 2f48bee to 4c1f0e6 Compare September 20, 2026 19:15
@jimhoyd
jimhoyd merged commit e5704f9 into main Sep 20, 2026
20 checks passed
@jimhoyd
jimhoyd deleted the feat/store-crud-recipe-324 branch September 20, 2026 19:24
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