Public Docs Source

This directory is the source-of-truth content for the future docs.retvest.com site. The hosted docs site is not live yet; this source remains launch-pending until it is deployed, versioned, indexed intentionally, and tested against a real install.

Pages

  • [[index]] — customer documentation home and current status.
  • features — claim-ledger-backed guide to shipped feature docs, owner evidence, and launch limitations.
  • product-readiness — ASC-13 source-only product-line readiness map for GOVERN, DEPLOY, RIL, DATABASE, WORKFORCE, OPERATIONS, and OS, including owner repos, current blockers, and ready=false handoff rules.
  • deploy-capacity — B524 source-only DEPLOY capacity proof guide for the staged API/SSE drill, vLLM replica scaling drill, streams -> tok/s -> GPUs sizing formula, B525 100k platform tier proof, B526 governed OpenAI-compatible API gateway proof, and sharded-chain design note.
  • claim-ledger — source of truth for public buyer-facing claims, owner repos, evidence boundaries, and launch limitations.
  • governance-authority — source-only B1255 authority boundary for pinned native source intent, public-copy limits, and Candidate-SHA-bound local verifier evidence.
  • governance-identity — source-only B1261 identity boundary for pinned native source intent, public-copy limits, and Candidate-SHA-bound local verifier evidence.
  • governance-roles — source-only B1267 roles boundary for pinned native source intent, public-copy limits, and Candidate-SHA-bound local verifier evidence.
  • governance-permissions — source-only B1273 permissions boundary for pinned native source intent, public-copy limits, and Candidate-SHA-bound local verifier evidence.
  • governance-policies — source-only B1279 policies boundary for pinned native source intent, public-copy limits, and Candidate-SHA-bound local verifier evidence.
  • governance-controls — source-only B1285 controls boundary for pinned native source intent, public-copy limits, and Candidate-SHA-bound local verifier evidence.
  • governance-evidence — source-only B1291 evidence boundary for pinned native source intent, public-copy limits, and Candidate-SHA-bound local verifier evidence.
  • [[install]] — local, staging, and production installation path.
  • rag-stream-sse — source-only text/event-stream contract for ordered RAG citation, token, error, and done events, consumer safety rules, and the local digest-pin regression gate.
  • consumer-runtime-v0 — source-only customer-installable 24/7 runtime guide for setup flow, security boundaries, approvals, metadata-only evidence, quota states, stop controls, outcome receipts, shipped-only claim limits, and current owner-evidence-pending limitations.
  • ril-database-governed-writes — B804 source-only evidence contract for provenance-stamped, lease-bounded, hash-chained RIL writes to Postgres and the required adversarial owner proof.
  • ril-ultimate-engine — B827 L0 source-only database-language frontend boundary for future RIL DATA parsing, type checking, provenance-native planning, and Postgres conformance.
  • [[admin-guide]] — operator guide for identity, documents, connectors, audit, compliance, licensing, retention, and support.
  • [[work-runs]] — Compliance Work Runs, review states, correction evidence, audit packet boundaries, and current browser-proof limitation.
  • work-run-governed-thread — source-only end-to-end proof-thread checklist for Work Run create, Evidence, Approval, Replay, Evaluation, Authority, hash-chain-signed export boundaries, and the ASC-13 demo proof packet rows and handoff template that must stay tied to one resolved Work Run state.
  • work-run-correction-lifecycle — operator-facing Work Run correction lifecycle guidance for draft, pending review, applied, rejected, stale-version refresh, retry-after, request ID, role boundary, tenant mismatch, approval/export boundary, and append-only audit behavior.
  • recording-corrections — guide for recording Work Run corrections with pinned admin endpoints, idempotency examples, and safe audit-ledger reads.
  • work-run-correction-create — developer create examples checked against the source fixture for pending corrections, idempotency keys, request ids, Retry-After handling, and typed Problem codes.
  • work-run-correction-list — developer list examples checked against the source fixture for correction history pagination, request ids, retry hints, and role-aware visibility boundaries.
  • work-run-correction-audit — source-only correction audit visibility guide for role-aware metadata, hash-chain fields, request IDs, Retry-After handling, and unsafe payload boundaries.
  • work-run-correction-apply — developer apply examples for expected-version handling and unsafe review retry suppression.
  • work-run-correction-reject — developer reject examples for bounded reason codes, expected-version handling, and unsafe review retry suppression.
  • work-run-correction-retry — developer retry-request examples for retry-created pending rows, expected_work_run_version, approval/export blocking, and already-finalized or invalid-transition Problems.
  • work-run-correction-api-errors — source-publication error guide for checked correction fixture IDs, Problem codes, request IDs, Retry-After, cursor pagination, idempotency, expected-version conflicts, and unsafe retry boundaries.
  • work-run-correction-sdk-examples — verified TypeScript and Python source-package helper names, shipped correction limits, typed Problem handling, and lower-level source examples for correction create, list, apply, reject, retry-request, idempotency, expected-version, and retries.
  • launch-readiness — public-safe launch status for hosted docs, OpenAPI snapshots, SDK packages, checkout, analytics, demo embeds, and release evidence.
  • evidence-requests — buyer evidence request guide that maps proof asks to owner repos, public-safe responses, and evidence that must remain unpublished until owner proof exists.
  • claim-promotion — checklist for graduating public claims from source-only, planned, pending, or disabled wording after owner evidence is named and verified.
  • api-publication-status — rendered publication boundary for docs-api/README.md, generated OpenAPI snapshot status, and the source-only Work Run correction fixture.
  • [[api-reference]] — OpenAPI publication workflow and API auth model.
  • [[sdks-cli]] — Python SDK, TypeScript SDK, and admin CLI source packages.
  • [[troubleshooting]] — dependency, deployment, auth, retrieval, docs, and proof blockers.

