2026-04-11 · Reinit + full docs site build-out
What happened
Section titled “What happened”Reinitialized cyberbaser after ~4 months dormant. The working state was: a PARA-structured docs/ of implementation notes, a parked Phase-0 Astro prototype in site/, an almost-empty .claude/, and no real first-principles thinking anywhere.
The reinit had two phases:
Phase 1 — workspace structure (early in the session)
- Consolidated
site/ → docs/to match the crosswalker / cyberchaste convention (both sibling projects usedocs/as the Astro Starlight root, notsite/). - Archived the old PARA dev docs to
.workspace/_archive-phase-0-docs/(gitignored contents, preserved for mining). - Created
.workspace/as a tracked-but-ignored scratch folder via.gitignorerules. - Scaffolded
.claude/withPROJECT_CONTEXT,FOCUS,KNOWLEDGE_BASE_PHILOSOPHY(copied verbatim from crosswalker),DOCUMENTATION_STYLE,RESEARCH_SOURCES, and numbered first-principles files (00-INDEX through 41-QUESTIONS-RESOLVED). - Rewrote root
CLAUDE.mdto point at.claude/as the first-read surface.
Phase 2 — docs site build-out (later in the session)
- Full template copy from crosswalker: Astro 6, Starlight 0.38, Nova theme, full plugin stack (site-graph, blog, announcement, image-zoom, tags). Omitted
starlight-heading-badgesbecause its<starlight-toc>custom element collided with Nova’s at runtime. - Wired
remark-obsidian-callout,remark-wiki-link,rehype-mermaid,rehype-external-links. - Custom components:
PageTitle.astro(status + date meta) andMobileMenuFooter.astro, both rebadged to.cb-*classes. - Silver + emerald palette in
brand.css. Graphite base (near-black in dark, off-white in light) with emerald accent appearing only in links, focus, CTAs, active sidebar, hero gradient, card top borders on hover. - Ported
.claude/numbered files into real Concepts / Design / Reference prose. Each custom MDX component uses hand-drawn inline SVG (no Mermaid walls): triangle tradeoff diagram on Problem, 4-layer architecture diagram on Architecture, flow diagram on the splash.
Bugs hit and fixed
Section titled “Bugs hit and fixed”A bunch of MDX + Astro gotchas surfaced as the first screenshots came in:
- Rotating headline was a transparent blob. Nested
background-clip: texton parent h1 + child rotate-wrap; the child inheritedcolor: transparentand painted the box background. Fix: parent headline is solid silver; only the rotate wrap gets the gradient. - Flow SVG was all black. Inline MDX
<style>{…}</style>wrapped rules in:global(...), which is an Astro-scoped-component escape hatch that doesn’t work inside.mdx<style>tags — rules were silently dropped. Fix: moved all.cb-sv-*rules intobrand.css. - Hero subhead had
height: 0. MDX was splitting multiline<p class="cb-hero-subhead">...</p>into an empty classed<p>+ an unclassed<p>with the actual text. Fix: single-line MDX for all custom JSX elements containing text. <h1><p>...</p></h1>on the hero headline. Same MDX wrapping bug. Fix: changed to<h2>(which also fixed duplicate-h1 semantics since Starlight’s PageTitle already renders the<h1>), collapsed to single line, updatedPageTitle.astroto hide the default h1 on splash pages viasidebar.hidden === true.starlight-tocalready defined runtime error.starlight-heading-badgesregistered a custom element that collided with Nova’s. Removed the plugin.
Dev-loop improvements
Section titled “Dev-loop improvements”- Added
tests/screenshots.spec.tsthat captures 30 full-page screenshots (15 pages × dark/light) for design iteration. Run serially with--workers=1to avoid overwhelming the dev server. - Added
scripts/preflight.mjs— cross-platformbun installguard sobun run devworks from both WSL and Windows PowerShell without manual reinstalls.
Commit history
Section titled “Commit history”bc02aa7— Reinitialize workspace: adopt.claude/first-principles KB convention31bb90b— Build out docs site: template copy, silver+emerald theme, first-principles content
What’s loaded for next session
Section titled “What’s loaded for next session”Phase R is still active. The exit criteria in Roadmap haven’t moved: Problem / Ecosystem / Concepts / Prior Art all have first-pass content but need deeper research, especially Prior Art where each tool entry should grow from “what I know” into “what I actually tested.” The Open Questions in Reference are the immediate blockers.