Skip to content

build: land SDK docs importer without publishing v2 pages - #32

Merged
roncohen merged 1 commit into
mainfrom
build/sdk-docs-importer-foundation
Nov 24, 2026
Merged

roncohen merged 1 commit into
mainfrom
build/sdk-docs-importer-foundation

Conversation

@roncohen

Copy link
Copy Markdown
Contributor

Summary

Extract the SDK documentation importer and its safety checks from draft #31 so the safer JavaScript publisher (reflagcom/javascript#804) can land before the public v2 documentation cutover.

  • Add package/major-scoped imports, exact clean/tagged release-source validation, provenance/hash checks, link checks, and fixture-based regression tests.
  • Add a read-only ready command. Automatic release sync remains held until the public v1 archive landing page and SDK migration guide have landed. Direct release invocations also fail closed before any writes while the content cutover is absent.
  • Keep the complete versioned-site validation for the later cutover; reject partial generated-content cutovers. Before that point, validate the existing navigation without requiring unpublished pages.
  • Run importer safety and existing-navigation checks in CI. No publishing step or write permission is added.

Only four .github/scripts/ / .github/workflows/ files change. No public page, generated SDK tree, navigation entry, GitBook setting, archive, or provenance manifest is added or modified.

Verification

  • 21 importer, release-boundary, readiness, isolation and link/anchor tests pass.
  • Existing navigation validates: 77 entries; zero generated/versioned pages introduced.
  • Readiness reports ready=false against the unchanged public-content tree.
  • Formatter, zero-warning lint and whitespace checks pass.
  • The diff outside the four infrastructure files is empty.

Order and boundary

Merge this infrastructure-only PR first, then reconcile/land reflagcom/javascript#804. Keep #31 draft until matching SDK/CLI releases and the remaining publication gates are satisfied. This does not publish documentation, release SDKs, change npm tags, alter live GitBook configuration, deploy application code, or enable a feature flag.

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium

no actionable findings

2 optional refactor suggestions.

Comment thread .github/scripts/check-sdk-docs.mjs Resolved
Comment thread .github/scripts/sdk-docs.mjs Resolved
@roncohen
roncohen merged commit 47e41d3 into main Nov 24, 2026
6 checks passed
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