-- library-map(藏書地圖)M1 — `library_map` template seed -- SDD: system-dev/docs/3-specs/library-map/design.md §1(源頭 Arcrun#39 spec §3) -- -- D6 鐵律:零建表、零 ALTER——地圖=templates 表的一列 seed row(與 0001 的 recipe_stat 同模式), -- 每庫一個 map block(record)+slots,全部住既有三表。 -- 冪等(INSERT OR IGNORE);runtime 端 actions/library-map.ts 的 ensureLibraryMapTemplate 是同一 -- 定義的第二道保險(已部署未跑 migration 的 D1 上,首次 recompute 會自建),兩邊 id/slots 必須一致。 INSERT OR IGNORE INTO templates (id, name, description, slots_json, created_by) VALUES ( 'tpl-library-map', 'library_map', 'per-library map block(藏書地圖:graph 機械導出,零 LLM 生成;Arcrun#39)', '["library","narrative","top_entities","relation_profile","bridges","triplet_count","commit_hash","status"]', 'system' );