uc30 0.1.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 (94) hide show
  1. uc30-0.1.0/LICENSE +404 -0
  2. uc30-0.1.0/LICENSE-CODE +23 -0
  3. uc30-0.1.0/PKG-INFO +171 -0
  4. uc30-0.1.0/README.md +155 -0
  5. uc30-0.1.0/pyproject.toml +28 -0
  6. uc30-0.1.0/setup.cfg +4 -0
  7. uc30-0.1.0/uc30/__init__.py +3 -0
  8. uc30-0.1.0/uc30/build_chain.py +112 -0
  9. uc30-0.1.0/uc30/build_ecosystem_fixtures.py +131 -0
  10. uc30-0.1.0/uc30/build_fixtures.py +123 -0
  11. uc30-0.1.0/uc30/build_lifecycle_fixtures.py +125 -0
  12. uc30-0.1.0/uc30/chains/full/capa.json +131 -0
  13. uc30-0.1.0/uc30/chains/full/chain.json +34 -0
  14. uc30-0.1.0/uc30/chains/full/clinical.json +135 -0
  15. uc30-0.1.0/uc30/chains/full/concept.json +129 -0
  16. uc30-0.1.0/uc30/chains/full/design.json +131 -0
  17. uc30-0.1.0/uc30/chains/full/fsca.json +135 -0
  18. uc30-0.1.0/uc30/chains/full/passport.json +9 -0
  19. uc30-0.1.0/uc30/chains/full/postmarket.json +133 -0
  20. uc30-0.1.0/uc30/chains/full/production.json +133 -0
  21. uc30-0.1.0/uc30/chains/full/registration.json +133 -0
  22. uc30-0.1.0/uc30/chains/full/retirement.json +131 -0
  23. uc30-0.1.0/uc30/chains/full/risk.json +131 -0
  24. uc30-0.1.0/uc30/chains/full/supplier.json +131 -0
  25. uc30-0.1.0/uc30/chains/full/vv.json +133 -0
  26. uc30-0.1.0/uc30/check_links.py +97 -0
  27. uc30-0.1.0/uc30/check_uc30.py +294 -0
  28. uc30-0.1.0/uc30/claims_map.py +152 -0
  29. uc30-0.1.0/uc30/cli.py +71 -0
  30. uc30-0.1.0/uc30/crosswalk_eval_result.py +107 -0
  31. uc30-0.1.0/uc30/export_record.py +137 -0
  32. uc30-0.1.0/uc30/fixtures/EXPECTED.json +266 -0
  33. uc30-0.1.0/uc30/fixtures/fx_authorized.json +105 -0
  34. uc30-0.1.0/uc30/fixtures/fx_cross_border_patient.json +131 -0
  35. uc30-0.1.0/uc30/fixtures/fx_duplicate_item.json +118 -0
  36. uc30-0.1.0/uc30/fixtures/fx_eco_contract_manufacturer.json +131 -0
  37. uc30-0.1.0/uc30/fixtures/fx_eco_cro.json +130 -0
  38. uc30-0.1.0/uc30/fixtures/fx_eco_hospital.json +131 -0
  39. uc30-0.1.0/uc30/fixtures/fx_eco_logistics.json +131 -0
  40. uc30-0.1.0/uc30/fixtures/fx_eco_metrology.json +131 -0
  41. uc30-0.1.0/uc30/fixtures/fx_eco_notified_body_audit.json +131 -0
  42. uc30-0.1.0/uc30/fixtures/fx_eco_patient.json +131 -0
  43. uc30-0.1.0/uc30/fixtures/fx_eco_regulator.json +129 -0
  44. uc30-0.1.0/uc30/fixtures/fx_eco_reverse_logistics.json +131 -0
  45. uc30-0.1.0/uc30/fixtures/fx_eco_secondary_distributor.json +131 -0
  46. uc30-0.1.0/uc30/fixtures/fx_lc_capa.json +126 -0
  47. uc30-0.1.0/uc30/fixtures/fx_lc_clinical.json +126 -0
  48. uc30-0.1.0/uc30/fixtures/fx_lc_concept.json +124 -0
  49. uc30-0.1.0/uc30/fixtures/fx_lc_design.json +126 -0
  50. uc30-0.1.0/uc30/fixtures/fx_lc_fsca.json +125 -0
  51. uc30-0.1.0/uc30/fixtures/fx_lc_postmarket.json +126 -0
  52. uc30-0.1.0/uc30/fixtures/fx_lc_production.json +126 -0
  53. uc30-0.1.0/uc30/fixtures/fx_lc_registration.json +126 -0
  54. uc30-0.1.0/uc30/fixtures/fx_lc_retirement.json +124 -0
  55. uc30-0.1.0/uc30/fixtures/fx_lc_risk.json +126 -0
  56. uc30-0.1.0/uc30/fixtures/fx_lc_supplier.json +126 -0
  57. uc30-0.1.0/uc30/fixtures/fx_lc_vv.json +126 -0
  58. uc30-0.1.0/uc30/fixtures/fx_md_audit_trail_order.json +108 -0
  59. uc30-0.1.0/uc30/fixtures/fx_md_batch_release.json +108 -0
  60. uc30-0.1.0/uc30/fixtures/fx_md_change_impact.json +108 -0
  61. uc30-0.1.0/uc30/fixtures/fx_md_class1_dressing.json +108 -0
  62. uc30-0.1.0/uc30/fixtures/fx_md_class3_pacemaker_vigilance.json +108 -0
  63. uc30-0.1.0/uc30/fixtures/fx_md_expired_grant.json +108 -0
  64. uc30-0.1.0/uc30/fixtures/fx_md_ifu_revision_scope.json +106 -0
  65. uc30-0.1.0/uc30/fixtures/fx_md_ivd_glucose_supplier.json +108 -0
  66. uc30-0.1.0/uc30/fixtures/fx_md_pms_report.json +108 -0
  67. uc30-0.1.0/uc30/fixtures/fx_md_samd_dcr_duplicate.json +121 -0
  68. uc30-0.1.0/uc30/fixtures/fx_md_sterilization_subcontractor.json +108 -0
  69. uc30-0.1.0/uc30/fixtures/fx_md_udi_without_claim.json +103 -0
  70. uc30-0.1.0/uc30/fixtures/fx_multi_regime.json +133 -0
  71. uc30-0.1.0/uc30/fixtures/fx_multi_regime_missing_cn.json +131 -0
  72. uc30-0.1.0/uc30/fixtures/fx_order_violation.json +105 -0
  73. uc30-0.1.0/uc30/fixtures/fx_passport_linked.json +125 -0
  74. uc30-0.1.0/uc30/fixtures/fx_passport_wrong.json +124 -0
  75. uc30-0.1.0/uc30/fixtures/fx_registry_drift.json +105 -0
  76. uc30-0.1.0/uc30/fixtures/fx_scope_not_covering.json +103 -0
  77. uc30-0.1.0/uc30/fixtures/fx_tampered_evidence.json +105 -0
  78. uc30-0.1.0/uc30/fixtures/fx_unauthorized_same_shape.json +105 -0
  79. uc30-0.1.0/uc30/fixtures/fx_unclaimed_item.json +100 -0
  80. uc30-0.1.0/uc30/fixtures/fx_unenrolled_producer.json +105 -0
  81. uc30-0.1.0/uc30/fixtures/fx_unversioned_item.json +104 -0
  82. uc30-0.1.0/uc30/fixtures/fx_verifier_declared.json +129 -0
  83. uc30-0.1.0/uc30/fixtures/fx_verifier_incomplete.json +126 -0
  84. uc30-0.1.0/uc30/fixtures/fx_version_wrong_type.json +105 -0
  85. uc30-0.1.0/uc30/fuzz_uc30.py +194 -0
  86. uc30-0.1.0/uc30/schema/division_20261129.json +103 -0
  87. uc30-0.1.0/uc30/schema/evidence_record.schema.json +138 -0
  88. uc30-0.1.0/uc30/uc30_mcp.py +178 -0
  89. uc30-0.1.0/uc30/verify_chain.py +105 -0
  90. uc30-0.1.0/uc30.egg-info/PKG-INFO +171 -0
  91. uc30-0.1.0/uc30.egg-info/SOURCES.txt +92 -0
  92. uc30-0.1.0/uc30.egg-info/dependency_links.txt +1 -0
  93. uc30-0.1.0/uc30.egg-info/entry_points.txt +3 -0
  94. uc30-0.1.0/uc30.egg-info/top_level.txt +1 -0
