---
name: OUKC SEO + Wikipedia-style detail pages plan (1,544 theories SSG)
description: ★★★ 2026-05-01 設計決定. SEED_KERNEL 1,544 theories それぞれ個別 URL の SSG static HTML 化. 主目的 = integrative density 物質化, 副目的 = SEO long-tail. vite-ssg pre-render + gitignore + build-time generation. 未着手 (将来 STEP).
type: project
originSessionId: 4ff4b965-234a-4258-b31d-a8bcf83f071b
---
## 決定内容

OUKC 全 theory page の Wikipedia-style detail page 化:

- **Each of 1,544 theories** → 個別 URL (`/theories/{id}`) の static HTML
- 各 page: title / meta description / og-image / Schema.org `ScholarlyArticle` markup / 内部 cross-link / sitemap.xml 登録
- Bilingual: EN + JA per page (hreflang tags) — long-term goal, day 1 は片言語でも可

## Why (本質)

**主目的 = integrative density 物質化** (per `feedback_integrative_vs_accumulative_density.md`):
- 各 theory page から D-FUMT₈ tag / 4-axis / 関連 theory / Lean 4 proof / Paper 引用 / 哲学背景 へ cross-reference
- 表面 copy できない構造を作る方向性 (motto v3 anchor の現実化)

**副次効果 = SEO benefit**:
- Google が 1,544 indexable pages として扱う (long-tail search に強い)
- Schema.org markup → SERP rich snippet 確度向上
- 内部 link graph (PageRank-like) 強化

## 容量・運用 honest 数字

**HTML 容量** (Wikipedia 風 lean):
- 1 page ~50 KB (rich version 100 KB)
- 1,544 theories × 50 KB ≈ **75 MB total (raw)** / gzip 後配信 ~20-30 MB
- Cloudflare Pages 制限 (25 GB / 20,000 files / 25 MB per file) 余裕で fit

**ユーザー download**:
- 各訪問者は閲覧した page のみ fetch ~10-20 KB (gzipped) / page → negligible

**Build time**:
- 1,544 page × ~50 ms ≈ 80 秒
- 現 vite build (~700 ms) に加算しても daily auto-publish に fit

**Git repo bloat 回避**:
- ★ generated HTML を **`.gitignore` で除外**
- Cloudflare build hook (or 既存 `scripts/auto-publish.ts` Phase 10 拡張) で deploy 時 regenerate
- Repo 直接 commit は 75 MB bloat を生むので避ける

## Implementation 方針

**Tooling**:
- `vite-ssg` plug-in で React SPA を build 時 pre-render (既存 code そのまま使える)
- 1,544 routes を `generateRoutes()` で dynamic 生成
- Cloudflare Pages 側で static HTML 直接配信 (SSR runtime 不要)

**Sequencing (将来 STEP 候補)**:
1. **Phase 1** (1-2 days): vite-ssg 導入 + 10-20 theories で proof-of-concept
2. **Phase 2** (1 week): 全 1,544 theories pre-render + sitemap.xml + schema.org markup
3. **Phase 3** (2-4 weeks): Bilingual (EN+JA) 拡張 + hreflang
4. **Phase 4** (継続): integrative cross-reference を厚くする (D-FUMT₈ tag relational化 等)

## Honest hedges

- **SEO 効果は slow** (3-6 ヶ月単位). External backlinks (arXiv 引用 / .edu / Wikipedia 言及) が無いと competitive term には乗らない
- 主目的は **UX/depth (integrative density 物質化)** であり, SEO は副次効果
- 「Wikipedia 化」と言っても entry quality 次第: thin content (JSON dump 単純展開) は Google「low-quality」filter で suppress される. 各 page が真に **integrative** な内容を持つ必要
- 1,544 だけでなく Tier 1 world-public 2,615 + Paper 142 + Lean 4 corpus 全体に拡張すれば 5,000-7,000 indexable pages 規模も可

## How to apply

- 着手 STEP に進む時はこの memory + `feedback_integrative_vs_accumulative_density.md` を必読
- vite-ssg を選ぶ理由 = 既存 React code を温存 (Astro / Next.js への migration は scope creep)
- 主目的 = integrative density, 副目的 = SEO の order を絶対にひっくり返さない

## 関連 memory

- `feedback_integrative_vs_accumulative_density.md` — 主目的の load-bearing logic (★ 必読)
- `feedback_oukc_motto_v3_density_anchor.md` — motto v3 anchor
- `project_auto_publish_system.md` — 既存 pipeline (Phase 10 拡張先)
- `feedback_index_html_bundle_sync.md` — vite build の index.html / app.html 二重 bundle 罠 (SSG migration 時に再確認)

## 永久参照価値

★★★ — 実装着手時に必読. 容量 / Git / build time の honest 数字 + 主副目的の framing 確定.
