目的
Li+ と NGR の Decision Structure Wiki entry だけを、Issue #116 で追加した canonical SQLite judgment graph へ先行移行する。Wiki は読み取り専用の原典として保持し、専用の新規 SQLite に judgment、provenance、lifecycle、typed relation を再現する。
前提
- NGR は stable identity、revision、lifecycle、typed relation の domain API と deterministic import/export、backup/restore、integrity 検証を持つ。
- NGR Wiki の判断 entry は約 14 件あり、Li+ Wiki にも Decision Structure index がある。
- 既存 Wiki、本番検索 DB、凍結済み feedback 実験 DB は変更しない。
- 先行移行は破棄・再実行可能な専用 DB を使い、正本切替そのものは行わない。
制約
- 対象 repository は
Liplus-Project/liplus-language と Liplus-Project/neuron-graph-rag の Decision Structure entry だけとする。
Decision-Structure.md の index から対象 slug と state を取得し、未分類 Wiki page を暗黙に取り込まない。
- page 本文、repository、Wiki URL、取得 commit を provenance に保持する。
supersedes、depends on、conflicts with、NGR 固有の refines、informs を typed relation として保存する。
- repository 間で同じ slug が衝突しない stable identity namespace を使う。
- relation target 不明、duplicate identity、parser ambiguity、partial write は fail closed にする。
- import 前後の件数、active / archived state、relation identity、deterministic export、integrity を検証する。
- SQLite binary と取得した Wiki clone は commit しない。再現可能な importer、テスト、結果 manifest だけを repository artifact とする。
対象ファイル
tools/judgment_graph.py または新規 Wiki migration tool
src/neuron_graph_rag/judgments.py - 必要な import boundary
tests/ - parser、namespace、relations、atomic failure、round-trip
docs/ - pilot migration contract と実行結果
.gitignore - local database / Wiki clone を誤 commit しないために必要な場合のみ
完了条件
- 二つの Decision Structure index が列挙する全 entry を専用 SQLite へ取り込める。
- 取込件数と relation 件数が manifest に記録される。
- SQLite integrity と judgment supersession integrity が成功する。
- deterministic export を二回生成して byte-identical になる。
- Wiki と既存 DB に変更がない。
目的
Li+ と NGR の Decision Structure Wiki entry だけを、Issue #116 で追加した canonical SQLite judgment graph へ先行移行する。Wiki は読み取り専用の原典として保持し、専用の新規 SQLite に judgment、provenance、lifecycle、typed relation を再現する。
前提
制約
Liplus-Project/liplus-languageとLiplus-Project/neuron-graph-ragの Decision Structure entry だけとする。Decision-Structure.mdの index から対象 slug と state を取得し、未分類 Wiki page を暗黙に取り込まない。supersedes、depends on、conflicts with、NGR 固有のrefines、informsを typed relation として保存する。対象ファイル
tools/judgment_graph.pyまたは新規 Wiki migration toolsrc/neuron_graph_rag/judgments.py- 必要な import boundarytests/- parser、namespace、relations、atomic failure、round-tripdocs/- pilot migration contract と実行結果.gitignore- local database / Wiki clone を誤 commit しないために必要な場合のみ完了条件