Skip to content

docs: define the public website content model and publishing workflow #611

Closed

Description

@schlessera

Context

Part of #608. Read the epic and ROADMAP.md's binding decisions. Public copy/assets cover only the public project and templates. Odysseus is the sole example corpus under the 2026-09-30 maintainer ruling, including CLI examples, documentation, UI demos and website examples; #625 implements the migration. No personal running installation is a capture source.

Read README.md's Start here and More documentation sections, docs/README.md:3-26 and docs/process/github.md repository routing. No existing public-website issue was found.

Scope

Compare concrete static-site approaches against Markdown reuse, preview/build simplicity, maintainability, accessible navigation, assets, source links, stable routes and generic publishing requirements. Recommend framework, source/output locations, content/routing model and preview/update/publishing procedure. Obtain the maintainer ruling and record reasoning; the landing task implements the chosen site. Verify tool/platform capabilities against primary documentation or installed tooling before choosing versions.

Out of scope

A real personal domain/deployment, publishing without authorization, a hosted brain service, visitor collection or a generic publishing-provider seam.

Acceptance criteria

  • A source-verified comparison/recommendation covers Markdown reuse, routes/base paths/assets, local preview/build, source links and maintainability.
  • A minimal local experiment demonstrates representative Markdown, nested links and image paths.
  • The maintainer selects Astro static output in website/, canonical Markdown reuse and explicit stable source-to-route mapping.
  • The maintainer selects repository-controlled GitHub Pages under /brain-kit/; confirm plan eligibility and public source readability before launch.
  • A durable decision record captures both rulings and their reasoning.
  • The implementation boundary and repeatable reviewable publish/update procedure are explicit, with no private infrastructure details.

Verification

Build a minimal local representative sample and review link/base-path behavior; no public deployment is needed for the comparison.

Contract impact

No product machine-contract change is selected here. Published UI/package changes need changesets; any new supported API/config shape follows docs/integration-contract.md and the release skill where relevant. Documentation/site assets alone do not imply a contract change.

Example corpus ruling — 2026-09-30

Odysseus is the sole example corpus for core/CLI fixtures, CLI demonstrations, documentation and onboarding examples, UI stories, screenshots and public website demos. Use the established D19 fictional world across surfaces; the former core/UI persona split is superseded. The repository-wide migration and durable decision record are tracked in #625. Separate technical fixture representations may remain, but do not introduce a second example world. Never use personal data or a real deployment as a public example.

Citation correction — 2026-10-01: #609 / PR #723 rewrote the root README. The read-first pointer now names its Start here and More documentation sections. Scope, acceptance criteria and existing prerequisites are unchanged.

Investigation result and selected publishing model — 2026-10-01

Draft PR #739 (1e1a08f35d7716d92cdb66f0187d25443cc5a3b0) contains the source-verified comparison and publishing proposal and repeatable local experiment. Astro 7.3.5 with its supported remark processor loads seven unmodified docs directly plus one Odysseus sample; both root and /brain-kit/ cold builds and real Chrome checks pass on Node 22.18.0. The browser follows nested links and real fragments, decodes the sample SVG, and verifies populated Markdown/source links on all eight pages. Independent document-link and image-prefix mutations fail their intended assertions and are restored. All 121 scoped documentation tests, typecheck and lint pass.

The comparison distinguishes source-only VitePress/Eleventy capability checks from executed Astro proof. The report records the stale collection-cache finding, discards the wrongly masked image receipt, and clears the experiment's cache for each build. It also retains one native Node 24.21.0/V8 build crash (exit 132) separately from the final measured Node 22 build/browser proof; no upstream cause is established. Production CI must pin and exercise its chosen site runtime.

Selected architecture (maintainer, 2026-10-01, option A): Astro with static output in website/. Keep docs/ and package READMEs canonical; map deliberately selected sources to stable routes, preserve fragments/assets and use repository source fallback for valid unselected targets. Derive docs navigation from its canonical index. Product/marketing pages belong in website/. The existing draft #739 supplies the comparison and executed Astro prototype; final navigation/accessibility and production toolchain checks remain implementation requirements.

