STEP 1671 — コンビナート 4 modules 一斉 v2 (moduleInfo() 統一)

Date: 2026-09-02  ·  Repo: fc0web/rei-aios  ·  Scope: connector-graph + open-end-tags + ghost-wire-detector + time-connector-runtime

起点

藤本さん directive: 「CF Pages 反映確認後、次の layer に進めて下さい」
STEP 1662 (sougou-external-connectors 3 本 v2) の CF 反映 verify 完了後、コネクタ系統 6 系統 第 3 layer = コンビナート 4 modules に着手。

v2 = 「moduleInfo() 統一」 教育的 自己紹介 layer

4 module 全てが 共通 pattern の moduleInfo() を export。 学習者 or 開発者 が 各 module に 「何を 提供するか」 「どの STEP で 生まれたか」 「他 module と どう繋がるか」 「honest scope」 を 問い合わせ可能。

共通 pattern

export const MODULE_VERSION = '2.0.0';

export const MODULE_INFO = {
  name: ,
  version: MODULE_VERSION,
  step: ,
  purpose: <1-sentence 目的>,
  publicApi: [],
  keyConcepts: [],
  relatedModules: [<他 module への reference>],
  honestScope: [<制約 / 対象外 の 明示>],
} as const;

export function moduleInfo(): typeof MODULE_INFO {
  return MODULE_INFO;
}

4 module 内容

moduleSTEPpurposerelatedModules
connector-graph1448端子基盤 の 中間表現 schema (4 NodeState + 8 OwnerKind + validateGraph)、コンビナート 全 module の 型 level 前提open-end-tags / ghost-wire-detector / time-connector-runtime (全 module 継承)
open-end-tags1450開放端 の 構造化 (生 string[] → 機械可読 OpenEndTag[])、次段 ghost-wire-detector の 原料connector-graph / ghost-wire-detector
ghost-wire-detector1457ゴースト配線検出 (真だが不当 な 接続)、5 rules pure-functionconnector-graph / open-end-tags
time-connector-runtime1460時間コネクタ maturation processor + persistence、副ライン disciplineconnector-graph

Test 結果

test結果
test/step1671-combinato-module-info-test.ts (新規、 6 section 50 assertions)50/50 PASS
test/step1448-connector-graph-schema-test.ts regressionPASS
test/step1450-open-end-tags-test.ts regressionPASS
test/step1457-ghost-wire-detector-test.ts regressionPASS
test/step1460-time-connector-runtime-test.ts regressionPASS
Honest scope:
  1. v2 は 「自己紹介 layer」 追加のみ — 既存 API (validateGraph / classifyString / detectGhostWires / processMaturation 等) は 完全無変更 = 既存 consumer 破壊なし。
  2. moduleInfo() は 静的 dict、call cost 実質 zero。
  3. MODULE_INFO field は 記載時点 (2026-09-02) の snapshot — publicApi / relatedModules は 未来の refactor で drift、手動 update discipline。
  4. 4 module 一斉 2.0.0 bump — 元 version 未定義、bump 幅 は sougou-connectors STEP 1657 の v2.0.0 と 命名 揃える 判断 (semver 的 strict には 「first versioned release」 は 1.0.0 が 標準)。
  5. アプリケーション consumer は まだ moduleInfo() を 呼ばない — 型 level 追加のみ、site page 統合 or CLI tool 化 は 別 STEP candidate。

Multi-tab protocol 初 dogfood

コネクタ系統 進化 arc 進捗

#系統STEPstatus
1sougou-connectors4461657✅ v2.0.0 (learn_path 追加)
2sougou-external-connectors31662✅ v0.2.0 (source_metadata 追加)
3コンビナート41671✅ v2.0.0 (moduleInfo 統一)
4ソフト connector catalog3⏸ 次 candidate
5ハード connector template2
6agent connector6 pin

Files (repo 側)