odgs-maturity 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. odgs_maturity-1.0.0/.gitignore +34 -0
  2. odgs_maturity-1.0.0/CITATION.cff +20 -0
  3. odgs_maturity-1.0.0/LICENSE +190 -0
  4. odgs_maturity-1.0.0/MATURITY_BUSINESS_GUIDE.md +73 -0
  5. odgs_maturity-1.0.0/MATURITY_GUIDE.md +271 -0
  6. odgs_maturity-1.0.0/PKG-INFO +449 -0
  7. odgs_maturity-1.0.0/README.md +418 -0
  8. odgs_maturity-1.0.0/pyproject.toml +59 -0
  9. odgs_maturity-1.0.0/src/odgs_maturity/__init__.py +12 -0
  10. odgs_maturity-1.0.0/src/odgs_maturity/charter/__init__.py +21 -0
  11. odgs_maturity-1.0.0/src/odgs_maturity/charter/export.py +174 -0
  12. odgs_maturity-1.0.0/src/odgs_maturity/charter/generator.py +433 -0
  13. odgs_maturity-1.0.0/src/odgs_maturity/charter/models.py +150 -0
  14. odgs_maturity-1.0.0/src/odgs_maturity/cli.py +437 -0
  15. odgs_maturity-1.0.0/src/odgs_maturity/data/__init__.py +7 -0
  16. odgs_maturity-1.0.0/src/odgs_maturity/data/business_lifecycles.json +275 -0
  17. odgs_maturity-1.0.0/src/odgs_maturity/data/charter_templates.json +166 -0
  18. odgs_maturity-1.0.0/src/odgs_maturity/data/dq_business_impacts.json +1026 -0
  19. odgs_maturity-1.0.0/src/odgs_maturity/data/dq_dimensions.json +422 -0
  20. odgs_maturity-1.0.0/src/odgs_maturity/data/environmental_factors.json +170 -0
  21. odgs_maturity-1.0.0/src/odgs_maturity/data/lifecycle_impacts.json +461 -0
  22. odgs_maturity-1.0.0/src/odgs_maturity/data/loader.py +130 -0
  23. odgs_maturity-1.0.0/src/odgs_maturity/data/strategic_alignment.json +64 -0
  24. odgs_maturity-1.0.0/src/odgs_maturity/py.typed +1 -0
  25. odgs_maturity-1.0.0/src/odgs_maturity/scoring/__init__.py +1 -0
  26. odgs_maturity-1.0.0/src/odgs_maturity/scoring/engine.py +48 -0
  27. odgs_maturity-1.0.0/src/odgs_maturity/scoring/models.py +258 -0
  28. odgs_maturity-1.0.0/src/odgs_maturity/scoring/rules.py +745 -0
  29. odgs_maturity-1.0.0/src/odgs_maturity/workspace/__init__.py +1 -0
  30. odgs_maturity-1.0.0/src/odgs_maturity/workspace/reader.py +280 -0
  31. odgs_maturity-1.0.0/tests/test_charter.py +489 -0
  32. odgs_maturity-1.0.0/tests/test_scoring.py +101 -0