Platform Decision

The selected docs renderer is Docusaurus 3.10.1, rooted in this directory. The choice is intentionally conservative: Docusaurus produces a static site, supports monorepo website roots, explicit sidebars, pinned open-source package versions, local preview, and static hosting without requiring a proprietary docs vendor before docs.retvest.com is live.

Render commands, once docs package dependencies are installed in this directory under a supported Node 20, 22, or 24 runtime:

cd docs
npm ci
npm run build

The equivalent root-level build target is make docs-build. Use make docs-links for a dependency-light check of source Markdown links, anchors, publishable source-doc coverage, sidebar IDs, the Docusaurus include list, docs index coverage and Start Here order, this README's public docs inventory coverage, publication order, and inventory descriptions, plus frontmatter titles, tag lists, and non-future updated dates on public docs/API notes. Before reporting docs readiness, run make verify; it checks the pinned docs dependency tooling, installs locked docs dependencies, checks public claims, builds the marketing site, builds Docusaurus, and runs release-readiness hygiene. The repo pins Node 24 in .node-version and .nvmrc; the docs package accepts Node 20, 22, or 24 through >=20.0.0 <25.0.0. Newer Node runtimes can produce npm engine warnings during install. The default repo gate reports that runtime mismatch as advisory; run node ../scripts/check_docs_dependency_tooling.ts --strict-active-node from this directory before a manual docs install when you need a hard preflight.

The default config sets noIndex unless RETVEST_DOCS_NO_INDEX=0, so preview deployments do not get indexed before production DNS, legal review, generated OpenAPI artifacts, and install proof are complete.

Publication Contract

  • These Markdown files are the canonical source until a docs platform is chosen.
  • docusaurus.config.js, sidebars.js, and package.json are the minimal render scaffold for docs.retvest.com.
  • For the source-only Work Run correction slice, the API page consumes the committed docs/api/openapi.json and docs/api/index.html artifacts. It must not treat that source-only correction slice as full hosted API docs, generated SDK distribution proof, package-registry proof, customer automation proof, or production install proof.
  • Public docs must not include secrets, bearer tokens, customer data, raw RAG questions, generated answers, citation text, audit payload dumps, or full UUID-heavy evidence.
  • Public docs must not claim that docs.retvest.com is live before production DNS, hosting, indexing, and smoke proof are complete.
  • The marketing copy claim guard is make site-claims; it rejects premature launch-complete wording for hosted docs, OpenAPI snapshots, SDK/package registries, production install proof, signed production releases, checkout, portal, analytics, demo embeds, admin correction UI smoke evidence, and fail-closed approval/export enforcement. It also keeps Consumer Runtime v0 wording source-only until owner evidence proves production install, runtime implementation, provider support, quota enforcement, approvals, and release evidence. Review public docs wording against the claim ledger separately.
  • The focused docs rendering guard is make docs-build; the full owner-repo release gate is make verify.
  • The focused docs navigation guard is make docs-links; it validates local Markdown links, anchors, wiki-style doc links, public docs image paths, publishable source docs against the Docusaurus include list, sidebar IDs, docs/index.md coverage and Start Here order, this README's public docs inventory coverage, canonical order, and descriptions, and non-future updated frontmatter on public docs/API notes. It also requires a public title and tag list for each published docs/API source.
  • Docusaurus hash routing currently proves standalone buildability; non-hash SSG and sitemap output remain launch criteria before hosted docs are claimed live.

Choose what this site may use. Your choice is kept in this browser only.