uc30-0.1.0/LICENSE ADDED
@@ -0,0 +1,404 @@
1
+ UC30 / FG-TIDA Paris 2026 — content license
2
+
3
+ Content (documents, fixtures, pages, data) is licensed under the Creative Commons
4
+ Attribution 4.0 International License (CC BY 4.0).
5
+ Code is licensed under the MIT License; see LICENSE-CODE.
6
+
7
+ SPDX-License-Identifier: CC-BY-4.0
8
+
9
+ Attribution 4.0 International
10
+
11
+ =======================================================================
12
+
13
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
14
+ does not provide legal services or legal advice. Distribution of
15
+ Creative Commons public licenses does not create a lawyer-client or
16
+ other relationship. Creative Commons makes its licenses and related
17
+ information available on an "as-is" basis. Creative Commons gives no
18
+ warranties regarding its licenses, any material licensed under their
19
+ terms and conditions, or any related information. Creative Commons
20
+ disclaims all liability for damages resulting from their use to the
21
+ fullest extent possible.
22
+
23
+ Using Creative Commons Public Licenses
24
+
25
+ Creative Commons public licenses provide a standard set of terms and
26
+ conditions that creators and other rights holders may use to share
27
+ original works of authorship and other material subject to copyright
28
+ and certain other rights specified in the public license below. The
29
+ following considerations are for informational purposes only, are not
30
+ exhaustive, and do not form part of our licenses.
31
+
32
+ Considerations for licensors: Our public licenses are
33
+ intended for use by those authorized to give the public
34
+ permission to use material in ways otherwise restricted by
35
+ copyright and certain other rights. Our licenses are
36
+ irrevocable. Licensors should read and understand the terms
37
+ and conditions of the license they choose before applying it.
38
+ Licensors should also secure all rights necessary before
39
+ applying our licenses so that the public can reuse the
40
+ material as expected. Licensors should clearly mark any
41
+ material not subject to the license. This includes other CC-
42
+ licensed material, or material used under an exception or
43
+ limitation to copyright. More considerations for licensors:
44
+ wiki.creativecommons.org/Considerations_for_licensors
45
+
46
+ Considerations for the public: By using one of our public
47
+ licenses, a licensor grants the public permission to use the
48
+ licensed material under specified terms and conditions. If
49
+ the licensor's permission is not necessary for any reason--for
50
+ example, because of any applicable exception or limitation to
51
+ copyright--then that use is not regulated by the license. Our
52
+ licenses grant only permissions under copyright and certain
53
+ other rights that a licensor has authority to grant. Use of
54
+ the licensed material may still be restricted for other
55
+ reasons, including because others have copyright or other
56
+ rights in the material. A licensor may make special requests,
57
+ such as asking that all changes be marked or described.
58
+ Although not required by our licenses, you are encouraged to
59
+ respect those requests where reasonable. More considerations
60
+ for the public:
61
+ wiki.creativecommons.org/Considerations_for_licensees
62
+
63
+ =======================================================================
64
+
65
+ Creative Commons Attribution 4.0 International Public License
66
+
67
+ By exercising the Licensed Rights (defined below), You accept and agree
68
+ to be bound by the terms and conditions of this Creative Commons
69
+ Attribution 4.0 International Public License ("Public License"). To the
70
+ extent this Public License may be interpreted as a contract, You are
71
+ granted the Licensed Rights in consideration of Your acceptance of
72
+ these terms and conditions, and the Licensor grants You such rights in
73
+ consideration of benefits the Licensor receives from making the
74
+ Licensed Material available under these terms and conditions.
75
+
76
+
77
+ Section 1 -- Definitions.
78
+
79
+ a. Adapted Material means material subject to Copyright and Similar
80
+ Rights that is derived from or based upon the Licensed Material
81
+ and in which the Licensed Material is translated, altered,
82
+ arranged, transformed, or otherwise modified in a manner requiring
83
+ permission under the Copyright and Similar Rights held by the
84
+ Licensor. For purposes of this Public License, where the Licensed
85
+ Material is a musical work, performance, or sound recording,
86
+ Adapted Material is always produced where the Licensed Material is
87
+ synched in timed relation with a moving image.
88
+
89
+ b. Adapter's License means the license You apply to Your Copyright
90
+ and Similar Rights in Your contributions to Adapted Material in
91
+ accordance with the terms and conditions of this Public License.
92
+
93
+ c. Copyright and Similar Rights means copyright and/or similar rights
94
+ closely related to copyright including, without limitation,
95
+ performance, broadcast, sound recording, and Sui Generis Database
96
+ Rights, without regard to how the rights are labeled or
97
+ categorized. For purposes of this Public License, the rights
98
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
99
+ Rights.
100
+
101
+ d. Effective Technological Measures means those measures that, in the
102
+ absence of proper authority, may not be circumvented under laws
103
+ fulfilling obligations under Article 11 of the WIPO Copyright
104
+ Treaty adopted on December 20, 1996, and/or similar international
105
+ agreements.
106
+
107
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
108
+ any other exception or limitation to Copyright and Similar Rights
109
+ that applies to Your use of the Licensed Material.
110
+
111
+ f. Licensed Material means the artistic or literary work, database,
112
+ or other material to which the Licensor applied this Public
113
+ License.
114
+
115
+ g. Licensed Rights means the rights granted to You subject to the
116
+ terms and conditions of this Public License, which are limited to
117
+ all Copyright and Similar Rights that apply to Your use of the
118
+ Licensed Material and that the Licensor has authority to license.
119
+
120
+ h. Licensor means the individual(s) or entity(ies) granting rights
121
+ under this Public License.
122
+
123
+ i. Share means to provide material to the public by any means or
124
+ process that requires permission under the Licensed Rights, such
125
+ as reproduction, public display, public performance, distribution,
126
+ dissemination, communication, or importation, and to make material
127
+ available to the public including in ways that members of the
128
+ public may access the material from a place and at a time
129
+ individually chosen by them.
130
+
131
+ j. Sui Generis Database Rights means rights other than copyright
132
+ resulting from Directive 96/9/EC of the European Parliament and of
133
+ the Council of 11 March 1996 on the legal protection of databases,
134
+ as amended and/or succeeded, as well as other essentially
135
+ equivalent rights anywhere in the world.
136
+
137
+ k. You means the individual or entity exercising the Licensed Rights
138
+ under this Public License. Your has a corresponding meaning.
139
+
140
+
141
+ Section 2 -- Scope.
142
+
143
+ a. License grant.
144
+
145
+ 1. Subject to the terms and conditions of this Public License,
146
+ the Licensor hereby grants You a worldwide, royalty-free,
147
+ non-sublicensable, non-exclusive, irrevocable license to
148
+ exercise the Licensed Rights in the Licensed Material to:
149
+
150
+ a. reproduce and Share the Licensed Material, in whole or
151
+ in part; and
152
+
153
+ b. produce, reproduce, and Share Adapted Material.
154
+
155
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
156
+ Exceptions and Limitations apply to Your use, this Public
157
+ License does not apply, and You do not need to comply with
158
+ its terms and conditions.
159
+
160
+ 3. Term. The term of this Public License is specified in Section
161
+ 6(a).
162
+
163
+ 4. Media and formats; technical modifications allowed. The
164
+ Licensor authorizes You to exercise the Licensed Rights in
165
+ all media and formats whether now known or hereafter created,
166
+ and to make technical modifications necessary to do so. The
167
+ Licensor waives and/or agrees not to assert any right or
168
+ authority to forbid You from making technical modifications
169
+ necessary to exercise the Licensed Rights, including
170
+ technical modifications necessary to circumvent Effective
171
+ Technological Measures. For purposes of this Public License,
172
+ simply making modifications authorized by this Section 2(a)
173
+ (4) never produces Adapted Material.
174
+
175
+ 5. Downstream recipients.
176
+
177
+ a. Offer from the Licensor -- Licensed Material. Every
178
+ recipient of the Licensed Material automatically
179
+ receives an offer from the Licensor to exercise the
180
+ Licensed Rights under the terms and conditions of this
181
+ Public License.
182
+
183
+ b. No downstream restrictions. You may not offer or impose
184
+ any additional or different terms or conditions on, or
185
+ apply any Effective Technological Measures to, the
186
+ Licensed Material if doing so restricts exercise of the
187
+ Licensed Rights by any recipient of the Licensed
188
+ Material.
189
+
190
+ 6. No endorsement. Nothing in this Public License constitutes or
191
+ may be construed as permission to assert or imply that You
192
+ are, or that Your use of the Licensed Material is, connected
193
+ with, or sponsored, endorsed, or granted official status by,
194
+ the Licensor or others designated to receive attribution as
195
+ provided in Section 3(a)(1)(A)(i).
196
+
197
+ b. Other rights.
198
+
199
+ 1. Moral rights, such as the right of integrity, are not
200
+ licensed under this Public License, nor are publicity,
201
+ privacy, and/or other similar personality rights; however, to
202
+ the extent possible, the Licensor waives and/or agrees not to
203
+ assert any such rights held by the Licensor to the limited
204
+ extent necessary to allow You to exercise the Licensed
205
+ Rights, but not otherwise.
206
+
207
+ 2. Patent and trademark rights are not licensed under this
208
+ Public License.
209
+
210
+ 3. To the extent possible, the Licensor waives any right to
211
+ collect royalties from You for the exercise of the Licensed
212
+ Rights, whether directly or through a collecting society
213
+ under any voluntary or waivable statutory or compulsory
214
+ licensing scheme. In all other cases the Licensor expressly
215
+ reserves any right to collect such royalties.
216
+
217
+
218
+ Section 3 -- License Conditions.
219
+
220
+ Your exercise of the Licensed Rights is expressly made subject to the
221
+ following conditions.
222
+
223
+ a. Attribution.
224
+
225
+ 1. If You Share the Licensed Material (including in modified
226
+ form), You must:
227
+
228
+ a. retain the following if it is supplied by the Licensor
229
+ with the Licensed Material:
230
+
231
+ i. identification of the creator(s) of the Licensed
232
+ Material and any others designated to receive
233
+ attribution, in any reasonable manner requested by
234
+ the Licensor (including by pseudonym if
235
+ designated);
236
+
237
+ ii. a copyright notice;
238
+
239
+ iii. a notice that refers to this Public License;
240
+
241
+ iv. a notice that refers to the disclaimer of
242
+ warranties;
243
+
244
+ v. a URI or hyperlink to the Licensed Material to the
245
+ extent reasonably practicable;
246
+
247
+ b. indicate if You modified the Licensed Material and
248
+ retain an indication of any previous modifications; and
249
+
250
+ c. indicate the Licensed Material is licensed under this
251
+ Public License, and include the text of, or the URI or
252
+ hyperlink to, this Public License.
253
+
254
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
255
+ reasonable manner based on the medium, means, and context in
256
+ which You Share the Licensed Material. For example, it may be
257
+ reasonable to satisfy the conditions by providing a URI or
258
+ hyperlink to a resource that includes the required
259
+ information.
260
+
261
+ 3. If requested by the Licensor, You must remove any of the
262
+ information required by Section 3(a)(1)(A) to the extent
263
+ reasonably practicable.
264
+
265
+ 4. If You Share Adapted Material You produce, the Adapter's
266
+ License You apply must not prevent recipients of the Adapted
267
+ Material from complying with this Public License.
268
+
269
+
270
+ Section 4 -- Sui Generis Database Rights.
271
+
272
+ Where the Licensed Rights include Sui Generis Database Rights that
273
+ apply to Your use of the Licensed Material:
274
+
275
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
276
+ to extract, reuse, reproduce, and Share all or a substantial
277
+ portion of the contents of the database;
278
+
279
+ b. if You include all or a substantial portion of the database
280
+ contents in a database in which You have Sui Generis Database
281
+ Rights, then the database in which You have Sui Generis Database
282
+ Rights (but not its individual contents) is Adapted Material; and
283
+
284
+ c. You must comply with the conditions in Section 3(a) if You Share
285
+ all or a substantial portion of the contents of the database.
286
+
287
+ For the avoidance of doubt, this Section 4 supplements and does not
288
+ replace Your obligations under this Public License where the Licensed
289
+ Rights include other Copyright and Similar Rights.
290
+
291
+
292
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
293
+
294
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
295
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
296
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
297
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
298
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
299
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
300
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
301
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
302
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
303
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
304
+
305
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
306
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
307
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
308
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
309
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
310
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
311
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
312
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
313
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
314
+
315
+ c. The disclaimer of warranties and limitation of liability provided
316
+ above shall be interpreted in a manner that, to the extent
317
+ possible, most closely approximates an absolute disclaimer and
318
+ waiver of all liability.
319
+
320
+
321
+ Section 6 -- Term and Termination.
322
+
323
+ a. This Public License applies for the term of the Copyright and
324
+ Similar Rights licensed here. However, if You fail to comply with
325
+ this Public License, then Your rights under this Public License
326
+ terminate automatically.
327
+
328
+ b. Where Your right to use the Licensed Material has terminated under
329
+ Section 6(a), it reinstates:
330
+
331
+ 1. automatically as of the date the violation is cured, provided
332
+ it is cured within 30 days of Your discovery of the
333
+ violation; or
334
+
335
+ 2. upon express reinstatement by the Licensor.
336
+
337
+ For the avoidance of doubt, this Section 6(b) does not affect any
338
+ right the Licensor may have to seek remedies for Your violations
339
+ of this Public License.
340
+
341
+ c. For the avoidance of doubt, the Licensor may also offer the
342
+ Licensed Material under separate terms or conditions or stop
343
+ distributing the Licensed Material at any time; however, doing so
344
+ will not terminate this Public License.
345
+
346
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
347
+ License.
348
+
349
+
350
+ Section 7 -- Other Terms and Conditions.
351
+
352
+ a. The Licensor shall not be bound by any additional or different
353
+ terms or conditions communicated by You unless expressly agreed.
354
+
355
+ b. Any arrangements, understandings, or agreements regarding the
356
+ Licensed Material not stated herein are separate from and
357
+ independent of the terms and conditions of this Public License.
358
+
359
+
360
+ Section 8 -- Interpretation.
361
+
362
+ a. For the avoidance of doubt, this Public License does not, and
363
+ shall not be interpreted to, reduce, limit, restrict, or impose
364
+ conditions on any use of the Licensed Material that could lawfully
365
+ be made without permission under this Public License.
366
+
367
+ b. To the extent possible, if any provision of this Public License is
368
+ deemed unenforceable, it shall be automatically reformed to the
369
+ minimum extent necessary to make it enforceable. If the provision
370
+ cannot be reformed, it shall be severed from this Public License
371
+ without affecting the enforceability of the remaining terms and
372
+ conditions.
373
+
374
+ c. No term or condition of this Public License will be waived and no
375
+ failure to comply consented to unless expressly agreed to by the
376
+ Licensor.
377
+
378
+ d. Nothing in this Public License constitutes or may be interpreted
379
+ as a limitation upon, or waiver of, any privileges and immunities
380
+ that apply to the Licensor or You, including from the legal
381
+ processes of any jurisdiction or authority.
382
+
383
+
384
+ =======================================================================
385
+
386
+ Creative Commons is not a party to its public
387
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
388
+ its public licenses to material it publishes and in those instances
389
+ will be considered the “Licensor.” The text of the Creative Commons
390
+ public licenses is dedicated to the public domain under the CC0 Public
391
+ Domain Dedication. Except for the limited purpose of indicating that
392
+ material is shared under a Creative Commons public license or as
393
+ otherwise permitted by the Creative Commons policies published at
394
+ creativecommons.org/policies, Creative Commons does not authorize the
395
+ use of the trademark "Creative Commons" or any other trademark or logo
396
+ of Creative Commons without its prior written consent including,
397
+ without limitation, in connection with any unauthorized modifications
398
+ to any of its public licenses or any other arrangements,
399
+ understandings, or agreements concerning use of licensed material. For
400
+ the avoidance of doubt, this paragraph does not form part of the
401
+ public licenses.
402
+
403
+ Creative Commons may be contacted at creativecommons.org.
404
+
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Xinghua Zhao (Zhao, X.)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ SPDX-License-Identifier: MIT
uc30-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,171 @@
1
+ Metadata-Version: 2.4
2
+ Name: uc30
3
+ Version: 0.1.0
4
+ Summary: Record-level evidence profile for a medical-device lifecycle (check, chain, export, MCP).
5
+ Author: Xinghua Zhao
6
+ License: MIT
7
+ Keywords: medical-device,evidence,in-toto,mcp,lifecycle
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ License-File: LICENSE-CODE
15
+ Dynamic: license-file
16
+
17
+ # FG-TIDA Paris 2026 — eleven contributions, mapped to each group's work
18
+
19
+ > **Independent re-run wanted — 5 minutes, no account.** Run `python uc30/check_uc30.py --self-test` (expected `self-test 52/52 as expected`) and paste the output in [issue #26](https://github.com/zhaoxinghua09-cell/fg-tida-paris-2026/issues/26). A terminal transcript is enough; no endorsement is asked.
20
+
21
+ - The methods behind the results, with their boundaries: [uc30/METHODOLOGY.md](uc30/METHODOLOGY.md).
22
+ - MCP server (read-only, stdio): [uc30/MCP.md](uc30/MCP.md) — `pip install uc30==0.1.0`, then `uc30-mcp`.
23
+
24
+ One page: what we submitted, which group it belongs to, what that group can take from it, and the command that proves it.
25
+ Every number here was produced by us on 2026-11-28; nothing here is a group decision.
26
+
27
+ - **[Overview (5 pages)](pages/overview.pdf)** — the eleven items, four runnable, one document, six described from text with a hash per file.
28
+ - **[Mapping page (1 page)](pages/mapping.pdf)** — group by group: the item, the words it can be taken in, and how to check it.
29
+ - **[Nine gates](pages/nine-gates.pdf)** — our own pre-publication check, including what is **not** met (G1, G9, G10, G11 at 0/4; G5 has 2 receipts).
30
+ - **[Competitor matrix, first version](pages/matrix.pdf)** — eight dimensions × seven parties, kept for the record; it has since been narrowed to the four parties we could check line by line in `pages/peers-matrix.pdf`, and the landscape note below explains why the field is larger than either page suggests.
31
+
32
+ **Per-group take-away sheets** (one page each, the group's own items with the one thing to take and the command that proves it): `pages/wg-sheet-wg0.{html,pdf}`, `pages/wg-sheet-wg1.{html,pdf}`, `pages/wg-sheet-wg2.{html,pdf}`. Each group also has **one flow page** in the same visual language — `pages/wg0-flow.{html,pdf}` (whose act: entering versus analysing), `pages/wg1-flow.{html,pdf}` (three records, and the sixteen silent-failure modes split 8 + 8), `pages/wg2-flow.{html,pdf}` (evidence, authority, judgement).
33
+
34
+ **Two pages to look at first, if you only look at two:** `pages/pack-map.{html,pdf}` — eleven items in, eleven reader pages out, one command, on one screen; and `pages/evidence-ladder.{html,pdf}` — four kinds of evidence on one shared 0–4 scale, with the two empty rungs named as things no command of ours can fill. Both use position and length for numbers, label each mark directly instead of a legend, and carry a three-box note saying what the page is not. The site root `index.html` puts those two first and then orders everything else by group.
35
+
36
+ ## Where each item lands
37
+
38
+ | Group | Item | What the group can take | Check |
39
+ |---|---|---|---|
40
+ | WG0 | WG0-002 | D1 glossary: 28 paste-ready terms, 19 second tranche, 17 excluded; a source per entry | text hash `98ab6553` / `01bedbdb` |
41
+ | WG0 | WG0-001 | Three use cases in the FG template, five requirements each for ToR §4.1 analysis | text hash `1ec26558` |
42
+ | WG0 | WG0-004 | A metric must show where it discriminates: 3 of 6 dimensions returned the same value for all 12 skills | `c45-skill-metrics` @ `bea1738f`, `python demo/score_demo.py` |
43
+ | WG0 | WG0-056 / UC30 | Record schema: pass / fail / not evaluated, one not evaluated blocks a pass | 7 pages, DOI 10.5281/zenodo.24548619 |
44
+ | WG1 | WG1-004 | Five lifecycle stages, each with the silent failure left when the exit condition is not met | `a22-trust-lifecycle` @ `9a822384`, `python lifecycle_demo.py` → 10/10 |
45
+ | WG1 | WG1-006 | What a static audit can and cannot establish, on twelve skills, five findings | `a18-skill-supply-chain` @ `4279a57b`, `python demo/audit_demo.py` |
46
+ | WG1 | WG1-005 | Sixteen ways a check passes while nothing is checked | text hash `6cc628f5` |
47
+ | WG1 | WG1-001 | Registry, Evidence, Gates, with a minimal completeness check each | text hash `3020e0c3` |
48
+ | WG2 | WG2-006 (= WG2-004) | Two axes kept apart; 11 tests, 22 named codes, six steps in the draft's order, 14 corpus cases, 8 wire vectors | `d4-evidence-authorization` @ `03dd47e`, `python d4conformance/conformance.py` |
49
+ | WG2 | WG2-001 | A gate's three-field binding record: who acted, on whose authority, what changed | text hash `bb5d7d0b` |
50
+ | INCUBATION | INCUBATION-004 | Five questions a discovery record must answer, three absence outcomes, freshness as a pair | text hash `7545e710` |
51
+
52
+ ## Run it yourself
53
+
54
+ ```bash
55
+ python demos/run_paris_pack.py --clone ./_work # clones the four repos at the pinned commits, then runs
56
+ python demos/run_paris_pack.py --from ./_work # if you already cloned them
57
+ ```
58
+
59
+ One of those suites needs no clone at all: the runner also executes `uc30/check_uc30.py --self-test` against the fifty fixtures in this repository, so a reader who only has this folder still gets one suite that runs.
60
+
61
+ It prints one line per suite with `expected` and `got`, writes `run_report.json`, and exits 0 only if every line matches. `SKIP` means a repository was not found — it is not a pass.
62
+
63
+ Tested here on 2026-11-28 with the d4 repository at its pinned commit: **7/7 pass**, the other three suites reported `SKIP` because this machine could not reach `github.com` to clone them. So the runner's logic is exercised, not its clone path.
64
+
65
+ Anonymous read of this repository was verified on 2026-11-28 without any credential (`api.github.com` metadata, `README.md`, `pages/mapping.pdf` — 4,194 B and 87,969 B). Anonymous `git clone` was **not** verified from our network.
66
+
67
+ ## What is not in this repository, and why
68
+
69
+ - **The six extracted texts are not republished here.** Their sha256 prefixes are given above; the texts themselves stay with the group's own submission record. A description is not a republication of someone else's document.
70
+ - **No run here is independent verification by the author.** G9 remains 0/4; **G5 has two independent receipts** (2026-11-29, Linux/Ubuntu; see below) but not 4/4.
71
+ - **WG0 is written-only at Paris.** The co-chair has confirmed the presentation is in person only, so no speaking slot is assumed in these pages.
72
+ - **Submitted is not adopted.** Nothing here is a group decision, and the d4 selection is unconfirmed.
73
+
74
+ ## Receipts
75
+
76
+ - `records/aitb_receipt_*.json` — the newest file in that folder is the sealing that covers the files in this repository as they stand now (strict 7/7); its `manifest_root` is the value to check against `SITE_MANIFEST.json`
77
+ - Earlier receipts are kept rather than deleted, because each one covered an earlier state of these files; only the newest covers the current bytes.
78
+ - `records/gate_reading.json` — the twelve-gate reading behind the nine-gate page
79
+ - `records/runs.md` — the ten suites, their repositories and expected outputs
80
+
81
+ Receipts are excluded from the manifest they seal: a receipt cannot cover itself. That is why the count of covered files is smaller than the number of files you see.
82
+
83
+ ## Landscape, re-read on 2026-11-29
84
+
85
+ The format side of this field is now crowded, and saying so is part of the pack. A single read of the IETF archive on 2026-11-29 found at least these neighbouring drafts, each with its own slot: `draft-noa-scitt-ai-agent-receipt-01` (per-action receipt, published 14 Aug 2026, and now splitting pre-execution authorisation, downstream report and physical effect into separately failable claims), `draft-mih-scitt-agent-action-capsule`, `draft-sahu-agent-action-receipts`, `draft-schrock-ep-authorization-receipts-13`, `draft-sabey-succession-receipts-05` (authority succession), `draft-emirdag-scitt-ai-agent-execution`, `draft-bailey-scitt-agent-session-receipt`, `draft-wilder-scitt-physical-site-engage-receipt` (physical site, TEE-anchored), `draft-yetis-scitt-figure-receipts` (published 24 Nov 2026), and `draft-nelson-agent-delegation-receipts-10`.
86
+
87
+ What that changes for us: this pack is **not a wire format and does not compete for that slot**. Its lane is the ITU side — use cases, requirements phrased for ToR §4.1, coordination terms, and re-runnable evidence behind each claim. The peer matrix page still compares four parties on eight dimensions because that is what we could check directly; it is now understating the field, not overstating us. Anyone reading the matrix should read this paragraph with it.
88
+
89
+ **Peer matrix and our own gap table** (2026-11-28 late): pages/peers-matrix.{html,pdf} compares the pack against RFC 9943, draft-noa-scitt-ai-agent-receipt-01, draft-gruszka-signed-evaluation-receipts-04 and W3C VC 2.0 with its public test suite, with a direct link per claim; pages/our-gaps.{html,pdf} lists twelve things this pack cannot yet show (O1-O12) and why the wording is not softened. Neither page claims superiority; where a peer is ahead, the page says so.
90
+
91
+ **Handing it to someone else:** `pages/outsider-kit.{html,pdf}` is the one page to give a person with no relation to us — three steps, the three files a receipt must contain, and how a PASS, a FAIL or a SKIP will be recorded. A blank receipt is at `demos/RECEIPT_TEMPLATE.txt`. If you run it, your result is the one number we cannot produce ourselves.
92
+
93
+ **One sheet for the room:** `pages/handout.{html,pdf}` — A4 landscape, two sides. Front: three columns, one per group, each with what was filed, what that group can take today, the check command and its boundary line. Back: the pack map, the evidence ladder, and how a reader's result would be recorded. Print double-sided; it is the only page here meant to be held in a hand.
94
+
95
+ ## Use case 30 — the part we maintain ourselves
96
+
97
+ UC30 is ours: filed 2026-10-15, four comments, zero replies from anyone else. This folder is what we do about
98
+ that, and it is **runnable from here** — no clone, no credential, no network:
99
+
100
+ ```bash
101
+ cd uc30
102
+ python check_uc30.py --self-test # 52 synthetic records, 19 field checks, 18 reason codes
103
+ python uc30/check_links.py --write # 40 external URLs: 404/410 fail, 403/network warn
104
+ python check_uc30.py --metric # the case's own counting rule: decided vs cannot-determine, plus a histogram
105
+ ```
106
+
107
+ - `uc30/UC30_field_matrix.pdf` — 52 records × 19 checks on one page; **the column that broke**, not an argument about the verdict.
108
+ - `uc30/UC30_seven_gates.pdf` — which of seven gates we can answer, which are partial, which is empty and why.
109
+ - `uc30/REQUIREMENTS_MAP.md` — R1–R5: what would evidence each, what we hold, what is missing.
110
+ - `uc30/R4_SLOTS_DRAFT.md` — a **draft** map onto EU MDR Annex II §3/§4/§6 and 21 CFR 807.87/807.92, ending at three questions for a regulatory reader. It counts as no evidence until someone answers them.
111
+ - `uc30/CHAIN.md` — full-lifecycle chain: 12 records linked by digest, one chain root, one command.
112
+ - `uc30/ADVANTAGES.md` — master inventory A1–A31: own theory, record, offline, whole chain.
113
+ - [One page: all advantages](pages/advantages.png) — theory / record / offline / whole chain in four boxes.
114
+ - `uc30/THEORY-ADVANTAGE.md` — LGD three laws × medical practice: every advantage A1–A12 with its test.
115
+ - [One page: twelve advantages](pages/theory-advantage.png) — the A1–A12 sheet, generated from the same files.
116
+ - `uc30/RUN_RECORD.md` — the blank form a person outside fills in. Their result is the one number we cannot produce.
117
+
118
+ Observed today: `self-test 52/52 as expected`; `artefacts 50 | decided 52 | cannot determine 0`. What that does
119
+ **not** show: that any manufacturer's artefacts pass, or that anyone outside has run it. The matrix page says so
120
+ in its own three boxes, and the gate page still prints `none` for the reviewer gate.
121
+
122
+ ## Use case 53 — the second one we maintain ourselves
123
+
124
+ #53 was filed in the register by us and, on 2026-11-29, carried no comments, no group label and a
125
+ title still showing the template's angle brackets. `uc53/` is the material that would make it
126
+ reviewable; **none of it has been posted to the issue**.
127
+
128
+ The subject is different from #30 — not one batch of three acts, but a sequence of stages and a
129
+ stop: `candidate → verified → released → monitored`, plus `withdrawn` as a terminal stop that
130
+ nothing may follow. Every stage must carry its own gate record, a version that advances, evidence
131
+ whose digest is in the committed batch, an enrolled actor, and a grant that is live at the moment
132
+ of entry. 19 checks; 18 reason codes; 52 synthetic records, one defect each, expected verdicts
133
+ fixed before the first run — two of those records were built by a red team against our own checker,
134
+ which is how two holes were found.
135
+
136
+ ```bash
137
+ cd uc53
138
+ python build_fixtures_uc53.py
139
+ python redteam_uc53.py # two probes aimed at our own checker
140
+ python check_uc53.py --self-test # 11/11 as expected
141
+ python check_uc53.py --metric # artefacts 11 | decided 9 | cannot determine 2
142
+ ```
143
+
144
+ `uc53/UC53_lifecycle.pdf` is the one page: the five stages across the top with the gate each must
145
+ carry, the eleven records below with the column that broke, and a box naming the two defects the red
146
+ team found. `uc53/UC53_vs_neighbours.pdf` compares the case with #71, #62, #46 and #77 and says where
147
+ each of them is ahead; one requirement from #71 became a check here, two are left as named gaps. `uc53/RUN_RECORD.md` records the run —
148
+ including the first build's crash, which is kept rather than tidied away.
149
+
150
+ ## The register, read whole
151
+
152
+ `register/REGISTER_SCAN.pdf` is a read-only snapshot of all fifty issues in `FG-TIDA/use-cases`,
153
+ pulled through the public API on 2026-11-29: 52 cases (6 closed), **16 with no comments at all**
154
+ (15 of them still open), **2 placed with a working group** (#21, #35), **3 titles still truncated
155
+ template text** (#51, #60, #72), and 6 filed by us (#14 #25 #31 closed; #30 #32 #53 open). The page
156
+ names five places where our existing material would attach to somebody else's open question — #71,
157
+ #42, #56, #77, #53 — and stops there: attaching is a comment someone has to post, not a claim we
158
+ can make for them.
159
+ `uc53/UC53_format_lane.pdf` reads the ten neighbouring IETF formats on 2026-11-29 — nine
160
+ drafts and RFC 9943 — and records, per row, what each commits that we do not and what each
161
+ leaves to a case like ours.
162
+
163
+ ## License and open access
164
+
165
+ Content is **CC BY 4.0** (`LICENSE`); code is **MIT** (`LICENSE-CODE`). Verification needs no account, no token and no network: `python uc30/check_uc30.py --self-test` runs on the standard library alone. UIBC's `spec`, `vectors` and `uibc-bench` repositories are public and **Apache-2.0**. Details: `uc30/OPEN-ACCESS.md` · adapters: `uc30/INTEROP.md` · `python uc30/export_record.py --self-test` (50/52 records -> in-toto/DSSE/CSV/VC).
166
+
167
+ ## External review (review-level, not execution)
168
+
169
+ - **Qwen** (`builtin-llm-qwen35-4b`, via WeKnora), 2026-11-29 — different vendor, retrieval-based, no clone and no run. Verdicts: claims 1/2/3/5 PASS; claim 4 (`claims 240/240`) **UNVERIFIED** because the model did not see the `claims_map.py` output. This is a review, not a conversion of any claim into external evidence; it does not change any evidence level.
170
+ - **G5: two independent receipts (2026-11-29).** (1) A. P. (no connection to our accounts), Linux: minimal `52/52`; full pack `10 PASS / 1 FAIL` because optional `cbor2` was missing, `11/11` with `cbor2`/`cryptography`/`jcs`. That is finding **F-01**: a missing module is now **SKIP**, not FAIL (`requirements-d4.txt`). Receipt: [W3C 0096](https://lists.w3.org/Archives/Public/public-agentprotocol/2026Nov/0096.html). (2) Lars Kersten Kroehl (no connection), Ubuntu 24.04, Python 3.13.18: minimal `52/52`; did not run the networked pack because of an egress allowlist — the right call. Receipt: `runs/self/20261129-lars.md`.
171
+