Add safe secret lifecycle and runtime service bindings#2
Merged
Conversation
miki3421
marked this pull request as ready for review
July 15, 2026 09:57
miki3421
marked this pull request as draft
July 15, 2026 11:02
miki3421
marked this pull request as ready for review
July 15, 2026 12:16
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
OPS_APIHOSTas application secrets, while providing a safe migration path for legacy bindingslist_buckets; verify read/write withput_object,get_objectplus content comparison, anddelete_objectWhy
Agents need deterministic OpenServerless primitives for action naming, authentication, and service wiring. Previously guidance could contradict the platform grammar, actions could be attempted with invalid underscore names, secrets could be partially bound, missing configuration could look successful, Redis could be assumed preinstalled, and S3 account-level bucket listing could be mistaken for an application health check.
The root cause was that these lifecycle and runtime contracts were implicit or enforced only after a mutation tool had already been called. This change moves them into MCP input schemas, shared parsers, generated wrappers, idempotent helpers, and explicit tool results so callers can recover without inventing parameters or leaking values.
Impact
Applications receive an actionable naming error before mutation (for example,
v1/employees_photosuggestsv1/employees-photo), can configure one shared authentication secret atomically, repair obsolete generated bindings, receive JSON-safe Redis values, and use S3 credentials according to their actual bucket scope. Existing compatible action creation remains a successful no-op.Validation
npm test— 12 tests passednpm run typechecknpm packand installed successfully in the Trustable Linux development VM