Selected publishing model (maintainer, 2026-10-01, option A): GitHub Pages under /brain-kit/, controlled through this repository. Preserve the project base in routes, links and assets. Confirm the repository/account meets Pages eligibility and verify public source and fallback-link readability before launch. Build a reviewed commit with the pinned site toolchain and publish its reviewed static artifact through repository-controlled CI; publication remains separately authorized. No custom domain or additional publishing-provider seam is selected.

Outcome: completed through merged PR #739 at 0a6389cf3f30341db7093e195637cf08a0f27e6a, verified on origin/main. Both rulings have a durable record, #612 consumes the handoff, and all thirteen current-head checks passed before merge. No deployment was performed.

Completion evidence: the durable decision record captures both rulings and their alternatives, ownership, source/route/asset rules and separately authorized publishing procedure. Fresh both-base build/browser evidence, two restored prefix mutations, 123 scoped tests, typecheck/lint and all thirteen PR checks pass. The actual squash tree matches the combined-tree documentation/lint verification after the independent #805 base change. #612’s body/design prompt consume the record and its architecture dependency is resolved; homepage design, visitor policy and launch requirements remain with their existing issues.

Verification update — 2026-10-01: CI run 36807271142 completed successfully for draft PR #739 head 1e1a08f35d7716d92cdb66f0187d25443cc5a3b0; all twelve latest current-head checks pass, including the contract and project-sync checks. The production site-build requirement remains future implementation scope; this CI does not execute the standalone Astro experiment. At that check, the architecture/target rulings and durable record remained open. Both rulings are now recorded; the durable record remains outstanding, so the PR stays draft and #611 stays open.

Decision update — 2026-10-01: Recorded framework/content-architecture option A and split the remaining hosting ruling and durable record into explicit criteria. needs: decision remains for the publishing choice.

Decision update — 2026-10-01: Recorded publishing option A after the framework ruling. Both maintainer choices are complete; remove needs: decision and restore agent-ready for the remaining durable record/current-head PR verification. The launch eligibility/access checks and separate publication authorization remain requirements, not completed evidence. Earlier dated notes describing either ruling as pending are historical.

Record and verification update — 2026-10-01: Resumed the released existing PR #739 as explicitly requested by both settled maintainer rulings. Rebased the preserved comparison/prototype onto current main and added the binding record/index. Fresh cold root/project builds and real Chrome checks pass on measured Node 22.18.0; independent document/image prefix mutations fail their intended assertions, source bytes are restored and the project-base control passes again. 123 scoped tests (214 assertions), typecheck and lint pass. The fresh install exposes transitive undici 8.11.2’s Node >=22.19.0 requirement, so sample success is not full dependency-engine compatibility; the record and #612 require production to pin and exercise the whole dependency graph. Foreground preview commands are verified after the background lookup stalled on this host. Earlier dated pending-record notes are historical. Publication and launch eligibility/access verification remain separate.

Completion update — 2026-10-01: #739 merged; commit and exact combined-tree match verified on main. #611’s six criteria are complete and the issue is closed. The automatic main-push CI run is tracked separately; it was queued at this update and is not claimed green here.

Final main verification — 2026-10-01: Automatic push CI 36921033827, attempt 1, completed successfully for squash commit 0a6389cf3f30341db7093e195637cf08a0f27e6a. All eleven jobs pass; all eleven checkout-log receipts identify that exact SHA. The three unit/integration shards total 9,025 passes with 45 skips and zero failures; both browser shards total 1,812 passes, including the independent #805 base change. The squash tree matches the locally checked combined tree and remains on main. This supersedes the earlier queued-run note. The standalone Astro sample remains separately verified locally; no website was published.

