docHub

Recipe — docHub (per-app)

The per-app Recipe Book for docHub, the canonical documentation substrate for the FVS ecosystem.

Per FWV v6 §11, this is the first fractal level (per-app). Per-module Recipe Books (level 2) live at mavis/<module>/recipe-book/ once each docHub module is formalized.

What docHub is

docHub is a documentation substrate + sovereign workspace. It serves three audiences from one source of truth:

FaceURLAudienceAuth
user/user/*End users, FVS appspublic
dev/dev/*Operator + AI agentsCloudflare Access
mavis/mavis/*Operator + Helper + lane MavisesCloudflare Access

It is both a workspace (operator browses it directly at fv-dochub.pages.dev) AND a substrate (FVS apps embed chips and modules from it via web components).

What docHub the App uses

Chips adopted from docHub substrate

ChipSourceUsed byReusable to FVS?
<anchor-bar>user/assets/anchor-bar.jsdocHub SPA sidebar, prompt viewer breadcrumbYes
<doc-hub>user/assets/embed.jsFVS app integrationYes
Tabler-style SVG iconsinline in user/assets/anchor-bar.jsnav items, section headersYes (copy)
GFM markdown rendererbuild-site.mjs (build-time)per-doc HTML renderingNo (build-time only)

Modules adopted from docHub substrate

Per D-066, docHub App has 5 aspirational modules (clusters) — when built, each will be a level-3 module with its own Recipe Book:

ModuleCluster of featuresStatus
prompt-archiveBrowse, search, filter, sort, view detail, link to source, export✅ Q1 shipped as raw folder; needs recipe book + module-register entry
decision-logView list, view detail, mark superseded, link related decisions, group by topic, view trace atlas📁 raw folder exists at mavis/decisions/; needs formal module promotion
lane-coordinationSpawn Mavis session, ping lane, watch lane, report state, archive lane📁 raw folder at mavis/lanes/; needs formal module promotion
plan-trackerList plans, view phase, mark phase done, link reports, track blockers📁 raw folder at mavis/plans/; needs formal module promotion
report-feedList reports, view report, link decisions, link plans, filter by lane📁 raw folder at mavis/reports/; needs formal module promotion

Substrate relationships

docHub the App adopts from FreshCards substrate:

docHub the App does NOT adopt from Vibe Hub substrate (Q2 will add when available).

What docHub the App extends

docHub the App extends the FreshVibe Way v8 doctrine:

How to adopt docHub the App in your FVS app

You have two options:

Option 1: Lift individual chips (most common)

<script type="module" src="https://fv-dochub.pages.dev/assets/anchor-bar.js"></script>
<anchor-bar id="nav"></anchor-bar>
<script>
  document.getElementById('nav').data = { sections: [...] };
</script>

Option 2: Adopt the docHub <doc-hub> web component

<script type="module" src="https://fv-dochub.pages.dev/embed.js"></script>
<doc-hub project="my-app" theme="auto"></doc-hub>

Option 3: Adopt a docHub module wholesale (TBD — Q2+)

When each docHub module gets a proper module-register.json entry, FVS apps can adopt the module whole (with its Recipe Book).

Three-flag model (D-060)

Facedeployableembeddableredistributable
user
dev
mavis

Brand and URL (D-064)

LayerValue
Brandfv-dochub
Cloudflare projectfv-dochub
Subdomainfv-dochub.pages.dev
Repo internal namefreshvibe-dochub (temporary, per operator 2026-06-23 15:38)
Browser tab titlefv-dochub
Sidebar logo textdocHub
Sidebar taglinehidden (was making header taller than topbar; see D-066 era)

Decision log

Cross-referenced decision docs that shape docHub the App:

Full record: mavis/decisions/

Open items (recipe book delta)


← back to Dev docs