GEN-4797: document the two-phase 428 confirm on destructive vidsheet deletes - #65
Open
mavxdegods wants to merge 1 commit into
Open
mavxdegods wants to merge 1 commit into
mavxdegods wants to merge 1 commit into
Conversation
…deletes deleteLayer (the publicly advertised DELETE) gains its 428 response + confirm_token query param in openapi.yaml; llms.txt and llms-full.txt document the confirm protocol on the layers endpoint and in the MCP vidsheet tool list (gen_delete_variable is publicly advertised there). Co-ships with gen-backend-v2 #2002, which introduces the gate — an unannounced 428 on a documented DELETE would break external agents mid-flow. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This branch has not been deployed
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.
Companion docs PR for poweredbyGEN/gen-backend-v2#2002 (GEN-4797) — the Rails-boundary two-phase confirm gate on destructive vidsheet deletes. Must merge/deploy together with (or immediately after) the gate, because
deleteLayeris publicly advertised here (openapi + both llms files) andgen_delete_variableis in llms.txt's public MCP tool list; an unannounced 428 on a documented DELETE breaks external agents mid-flow.openapi.yaml:deleteLayergains the428response schema (error_code: confirmation_required,would_destroy,confirm_token,expires_in,token_rejected) and the optionalconfirm_tokenquery parameter.llms.txt: confirm protocol noted on the layers DELETE endpoint and in the Vidsheets MCP tool list.llms-full.txt: full protocol block in the Layers section, including the variable-delete case (preview lists the{{name}}-referencing cell ids that would break).DELETE column stays undocumented here on purpose — it was never advertised on this surface (census finding; adding it would widen the public contract, which is a separate decision).
Do not merge before gen-backend-v2#2002 has a merge/deploy decision. Follow-ups: GEN-4807 (ASK 428 handling), GEN-4808 (SDK/MCP token flow).
🤖 Generated with Claude Code