Activity

  1. added
    type: spike
    area: docs
    priority: p2
    agent-ready
    on Sep 30, 2026
  2. schlessera commented on Sep 30, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-09-30): Odysseus is the sole example corpus for core/CLI fixtures, CLI demonstrations, documentation and onboarding examples, UI stories, screenshots and public website demos. Use the established D19 fictional world across surfaces; the former core/UI persona split is superseded. The repository-wide migration and durable decision record are tracked in #625. Separate technical fixture representations may remain, but do not introduce a second example world. Never use personal data or a real deployment as a public example.

    The body now reflects this ruling. Any earlier comment or design prompt prescribing a separate core persona is superseded. Historical execution transcripts remain historical evidence, not templates for new demos.

  3. schlessera commented on Sep 30, 2026

    @schlessera
    OwnerAuthor

    2026-10-01: #609 / PR #723 rewrote the root README. Updated the read-first pointer in this body to its Start here and More documentation sections, replacing the old line range. Scope, acceptance criteria and existing prerequisites are unchanged.

  4. self-assigned this
    on Oct 1, 2026
  5. schlessera commented on Oct 1, 2026

    @schlessera
    OwnerAuthor

    Claiming this investigation under token 611-01a0f256; intended branch docs/611-site-publishing-model-01a0f256. I will verify the candidate tools, build a minimal local Markdown/link/asset experiment, and present a concrete architecture and publishing recommendation for the required maintainer ruling. Publication is outside this investigation.

  6. added
    needs: decision
    and removed
    agent-ready
    on Oct 1, 2026
  7. schlessera commented on Oct 1, 2026

    @schlessera
    OwnerAuthor

    2026-10-01: the independent investigation is ready for review in draft PR #739, head 1e1a08f35d7716d92cdb66f0187d25443cc5a3b0. The body now links the comparison and runnable experiment, checks the three completed criteria, and names the remaining maintainer architecture/target ruling and durable-record evidence.

    Recommend Astro static output in website/, canonical Markdown with stable explicit routes, and repository-owned GitHub Pages under /brain-kit/ with publication separately authorized per reviewed commit. Node 22.18.0 cold builds and Chrome proof pass at both bases; 121 documentation tests, typecheck and lint pass. Two independent URL-prefix mutations fail their intended assertions and were restored. The report retains a cache caveat and a native Node 24 build failure honestly. No public site has been published.

    The current-head CI run is still in progress; no CI-green claim is made. The PR stays draft with Refs #611. After the ruling, resume the existing branch/PR, record the binding decision, reconcile #612 and complete current-head checks. This claim is being released for the decision handoff; do not create a duplicate implementation PR.

  8. removed their assignment
    on Oct 1, 2026
  9. schlessera commented on Oct 1, 2026

    @schlessera
    OwnerAuthor

    2026-10-01: CI run 36807271142 has completed successfully for PR #739 head 1e1a08f35d7716d92cdb66f0187d25443cc5a3b0. All twelve latest current-head checks pass. This updates the earlier in-progress receipt; it does not execute the standalone site experiment or satisfy the pending maintainer ruling/durable record. The PR remains draft with Refs #611, and the decision handoff remains in force.

  10. schlessera commented on Oct 1, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-01): Framework/content-architecture option A — use Astro with static output in website/.

    Keep docs/ and package READMEs as the canonical editorial sources. Map intentionally selected sources to stable public routes, preserve their heading fragments and assets, and use repository source links for valid unselected targets. Marketing pages belong in website/; do not copy maintained guides into a competing editable docs tree. Derive documentation navigation from the canonical docs index.

    This selects the architecture recommended and locally exercised in draft #739: a custom product homepage alongside maintained documentation. The project owns navigation, route/link transforms and actual browser accessibility verification. The prototype's root and /brain-kit/ evidence establishes content/link feasibility; it does not establish final page design or launch readiness. Pin and verify the production site toolchain during implementation.

    The publishing destination and its ownership/eligibility requirements remain a separate pending decision. Keep needs: decision until that choice is recorded. Resume existing draft #739 to add the durable decision record after the rulings; #612 consumes this architecture but still needs its approved page design and completed #611 handoff.

  11. schlessera commented on Oct 1, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-01): Publishing option A — use repository-controlled GitHub Pages under /brain-kit/ for the Astro static site.

    This complements the framework/content-architecture ruling. One repository controls sources, the pinned build and reviewable CI publishing. Preserve the project base in routes, links and assets. Before launch, confirm Pages plan/repository eligibility and verify anonymous public readability of source and fallback destinations. No custom domain or external hosting account is selected.

    The alternative Cloudflare Pages option would add a separate project/account and CI deployment credential; deferral would leave the publishing handoff unresolved. Choose the existing repository-controlled path. Actual publication of a reviewed commit/static artifact remains separately authorized.

    Both choices are now answered, so remove needs: decision. Keep #611 open and resume existing draft #739 to record both decisions and their reasoning durably, reconcile #612, and verify the final PR head before merge. #612 still needs approved page design and the completed #611 handoff; #616 still owns visitor policy. The host choice does not approve visitor collection or imply launch readiness.

  12. added
    agent-ready
    and removed
    needs: decision
    on Oct 1, 2026
  13. self-assigned this
    on Oct 1, 2026
  14. schlessera commented on Oct 1, 2026

    @schlessera
    OwnerAuthor

    Claiming the now-settled decision-record completion with token 611-01a0f1d6-a1. The previous claim was explicitly released for the ruling handoff, and the maintainer selected both options and instructed resumption of draft #739. I will preserve that PR, finish the durable record and #612 handoff, and verify its final head. Work branch: docs/611-site-decision-a1; the PR keeps its existing branch. Actual publication remains separately authorized.

  15. schlessera commented on Oct 1, 2026

    @schlessera
    OwnerAuthor

    The durable decision record now records both approved choices and alternatives. Existing PR #739 is ready; #612’s body and existing design prompt consume the record while retaining the design gap and the #611 blocker until merge.

    Fresh root/project-prefix builds and Chrome checks pass. Separate document/image prefix mutations each fail the intended assertion, followed by restored source bytes and a passing control. All 123 scoped tests, typecheck and lint pass. The fresh npm install’s transitive Node >=22.19.0 requirement is preserved alongside the older Node 22.18 sample success and Node 24 crash; production must pin against every dependency engine. Final-head GitHub Actions verification is running. No site is published by this handoff.

  16. schlessera commented on Oct 1, 2026

    @schlessera
    OwnerAuthor

    Merged #739 at 0a6389cf3f30341db7093e195637cf08a0f27e6a, verified on main; #611 is closed and all six criteria are complete. The binding record covers Astro/canonical Markdown, GitHub Pages, alternatives, ownership, stable routes/source/asset rules and separately authorized publication. #612’s body/design prompt consume it; its architecture dependency is resolved, while needs: design remains.

    Evidence: 123 scoped tests/214 assertions, typecheck/lint, cold root/project builds and real Chrome checks, two restored document/image-prefix mutations. Final-head CI 36919541148 passes all eleven jobs: 9,025 unit/integration tests, 45 intentional skips and 1,798 browser tests; contract/project-sync also pass. All eleven checkout logs identify the correct head/base synthetic merge. The independent #805 base change was revalidated with combined-tree docs/lint; the actual squash has exactly that tree. Automatic exact-squash main CI is tracked separately.

    The fresh transitive Node engine requirement, earlier V8 crash, stale-cache/masked-receipt findings and foreground preview procedure are preserved. Page design, visitor policy, launch checks and actual publication remain separate tasks. No website is deployed.

    Final main verification — 2026-10-01: Exact-squash CI 36921033827 passes all eleven jobs at 0a6389cf3f30341db7093e195637cf08a0f27e6a, with every checkout SHA verified: 9,025 unit/integration passes, 45 skips, zero failures and 1,812 browser passes. Main still identifies this squash commit. The earlier queued automatic-run note is historical.

  17. added this to the 0.40.0 milestone on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-readyarea: docspriority: p2type: spike

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions