Skip to content

docs: remove fabricated API from enterprise environments guide - #1237

Draft
chris-garber-vapi wants to merge 1 commit into
mainfrom
docs/remove-fabricated-gitops-api
Draft

chris-garber-vapi wants to merge 1 commit into
mainfrom
docs/remove-fabricated-gitops-api

Conversation

@chris-garber-vapi

Copy link
Copy Markdown

Problem

fern/enterprise/dev-uat-prod.mdx documents an API and tooling that do not exist. It currently teaches readers, as if real:

  • https://api.vendor.com/v1/assistants in curl examples and a Node deployer
  • An invented resource schema — kind: Assistant, apiVersion: v1, spec.systemPromptRef, safetyPolicyRef
  • Invented commands — npm run plan -- --env uat, npm run validate:all, npm run apply -- --env prod --approve
  • A GitHub Actions workflow built on all of the above

None of it corresponds to Vapi or to VapiAI/gitops, which uses .md/.yml resource files, .env.<org>, and setup/validate/apply/promote/audit/rollback.

This is live at docs.vapi.ai/documentation/best-practices/enterprise-environments-dev-uat-prod.

Change

Removes the fabricated schema, curl examples, Node deployer, and CI workflow — about 80% of the page.

Keeps what is accurate: environment topology, RBAC and secrets guidance, promotion workflow, operational runbooks, promotion checklist, and the built-in versioning FAQ answer.

Two corrections beyond deletion:

  • The managed-resource list previously included things Vapi has no concept of (Runtimes/Policies, safetyPolicyRef). Replaced with the nine resource types the GitOps template actually supports: assistants, squads, tools, structured outputs, personalities, scenarios, simulations, simulation suites, evals.
  • Added an explicit note that storing configuration in Git does not by itself enforce review, testing, or release gates — those are branch protections and CI jobs a team configures. The old page implied the workflow provided them.

Points readers to the GitOps template as the authoritative reference until the follow-up lands.

Scope

Deliberately a deletion, not a rewrite. The full GitOps guide — real setup, the command table, promotion via the template's shipped promotion.yml, and a redirect to a /gitops slug — is the next PR in the stack. This one is separated so the incorrect content can come down without waiting on review of new pages.

No navigation or slug changes, so the public URL is unaffected.

Verification

  • Confirmed no fabricated references remain (vendor.com, apiVersion, systemPromptRef, safetyPolicyRef, npm run plan, validate:all, secrets://, Idempotency-Key).
  • Confirmed all three internal links resolve to real slugs: /assistants/versioning, /observability/simulations-quickstart, /test/run-and-maintain-tests.
  • Confirmed <Note> tags balanced and no stray < that would break MDX parsing.
  • Resource list and command names checked against the VapiAI/gitops README.
  • fern check not run locally — FERN_CLI_PATH is unset and the Fern CLI isn't installed here. This change touches only MDX body content, no docs.yml or API spec, so CI's run should be the meaningful one.

🤖 Generated with Claude Code

The enterprise environments page documented an API and tooling that do not
exist. It taught readers to call `https://api.vendor.com/v1/assistants`, use an
invented resource schema (`kind: Assistant`, `apiVersion: v1`,
`spec.systemPromptRef`, `safetyPolicyRef`), and run invented commands
(`npm run plan -- --env uat`, `npm run validate:all`), including a GitHub
Actions workflow and a Node deployer built on all of it.

None of it corresponds to Vapi or to the VapiAI/gitops template.

Remove the fabricated schema, curl examples, Node deployer, and CI workflow.
Keep the environment topology, RBAC and secrets guidance, promotion workflow,
runbooks, checklist, and the built-in versioning FAQ answer, which are accurate.
Point readers to https://github.com/VapiAI/gitops for the supported
implementation, and correct the managed-resource list to the nine resource
types that template actually supports.

Also state explicitly that storing configuration in Git does not by itself
enforce review, testing, or release gates.

A follow-up PR expands this into a full GitOps guide.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@lightsage-app

lightsage-app Bot commented Sep 18, 2026

Copy link
Copy Markdown

Lightsage docs evals

Result: passed
Staging docs: https://vapi-preview-01a0b334-9c8b-73af-a58f-f7c6168a05f5.docs.buildwithfern.com
Commit: 283f9ce

Average score: 100/100
Passed: 2/2

Eval ID Status Score Model Tools Docs 404
08e24c18-82a0-45de-abdc-d237bd12bc0f Pass 100 codex/gpt-5.4 22 0
08e24c18-82a0-45de-abdc-d237bd12bc0f Pass 100 claude-code/global.anthropic.claude... 18 0

@github-actions

Copy link
Copy Markdown
Contributor

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.

1 participant