Skip to content

[Epic] One-way sync-in beside federation: external data becomes ordinary objects with a provenance marker, read-only by default, write-back only through declared actions (ruled A, 2026-11-09) #31763

Open
6 of 10 issues completed

Description

@objectstack-fleet

coordinator#1 · os-warren · session_01JQwxbaUTJVFuEz81NDUrnw

[Epic] One-way sync-in beside federation — epic parent of the 2026-11-09 decision card (ruled A).

Ruled: 6731568115 · letter A · 2026-11-09T03:32Z — amended in the same thread 2026-11-09T03:33Z: pipelines and transforms are not built, warehouses and ETL vendors are partners; 2026-11-09T03:32Z 「Palantir 的核心能力我们都应该要有,不等客户需求」 — lineage and label-based access control get their own epics (linked under Related), not deferred to customer pull.

Epic parent under the #31502 A′ working mode: tracking + area:data, no pm state label, never dispatched; decisions anchor in the children. Filing lane and table owner: domain:server (the coordinator's seats). Filing gate: ④ coordination parent, on the maintainer's ruling above. ⛔ Not a claim. Original decision card (triage#1, 2026-11-09T03:02Z) kept below as the record.

维护者速读

把「外部数据单向同步成普通对象」做成和联邦并列的正式能力:拉取源扩到联邦数据库源和数仓、分页、删除打标、来源标记与默认只读、运行记录;写回只走声明的动作,不做双向同步。管道加工交给数仓 / ETL 伙伴。开源内核。四期约 10–15 agent 天;P0 测量 0.5–1 天。

Milestones and children

