Repository navigation
ND3: nextra-docs becomes an Orun baseline - #4
Merged
Merged
Conversation
apps/web/app/site.ts holds SITE_NAME and SOURCE_URL; the layout reads the
logo, the default title, the "%s – <name>" template and the footer from the
first, and the navbar's GitHub link and the docs repository base ("Edit this
page", feedback) from the second. The smoke stops grepping the name: it
requires the docs navbar on / and the Pagefind index at
/_pagefind/pagefind-entry.json. apps/web/README.md describes the app and
credits the upstream template instead of advertising a Vercel deploy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AuyckrXahuAVgdmxamUUtk
stack-tectonic 0.19.0, not 0.20.0: the lane-scoped install links each job's node_modules out of its staged tree, which Next 16's Turbopack refuses. ci.yml plans nothing only while intent.yaml names ws_CHANGE_ME (no ORUN_CI variable a bootstrap cannot set), on the v2.78.4 lane pin; checks.yml runs on pull requests and by hand only, so a push to main starts ci.yml alone. The work: block says 01-scaffold strips it; terraform parameterDefaults go; the docs pages are ai/context/*; infra/ and packages/ exist as discovery roots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AuyckrXahuAVgdmxamUUtk
blueprint.yaml (the console card) and repo-blueprint.yaml (three phases: 01-scaffold, 02-site, 03-docs; task prefix BASE), .baseline/ (identity, task contracts, the site's README), the rebrand engine with this tree's rules (source link, the SITE_NAME seam, domain, subdomain, Worker names, secret refs, repo slug; the upstream template's repository protected), the deferral, retouch and work-tree helpers, the deployment-record renderer probing / and the search index, and the site's ai/context pages. _pagefind is in the ignore list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AuyckrXahuAVgdmxamUUtk
Contract tests (manifest, phases, coverage, rebrand, retouch, bootstrap-defer), the leak gate, the offline bootstrap with the acme fixture, and the end-to-end tier: the scaffold and the finished site under Checks, the stage lane's steps in a job tree staged as orun stages it (red on stack-tectonic 0.20.0, green on 0.19.0), the staged build required to run on Turbopack and to ship its own Pagefind index over every page, then wrangler dev, the component's smoke and every route. baseline.yml runs them in three tiers; tag.yml cuts baseline-vN tags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AuyckrXahuAVgdmxamUUtk
BOOTSTRAP.md, docs/phases/, the README's instantiation section and CI table; the epic started with an ND3 milestone (ND-4), the design's baseline section, the plan, the risks (ND-I..ND-N, and ND-G for builds in a staged tree) and the as-built status; metadata on ND-1..3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AuyckrXahuAVgdmxamUUtk
ruehowl
marked this pull request as ready for review
October 15, 2026 15:35
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.
Task: ND-4 (
tasks/ND-4.TaskContract.yaml), milestone ND3 — a baseline.This turns the Nextra docs port into an Orun baseline, the way
portfolio-starter-kitbecame one atbaseline-v2. One command (or the console's Build) now takes a new docs site from nothing to live on stage and prod, in its own repository and under its own name. The fixes from portfolio's first live bootstrap are already in.What it adds
blueprint.yamlandrepo-blueprint.yaml.[github, cloudflare]and an admin API key. Its inputs arereponame,productname,productdomain,githuborgandsubdomain. It brokersCLOUDFLARE_API_TOKEN(workers-deploy) andCLOUDFLARE_ACCOUNT_ID(fact), and its programme isnextra-docs-baseliningwith milestones 01–03. Expected time is 15 minutes.01-scaffold(stripwork:, defer promotion and dev lanes, rebrand, verify, land),02-site(deploy, converge, probe both workers.dev URLs) and03-docs(hooks only: restore, render the record, land). Task prefix isBASE.apps/web/app/site.ts.SITE_NAMEfeeds the navbar logo, the default title, the%s – <name>title template and the footer.SOURCE_URLfeeds the navbar's GitHub link and the docs repository base, so "Edit this page" and the feedback link open the site's own repository.app/layout.tsxno longer spells a name or a repository itself. The rebrand writes the name withJSON.stringify.My Project. It checks for the docs navbar on/and for the Pagefind index at/_pagefind/pagefind-entry.json.tooling/rebrand) has this tree's rules: the source link, the seam, the domain, the subdomain, Worker names, secret refs and the repo slug. It also protects the upstream creditgithub.com/shuding/nextra-docs-template, because that name starts with this repo's slug and would otherwise be renamed.hooks/render-deployment-docs.sh(probes/and the search index),ai/context/{operations,deployment}.md, and the site's own README in.baseline/product/README.md.ci.ymluses thelinkedgate instead ofORUN_CI.checks.ymlruns on pull requests andworkflow_dispatchonly.parameterDefaultsare gone, the docs pages areai/context/*, andinfra/andpackages/are added as discovery roots.testing/(manifest, phases, coverage, rebrand, retouch, bootstrap-defer, leak, placement, e2e),baseline.yml(three jobs) andtag.yml.BOOTSTRAP.md,docs/phases/, and the README (how to create a site, plus the CI table).startedwith an ND3 milestone, plus the design §8, the plan, risks ND-I..ND-N, an update to ND-G and the as-built status.metadataadded to ND-1..3, and ND-4 is new.How it was verified (locally)
manifest,phases,coverage,rebrand,retouchandbootstrap-defer.orun new --statusreads the blueprint at v2.58.11, v2.78.4 and v2.79.0.orun validateandorun work checkare clean.leak.test.shpasses on v2.58.11 and v2.79.0: 57 files are derived, with nothing from the factory and nothing local or built.placement.test.shpasses on v2.58.11 and v2.79.0. It runs the offline bootstrap with "Sam's Docs & Guides" /acme-inc/acme-docs, then the site's own push-to-main plan for the 02-site merge, then a--resumethat changes nothing.e2e.test.shpasses on v2.78.4 and v2.79.0:build-app,verify-build-outputanddeploy-dry-runall run in a job tree staged the way orun stages it. The test requires that build to run on Turbopack and to write its own Pagefind index covering all 5 pages.wrangler dev, the component's smoke command, and every route: title, logo and footer escaped correctly, GitHub and edit links, all 5 pages, a 404, and/_pagefind/.build-appwith Turbopack'sSymlink … points out of the filesystem root. On 0.19.0 it passes.pnpm install --frozen-lockfile,wire:fixture,typecheck,lint,test(8 tests) andbuild.🤖 Generated with Claude Code
https://claude.ai/code/session_01AuyckrXahuAVgdmxamUUtk
Generated by Claude Code