Title: AI provenance metadata in DOCX custom XML parts · Issue #1546 · python-openxml/python-docx · GitHub
Open Graph Title: AI provenance metadata in DOCX custom XML parts · Issue #1546 · python-openxml/python-docx
X Title: AI provenance metadata in DOCX custom XML parts · Issue #1546 · python-openxml/python-docx
Description: Context AI-generated Word documents are everywhere — reports, proposals, analyses created by LLMs. But the DOCX format carries no metadata about AI generation, trust level, or source provenance. python-docx supports custom XML parts (cus...
Open Graph Description: Context AI-generated Word documents are everywhere — reports, proposals, analyses created by LLMs. But the DOCX format carries no metadata about AI generation, trust level, or source provenance. py...
X Description: Context AI-generated Word documents are everywhere — reports, proposals, analyses created by LLMs. But the DOCX format carries no metadata about AI generation, trust level, or source provenance. py...
Opengraph URL: https://github.com/python-openxml/python-docx/issues/1546
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AI provenance metadata in DOCX custom XML parts","articleBody":"## Context\n\nAI-generated Word documents are everywhere — reports, proposals, analyses created by LLMs. But the DOCX format carries no metadata about AI generation, trust level, or source provenance.\n\npython-docx supports custom XML parts (customXml), which is the natural place to store this.\n\n## The Question\n\nIs there a recommended pattern for storing custom provenance metadata in DOCX files via python-docx? Specifically:\n\n1. Can `customXml` parts be read/written through the current API?\n2. Is there interest in a helper for AI provenance (e.g., `document.core_properties.ai_generated = True`)?\n\n## Why This Matters\n\nEU AI Act Article 50 (August 2, 2026) requires transparency metadata on AI-generated content. DOCX is a primary format for enterprise content. Having a standard way to mark AI provenance in Word docs is becoming a compliance requirement.\n\n## Existing Approach\n\n[AKF](https://akf.dev) embeds provenance into DOCX custom XML:\n```xml\n\u003cakf:metadata>{\"v\":\"1.0\",\"claims\":[{\"c\":\"Q3 report\",\"t\":0.85,\"src\":\"SEC 10-Q\"}]}\u003c/akf:metadata>\n```\n\nBut curious if python-docx has its own approach or if this should be handled at the application level.","author":{"url":"https://github.com/HMAKT99","@type":"Person","name":"HMAKT99"},"datePublished":"2026-03-28T06:31:50Z","url":"https://github.com/python-openxml/python-docx/issues/1546"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:c62513a7-8a99-7fc4-1e82-b7c32ed95b75 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80D6:271D89:23F0EA:304BD9:6AFF6396 |
| html-safe-nonce | 64c9f78067b972596dc42df7c334feeaa3c054d61e2086c64ed51668312edb12 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEQ2OjI3MUQ4OToyM0YwRUE6MzA0QkQ5OjZBRkY2Mzk2IiwidmlzaXRvcl9pZCI6IjkyMTAzMzU5NTgyMDgwNDU5NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2189e73a65965eae7e700f8039373c594fe7af8ba436cb2e456a0baa87bdb448 |
| hovercard-subject-tag | issue:4158092120 |
| 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/python-openxml/python-docx/1546/issue_layout |
| twitter:image | https://opengraph.githubassets.com/059d08653b931651877d3f5fa5cdc7b386bef2a880730b11bc97148229d72147/python-openxml/python-docx/issues/1546 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/059d08653b931651877d3f5fa5cdc7b386bef2a880730b11bc97148229d72147/python-openxml/python-docx/issues/1546 |
| og:image:alt | Context AI-generated Word documents are everywhere — reports, proposals, analyses created by LLMs. But the DOCX format carries no metadata about AI generation, trust level, or source provenance. py... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HMAKT99 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b58589a1c4eda1e3c8904144a412b88ca4455f63ca2ad3629f2e9f3c3a1d12 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-openxml/python-docx git https://github.com/python-openxml/python-docx.git |
| octolytics-dimension-user_id | 3403760 |
| octolytics-dimension-user_login | python-openxml |
| octolytics-dimension-repository_id | 13592924 |
| octolytics-dimension-repository_nwo | python-openxml/python-docx |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13592924 |
| octolytics-dimension-repository_network_root_nwo | python-openxml/python-docx |
| 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 | 8968d6d6acc65d74e4df332d23932dd3fd0502a4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width