---
name: 次 session 着手予定 — サイト項目群の完全自動更新化 audit
description: 2026-05-03 (今夜の次) session で着手予定. rei-aios.pages.dev の各 component / data display で hardcoded stats / 手動 update に依存している箇所を洗い出し、 auto-publish pipeline で自動更新されるよう統一する.
type: project
originSessionId: e0ce772d-0bcf-4232-8904-856ecd3b4c2e
---
# 次 session 着手予定 — サイト項目群の完全自動更新化 audit

## 藤本さん指示 (2026-05-02 / 03 跨ぎ session 末尾)

> サイトの項目群で完全自動更新化されていないものが有るかもしれないので、そちらをこのセッションの次に致します。

## 背景

`project_auto_publish_system.md` ★★★★★ で記録済の通り、 commit 29f098c5 で `scripts/auto-publish.ts` smart bundle rebuild + Phase 10 in `rei-learning-cycle.bat` + watch mode が確立済。 ReiLauncher / ReiDashboard / ReiDiscovery / DfumtFilter は hardcoded stats を runtime fetch 化済。

**memory 「新コンポーネントは必ず runtime fetch パターン、 1544/142/2122 等を hardcode しない」 が原則**.

但し、 本日 (2026-05-02) 加わった OUKC 系 component + 拡張部分で hardcode が残存している可能性 — それを次 session で audit する.

## 想定 audit 対象

### Phase 1 で追加した component

- `OukcLens.tsx` (Phase 1 real engine 化) — D-FUMT₈ engine 自動、 SEED_KERNEL search index は build-time generate 済 ✓ おそらく OK
- `OukcObservatory.tsx` (Phase 1 View 1+2) — `data/oukc/observatory/timeline.json` + `state-distribution.json` を import. **これらの JSON 生成は手動 (`scripts/generate-oukc-observatory-data.ts`) — auto-publish pipeline に未統合**
- `data/oukc/lens/seed-search-index.json` — 同上、 手動生成のみ

### 既存 OUKC component で確認すべきもの

- `OukcHome.tsx` / `OukcAutoProver.tsx` / `OukcEducation.tsx` / `OukcChat.tsx` / `OukcMethodology.tsx` / `OukcReproducibility.tsx` / `OukcLeanProgress.tsx` / `OukcPapers.tsx`
- `community/discussions-templates/charter-introduction.md` の stats — 本日手動 update した (146/4306/1554) が、 本来 live 数値 reference にすべき
- `papers/paper-144-oukc-founding-DRAFT.md` § A.3.10 の DDI/BQI/INI baseline — 手動 measure
- `OUKC tools landing pages` (`community/tools/{auto-prover,andrica,q33}.md`) の stats

### META-DB / SEED_KERNEL 数値 display

- `rei-stats.json` (auto: ✓ Phase 10 で generate-stats.ts 経由)
- META-DB Tier 9 entry count (今回 16 だが、 INDEX.json の totalDiscOntology は手動 update した — auto-count 化必要?)
- SEED_KERNEL count (auto: ✓ generate-stats.ts SEED_KERNEL.length)

## 次 session 着手手順 (推奨)

1. **audit phase**: rei-aios.pages.dev の主要 page を順次チェック、 source 中の hardcoded numbers/dates/lists を grep で抽出
2. **classify**: (a) 真の hardcode (要修正) / (b) acceptable static (changelog 等履歴的事実) / (c) build-time auto-generate に既に依存
3. **fix phase**: (a) を順次 runtime fetch or build-time generate に置換
4. **integration**: 必要なら新規 generate-* script を `auto-publish.ts` Phase 1 (rei-stats.json refresh) に統合
5. **verify**: build → fetch → render 確認

## 既知の auto-update gap (本日確認済)

| Source | 現状 | 修正案 |
|---|---|---|
| `data/oukc/observatory/timeline.json` | 手動生成 | `auto-publish.ts` Phase 1 に `npx tsx scripts/generate-oukc-observatory-data.ts` 追加 |
| `data/oukc/observatory/state-distribution.json` | 手動生成 | 同上 |
| `data/oukc/lens/seed-search-index.json` | 手動生成 | `auto-publish.ts` Phase 1 に `npx tsx scripts/generate-oukc-lens-search-index.ts` 追加 |
| `data/open-problems/INDEX.json` totalDiscOntology | 手動 increment | discipline-ontology/ 下 `*.json` ファイル数を auto-count |
| `community/discussions-templates/charter-introduction.md` stats | 手動 update した | template literal 化 + build-time substitute |

## scope 制限 (急がず原則整合)

- 一気に全部修正せず、 audit → 優先順位付け → 高頻度更新項目から順次
- (b) acceptable static (例: 「2026-04-30 invention 5 件承認」 等履歴) は touch しない
- pipeline 統合追加で `rei-learning-cycle.bat` の実行時間が大幅増しないよう確認

## 関連 memory

- `project_auto_publish_system.md` ★★★★★ — 既存 auto-publish pipeline 仕様
- `feedback_index_html_bundle_sync.md` ★★★★★ — vite build / index.html bundle sync の重大 bug 経験
- `feedback_compression_claim_honesty.md` — stats overclaim 防止
