Repository navigation
Reconcile live contract drift (#1091); generate the middleware recipe's modules from the cookbook (#1095) - #1103
Merged
Merged
Conversation
…ipe's modules from the cookbook #1091: drop the removed `benchmark` command from RIM-EXT-HERMETIC-001 and assert that card's command lists against cli-command-metadata.ts; FRAMEWORK.md states MCP streaming is admitted on node and vercel and refused on aws, and links the readiness register instead of closed #58 while keeping the unperformed-review limitation; RELEASE-OPERATIONS.md loses the nonexistent release:template recovery branch; llms-full.txt regenerated. #1095 item 1: examples/cookbook is the one authored copy of the 14 middleware modules (and the 3 function modules the recipe shares). npm run docs:cookbook-index regenerates recipes/middleware's standalone copies and npm run check refuses a stale one; package smoke checks the packed copies equal the packed cookbook. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Closes #1091
Part of #1095
#1091: live contract drift
docs/RUNTIME-IMPLEMENTATION.mdRIM-EXT-HERMETIC-001 no longer lists the removedbenchmarkcommand. A new narrow test intest/runtime-implementation-contract.test.tscompares that card's "runs that replay requests" list withhermeticHostCommandsand its local-review list withlocalReviewCommandsminus the hermetic ones (both fromcli-command-metadata.ts). It only reads that card, so historical notes about removed commands elsewhere are still allowed.docs/FRAMEWORK.md: MCP streaming is admitted on node and vercel and refused on aws. Vercel delivery is delegated to the provider, and local adapter support is not proof of a provider deployment.docs/FRAMEWORK.mdopening: the closed Track full auth/admin spike release acceptance across extension repos #58 link is replaced by the readiness register. It still says plainly that no independent security review has been performed.docs/RELEASE-OPERATIONS.md: removed the recovery branch for the nonexistenttemplatejob andrelease:templatescript.llms-full.txtregenerated.#1095 item 1: middleware recipe mirror
examples/cookbook/is now the only authored copy of the 14 middleware modules. It is also the only authored copy of the 3 function modules the recipe already mirrored and the existing test already checked.npm run docs:cookbook-index(scripts/build-cookbook-index.ts, the existing cookbook generator already incheck:docs --check) now also regenerates the standalone copies inrecipes/middleware/{middleware,functions}/from the files listed inrecipe.yaml.npm run checkrefuses a stale copy.recipes/straight from the checkout and the source-tree recipe loader reads them too, so build-time-only generation would have needed Dockerfile and loader changes.test/recipes.test.tsis kept.scripts/package-smoke.tsnow also checks that every packedrecipes/middleware/*/*.mjsequals the packed cookbook file.docs/MIDDLEWARE-EXAMPLES.md,docs/RECIPES.md.Items 2 (MCP
run_testsvsrun_test) and 3 (shared skill facts) are not changed here. The assessment is commented on #1095, and those items stay open.Evidence
npm run typecheck,npm run typecheck:tooling: pass.npm run verify: lint, check, build and tests all ran. There was one failure,test/sandbox-pool.test.ts"the deadline kills the worker with 504…" (a timing test in an area this PR does not touch). It passed 12/12 when rerun on its own.npm run verify:workspacespassed on its own.npm run test:package: pass (packed archive, including the new recipe mirror check).🤖 Generated with Claude Code