Title: First-class ingestion lineage, separate from the FK graph · Issue #1483 · datajoint/datajoint-python · GitHub
Open Graph Title: First-class ingestion lineage, separate from the FK graph · Issue #1483 · datajoint/datajoint-python
X Title: First-class ingestion lineage, separate from the FK graph · Issue #1483 · datajoint/datajoint-python
Description: Summary Roadmap capability from the strict-provenance adoption analysis (#1474 discussion, @ttngu207): a first-class record of where data came from, kept separate from the FK graph. Why DataJoint has one graph, used for two different thi...
Open Graph Description: Summary Roadmap capability from the strict-provenance adoption analysis (#1474 discussion, @ttngu207): a first-class record of where data came from, kept separate from the FK graph. Why DataJoint h...
X Description: Summary Roadmap capability from the strict-provenance adoption analysis (#1474 discussion, @ttngu207): a first-class record of where data came from, kept separate from the FK graph. Why DataJoint h...
Opengraph URL: https://github.com/datajoint/datajoint-python/issues/1483
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"First-class ingestion lineage, separate from the FK graph","articleBody":"## Summary\n\nRoadmap capability from the strict-provenance adoption analysis ([#1474 discussion](https://github.com/datajoint/datajoint-python/pull/1474#issuecomment-4849784492), @ttngu207): a **first-class record of where data came from, kept separate from the FK graph**.\n\n## Why\n\nDataJoint has one graph, used for two different things:\n- *what is derived from what* — durable, invariant, belongs in the FK graph;\n- *how a row arrived* — transient, operational (a file today, an API next quarter, a sync after that).\n\nForcing the second into the FK graph (the \"landing-table\" pattern: entities downstream of a `ParsedFile` ancestor) marries the slow-moving domain model to fast-moving infrastructure — every ingestion change becomes a schema migration, and historical rows permanently carry whichever ingestion ancestor existed at creation time. That is why the strict-provenance write boundary has no clean answer for the common **fat ingestion `make()`** (one file parsed into many top-level entity tables): every compliant restructuring corrupts the domain model or abandons DataJoint orchestration.\n\n## Shape\n\n- **Append-only ingestion-lineage records**, per row or per insert batch: `(entity key, source descriptor, timestamp, actor)` — multiple sources over an entity's lifetime, zero schema changes.\n- Queryable alongside (not through) the FK graph; surfaced in row-lineage views.\n- Candidate capture points: the gated insert path (already intercepts every write under strict mode), `staged_insert1`, and populate job metadata.\n\n## Related use cases to fold in\n\n- Spyglass **Exports** (discussion #1232, @CBroz1): monitor `fetch`/`restrict`/`join` calls, log accessed leaves, drive an upward trace for `mysqldump`/DANDI publication — the same \"record what was touched, separate from the FK graph\" mechanism from the read side.\n- Platform row-lineage / compute-provenance work (branch identity ↔ per-row code-version tagging) — ingestion lineage is the missing third leg beside code-version and FK derivation.\n","author":{"url":"https://github.com/dimitri-yatsenko","@type":"Person","name":"dimitri-yatsenko"},"datePublished":"2026-07-04T20:40:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1483/datajoint-python/issues/1483"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dd49ebf0-6905-01bb-aaef-a6a69c1926df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EE8:1E92:8214D:F8AF0:6A4EFBC9 |
| html-safe-nonce | f51dabbc4520320fb125a0b5fabfc235e756bdce54554536d9c58fac87f427d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUU4OjFFOTI6ODIxNEQ6RjhBRjA6NkE0RUZCQzkiLCJ2aXNpdG9yX2lkIjoiNTk3NjEzNjU1ODIyNjM3MzU3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3a128a6f583b69cfb9565b3f840e22aa267ffe5c1cb8dfcc7813ece861ca09b8 |
| hovercard-subject-tag | issue:4810481299 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datajoint/datajoint-python/1483/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5861af1c62d46a23941fb31e9e6494a6ffaf982783e29bae8a99313a9bc49b71/datajoint/datajoint-python/issues/1483 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5861af1c62d46a23941fb31e9e6494a6ffaf982783e29bae8a99313a9bc49b71/datajoint/datajoint-python/issues/1483 |
| og:image:alt | Summary Roadmap capability from the strict-provenance adoption analysis (#1474 discussion, @ttngu207): a first-class record of where data came from, kept separate from the FK graph. Why DataJoint h... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dimitri-yatsenko |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git |
| octolytics-dimension-user_id | 2375501 |
| octolytics-dimension-user_login | datajoint |
| octolytics-dimension-repository_id | 5866704 |
| octolytics-dimension-repository_nwo | datajoint/datajoint-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5866704 |
| octolytics-dimension-repository_network_root_nwo | datajoint/datajoint-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width