Conversation
…pace registry documentation
Lambda Feedback's x-lf schema fragments are published at lambda-feedback/mued-vendor-spec. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017BgnWSuAQFVeeTDrUmo4Uc
Contributor
|
@m-messer Can you explain a bit more in detail what the idea behind this will be and why we need it (also, why the Just so I can better understand the reasoning behind this? 🙂 |
Contributor
Author
|
@maximiliansoelch Sorry, it wasn't clear in the first place. The idea behind vendor extensions is to formalise platform-specific schemas. The example for Lambda Feedback can be found here: https://github.com/lambda-feedback/mued-vendor-spec |
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.
Summary
vendorExtensionsextension point (paths/shared/schemas/VendorExtensions.yml), referenced fromChatRequest.context,ChatRequest.configuration,EvaluateRequest.configuration, andUser, so platform-specific data doesn't have to be forced into core schemas or fork the spec.x-<platform-slug>insidevendorExtensions, following the OpenAPI Specification Extensions convention.VENDOR_EXTENSIONS.md, a namespace registry (namespace → owner → docs link) to prevent collisions, plus the governance rule that a concept only graduates into a core/shared schema once ≥2 independent platforms need the identical shape.README.mdandCONTRIBUTING.md.x-lfnamespace, documented at https://github.com/lambda-feedback/mued-vendor-spec.Background: module/set/question were found to be Lambda-Feedback-specific concepts during spec work, not universal — this gives vendors a sanctioned extension point instead of baking platform vocabulary into core schemas.
Test plan
npm run lint— no new errors/warnings vs.mainbaseline (8 pre-existing warnings, unrelated to this change)npm run bundle— all fourvendorExtensionsoccurrences resolve correctly indist/openapi.ymlVENDOR_EXTENSIONS.md🤖 Generated with Claude Code
https://claude.ai/code/session_017BgnWSuAQFVeeTDrUmo4Uc