Repository navigation
Use one schema for the ExAPI Registry and ExAPI Catalog - #1302
Merged
Merged
Conversation
This was referenced Nov 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.
Linked Issue
Advances #1206. The External API Registry (ExAPI Registry) is the YAML used by WranglesPY. The External API Catalog (ExAPI Catalog) is the public JSON generated for callers such as XL. Saved and inline extraction follows in #1296. Wrangles-Translate #20 deployed the service binding. ECS reported both production tasks on revision 16 at that deployment. Deployment run · Translate documentation #21
What Changes
The ExAPI Registry loader, runtime and ExAPI Catalog compiler use one schema, currently v4.
wrangles.ai_config.load()andload_snapshot().configexpose the actual YAML structure. The compiler takesschema_version,configuration.versionand the artifact filename version from the same validated YAML version. The YAML byte revision still identifies the exact source.The ExAPI Registry uses
run,editandsummarize. The packaged Python ExAPI Catalog exposesrunforai.decisions(alias:ai.answers),search.ai_modeandtranslate. A deployment can add a caller selection foreditonlookup.semanticorsummarizeon Notes (notes). Lookup-DIY and API-Core own those service actions.Python and recipes send the resolved DeepL provider/API to the existing authenticated Translate gateway.
target_languageis a required string kwarg andsource_languageis optional. The service owns supported languages, auto-detection, DeepL payloads and Free/Pro host selection. Existing positional calls continue to work. Both customer and shared credentials can fund this operation, so its choice has no fixedkey_id.Current-schema replacements and all 13 packaged operations must declare
credential_sourcesfor the key owners they support. Wrangles Secrets serve customer-managed keys. AWS Secrets Manager is the preferred store for service and test keys. GitHub Actions secrets are deprecated for provider keys. A deployment can export a verified publickey_idfor a fixed service binding, including a routed API. The ExAPI Catalog omits provisioning metadata. Provisioning policyThe inventory traces product and GitHub test operations, including all three Notes request kinds and lookup training and serving. It records the shipped DeepL customer/shared-key selection, CI delivery from AWS, the Notes Writer provisioning gap and the unverified lookup credential source. Provisioning review · ExAPI Registry example
Windows x64 on CPython 3.14 can install the official
lxmlwheel from the maintainers’ GitHub release. PyPI omitted that platform’s wheel for 6.2.1. The supplemental pip requirements verify the upstream SHA-256 and allow newer binary releases from PyPI. Both Windows 3.14 CI jobs use the same file, which is also linked from the README. Windows wheel requirements · Upstream 6.2.1 releaseHow It Was Verified
At
be085a26, the credential-free WranglesPY suite passed 3,476 tests, with 6 skipped and 139 deselected. A focused run covering the loader, compiler and generation requests passed 173 tests. The pytest selection check andgit diff --checkpassed.Built and installed the wheel offline. Its
wrangles-api-catalogexecutable exported the packaged file and a replacement that omitted Translate. The command rejected a v3 input before creating an output directory. The wheel contains the YAML and omits the retired compatibility module. The published choices contain no secret-store fields, endpoints or language lists.Verified the documented lookup YAML exports its synthetic
key_idand checked 33 documentation links and anchors. Earlier cross-repository tests exercised the Python caller and the Flask service with customer and shared keys, and the service suite passed 63 tests including 13 live DeepL batches. Translate CIPrior Python head
2846d00apassed all six GitHub Linux/Windows combinations, package installation and image build. One original Ubuntu 3.11 attempt hit a Core row-lock timeout during model cleanup. Prior successful run · Original cleanup failure · Follow-up.At
021e0d69, a fresh pip resolution targeting Windows x64 and CPython 3.14 downloadedlxml-6.2.1-cp314-cp314-win_amd64.whl. The platform tag, version and SHA-256 matched the official release. At the previous head, the install and pytest jobs both selected the source distribution and failed on missing libxml2 headers.simple-salesforcebrings inzeep, which useslxmlfor XML. Previous failureGitHub CI passed at
021e0d69. All six Ubuntu/Windows and Python 3.11/3.13/3.14 combinations passed the package-install and pytest jobs. Windows Python 3.14 installedlxml6.2.1 and finished with 4,179 passed, 6 skipped. The PR image built and passed its container smoke test,pip checkand recipe checks. CI run · Windows pytest · PR image validationCompatibility and Risk
An environment using
WRANGLES_AI_CONFIGmust supply a complete current-schema ExAPI Registry. The loader rejects v1–v3, unknown versions and versionless files. It never fills an omitted caller binding from the packaged file. Older action names and the OpenRoutersystemonespelling are rejected. Userun,edit,summarize,openrouter/decisionsfor Microsoft andtypesafe/systemonefor Jev. Direct model operations read API endpoints fromproviders.<provider>.apis.<api>.endpoint. The public Python import, YAML path, wrangle alias, and saved wrangle definitions still work.A search of organization repositories found no checked-in external service reading an older schema. Wrangles-Translate accepts the resolved provider and API on the request. Deployment-specific overrides were outside this source audit. Migrate any such file alongside the owning service. For rollback, restore the prior package, configuration and matching generated artifact together. The lookup trainer’s real billing ID is still pending upstream verification.
Ready-for-Review Checklist
ebhills)mainand has no local merge conflicts