Elffuss BraidHub

kikocis/utopia public

A declared disjointness keeps same names apart (B3) (#245)

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Changesetf4ce643c8ad5fcce432142ab8a8a4a3eb492be521335761b3fe27605a1cd8cba
AuthorWaylandYang <145302500+WaylandYang@users.noreply.github.com> · 2026-09-03 13:41 +08:00
CommitterGitHub <noreply@github.com> · 2026-09-03 13:41 +08:00
Parents42856b1d5fd1

Browse the files at this changeset

5 files changed

modified crates/utopia-store/src/resolution.rs +65 −12
@@ -107,10 +107,12 @@
107107 /// 易混具体类型:抽取常在这几类间摇摆(一个团队算组织还是项目?平台算项目还是产品?)。
108108 /// 同名跨这组类型 → 照建实体(宁分勿合),但入队审核对交 LLM/人工裁决。
109109 ///
110-/// **这张表该从本体读,今天还没有。** `owl:disjointWith` 已经落库(`entity_type_disjoint`,
111-/// 有导入有编辑),但消费者只有推理机的本体自检;消解这边仍按这三个硬编码的 key 判。
112-/// 没装包的库里这三个 key 不存在,于是这一档永不命中,所有跨类型同名判 `Disjoint`——
113-/// 变严不变松,不会错合。改从本体读是 0016 的 B3。
110+/// **本体说了算,这张表只是没声明时的退路。** 判两个类能不能指同一个东西,先看
111+/// `owl:disjointWith`(`entity_type_disjoint`,含继承:Person ⟂ Organization 就让
112+/// Corporation ⟂ Person)——声明了互斥的一律分开,哪怕它们在类层级上是一家;
113+/// 没声明的再看类层级(同一支系当易混,#226),最后才是这三个硬 key。
114+/// 没装包也没声明的库里这三个 key 不存在,于是所有跨类型同名判 `Disjoint`——
115+/// 变严不变松,不会错合(0016 B3)
114116 pub const CONFUSABLE_TYPE_KEYS: &[&str] = &["organization", "project", "product"];
115117
116118 /// 单次消解最多入队的漂移审核对(防同名大组刷爆审核队列)。
@@ -352,6 +354,9 @@
352354 /// 所以这里靠 `kb_id` 收窄行集并设上限,且只在**新建实体时**跑一次,
353355 /// 不是每条 mention。大库上如果不够,正解是建一张「后缀键」表走等值查,
354356 /// 而不是加模糊索引。
357+/// 包含扫描的一行:(id, 本名, 类型 key, 类型 id, 画像)。类型 id 用来比本体声明的互斥
358+type ContainRow = (Uuid, String, Option<String>, Option<Uuid>, Option<Vector>);
359+
355360 async fn containment_reviews(
356361 pool: &PgPool,
357362 kb_id: Uuid,
@@ -379,9 +384,11 @@
379384 // 启明 X7 加速卡→concept vs 启明 X7 推理加速卡→product),
380385 // 按类型相等去查,这两对一个都捞不到。相容性交给下面的 classify_type_drift。
381386 // 多取一些行,因为硬互斥的会在 Rust 侧被筛掉
387+ // 本体声明了跟这个类互斥的那些类(含继承),一次取出,逐行比 id
388+ let disjoint = declared_disjoint_from(pool, kb_id, type_id).await?;
382389 // 第三列可空:未分类实体也要参与包含关系扫描(0009)
383- let rows: Vec<(Uuid, String, Option<String>, Option<Vector>)> = sqlx::query_as(
384- "SELECT e.id, e.canonical_name, t.key, e.profile_embedding
390+ let rows: Vec<ContainRow> = sqlx::query_as(
391+ "SELECT e.id, e.canonical_name, t.key, e.type_id, e.profile_embedding
385392 FROM entities e LEFT JOIN entity_types t ON t.id = e.type_id
386393 WHERE e.kb_id = $1 AND e.merged_into IS NULL
387394 AND e.id <> $2
@@ -419,12 +426,15 @@
419426 Ok(rows
420427 .into_iter()
421428 // 哪些类型对可能指同一个东西,既有规则已经想清楚了,别另发明一套:
422- // person vs organization 永不合并,concept 兜底与谁都可能是一个
423- .filter(|(_, _, type_key, _)| {
424- classify_type_drift(mention_key.as_deref(), type_key.as_deref()) != TypeDrift::Disjoint
429+ // 本体声明互斥的永不合并,person vs organization 永不合并,
430+ // concept 兜底与谁都可能是一个
431+ .filter(|(_, _, type_key, other_type, _)| {
432+ !other_type.is_some_and(|t| disjoint.contains(&t))
433+ && classify_type_drift(mention_key.as_deref(), type_key.as_deref())
434+ != TypeDrift::Disjoint
425435 })
426436 .take(MAX_CONTAIN_REVIEWS)
427- .map(|(id, other_name, _, emb)| {
437+ .map(|(id, other_name, _, _, emb)| {
428438 // 分数只是给队列排序用的参考,**不参与是否合并的判断**——
429439 // 那个判断本来就不在这条路上
430440 let score = ctx
@@ -466,6 +476,43 @@
466476 }
467477 }
468478
479+/// 本体声明了跟这个类互斥的全部类(0016 B3)。
480+///
481+/// **互斥是继承的**:Person ⟂ Organization 一条声明,就让 Person 的每个子类跟
482+/// Organization 的每个子类都互斥。所以先沿父链往上收集这个类的祖先,取它们声明的
483+/// 互斥对象,再沿子链往下展开。表里两个方向各存一行,问一个方向就够。
484+///
485+/// 没判出类型(`None`)时没有类可问,回空集:那一侧本来就走召回候选那一档
486+async fn declared_disjoint_from(
487+ pool: &PgPool,
488+ kb_id: Uuid,
489+ type_id: Option<Uuid>,
490+) -> AppResult<HashSet<Uuid>> {
491+ let Some(type_id) = type_id else {
492+ return Ok(HashSet::new());
493+ };
494+ let rows: Vec<(Uuid,)> = sqlx::query_as(
495+ "WITH RECURSIVE up(id) AS (
496+ SELECT $2::uuid
497+ UNION
498+ SELECT p.parent_id FROM entity_type_parents p JOIN up ON p.child_id = up.id
499+ ), hit(id) AS (
500+ SELECT d.b_id FROM entity_type_disjoint d JOIN up ON d.a_id = up.id
501+ WHERE d.kb_id = $1
502+ ), down(id) AS (
503+ SELECT id FROM hit
504+ UNION
505+ SELECT p.child_id FROM entity_type_parents p JOIN down ON p.parent_id = down.id
506+ )
507+ SELECT id FROM down",
508+ )
509+ .bind(kb_id)
510+ .bind(type_id)
511+ .fetch_all(pool)
512+ .await?;
513+ Ok(rows.into_iter().map(|(id,)| id).collect())
514+}
515+
469516 /// 两个类是不是一家的:一方是另一方的祖先,或者两者共有一个**不是根**的祖先。
470517 ///
471518 /// `CONFUSABLE_TYPE_KEYS` 那张三 key 的硬表是给没装包的库准备的;装了 schema.org
@@ -561,12 +608,18 @@
561608 .fetch_all(pool)
562609 .await?;
563610
611+ // 本体声明了互斥的类,一次取出(含继承)。声明优先于下面所有启发式
612+ let disjoint = declared_disjoint_from(pool, kb_id, type_id).await?;
564613 let mut recall_cands: Vec<&CrossCandidate> = Vec::new();
565614 let mut review_cands: Vec<&CrossCandidate> = Vec::new();
566615 for c in &cross {
567616 let mut drift = classify_type_drift(mention_key.as_deref(), c.type_key.as_deref());
568- // 硬表判不上的,再看类层级:同一支系下的同名当易混,进审阅队列
569- if drift == TypeDrift::Disjoint {
617+ if c.type_id.is_some_and(|t| disjoint.contains(&t)) {
618+ // 本体说这两类互斥:哪怕硬表说易混、类层级说一家,也分开。
619+ // 声明是人写下的判断,启发式只是没声明时的猜测
620+ drift = TypeDrift::Disjoint;
621+ } else if drift == TypeDrift::Disjoint {
622+ // 硬表判不上的,再看类层级:同一支系下的同名当易混,进审阅队列
570623 if let (Some(a), Some(b)) = (type_id, c.type_id) {
571624 if types_are_kin(pool, a, b).await? {
572625 drift = TypeDrift::Review;
added crates/utopia-store/tests/a_declared_disjointness_keeps_names_apart.rs +198 −0
@@ -0,0 +1,198 @@
1+//! 0016 B3:`owl:disjointWith` 进消解——本体声明了互斥的两个类,同名也不进审阅队列。
2+//!
3+//! 消解判「两个类能不能指同一个东西」有三层:硬表 `CONFUSABLE_TYPE_KEYS`、类层级
4+//! (同一支系当易混,#226)、本体声明的互斥。这里守的是**声明优先于前两层**:
5+//!
6+//! 1. 没声明时行为不变:organization vs project 照硬表进队列,corporation vs
7+//! federal_agency 照类层级(共有非根祖先 organization)进队列。
8+//! 2. 声明 organization ⟂ project 之后,同名的 organization / project 分开,不进队列。
9+//! 3. 声明 corporation ⟂ agency 之后,federal_agency(agency 的子类)跟 corporation
10+//! 也分开——**互斥是继承的**,声明在父类上就够。
11+//!
12+//! 没有 `UTOPIA_DATABASE_URL` 时跳过而不是失败。自建自拆,绝不碰已有的库。
13+
14+use sqlx::PgPool;
15+use utopia_store::{ontology, resolution};
16+use uuid::Uuid;
17+
18+struct Fx {
19+ org: Uuid,
20+ kb: Uuid,
21+ organization: Uuid,
22+ project: Uuid,
23+ corporation: Uuid,
24+ agency: Uuid,
25+ federal_agency: Uuid,
26+}
27+
28+async fn seed(pool: &PgPool) -> anyhow::Result<Fx> {
29+ let (org, ws, kb) = (Uuid::now_v7(), Uuid::now_v7(), Uuid::now_v7());
30+ // 顶上要有一个根:类层级那条规则里「共有的祖先」不算根(schema.org 里万物皆
31+ // Thing,算上它 Person 与 Organization 也成了一家),所以 organization 得有父类
32+ let (thing, organization, project, corporation, agency, federal_agency) = (
33+ Uuid::now_v7(),
34+ Uuid::now_v7(),
35+ Uuid::now_v7(),
36+ Uuid::now_v7(),
37+ Uuid::now_v7(),
38+ Uuid::now_v7(),
39+ );
40+ sqlx::query("INSERT INTO organizations (id, name) VALUES ($1, 'disjoint-test')")
41+ .bind(org)
42+ .execute(pool)
43+ .await?;
44+ sqlx::query("INSERT INTO workspaces (id, org_id, name) VALUES ($1, $2, 'disjoint-test')")
45+ .bind(ws)
46+ .bind(org)
47+ .execute(pool)
48+ .await?;
49+ sqlx::query(
50+ "INSERT INTO knowledge_bases (id, workspace_id, name) VALUES ($1, $2, 'disjoint-test')",
51+ )
52+ .bind(kb)
53+ .bind(ws)
54+ .execute(pool)
55+ .await?;
56+ for (id, key) in [
57+ (thing, "thing"),
58+ (organization, "organization"),
59+ (project, "project"),
60+ (corporation, "corporation"),
61+ (agency, "agency"),
62+ (federal_agency, "federal_agency"),
63+ ] {
64+ sqlx::query("INSERT INTO entity_types (id, kb_id, key, label) VALUES ($1, $2, $3, $3)")
65+ .bind(id)
66+ .bind(kb)
67+ .bind(key)
68+ .execute(pool)
69+ .await?;
70+ }
71+ for (child, parent) in [
72+ (organization, thing),
73+ (project, thing),
74+ (corporation, organization),
75+ (agency, organization),
76+ (federal_agency, agency),
77+ ] {
78+ sqlx::query("INSERT INTO entity_type_parents (child_id, parent_id) VALUES ($1, $2)")
79+ .bind(child)
80+ .bind(parent)
81+ .execute(pool)
82+ .await?;
83+ }
84+ Ok(Fx {
85+ org,
86+ kb,
87+ organization,
88+ project,
89+ corporation,
90+ agency,
91+ federal_agency,
92+ })
93+}
94+
95+async fn entity(pool: &PgPool, f: &Fx, name: &str, type_id: Uuid) -> anyhow::Result<Uuid> {
96+ let id = Uuid::now_v7();
97+ sqlx::query(
98+ "INSERT INTO entities (id, kb_id, type_id, canonical_name) VALUES ($1, $2, $3, $4)",
99+ )
100+ .bind(id)
101+ .bind(f.kb)
102+ .bind(type_id)
103+ .bind(name)
104+ .execute(pool)
105+ .await?;
106+ Ok(id)
107+}
108+
109+/// 消解一条 mention,回它挂上的「类型漂移」审核对指向谁
110+async fn drift_reviews(
111+ pool: &PgPool,
112+ f: &Fx,
113+ name: &str,
114+ type_id: Uuid,
115+) -> anyhow::Result<Vec<Uuid>> {
116+ let r = resolution::resolve_mention(pool, f.kb, Some(type_id), name, None).await?;
117+ assert!(
118+ r.created,
119+ "a cross-type same name is a new entity: keep apart, never merge"
120+ );
121+ Ok(r.reviews
122+ .iter()
123+ .filter(|x| x.reason.starts_with("type_drift|"))
124+ .map(|x| x.other_id)
125+ .collect())
126+}
127+
128+#[tokio::test]
129+async fn a_declared_disjointness_keeps_names_apart() -> anyhow::Result<()> {
130+ let Ok(url) = std::env::var("UTOPIA_DATABASE_URL") else {
131+ eprintln!("跳过:未设 UTOPIA_DATABASE_URL");
132+ return Ok(());
133+ };
134+ let pool = PgPool::connect(&url).await?;
135+ let f = seed(&pool).await?;
136+
137+ let run = async {
138+ // 1. 没声明:硬表与类层级照旧
139+ let orion = entity(&pool, &f, "Orion", f.organization).await?;
140+ assert_eq!(
141+ drift_reviews(&pool, &f, "Orion", f.project).await?,
142+ vec![orion],
143+ "organization vs project is confusable by the hard-coded list"
144+ );
145+ let acme = entity(&pool, &f, "Acme", f.corporation).await?;
146+ assert_eq!(
147+ drift_reviews(&pool, &f, "Acme", f.federal_agency).await?,
148+ vec![acme],
149+ "corporation vs federal_agency share the ancestor organization: kin, so Review"
150+ );
151+
152+ // 2. 声明 organization ⟂ project:硬表说易混,本体说互斥——本体赢
153+ ontology::set_disjoint_for(&pool, f.kb, f.organization, &[f.project]).await?;
154+ let _vega = entity(&pool, &f, "Vega", f.organization).await?;
155+ assert!(
156+ drift_reviews(&pool, &f, "Vega", f.project)
157+ .await?
158+ .is_empty(),
159+ "a declared disjointness wins over the hard-coded list"
160+ );
161+
162+ // 3. 声明 corporation ⟂ agency:federal_agency 是 agency 的子类,互斥继承下来,
163+ // 类层级说一家也不算
164+ ontology::set_disjoint_for(&pool, f.kb, f.corporation, &[f.agency]).await?;
165+ let _beta = entity(&pool, &f, "Beta", f.corporation).await?;
166+ assert!(
167+ drift_reviews(&pool, &f, "Beta", f.federal_agency)
168+ .await?
169+ .is_empty(),
170+ "a disjointness declared on the parent reaches the child and wins over kinship"
171+ );
172+ // 反过来问也一样:表里两个方向各一行,继承沿另一头的祖先链走
173+ let _gamma = entity(&pool, &f, "Gamma", f.federal_agency).await?;
174+ assert!(
175+ drift_reviews(&pool, &f, "Gamma", f.corporation)
176+ .await?
177+ .is_empty(),
178+ "the declaration holds from either side"
179+ );
180+
181+ // 4. 取消声明,回到没声明时的行为——编辑必须能撤
182+ ontology::set_disjoint_for(&pool, f.kb, f.corporation, &[]).await?;
183+ let delta = entity(&pool, &f, "Delta", f.corporation).await?;
184+ assert_eq!(
185+ drift_reviews(&pool, &f, "Delta", f.federal_agency).await?,
186+ vec![delta],
187+ "with the declaration gone, kinship sends the pair to Review again"
188+ );
189+ Ok::<_, anyhow::Error>(())
190+ }
191+ .await;
192+
193+ let _ = sqlx::query("DELETE FROM organizations WHERE id = $1")
194+ .bind(f.org)
195+ .execute(&pool)
196+ .await;
197+ run
198+}
modified docs/decisions/0009-no-type-is-a-type.md +11 −3
@@ -2,9 +2,11 @@
22
33 - **Status**: Implemented · `entities.type_id` and `entity_retypes.from_type_id` are
44 nullable; the nine builtin classes and the seeding function left with the seed relations
5- (#110 / #125 / #128 / [0011](0011-a-mapping-is-not-a-fact.md)) · `owl:disjointWith` is
6- stored but resolution still reads the hard-coded `CONFUSABLE_TYPE_KEYS`; since #226 same-name
7- entities of kin classes (ancestor, descendant or a shared non-root ancestor) go to Review · `metric` /
5+ (#110 / #125 / #128 / [0011](0011-a-mapping-is-not-a-fact.md)) · `owl:disjointWith` now
6+ reaches resolution (0016 B3): a declared disjointness, inherited down both hierarchies, keeps
7+ same-name entities apart ahead of every heuristic; since #226 same-name entities of kin classes
8+ (ancestor, descendant or a shared non-root ancestor) go to Review; `CONFUSABLE_TYPE_KEYS` stays
9+ as the fallback when nothing is declared · `metric` /
810 `dimension` are created on demand by mapping exploration (#231); a semantic-layer pack is
911 still planned
1012 - **Written**: 2026-08-30 · condensed into English 2026-09-03
@@ -82,6 +84,12 @@
8284 - 2026-09-02: `owl:disjointWith` now has a table (`entity_type_disjoint`), import and an
8385 edit endpoint, but its only consumer is R0's ontology self-check; `CONFUSABLE_TYPE_KEYS`
8486 is still three hard-coded keys (0016 B3).
87+- 2026-09-03: resolution reads the table (0016 B3). `declared_disjoint_from` collects the
88+ classes declared disjoint with the mention's class or any ancestor, expanded to their
89+ descendants, in one recursive query; both cross-type paths (type drift and containment)
90+ treat a hit as `Disjoint` before the kinship check and the hard-coded list. Nothing
91+ declared → today's behavior, unchanged. The list is now a fallback, and decision 6 reads
92+ accordingly.
8593 - 2026-09-02: `metric` / `dimension` had a visible cost — mapping exploration looked up
8694 `entity_types.key IN ('metric','dimension')` and `continue`d when missing, so a KB without
8795 those classes silently produced zero mappings. 2026-09-03: exploration now creates both as
modified docs/decisions/0016-close-the-open-seams-before-cutting-new-ones.md +4 −4
@@ -1,6 +1,6 @@
11 # 0016 · Close the open seams before cutting new ones
22
3-- **Status**: in progress · the first schedule after v0.1.0 · A1, A2, A3 done · B1 done (#227) · B2 done (#238 / #243, [0017](0017-a-contradiction-points-upstream.md)) · B3: the signature half done (#190 / #196), cross-pack signatures and range-aware direction done (#233), `disjointWith` into resolution still open · D2's blank-base problem worked around with builtin `metric` / `dimension` classes (#231), the pack itself still planned · the lakehouse engines landed ahead of D4 (#239, [0018](0018-the-lakehouse-is-one-protocol-away.md))
3+- **Status**: in progress · the first schedule after v0.1.0 · A1, A2, A3 done · B1 done (#227) · B2 done (#238 / #243, [0017](0017-a-contradiction-points-upstream.md)) · B3 done: the signature half (#190 / #196), cross-pack signatures and range-aware direction (#233), `disjointWith` into resolution · D2's blank-base problem worked around with builtin `metric` / `dimension` classes (#231), the pack itself still planned · the lakehouse engines landed ahead of D4 (#239, [0018](0018-the-lakehouse-is-one-protocol-away.md))
44 - **Written**: 2026-09-02 · condensed into English 2026-09-03
55 - **Related**: written after checking [0001](0001-ontology-import-and-governance.md) through [0015](0015-recording-a-sentence-is-not-asserting-a-fact.md) against the code; every item below has its source in those fifteen records, whose 2026-09-02 revision notes are the check's product. This record only orders them and says why this order.
66
@@ -45,9 +45,9 @@
4545 **B · Finish the reasoning engine**, after A, parallel with C. B1 the R2 proof chain (done,
4646 #227; a chain, not a tree — see [0002](0002-reasoning-engine.md)). B2 the derived-vs-asserted
4747 contradiction signal, `axiom_violations` kind `derived_contradiction` (done: B2a engine and
48-queue #238, B2b visibility on graph and panel #243 — 0017). B3 `classify_type_drift` reads `entity_type_disjoint`
49-instead of the hard-coded list, today's behavior when nothing is declared (class kinship from the
50-hierarchy landed first, #226). B4 R3 incremental
48+queue #238, B2b visibility on graph and panel #243 — 0017). B3 resolution reads `entity_type_disjoint`
49+ahead of the hard-coded list (done: a declared disjointness, inherited, wins over kinship and the
50+list; nothing declared → today's behavior; class kinship from the hierarchy landed first, #226). B4 R3 incremental
5151 maintenance, deferred until a full re-derivation of `ai-timeline-ends` exceeds a threshold
5252 (proposal: 10 seconds).
5353
modified docs/decisions/README.md +2 −2
@@ -32,14 +32,14 @@
3232 | 0006 | [Ontology scale and the extraction prompt](0006-ontology-scale-and-the-prompt.md) | Built · the character budget (24,000) and per-chunk retrieval live, values untested · answer keys still hand-filled |
3333 | 0007 | [Counting decides what becomes a relation](0007-who-decides-what-becomes-a-relation.md) | Built · adoption decided by counting (`MIN_DOCS = 2`, `MIN_SIGNALS = 3`), proposals persist (#112) · narrative verbs and `_by` folding still open |
3434 | 0008 | [Ontology packs as the cold start](0008-ontology-packs-as-cold-start.md) | Built · five packs embedded, multi-select at creation, schema.org by default · three open questions stay open; Chinese labels got worse |
35-| 0009 | [An undecided type stays empty](0009-no-type-is-a-type.md) | Implemented · `type_id` nullable, builtin classes gone · kin classes go to Review (#226), `disjointWith` still unread by resolution · `metric` / `dimension` builtin on demand (#231) |
35+| 0009 | [An undecided type stays empty](0009-no-type-is-a-type.md) | Implemented · `type_id` nullable, builtin classes gone · kin classes go to Review (#226), declared `disjointWith` keeps them apart (0016 B3) · `metric` / `dimension` builtin on demand (#231) |
3636 | 0010 | [An unnamed relation stays empty](0010-no-relation-is-no-relation.md) | Implemented · `predicate_id` nullable, `related_to` gone, wording recovered by `fact_surface_predicate` · follow-ups done with 0011 |
3737 | 0011 | [A mapping is configuration](0011-a-mapping-is-not-a-fact.md) | Implemented (#126 / #140 / #148) · Review flow and revision history rebuilt · the evidence chain not built |
3838 | 0012 | [The ontology is a contract](0012-the-ontology-is-a-contract-not-a-suggestion.md) | Implemented · violation rate 57% → 4%, reversals 39 → 0 · guard extended to adoption and merge (#190 / #196) · reified-shell filter at pack import open |
3939 | 0013 | [A source hands over its history](0013-a-source-should-hand-over-its-history.md) | Implemented for GitHub, Jira and Notion (#134 / #135 / #213) · Feishu and Confluence not started · `instant` precision not triggered |
4040 | 0014 | [Identity from the person, scope from the token](0014-identity-from-the-person-scope-from-the-token.md) | Implemented (#180) · five read-only MCP tools over Streamable HTTP · tokens page at `/account/tokens` · `can_write` still hard-coded false |
4141 | 0015 | [A recorded sentence waits for a nod](0015-recording-a-sentence-is-not-asserting-a-fact.md) | Implemented · memory facts wait in `pending_facts`, nod queue and chat card, `remember` reopened · MCP write is the next cut |
42-| 0016 | [Close the open seams before cutting new ones](0016-close-the-open-seams-before-cutting-new-ones.md) | In progress · A done · B1 and B2 done, `disjointWith` open · C untouched · D2 worked around (#231); the lakehouse landed ahead of D4 (#239) |
42+| 0016 | [Close the open seams before cutting new ones](0016-close-the-open-seams-before-cutting-new-ones.md) | In progress · A done · B done (B4 deferred) · C untouched · D2 worked around (#231); the lakehouse landed ahead of D4 (#239) |
4343 | 0017 | [A contradiction points at an error upstream](0017-a-contradiction-points-upstream.md) | Implemented · B2a: engine and queue, per-item cap, aggregation by rule pair, cards with clues and repairs (#238) · B2b: contested edges in the alert colour, ghost edges for blocked derivations, the disputed chip and the "did not land" section in the panel (#243) |
4444 | 0018 | [The lakehouse is one protocol away](0018-the-lakehouse-is-one-protocol-away.md) | Implemented: Trino (Iceberg / Delta / Hive), Databricks and Snowflake behind the same trait, scheme picks the engine (#239) · replay tests only, real clusters wanted (#240–#242) · MaxCompute waits |
4545