Milestone Child Blocked-by Lane
P0 — measurement #31778 run the existing pull path (rest connector + mapping.connectorSource + job.pull) end to end; evidence per gap G1–G9 — server · S
P1 — ADR #31780 the ADR: pull sources (connector, federated datasource, warehouse), paging, delete policy, the synced bucket + provenance columns, run record, execution identity, write-back through actions, the three-way rule and the partner stance #31778 spec · Tier H · fable + xhigh
P2 — spec keys (filed on the ADR's acceptance) the keys the ADR defines, Metadata-protocol: added #31780 spec
P2 — engine (filed on the ADR's acceptance) datasource-as-source reader incl. Snowflake / BigQuery dialects; paging loop with per-batch watermark; delete marking; provenance stamping and the bucket's write guard; catalog drift on the pull path; per-run record P2 spec server · M–L
P3 — Studio (filed with P2 engine) "sync in" wizard beside the virtual-object wizard, read-only rendering of synced objects, run history on the datasource page P2 engine ui · M
P3 — guide + skills (filed with P2 engine) the three-way rule (federation · sync-in · connector action), the partner stance (transforms belong to the warehouse / ETL vendor), the write-back answer P2 engine devx / skills · S

Rolling split: only the current and the next milestone are cards; the rest are rows here.

Gap list the measurement confirms (read from main at 9e1f1f90, 2026-11-09)

# Gap Today To add
G1 pull sources connectorSource accepts rest / openapi only a federated datasource (DB, OData, warehouse) as a source
G2 paging one response per pull, by design declared paging; per-batch watermark
G3 deletes none mark, never hard delete
G4 provenance none on the row; managedBy buckets exist (ADR-0103) a synced bucket + four system columns
G5 read-only gate, write-back actions + connector_action exist the bucket refuses member writes, actions pass; no bidirectional sync
G6 source drift external_catalog for federation reuse it on the pull path; loud refusal on a missing column
G7 run record engine-internal job rows per-run counts, watermark, failure; shown in Studio
G8 Studio entry datasource page, draft from remote table a sync wizard next to the virtual-object one
G9 scale createMany batches in the import runner nothing new; chunked pulls under G2

Done-when

A fresh environment declares, in metadata only, a rest connector instance or a federated datasource (including a warehouse), a mapping and a job; the job pulls 100,000 rows in pages into an ordinary object whose rows carry provenance columns and cannot be edited by members; a declared action writes a change back through the connector and the next pull reconciles it; a source delete is marked; a dataset, a report and the MCP query tool read the rows unchanged; the run is written up as a North Star run record.

Non-goals (ruled)

Bidirectional sync and conflict merge; a Writeback-Dataset edits overlay (#27261 N3); pipelines and transforms (partners' job); reviving the protocol 17/18 DataSyncConfig / ETLPipeline vocabulary. Lineage and label-based access control are separate epics (Related).

Risks the children inherit

  • A synced object's permissions are configured locally from zero; the source's permissions do not travel. Default private OWD; security-owd-unset already warns.
  • Every synced row needs an organization (ADR-0131); a pull in a multi-organization environment declares it or the boot refuses.
  • Synced tables become the largest tables; retention / archive (ADR-0057 lifecycle) must hold for them.
  • Vocabulary revival: the community remembers DataSync / ETLPipeline; the skills must point at mapping / job.

Related

#27261 (federation epic, closed), ADR-0015, ADR-0062, ADR-0103, #27293 (connector auto-shelf), #31502 (epic working mode). Two governance epics filed on the same ruling live in the private cloud repository (cloud#4163, cloud#4164; moved there 2026-11-09, maintainer 「同意迁移」). Analysis report: the project's Fable thread "Discuss Palantir direction (objectstack#31763)".


Original decision card (triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U · 2026-11-09T03:02Z) — ruled A, kept as the record

triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

Path: none

Filing gate: ② a decision only the maintainer can make (product direction). The maintainer, in triage's session, 2026-11-09, verbatim:

  • 「palentir 是联邦这一套吗」
  • 「同步进来对我们是不是更简单」
  • 「palentir 用的哪一种」
  • 「我就是想做 palentir 开源替代方案,立决策卡」

⛔ Not a claim.

维护者速读(原卡)

  • 一句话问题: 你要的定位是「开源的 Palantir 替代」。Palantir 的主路是单向同步进来:外部数据先进平台,再建本体(对象、关系、动作),写回原系统只靠显式的「动作」。不搬数据的虚拟表只是辅路。我们现在只有联邦这一条,也就是辅路(ADR-0015:数据留在原系统,查询转发过去;Oracle、SQL Server、OData 都已做完)。缺的正是主路。
  • 为什么要定: 联邦不做跨数据源关联、不做分布式事务,权限上也有限制(依附于父对象的外部对象目前被拒绝),查询性能取决于老系统。报表、分析、AI 问数这类需要多表关联的场景,用同步进来的普通对象会简单得多,平台现有的权限、报表、流程和 AI 都能直接用。
  • 选项: A(推荐)把「单向同步进来」做成平台的正式能力,和联邦并存(1 定时/增量同步成普通对象,带来源标记,默认只读;2 处理增量、删除、表结构变化;3 写回只通过声明的「动作」;4 联邦保留;5 第一步先测量)· B 不做平台能力,只写指南 · C 暂缓。
  • 范围问题: 分诊建议这次只定「同步进来 + 来源标记 + 动作写回」这一层,管道和加工等有需要再单独立项。

Four facets(原卡)

  • ① Long-term soundness: A matches the stated positioning. The ontology (objects, relations, actions, permissions, AI) works best on data the platform holds. Federation stays for the live case. One-way sync plus explicit write-back avoids the bidirectional-sync conflict problem by design.
  • ② Business pull: the maintainer names the positioning now. Federation's limits (no cross-source joins, a row cap, refused parent-controlled objects) are the gaps a Palantir-style analysis use hits first.
  • ③ AI-error resistance: synced records are ordinary objects, so every existing gate, permission check and audit applies unchanged. Write-back stays a declared action, reviewed like any action, never an implicit merge.
  • ④ Startup-stage scope: A's first step is a measurement, not a build. Pipelines, transforms and lineage graphs are out of this decision unless the maintainer pulls them in.

Related: #27261 (ontology over external systems, closed), ADR-0015 (federation), #27293 (connector auto-shelf).

Sub-issues

Sub-issues

6 of 10 Issues completed
Loading 10 sub-issues

Activity

  1. added
    priority:p1
    needs-user-decision
    domain:spec
    on Nov 9, 2026
  2. objectstack-fleet commented on Nov 9, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · os-warren · session_01JQwxbaUTJVFuEz81NDUrnw

    Ruling: letter A · maintainer 「立专题卡」「同意你的意见」 · 2026-11-09T03:31Z

    Recorded by the project's Fable decision thread "Discuss Palantir direction (objectstack#31763)" (project chan_01U5RdnAAmkSQmZbqh6FtqZ8, thread cmsg_01U5RdnAAmkSQmZbqh6FtqZ82M2cW2WX882xyPjLthGYTE). The maintainer (Warren, os-warren) read the thread's analysis report ("ObjectStack 对标 Palantir 核心能力分析报告") and answered 「立专题卡」 at 2026-11-09T03:25Z and 「同意你的意见」 at 2026-11-09T03:26Z. 「同意你的意见」 takes the thread's recommendation as a whole; the points below are that recommendation, as presented.

    What is ruled

    Measured before the ruling (code on main at 9e1f1f90, read 2026-11-09): the narrow path exists. mapping.connectorSource (a rest / openapi connector action) + watermark + upsertKey, driven by job.pull; executor packages/services/service-automation/src/connector-pull.ts, writing through runImport. Missing: a database datasource as a pull source; paging (one response per pull, by design); delete handling; per-record provenance; a read-only gate on synced objects; the catalog drift check on the pull path; a per-run record; the Studio entry. Step 5 of the card (the server lane's measurement) confirms this list by running it, not by reading it.

    Execution. This card becomes the epic parent under the #31502 A′ working mode (seat-lifecycle 〈Epic 子树车道〉): tracking + area:data, no pm state label, never dispatched; the body gains the four-column milestone table. Children filed in this act: the measurement card (domain:server, S, p1) and the ADR card (domain:spec, Tier H, p1, Blocked-by: the measurement card; fable + xhigh under the ADR standing order of 2026-11-03). Engine, Studio and skills children are filed when the ADR is accepted (rolling split). The filing lane, domain:server (the coordinator's seats), maintains the table.

  3. added
    tracking
    and removed
    needs-user-decision
    domain:spec
    on Nov 9, 2026
  4. changed the title [-][Decision] Open-source ontology platform: add a one-way sync-in path (external data → ordinary objects) beside federation, with write-back only through declared actions[/-] [+][Epic] One-way sync-in beside federation: external data becomes ordinary objects with a provenance marker, read-only by default, write-back only through declared actions (ruled A, 2026-11-09)[/+] on Nov 9, 2026
  5. objectstack-fleet commented on Nov 9, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · os-warren · session_01JQwxbaUTJVFuEz81NDUrnw

    Ruling: letter A · amended · maintainer, project Fable thread "Discuss Palantir direction (objectstack#31763)" · 2026-11-09T03:46Z

    Amendments to ruling 6731568115, each in the maintainer's own words from the same thread:

    1. 2026-11-09T03:32:00Z 「Palantir 的核心能力我们都应该要有,不等客户需求」 — every Palantir core capability the analysis listed is built without waiting for customer pull. Two sibling epics filed on this: objectstack-ai/cloud#4163 (record-level lineage) and objectstack-ai/cloud#4164 (label-based access control and purpose restriction). Both are ordered after this epic on the roadmap.
    2. 2026-11-09T03:33:00Z 「数据管道与加工(Pipeline Builder 类) 你不是说我们不做吗」 — confirmed: pipelines and transforms are not built here; data-warehouse and ETL vendors are partners, and their warehouses are first-class pull sources for this epic (P2 engine: a database datasource as connectorSource).
    3. 2026-11-09T03:39:00Z–2026-11-09T03:41:00Z on the open/paid boundary, weighed 「从商业策略的角度」: 「真正值钱的是图和影响分析,现在有ai,开发商基于开源版本是不是很容易自己搞一套」 — the thread agreed. Outcome: the sync kernel of this epic is open source (unchanged); lineage (#31781) is entirely open including graph and impact analysis; label-based access control and purpose restriction (#31782) are entirely Enterprise, with only the label vocabulary in the open spec and a loud "requires Enterprise" refusal in the open edition, on the hierarchySecurity precedent.

    No change to the scope of this epic's children (#31778, #31780). The analysis report is the Claude Doc linked from the Fable thread; the maintainer's full rulings are recorded in the thread itself.

  6. objectstack-fleet commented on Nov 9, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · os-warren · session_01JQwxbaUTJVFuEz81NDUrnw

    Ruling: letter A · amended again · maintainer, project Fable thread "Discuss Palantir direction (objectstack#31763)" · 2026-11-09T04:37Z

    Supersedes item 3 of comment 6731744658 on lineage only. The thread had read the maintainer's 2026-11-09T03:39Z question as "open the whole lineage layer"; the maintainer corrected it at 2026-11-09T04:35Z, verbatim: 「也就是软件公司获得一个免费的 palentir 工具?我之前的设想是整个血缘 不开源」.

    Outcome: record-level lineage (#31781) is entirely Enterprise — edges, storage, graph and impact analysis — on the hierarchySecurity precedent (open framework exposes the write seam, the licensed plugin records). The open edition records no lineage. #31763's sync provenance columns stay in the open sync kernel: they are the kernel's operational metadata ("which sync run wrote this synced row"), not lineage. Label-based access control (#31782) stays entirely Enterprise as recorded. The sync kernel itself stays open source.

    objectstack-ai/cloud#4163's body is rewritten to this. No change to #31778 or #31780.

  7. objectstack-fleet commented on Nov 9, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · os-warren · session_01JQwxbaUTJVFuEz81NDUrnw

    Correction: comment 6732372274 above is withdrawn as a ruling — it was posted before the maintainer ruled. At 2026-11-09T04:37Z the maintainer wrote 「不是让你改」「你应该帮我综合分析商业策略」: the 04:35Z message was a question for analysis, not a decision. The open/paid placement of record-level lineage (#31781) is therefore pending the maintainer's ruling; objectstack-ai/cloud#4163's body currently reads "entirely Enterprise" from that premature write and will be set once, after the ruling. Everything else on this card stands (letter A, sync kernel open, objectstack-ai/cloud#4164 entirely Enterprise, pipelines not built). · 2026-11-09T04:39Z

  8. objectstack-fleet commented on Nov 9, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · os-warren · session_01JQwxbaUTJVFuEz81NDUrnw

    Ruling: letter A · amended (final on lineage and the edition split) · maintainer, project Fable thread "Discuss Palantir direction (objectstack#31763)" · 2026-11-09T11:27Z

    Closes the item left pending by comment 6732391136. The thread's综合 analysis of lineage (report §七 and the arrangement posted 2026-11-09T05:13Z) recommended entirely Enterprise; the maintainer ruled at 2026-11-09T11:23Z, verbatim: 「同意」.

    Lineage: Enterprise — the design lives in the private cloud repository (cloud#4163; moved from objectstack-ai/cloud#4163 on 2026-11-09, maintainer 「同意迁移」). The open framework keeps only this epic's sync provenance columns (operational metadata) and a fail-closed write-seam observer contract that stores nothing. Order: #31763 → cloud#4163 → cloud#4164.

    Edition split baseline for this epic and its siblings (the thread's table, confirmed by the same 「同意」):

    Edition Capabilities
    Open source (ObjectStack, Apache-2.0) ontology, actions and write-back, RBAC / RLS / FLS / sharing, audit ledger, MCP, Studio / Console, packages and deployment export, multi-org runtime; the sync-in kernel (database-source reader, paging, delete policy, provenance columns, synced bucket — this epic); generic connectors and the OpenAPI generator; sync guide, the three-way rule, skills; a fail-closed write-seam observer contract that stores nothing
    Enterprise (private deployment; Developer Edition = non-production Cloud mirror, ≤5 members, shipped capabilities only) the governance layer and enterprise operations; the capability list and the two governance epics live in the private cloud repository (cloud#4163, cloud#4164)
    Out of repo / not built vendor-specific connectors (SAP, 用友, 金蝶 …) as partner or commercial packages; data pipelines and transforms (warehouse / ETL vendors are partners); no separate "partner assets" tier — assets are packages on the Marketplace or in the partner's private repository

    Earlier rulings on this card stand: letter A, sync kernel open (6731568115); all Palantir core capabilities built without waiting for pull, pipelines not built (6731744658). Channel and editions: cloud#4035, cloud#4039.


    Generated by Claude Code

  9. 6 remaining items

  10. objectstack-fleet commented on Nov 10, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: ADR-0153's six children filed · 2026-11-10T05:52Z

    ⛔ Not a claim. This answers domain:spec#2's Request: triage (mailbox comment 6760065220). They follow the ADR table's order, and all six are linked as sub-issues.

    Child Card Lane · grade State
    P2 spec #32061 domain:spec · p1 pm:queue, pm:blocking
    P2 engine #32062 domain:server · p1 pm:blocked on #32061, pm:blocking
    P2 runtime job door #32063 domain:server · p1 pm:blocked on #32062, pm:blocking
    P3 Studio #32064 domain:ui · p2 pm:blocked on #32063
    P3 guide + skills #32065 domain:skills · p2 pm:blocked on #32062
    P3 warehouse drivers #32066 decision card · p2 needs-user-decision (the ADR leaves who builds them to the maintainer)

    Grades:

    • p1 for the protocol additions (spec, job door) and the engine, which inherits the epic.
    • p2 for the P3 rows.

    Generated by Claude Code

  11. objectstack-fleet commented on Nov 11, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Paused · pm:on-hold · 2026-11-11T12:23Z

    Restart-when: the maintainer says to restart development. Verbatim, in the triage seat's session on 2026-11-11: 「31763 比如这个,我现在不着急开发」.

    ⛔ Not a claim.


    Generated by Claude Code

  12. added
    pm:on-hold
    on Nov 11, 2026
  13. objectstack-fleet commented on Nov 14, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: restart · pm:on-hold removed · 2026-11-14T22:18Z

    ⛔ Not a claim.

    Ruling (maintainer, triage seat session, 2026-11-14T22:18Z): 「外部数据同步,可以继续了」. This lifts the hold of 2026-11-11T12:23Z (「31763 比如这个,我现在不着急开发」).

    The epic resumes; it stays a tracking parent and is never dispatched. Children restart in dependency order (ADR-0153):

  14. removed
    pm:on-hold
    on Nov 14, 2026
  15. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: regrade p1 → p2 (maintainer) · out of focus · 2026-11-16T15:40Z

    ⛔ Not a claim.

    Backlog re-grade under the 2026-11-16 focus rule; the maintainer agreed. One-way sync-in of external data is a new capability outside the current focus themes. It stays open as a topic and is not scheduled now.

  16. added
    priority:p2
    area:workflow
    and removed
    priority:p1
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workflowpriority:p2tracking

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions