René's URL Explorer Experiment


Title: Retire the opt-in strict_provenance runtime guardrail; enforce the make() contract by deploy-time code inspection · Issue #1488 · datajoint/datajoint-python · GitHub

Open Graph Title: Retire the opt-in strict_provenance runtime guardrail; enforce the make() contract by deploy-time code inspection · Issue #1488 · datajoint/datajoint-python

X Title: Retire the opt-in strict_provenance runtime guardrail; enforce the make() contract by deploy-time code inspection · Issue #1488 · datajoint/datajoint-python

Description: Summary Remove dj.config["strict_provenance"] (introduced in 2.3.0, #1425) in an upcoming 2.3.x release, along with its documentation. Keep Diagram.trace() (#1423) and self.upstream (#1424). Enforcement of the make() contract moves to st...

Open Graph Description: Summary Remove dj.config["strict_provenance"] (introduced in 2.3.0, #1425) in an upcoming 2.3.x release, along with its documentation. Keep Diagram.trace() (#1423) and self.upstream (#1424). Enforc...

X Description: Summary Remove dj.config["strict_provenance"] (introduced in 2.3.0, #1425) in an upcoming 2.3.x release, along with its documentation. Keep Diagram.trace() (#1423) and self.upstream (#142...

Opengraph URL: https://github.com/datajoint/datajoint-python/issues/1488

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Retire the opt-in strict_provenance runtime guardrail; enforce the make() contract by deploy-time code inspection","articleBody":"## Summary\n\nRemove `dj.config[\"strict_provenance\"]` (introduced in 2.3.0, #1425) in an upcoming 2.3.x release, along with its documentation. Keep `Diagram.trace()` (#1423) and `self.upstream` (#1424). Enforcement of the `make()` contract moves to static/agentic inspection of `make()` bodies at deployment (platform CI), backed by governed, commit-pinned execution. The open-source documentation will document the **reproducible `make()` contract** itself — the rules — rather than a runtime enforcement flag.\n\n## What shipped in 2.3.0\n\n`strict_provenance` is an opt-in, off-by-default, best-effort development guardrail. It wires read/write checks into the Python client via a per-call `contextvars` enforcement context, confining reads to `self.upstream[...]` and writes to `self` and Parts. It shipped alongside `Diagram.trace()` and `self.upstream` as the \"provenance trinity.\"\n\n## Why remove it\n\nThe shipped specification already concedes the core point: comprehensive enforcement of the `make()` contract is fundamentally a **code-inspection problem, not a runtime-interception one**. Against the flag's modest dev-only benefit, the costs are real:\n\n1. **Best-effort by construction.** The spec's own limits section enumerates the bypasses — existence/count idioms (`len`, `bool`, `in`), restriction-by-table, and any access outside the Python client. It also cannot see code paths a given run does not execute. A guardrail that misses these invites reliance it cannot support.\n2. **Wrong instrument, wrong time.** The `make()` contract is a static property of the method body (reads confined to the upstream trace cone; writes to self/Parts; one entity per call in isolation; no result-affecting side inputs). Static analysis sees all paths, catches the documented bypass idioms, and reports once in CI before deploy — not per-invocation in the populate hot path.\n3. **Complexity and maintenance burden.** Per-call `contextvars` context, client-path interception, and a documented-limits appendix are a standing support cost for a check that cannot be made sound in-process.\n4. **Redundant with the authoritative enforcer.** The platform inspects `make()` source at deploy and controls execution (commit-pinned, mediated connections). That is where a sound guarantee lives.\n\n## Why removal (not deprecation) is safe now\n\n- The flag is **off by default** and has **no schema, data, or query-result impact** — removal changes no pipeline's behavior for anyone who has not opted in.\n- It was introduced in 2.3.0 and has **no known adoption**: no platform customer has enabled it. Removing it now, before it gains use, is cheaper for everyone than carrying a deprecation cycle for a feature nobody depends on.\n\n## What we keep (and stabilize)\n\n`Diagram.trace()` and `self.upstream` — the provenance query API and the idiomatic read pattern. \"Read from `self.upstream`, write to `self` and Parts\" remains the documented convention, and it is precisely what makes a `make()` method statically verifiable.\n\n## Proposed changes\n\n- Remove the `strict_provenance` config key and the runtime interception machinery (enforcement context, client-path checks).\n- Remove all mentions from the documentation (2.3 release notes, provenance specification §3); reframe the \"trinity\" as the `trace` + `self.upstream` pair.\n- Replace the removed enforcement docs with documentation of the **reproducible `make()` contract**: populate-only insertion; one entity per call, computed in isolation; reads confined to the upstream trace cone; writes only to self and Parts; no other result-affecting inputs (populate kwargs orchestrate, never parameterize).\n- Optionally, publish the static `make()` verifier as a standalone dev tool / pre-commit hook, preserving the \"catch accidental drift locally\" purpose with strictly better coverage than the runtime gate.\n\n## Alternatives considered\n\n- **Harden the runtime gate** — rejected: closing the documented bypasses approaches whole-program analysis inside a running process.\n- **Deprecate first, remove at 2.4** — unnecessary ceremony given off-by-default, zero functional impact, and no known adoption; removing before the feature gains use is the cheapest path for users and maintainers.\n\nRefs: #1425, #1423, #1424, #1474, #1480, #1485. Docs affected: `about/whats-new-23.md`, `reference/specs/provenance.md`.\n","author":{"url":"https://github.com/dimitri-yatsenko","@type":"Person","name":"dimitri-yatsenko"},"datePublished":"2026-07-08T20:11:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1488/datajoint-python/issues/1488"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:08dd4653-f15c-a250-389d-0a8161c77757
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8E38:2C03D:3610713:4A490A0:6A4F1625
html-safe-noncedfcc48fe3dd3b5e059e2ab0734a97f61424b4c2cdd67f46e663d23f648cf1a64
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTM4OjJDMDNEOjM2MTA3MTM6NEE0OTBBMDo2QTRGMTYyNSIsInZpc2l0b3JfaWQiOiI0ODQ5MDE0Nzc2MTM3NzE3Mjg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4f91b857943effca792051cb6a1d8c4fc89709fa6e82f4247bc94b5427c7a673
hovercard-subject-tagissue:4840764371
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datajoint/datajoint-python/1488/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e73f085a495ca96c697f45afe0a53777d255cacbb6d658982fdb2d7a161625cb/datajoint/datajoint-python/issues/1488
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e73f085a495ca96c697f45afe0a53777d255cacbb6d658982fdb2d7a161625cb/datajoint/datajoint-python/issues/1488
og:image:altSummary Remove dj.config["strict_provenance"] (introduced in 2.3.0, #1425) in an upcoming 2.3.x release, along with its documentation. Keep Diagram.trace() (#1423) and self.upstream (#1424). Enforc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedimitri-yatsenko
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git
octolytics-dimension-user_id2375501
octolytics-dimension-user_logindatajoint
octolytics-dimension-repository_id5866704
octolytics-dimension-repository_nwodatajoint/datajoint-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id5866704
octolytics-dimension-repository_network_root_nwodatajoint/datajoint-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/datajoint/datajoint-python/issues/1488#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatajoint%2Fdatajoint-python%2Fissues%2F1488
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatajoint%2Fdatajoint-python%2Fissues%2F1488
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=datajoint%2Fdatajoint-python
Reloadhttps://github.com/datajoint/datajoint-python/issues/1488
Reloadhttps://github.com/datajoint/datajoint-python/issues/1488
Reloadhttps://github.com/datajoint/datajoint-python/issues/1488
Please reload this pagehttps://github.com/datajoint/datajoint-python/issues/1488
datajoint https://github.com/datajoint
datajoint-pythonhttps://github.com/datajoint/datajoint-python
Notifications https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Fork 96 https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Star 194 https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Code https://github.com/datajoint/datajoint-python
Issues 8 https://github.com/datajoint/datajoint-python/issues
Pull requests 4 https://github.com/datajoint/datajoint-python/pulls
Discussions https://github.com/datajoint/datajoint-python/discussions
Actions https://github.com/datajoint/datajoint-python/actions
Security and quality 0 https://github.com/datajoint/datajoint-python/security
Insights https://github.com/datajoint/datajoint-python/pulse
Code https://github.com/datajoint/datajoint-python
Issues https://github.com/datajoint/datajoint-python/issues
Pull requests https://github.com/datajoint/datajoint-python/pulls
Discussions https://github.com/datajoint/datajoint-python/discussions
Actions https://github.com/datajoint/datajoint-python/actions
Security and quality https://github.com/datajoint/datajoint-python/security
Insights https://github.com/datajoint/datajoint-python/pulse
Retire the opt-in strict_provenance runtime guardrail; enforce the make() contract by deploy-time code inspectionhttps://github.com/datajoint/datajoint-python/issues/1488#top
https://github.com/dimitri-yatsenko
dimitri-yatsenkohttps://github.com/dimitri-yatsenko
on Jul 8, 2026https://github.com/datajoint/datajoint-python/issues/1488#issue-4840764371
#1425https://github.com/datajoint/datajoint-python/issues/1425
#1423https://github.com/datajoint/datajoint-python/issues/1423
#1424https://github.com/datajoint/datajoint-python/issues/1424
#1425https://github.com/datajoint/datajoint-python/issues/1425
#1423https://github.com/datajoint/datajoint-python/issues/1423
#1424https://github.com/datajoint/datajoint-python/issues/1424
#1474https://github.com/datajoint/datajoint-python/pull/1474
#1480https://github.com/datajoint/datajoint-python/pull/1480
#1485https://github.com/datajoint/datajoint-python/pull/1485
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.