Repository navigation
fix: split pod-action on /directory and mark update-template destructive - #147
Merged
Merged
Conversation
OpenAI's plugin review flagged pod-action for running operations that are not exposed as tools, and update-template for overwriting settings while marked non-destructive. /directory now serves start-pod, stop-pod and restart-pod (terminate is delete-pod); the default surface keeps pod-action. update-template is destructive in both profiles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
justinwlin
approved these changes
Oct 23, 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.
Two findings from OpenAI's plugin review of
mcp.runpod.io/directory:pod-action: "appears to execute operations that are not individually exposed. Please expose each model-callable operation upfront as a separate tool."/directorynow servesstart-pod,stop-podandrestart-pod(src/specgen/tools/pod-transitions.ts). Each takes only the Podidand wrapspod-actionwith the transition fixed. Terminate is alreadydelete-pod.start-podis a non-destructive write;stop-podandrestart-podare destructive (they interrupt work and wipe the container disk, per the concept graph'scontainer-disk.what-survivesrule).pod-actionis classified out of/directorywith its reason. The default surface (/) still servespod-actionand doesn't get the new tools.update-template: "marked destructiveHint: false, but its behavior appears to cause material loss or a hard-to-reverse change."destructiveHint: truevia the generator config, with the reason inline: it overwrites the image, env, registry and container settings and can make a private template public. This applies to both profiles. The annotation test row is updated.Tests: the classification test now covers both profiles, because directory-only tools exist. A new test pins the three Pod tools and their hints and checks that
pod-actionis absent. 517/523 pass; the 6 failures are the pre-existingfindClaudeBinaryones that also fail on main.The third finding ("server instructions need further review") is a human-review note, not an error; the
/directoryinstructions are factual with no directives.🤖 Generated with Claude Code