@@ -0,0 +1,34 @@
1
+ # Byte-compiled / optimised / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Distribution / packaging
7
+ dist/
8
+ build/
9
+ *.egg-info/
10
+ *.egg
11
+
12
+ # Virtual environments
13
+ .venv/
14
+ venv/
15
+ ENV/
16
+
17
+ # IDE
18
+ .idea/
19
+ .vscode/
20
+ *.swp
21
+ *.swo
22
+
23
+ # Testing
24
+ .pytest_cache/
25
+ .coverage
26
+ htmlcov/
27
+
28
+ # OS
29
+ .DS_Store
30
+ Thumbs.db
31
+
32
+ # Logs
33
+ *.log
34
+ audit_logs/
@@ -0,0 +1,20 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this software, please cite it as below."
3
+ type: software
4
+ authors:
5
+ - name: "Kartik Iyer"
6
+ email: "partner@metricprovenance.com"
7
+ title: "ODGS Maturity — Governance Maturity Assessment"
8
+ abstract: "Industry-agnostic governance maturity assessment for ODGS workspaces. Evaluates configuration across 8 pillars (Governance Foundations, Quality Enforcement, Semantic Architecture, Regulatory Coverage, Certification Readiness, Operational Execution, Integration Ecosystem, Continuous Improvement) and generates DAMA DMBOK-aligned improvement charters with SPOT root cause classification."
9
+ version: 1.0.0
10
+ date-released: 2026-04-30
11
+ license: Apache-2.0
12
+ url: "https://github.com/MetricProvenance/odgs-maturity"
13
+ repository-code: "https://github.com/MetricProvenance/odgs-maturity"
14
+ keywords:
15
+ - "data-governance"
16
+ - "maturity-assessment"
17
+ - "dama-dmbok"
18
+ - "data-quality"
19
+ - "odgs"
20
+ - "charter-generation"
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to the Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by the Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding any notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2026 Metric Provenance B.V.
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1,73 @@
1
+ # ODGS Maturity: The Business Value Guide
2
+
3
+ > **Author:** Metric Provenance
4
+ > **Date:** 3 May 2026
5
+
6
+ ## Introduction
7
+
8
+ In the modern enterprise, data governance is no longer a back-office administrative task—it is a critical driver of compliance, security, and institutional value. The Open Data Governance Standard (ODGS) Maturity Model is designed to bridge the gap between technical reality and executive visibility.
9
+
10
+ This guide explains **why** measuring your data governance maturity is essential, **how** the ODGS assessment works, and **how to** use the results to drive automated, measurable improvements.
11
+
12
+ ---
13
+
14
+ ## 1. Why Measure Maturity? (The Business Case)
15
+
16
+ Many organisations struggle to quantify their data governance posture. When Chief Data Officers (CDOs) ask, *"Are we compliant with DORA or the EU AI Act?"* or *"Can we trust the provenance of our data?"*, the answers are often anecdotal or buried in disconnected spreadsheets.
17
+
18
+ The ODGS Maturity Model solves this by providing:
19
+
20
+ 1. **Objective Quantification:** It translates abstract governance concepts into a hard, reproducible score (0–100%).
21
+ 2. **Risk Surfacing:** It highlights exactly where your organisation is exposed, breaking down compliance risks into actionable technical gaps.
22
+ 3. **The ROI Baseline:** By establishing a baseline (e.g., 32% maturity), you can justify investments in automation and track the ROI as the score improves (e.g., to 75%).
23
+ 4. **Engineering-to-Executive Alignment:** It gives engineering teams a mathematical, evidence-based language to communicate infrastructure needs to CDOs and executive boards.
24
+
25
+ ---
26
+
27
+ ## 2. How the Model Works
28
+
29
+ The ODGS Maturity Assessment evaluates your organisation across **8 Core Pillars**:
30
+
31
+ 1. **Metadata & Schema Control (META):** Are data sources mapped and catalogued?
32
+ 2. **Quality & Error Handling (QE):** Are rules enforced and errors triaged automatically?
33
+ 3. **Lineage & Provenance (LIN):** Can data be traced from origin to consumption?
34
+ 4. **Access & Sovereignty (SEC):** Is data access controlled, and are sovereign borders respected?
35
+ 5. **Regulatory Alignment (REG):** Are legal frameworks (GDPR, DORA, Basel III) mapped to physical rules?
36
+ 6. **Process & Business Logic (PROC):** Are data pipelines aligned with standard business operations (e.g., O2C, P2P)?
37
+ 7. **Certification & Audit (CERT):** Are there cryptographically verified, tamper-evident audit trails?
38
+ 8. **Bridge & Ecosystem Integration (BRIDGE):** Is the governance framework connected to physical platforms (Collibra, Databricks, Snowflake)?
39
+
40
+ Based on the configuration in your `odgs-workspace.yaml`, the assessment assigns a score and categorises your maturity into a tier (e.g., *Developing*, *Measured*, *Optimised*).
41
+
42
+ ---
43
+
44
+ ## 3. How-To: Executing the Assessment
45
+
46
+ ### Step 1: Run the Diagnostic
47
+ Your engineering team installs the diagnostic tool via the command line:
48
+ ```bash
49
+ pip install odgs-maturity
50
+ odgs-maturity assess --workspace ./odgs-workspace.yaml
51
+ ```
52
+
53
+ ### Step 2: Generate the Charter
54
+ The tool evaluates your workspace and generates a **Governance Charter**. This document is not just a score—it is a detailed breakdown of your gaps, prioritised by business impact.
55
+ - **Example Gap:** "Missing sovereign audit trail (CERT-03: 0%)"
56
+ - **Business Impact:** "High risk of failure in compliance audits."
57
+
58
+ ### Step 3: Present to Leadership
59
+ Engineers use the generated Charter to present the findings to the CDO. The Charter will typically indicate that manually closing these gaps requires **6-12 weeks of consultant time**.
60
+
61
+ ### Step 4: Close the Gaps
62
+ Instead of hiring expensive consultants, your organisation can engage a **Metric Provenance certified implementation partner** — see [metricprovenance.com/brief](https://metricprovenance.com/brief) to request a partner introduction. Partners deliver pre-configured certified packs that close the identified gaps far faster than manual remediation.
63
+
64
+ > The [European Data Governance Maturity Benchmark 2026](https://benchmark.metricprovenance.com) scored 99 enterprises across the EU. Average governance maturity: **37.6%** — a 62.4% enforcement gap. Your organisation is not alone, but the gap is closing faster for those who automate.
65
+
66
+ ### Step 5: Verify and Certify
67
+ Re-run the maturity assessment after deploying the automation skills. The score will reflect the improvements (e.g., jumping from 32% to 65%+). You can then generate **S-Cert Certificates** to cryptographically prove your compliance to auditors and partners.
68
+
69
+ ---
70
+
71
+ ## Conclusion
72
+
73
+ The ODGS Maturity Model is not just a test; it is the starting point of your automated governance journey. By diagnosing the exact gaps in your architecture, it enables you to deploy targeted, agentic solutions that turn compliance from a manual burden into an automated, verifiable asset.
@@ -0,0 +1,271 @@
1
+ # ODGS Governance Maturity: Why It Matters and How It Works
2
+
3
+ > **Author:** Metric Provenance · **Version:** 1.0 · **Standard:** ODGS v6
4
+ > **Audience:** CDOs, Heads of Data, Governance Practitioners, Technology Leaders
5
+
6
+ ---
7
+
8
+ ## The Problem This Solves
9
+
10
+ Most governance programmes fail for the same reason: they measure *activity*, not *reality*.
11
+
12
+ Organisations install tools, write policies, create stewardship councils, and build dashboards — then declare victory. Six months later, nobody trusts the data, nobody reads the policies, and the stewardship council hasn't met since Q2. The dashboards, of course, still show green.
13
+
14
+ This is **organisational theatre**. And it's expensive.
15
+
16
+ ODGS Maturity Assessment exists because we needed a way to measure whether governance is *actually working* — not whether the governance team is *busy*.
17
+
18
+ ---
19
+
20
+ ## What ODGS Maturity Actually Measures
21
+
22
+ The maturity engine reads your **actual workspace configuration** — the files, the bindings, the rules, the connections — and scores what it finds. Not what you *plan* to do. Not what your slide deck says. What exists on disk, right now.
23
+
24
+ ### The 8 Pillars
25
+
26
+ The scoring framework spans 8 pillars, 6 adapted from DAMA DMBOK knowledge areas and 2 native to ODGS. Each pillar has a weight reflecting its importance to operational governance:
27
+
28
+ | Pillar | Weight | What It Measures |
29
+ |--------|--------|-----------------|
30
+ | **Governance Foundations** | 20% | Are rules bound to business processes? Do you have context bindings — or just rules floating in space? |
31
+ | **Quality Enforcement** | 18% | Do your rules have executable logic? Are there owners — real people accountable — or just "TBD" placeholders? |
32
+ | **Operational Readiness** | 15% | Is the interceptor installed? Is enforcement set to `strict` (blocking) or `permissive` (logging, i.e. doing nothing useful)? |
33
+ | **Metadata Integrity** | 12% | Is your ontology populated with real terms? Do metrics have calculation logic — or are they aspirational names? |
34
+ | **Usage & Analytics** | 8% | Are rules linked to measurable DQ dimensions? Can you actually track improvement? |
35
+ | **Organisational Adoption** | 12% | Have you customised rules for your industry? Are contexts bound to enforcement — or decorative? |
36
+ | **Certification & Trust** | 8% | Are regulation packs installed? Are they cryptographically signed? Is the sovereign audit trail configured? |
37
+ | **Bridge Connectivity** | 7% | Are source systems connected? Is there diversity in connection types (not just one pipe)? |
38
+
39
+ > **Why these weights?** The top three pillars (Governance Foundations, Quality Enforcement, Operational Readiness) carry 53% of the total score because they represent the difference between governance that *does something* and governance that *exists on paper*. Bridge Connectivity and Usage Analytics carry less weight because they're infrastructure — important but not sufficient.
40
+
41
+ ### The 5 Maturity Levels
42
+
43
+ The aggregate score maps to a standard 5-level maturity model aligned with DAMA DMBOK and CMMI:
44
+
45
+ | Level | Range | Label | What It Means |
46
+ |-------|-------|-------|--------------|
47
+ | 1 | 0-19% | **Initial** | Governance exists in name only. No systematic configuration. |
48
+ | 2 | 20-39% | **Developing** | Some artifacts are present. Basic structure but no customisation. |
49
+ | 3 | 40-59% | **Defined** | Rules are bound to processes. Enforcement is configured. Not yet measured. |
50
+ | 4 | 60-79% | **Measured** | Active monitoring. DQ dimensions linked. Owners assigned. Audit trail operational. |
51
+ | 5 | 80-100% | **Optimised** | Continuous improvement. All pillars at production grade. Full automation. |
52
+
53
+ ---
54
+
55
+ ## How the Assessment Works
56
+
57
+ ### Step 1: Install and Run
58
+
59
+ ```bash
60
+ pip install odgs-maturity
61
+
62
+ # Score your workspace
63
+ odgs-maturity score --workspace /path/to/odgs-workspace
64
+
65
+ # Or auto-detect the installed ODGS package
66
+ odgs-maturity score
67
+
68
+ # JSON output for programmatic consumption
69
+ odgs-maturity score --json
70
+ ```
71
+
72
+ ### Step 2: Understand What the Engine Inspects
73
+
74
+ The maturity engine reads **9 protocol artifacts** from your ODGS installation, mapped to the three-branch governance model:
75
+
76
+ | Branch | Artifact | What Gets Checked |
77
+ |--------|----------|------------------|
78
+ | **Executive** | `context_bindings.json` | Number of real (non-test) business contexts bound to rules |
79
+ | **Executive** | `business_process_maps.json` | Number of E2E processes defined (O2C, P2P, R2R, etc.) |
80
+ | **Executive** | `physical_data_map.json` | Source systems registered and mapped |
81
+ | **Executive** | `interceptor.py` | Enforcement engine is installed |
82
+ | **Judiciary** | `standard_data_rules.json` | Rules have logic expressions, owners, and DQ linkage |
83
+ | **Judiciary** | `root_cause_factors.json` | SPOT root cause analysis framework loaded |
84
+ | **Legislative** | `standard_metrics.json` | Metrics have calculation logic defined |
85
+ | **Legislative** | `standard_dq_dimensions.json` | Data quality dimensions loaded and diverse |
86
+ | **Legislative** | `ontology_graph.json` | Business terms defined in the semantic graph |
87
+
88
+ Plus your `odgs-workspace.yaml` for organisation identity, enforcement mode, bridge configurations, and installed regulation packs.
89
+
90
+ ### Step 3: Read the Results
91
+
92
+ The output gives you three things:
93
+
94
+ 1. **Aggregate Score** — A single 0-100 number with maturity level
95
+ 2. **Pillar Breakdown** — Per-pillar scores with gap counts and cost flags (🟢/🟡/🔴)
96
+ 3. **Red Flags** — Critical gaps requiring immediate attention
97
+
98
+ ```
99
+ ┌──────────────────────────────────────┐
100
+ │ ODGS Governance Maturity Score │
101
+ │ │
102
+ │ ████████░░░░░░░░░░░░░░░░░░░░ 32% │
103
+ │ (Developing) │
104
+ └──────────────────────────────────────┘
105
+
106
+ ┌─────────────────────────────┬───────┬───────────┬──────┬──────┐
107
+ │ Pillar │ Score │ Level │ Gaps │ Flag │
108
+ ├─────────────────────────────┼───────┼───────────┼──────┼──────┤
109
+ │ Governance Foundations │ 0.0% │ Initial │ 3 │ 🔴 │
110
+ │ Quality Enforcement │ 43.3% │ Defined │ 2 │ 🟡 │
111
+ │ Operational Readiness │ 50.0% │ Defined │ 1 │ 🟡 │
112
+ │ ... │ │ │ │ │
113
+ └─────────────────────────────┴───────┴───────────┴──────┴──────┘
114
+
115
+ ⚠ 3 critical gap(s):
116
+ • Context Bindings Populated: Map all critical business processes
117
+ • Business Process Maps Defined: Define E2E processes (O2C, P2P, R2R)
118
+ • Physical Data Map Coverage: Register source-of-record systems
119
+ ```
120
+
121
+ ### Step 4: Generate an Improvement Charter
122
+
123
+ Once you have your score, generate a targeted improvement plan:
124
+
125
+ ```bash
126
+ # Interactive charter generation
127
+ odgs-maturity charter --workspace /path/to/workspace
128
+
129
+ # Lifecycle Pain Point charter (auto-maps gaps to business processes)
130
+ odgs-maturity charter --type lifecycle --workspace /path/to/workspace
131
+
132
+ # KPI Improvement charter (maps gaps to specific KPI targets)
133
+ odgs-maturity charter --type kpi --workspace /path/to/workspace
134
+
135
+ # Strategic/AI Initiative charter (maps gaps to transformation goals)
136
+ odgs-maturity charter --type strategic --workspace /path/to/workspace
137
+ ```
138
+
139
+ The charter generator reads your maturity gaps, classifies them using SPOT analysis (Standard / Process / Organisation / Technology), maps them to DAMA dimensions, and produces a structured improvement plan with priorities, owners, and timelines.
140
+
141
+ ---
142
+
143
+ ## Why a Fresh Install Scores ~30-35%
144
+
145
+ This is **by design**, not a defect.
146
+
147
+ When you `pip install odgs`, the package ships with standard rules, metrics, ontology definitions, and DQ dimensions. These are the protocol's intellectual property — the legislative and judiciary branches, pre-populated. But the *executive branch* — the part that binds rules to **your** business processes, maps **your** source systems, and configures enforcement for **your** context — is necessarily empty.
148
+
149
+ Nobody can pre-populate your business process maps. Nobody can pre-configure your data source bindings. Nobody can set your enforcement mode for you.
150
+
151
+ The ~30-35% score tells you exactly this: **the protocol works, but it hasn't been configured for your organisation yet.** This is the honest answer. It's the difference between "we installed SAP" and "we actually configured SAP for our business."
152
+
153
+ ### The Urgency Gap
154
+
155
+ The gap between ~30% (fresh install) and 60%+ (Measured maturity) represents the **configuration work** that transforms a generic protocol installation into an operational governance framework. This is the work that data governance consultants, systems integrators, and your internal governance team actually need to do.
156
+
157
+ The maturity score makes this gap *visible* and *measurable* — which is precisely what most governance programmes lack.
158
+
159
+ ---
160
+
161
+ ## The Mathematical Integrity
162
+
163
+ For those who care about the methodology (and if you're responsible for governance, you should):
164
+
165
+ ### Aggregate Scoring
166
+
167
+ ```
168
+ Aggregate Score = Σ(Pillar_Score × Pillar_Weight)
169
+ ```
170
+
171
+ Where:
172
+ - `Pillar_Score` = Average of rule scores within the pillar (0-100)
173
+ - `Pillar_Weight` = Fixed weight per pillar (sum to 1.0)
174
+ - Each rule returns 0.0 to 1.0, converted to percentage at the pillar level
175
+
176
+ ### Properties
177
+
178
+ - **Deterministic**: Same workspace state → same score. Always.
179
+ - **Monotonic**: Improving any configuration can only increase the score. No perverse incentives.
180
+ - **Bounded**: Score is strictly 0-100. No negative scores, no inflation.
181
+ - **Idempotent**: Re-running the assessment on an unchanged workspace produces identical results.
182
+ - **Read-only**: The engine *never* modifies your workspace. It reads, scores, reports.
183
+
184
+ ### What Gets Penalised
185
+
186
+ The engine specifically penalises:
187
+ - **Test/demo/sample contexts** in context bindings (filtered out of GOV-01)
188
+ - **"TBD" owners** on rules (QE-02 marks these as unassigned)
189
+ - **"All" industry targeting** on rules (ORG-01 — this means you haven't customised)
190
+ - **Permissive enforcement mode** (OPS-02 — logging without blocking is not governance)
191
+
192
+ These penalties are deliberate. They catch the most common patterns of *governance theatre* — rules that exist but aren't owned, contexts that are named but not bound, enforcement that logs but never stops anything.
193
+
194
+ ---
195
+
196
+ ## The Three-Branch Model
197
+
198
+ ODGS structures governance as three independent branches — borrowing from constitutional design, not from software architecture:
199
+
200
+ ### Legislative Branch
201
+ **What the organisation defines as truth.** Ontology terms, metrics definitions, DQ dimensions. These are *declarations* — "this is what 'Customer Lifetime Value' means, this is how we measure data completeness." The legislative branch is the semantic layer.
202
+
203
+ ### Judiciary Branch
204
+ **How truth is enforced.** Data quality rules, logic expressions, root cause factors. These are *judgements* — "if field X is null, that violates rule Y." The judiciary branch is the enforcement layer.
205
+
206
+ ### Executive Branch
207
+ **Where truth meets reality.** Context bindings, physical data maps, business process maps, the interceptor engine. These are *actions* — "bind rule Y to process Z running on system W." The executive branch is the operationalisation layer.
208
+
209
+ The maturity engine scores across all three branches because governance fails when any branch is missing. Rules without context bindings are decorative. Context bindings without rules are empty. Both without an interceptor are fiction.
210
+
211
+ ---
212
+
213
+ ## Integration with Existing Investments
214
+
215
+ ### MCP Server (AI Agent Integration)
216
+
217
+ The ODGS MCP server exposes governance capabilities to AI coding assistants (Cursor, Windsurf, Claude Desktop). The `governance_score` tool delegates to this same maturity engine, ensuring consistent scoring whether triggered from the CLI, an API, or an AI agent.
218
+
219
+ ### LLM Bridge (Agentic Automation)
220
+
221
+ The LLM bridge provides five agentic capabilities that directly accelerate maturity:
222
+
223
+ | Capability | What It Does | Maturity Impact |
224
+ |-----------|-------------|----------------|
225
+ | `discover_bindings` | Auto-generates context bindings from a data catalogue | Governance Foundations: 0% → 60%+ |
226
+ | `compile_regulation` | Generates `logic_expression` from natural language rules | Quality Enforcement: +15-20% |
227
+ | `check_drift` | Detects stale metric definitions | Metadata Integrity: maintains score |
228
+ | `detect_conflicts` | Finds overlapping or contradictory rules | Quality Enforcement: prevents regression |
229
+ | `narrate_audit` | Produces stakeholder-readable audit narratives | Certification & Trust: evidence generation |
230
+
231
+ ### Regulation Packs
232
+
233
+ Regulation packs are cryptographically signed bundles of industry-specific rules (GDPR, DORA, Basel III, etc.). Installing packs directly improves CERT-01 and CERT-02 scores. Packs are distributed via the ODGS registry and verified at install time.
234
+
235
+ ---
236
+
237
+ ## What This Is *Not*
238
+
239
+ - **Not a compliance checkbox.** The maturity score measures operational reality, not paper compliance.
240
+ - **Not a vanity metric.** A fresh install gets ~30%. There is no "quick hack" to reach 80% without doing the actual work of binding rules to processes.
241
+ - **Not a vendor assessment.** This measures *your* governance configuration, not the quality of the protocol itself.
242
+ - **Not a replacement for governance strategy.** It measures whether your strategy has been operationalised — whether the plan became a system.
243
+
244
+ ---
245
+
246
+ ## Getting Started
247
+
248
+ ```bash
249
+ # 1. Install
250
+ pip install odgs-maturity
251
+
252
+ # 2. Assess
253
+ odgs-maturity score
254
+
255
+ # 3. Understand the gaps
256
+ odgs-maturity score --json | python -m json.tool
257
+
258
+ # 4. Generate improvement plan
259
+ odgs-maturity charter --type lifecycle
260
+
261
+ # 5. Re-assess after configuration work
262
+ odgs-maturity score
263
+ ```
264
+
265
+ The gap between your current score and your target level is the work. The charter tells you what work to do. The re-assessment tells you whether you did it.
266
+
267
+ That's governance grounded in reality, not theatre.
268
+
269
+ ---
270
+
271
+ *For technical implementation details, see the [odgs-maturity README](./README.md). For the normative specification, see [ODGS v5](../odgs-v5/1_NORMATIVE_SPECIFICATION/). For the philosophical foundation, read the [Reality-Based Revolution Manifesto](../my-writings/manifesto.md).*