Skip to content

GEN-4797: document the two-phase 428 confirm on destructive vidsheet deletes - #65

Open
mavxdegods wants to merge 1 commit into
mainfrom
gen-4797-document-428-confirm
Open

mavxdegods wants to merge 1 commit into
mainfrom
gen-4797-document-428-confirm

Conversation

@mavxdegods

Copy link
Copy Markdown
Member

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 deleteLayer is publicly advertised here (openapi + both llms files) and gen_delete_variable is in llms.txt's public MCP tool list; an unannounced 428 on a documented DELETE breaks external agents mid-flow.

  • openapi.yaml: deleteLayer gains the 428 response schema (error_code: confirmation_required, would_destroy, confirm_token, expires_in, token_rejected) and the optional confirm_token query 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

…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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants