kg-ssot 4.9.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 (343) hide show
  1. kg_ssot-4.9.0/LICENSE +202 -0
  2. kg_ssot-4.9.0/NOTICE +12 -0
  3. kg_ssot-4.9.0/PKG-INFO +118 -0
  4. kg_ssot-4.9.0/README.md +86 -0
  5. kg_ssot-4.9.0/pyproject.toml +52 -0
  6. kg_ssot-4.9.0/src/kg_ssot/__init__.py +7 -0
  7. kg_ssot-4.9.0/src/kg_ssot/kg_conformance.py +207 -0
  8. kg_ssot-4.9.0/src/kg_ssot/kg_gate.py +287 -0
  9. kg_ssot-4.9.0/src/kg_ssot/kg_mcp.py +457 -0
  10. kg_ssot-4.9.0/src/kg_ssot/kg_prov_export.py +124 -0
  11. kg_ssot-4.9.0/src/kg_ssot/kg_store.py +688 -0
  12. kg_ssot-4.9.0/src/kg_ssot/kg_validate.py +1463 -0
  13. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/README.md +214 -0
  14. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-from-integer.kg.yaml +29 -0
  15. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-from-null.kg.yaml +29 -0
  16. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-from-pattern.kg.yaml +29 -0
  17. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-label-integer.kg.yaml +27 -0
  18. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-missing-edge-type.kg.yaml +28 -0
  19. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-missing-from.kg.yaml +28 -0
  20. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-missing-to.kg.yaml +28 -0
  21. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-to-pattern.kg.yaml +29 -0
  22. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/bad-edge-type-enum.kg.yaml +26 -0
  23. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/manifest.json +103 -0
  24. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/valid-edge-every-type.kg.yaml +53 -0
  25. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/valid-edge-with-label.kg.yaml +27 -0
  26. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/edge/valid-refutes-and-supersedes-reconciled.kg.yaml +53 -0
  27. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/extension-policy/bad-meta-unknown-key.kg.yaml +27 -0
  28. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/extension-policy/bad-node-dotted-key.kg.yaml +27 -0
  29. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/extension-policy/bad-node-unknown-key.kg.yaml +27 -0
  30. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/extension-policy/manifest.json +46 -0
  31. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/extension-policy/valid-meta-x-prefixed-key.kg.yaml +27 -0
  32. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/extension-policy/valid-node-x-prefixed-key.kg.yaml +27 -0
  33. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-absolute-path.kg.yaml +29 -0
  34. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-both-external.kg.yaml +30 -0
  35. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-both-local.kg.yaml +30 -0
  36. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-domain-type.kg.yaml +29 -0
  37. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-dot-segment.kg.yaml +29 -0
  38. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-item-scalar.kg.yaml +28 -0
  39. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-missing-to.kg.yaml +28 -0
  40. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-unknown-key.kg.yaml +30 -0
  41. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/bad-external-windows-path.kg.yaml +29 -0
  42. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/manifest.json +97 -0
  43. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/valid-external-constrains-in.kg.yaml +31 -0
  44. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/valid-external-graph-supersedes.kg.yaml +29 -0
  45. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/external-edges/valid-external-local-to-external.kg.yaml +31 -0
  46. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/levels-should/manifest.json +16 -0
  47. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/levels-should/warn-node-prod-without-verified-at.kg.yaml +26 -0
  48. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/manifest.json +64 -0
  49. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/valid-method-derivado.kg.yaml +26 -0
  50. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/valid-method-juizes.kg.yaml +26 -0
  51. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/valid-method-leitura.kg.yaml +26 -0
  52. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/valid-method-medicao.kg.yaml +26 -0
  53. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/valid-method-testemunho-terceiro.kg.yaml +26 -0
  54. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/warn-method-free-text.kg.yaml +26 -0
  55. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/warn-method-unknown-class.kg.yaml +26 -0
  56. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/method-vocabulary/warn-method-uppercase-class.kg.yaml +26 -0
  57. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/minimal/bad-node-missing-label.kg.yaml +25 -0
  58. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/minimal/manifest.json +19 -0
  59. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/minimal/valid-minimal.kg.yaml +26 -0
  60. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/bad-meta-note-integer.kg.yaml +27 -0
  61. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/bad-node-narrative-integer.kg.yaml +27 -0
  62. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/manifest.json +65 -0
  63. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/valid-label-280-astral.kg.yaml +26 -0
  64. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/valid-label-exactly-280.kg.yaml +26 -0
  65. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/valid-meta-note-and-purpose.kg.yaml +28 -0
  66. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/valid-node-with-narrative.kg.yaml +27 -0
  67. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/warn-label-281-astral.kg.yaml +26 -0
  68. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/narrative/warn-label-over-280.kg.yaml +26 -0
  69. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-enum/bad-node-layer-enum.kg.yaml +27 -0
  70. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-enum/bad-node-plane-enum.kg.yaml +26 -0
  71. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-enum/bad-node-status-enum.kg.yaml +26 -0
  72. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-enum/bad-node-type-enum.kg.yaml +26 -0
  73. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-enum/manifest.json +51 -0
  74. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-enum/valid-node-every-status.kg.yaml +80 -0
  75. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-enum/valid-node-every-type.kg.yaml +116 -0
  76. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-required/bad-node-missing-confidence.kg.yaml +25 -0
  77. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-required/bad-node-missing-id.kg.yaml +25 -0
  78. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-required/bad-node-missing-impact.kg.yaml +25 -0
  79. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-required/bad-node-missing-node-type.kg.yaml +25 -0
  80. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-required/bad-node-missing-plane.kg.yaml +25 -0
  81. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-required/bad-node-missing-status.kg.yaml +25 -0
  82. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-required/manifest.json +57 -0
  83. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-confidence-above-one.kg.yaml +26 -0
  84. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-confidence-boolean.kg.yaml +26 -0
  85. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-confidence-negative.kg.yaml +26 -0
  86. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-confidence-string.kg.yaml +26 -0
  87. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-id-pattern.kg.yaml +26 -0
  88. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-id-trailing-newline.kg.yaml +30 -0
  89. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-impact-boolean.kg.yaml +26 -0
  90. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-impact-float.kg.yaml +26 -0
  91. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-impact-six.kg.yaml +26 -0
  92. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-impact-zero.kg.yaml +26 -0
  93. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-label-empty.kg.yaml +26 -0
  94. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-label-integer.kg.yaml +26 -0
  95. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-label-null.kg.yaml +26 -0
  96. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-source-kind-integer.kg.yaml +27 -0
  97. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-source-tier-eleven.kg.yaml +27 -0
  98. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-source-tier-string.kg.yaml +27 -0
  99. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-source-tier-zero.kg.yaml +27 -0
  100. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-trace-integer.kg.yaml +27 -0
  101. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-valid-from-integer.kg.yaml +27 -0
  102. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-valid-from-malformed.kg.yaml +27 -0
  103. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-verified-against-integer.kg.yaml +27 -0
  104. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/bad-node-verified-at-format.kg.yaml +27 -0
  105. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/manifest.json +197 -0
  106. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/valid-node-prod-verified.kg.yaml +28 -0
  107. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/node-values/valid-node-valid-from-partial.kg.yaml +28 -0
  108. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-dash.kg.yaml +26 -0
  109. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-desconhecida.kg.yaml +26 -0
  110. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-desconhecido-capitalized.kg.yaml +26 -0
  111. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-double-hyphen.kg.yaml +26 -0
  112. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-em-dash.kg.yaml +26 -0
  113. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-empty.kg.yaml +26 -0
  114. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-n-a.kg.yaml +26 -0
  115. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-n-dot-a-dot.kg.yaml +26 -0
  116. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-na.kg.yaml +26 -0
  117. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-nbsp-padded.kg.yaml +26 -0
  118. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-none.kg.yaml +26 -0
  119. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-null-string.kg.yaml +26 -0
  120. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-padded-placeholder.kg.yaml +26 -0
  121. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-question-mark.kg.yaml +26 -0
  122. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-sem-fonte.kg.yaml +26 -0
  123. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-tbd.kg.yaml +26 -0
  124. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-unknown-trailing-dot.kg.yaml +26 -0
  125. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-unknown-upper.kg.yaml +26 -0
  126. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-source-whitespace-only.kg.yaml +26 -0
  127. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/bad-unverifiable-with-placeholder-source.kg.yaml +26 -0
  128. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/manifest.json +185 -0
  129. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/valid-source-question-in-url.kg.yaml +26 -0
  130. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/valid-source-starts-with-na.kg.yaml +26 -0
  131. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/placeholder-source/valid-source-unknown-unknowns-paper.kg.yaml +26 -0
  132. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/bad-confirmed-and-prod-without-provenance.kg.yaml +23 -0
  133. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/bad-confirmed-without-provenance.kg.yaml +22 -0
  134. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/bad-edge-provenance.kg.yaml +30 -0
  135. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/bad-prod-without-provenance.kg.yaml +28 -0
  136. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/bad-provenance-missing-locator.kg.yaml +25 -0
  137. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/bad-provenance-not-object.kg.yaml +23 -0
  138. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/bad-provenance-null.kg.yaml +23 -0
  139. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/bad-provenance-source-empty.kg.yaml +26 -0
  140. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/manifest.json +96 -0
  141. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/valid-confirmed-with-provenance.kg.yaml +26 -0
  142. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/valid-provenance-x-key.kg.yaml +27 -0
  143. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance/warn-provenance-unknown-key.kg.yaml +27 -0
  144. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-locality/manifest.json +49 -0
  145. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-locality/valid-locality-host.kg.yaml +27 -0
  146. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-locality/valid-locality-pessoa.kg.yaml +27 -0
  147. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-locality/valid-locality-repo.kg.yaml +27 -0
  148. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-locality/valid-locality-web.kg.yaml +27 -0
  149. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-locality/warn-locality-unknown.kg.yaml +27 -0
  150. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-locality/warn-locality-uppercase.kg.yaml +27 -0
  151. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/bad-confirmed-and-prod-without-provenance.kg.yaml +23 -0
  152. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/bad-confirmed-without-provenance.kg.yaml +22 -0
  153. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/bad-done-prod-without-provenance.kg.yaml +22 -0
  154. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/bad-prod-without-provenance.kg.yaml +24 -0
  155. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/manifest.json +75 -0
  156. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/valid-minimal-v4.kg.yaml +26 -0
  157. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/valid-prod-unverifiable-without-provenance.kg.yaml +23 -0
  158. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/valid-testimony-provenance.kg.yaml +26 -0
  159. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/valid-unverifiable-without-provenance.kg.yaml +22 -0
  160. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/provenance-required/warn-provenance-unknown-key.kg.yaml +27 -0
  161. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/should-remains/manifest.json +34 -0
  162. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/should-remains/warn-empty-graph.kg.yaml +5 -0
  163. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/should-remains/warn-label-over-280.kg.yaml +26 -0
  164. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/should-remains/warn-prod-without-verified-at.kg.yaml +26 -0
  165. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/bad-edge-item-not-mapping.kg.yaml +27 -0
  166. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/bad-edges-mapping.kg.yaml +23 -0
  167. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/bad-edges-null.kg.yaml +23 -0
  168. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/bad-node-item-not-mapping.kg.yaml +27 -0
  169. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/bad-nodes-mapping.kg.yaml +8 -0
  170. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/bad-nodes-null.kg.yaml +8 -0
  171. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/bad-nodes-scalar.kg.yaml +8 -0
  172. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/manifest.json +80 -0
  173. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-level/valid-empty-graph.kg.yaml +5 -0
  174. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-baseline-format.kg.yaml +27 -0
  175. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-baseline-trailing-newline.kg.yaml +29 -0
  176. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-date-format.kg.yaml +27 -0
  177. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-id-empty.kg.yaml +26 -0
  178. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-id-integer.kg.yaml +26 -0
  179. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-layer-enum.kg.yaml +27 -0
  180. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-missing-id.kg.yaml +25 -0
  181. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-missing-schema-version.kg.yaml +25 -0
  182. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-not-a-mapping.kg.yaml +25 -0
  183. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-null.kg.yaml +24 -0
  184. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-review-after-integer.kg.yaml +27 -0
  185. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-schema-version-2.kg.yaml +26 -0
  186. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-schema-version-boolean.kg.yaml +26 -0
  187. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-meta-schema-version-integer.kg.yaml +26 -0
  188. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-top-missing-edges.kg.yaml +22 -0
  189. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/bad-top-missing-meta.kg.yaml +23 -0
  190. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/manifest.json +142 -0
  191. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/top-meta/valid-meta-optional-dates.kg.yaml +29 -0
  192. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unanchored/manifest.json +28 -0
  193. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unanchored/valid-evidence-verified-at-without-against.kg.yaml +27 -0
  194. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unanchored/valid-verified-at-with-against.kg.yaml +28 -0
  195. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unanchored/warn-verified-at-without-against.kg.yaml +27 -0
  196. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unknown-key/bad-non-slug-key-node.kg.yaml +27 -0
  197. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unknown-key/bad-unknown-key-edge.kg.yaml +27 -0
  198. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unknown-key/bad-unknown-key-meta.kg.yaml +27 -0
  199. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unknown-key/bad-unknown-key-node.kg.yaml +27 -0
  200. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unknown-key/bad-unknown-key-top.kg.yaml +27 -0
  201. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unknown-key/manifest.json +62 -0
  202. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unknown-key/valid-x-prefixed-key.kg.yaml +30 -0
  203. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/form/unknown-key/warn-x-prefixed-non-slug-key.kg.yaml +27 -0
  204. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/manifest.json +79 -0
  205. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/valid-decision-superseded-untraced.kg.yaml +22 -0
  206. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/valid-decision-trace-field.kg.yaml +23 -0
  207. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/valid-decision-traces-to.kg.yaml +22 -0
  208. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/valid-decision-with-provenance.kg.yaml +26 -0
  209. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/valid-testimony-in-dev.kg.yaml +29 -0
  210. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/valid-verified-same-year.kg.yaml +29 -0
  211. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/warn-testimony-class-in-prod.kg.yaml +29 -0
  212. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/warn-testimony-method-in-prod.kg.yaml +28 -0
  213. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/warn-untraced-decision.kg.yaml +22 -0
  214. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/coherence/warn-verified-before-fact.kg.yaml +29 -0
  215. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/external-corpus/alvo.kg.yaml +26 -0
  216. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/external-corpus/bad-corpus-target-file-missing.kg.yaml +30 -0
  217. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/external-corpus/bad-corpus-target-id-missing.kg.yaml +29 -0
  218. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/external-corpus/manifest.json +39 -0
  219. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/external-corpus/valid-corpus-target-exists.kg.yaml +29 -0
  220. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/external-local/bad-external-local-missing.kg.yaml +30 -0
  221. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/external-local/manifest.json +21 -0
  222. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/external-local/valid-external-only-link.kg.yaml +37 -0
  223. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/references/bad-dangling-from.kg.yaml +29 -0
  224. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/references/bad-dangling-to.kg.yaml +29 -0
  225. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/references/bad-duplicate-id.kg.yaml +36 -0
  226. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/references/bad-orphan-node.kg.yaml +33 -0
  227. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/references/manifest.json +51 -0
  228. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/references/valid-chain.kg.yaml +36 -0
  229. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/references/valid-node-touched-only-as-target.kg.yaml +36 -0
  230. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/trigger/bad-dangling-trigger.kg.yaml +24 -0
  231. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/trigger/manifest.json +21 -0
  232. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/integrity/trigger/valid-trigger-references-event.kg.yaml +31 -0
  233. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/numbers/bad-float-1e20.kg.json +39 -0
  234. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/numbers/bad-impact-unsafe-integer.kg.json +38 -0
  235. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/numbers/bad-infinity-1e400.kg.json +38 -0
  236. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/numbers/bad-integer-2-53.kg.json +39 -0
  237. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/numbers/bad-integer-401-digits.kg.json +39 -0
  238. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/numbers/manifest.json +54 -0
  239. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/numbers/valid-integer-max-safe.kg.json +39 -0
  240. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-comment.kg.json +39 -0
  241. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-depth-129.kg.json +39 -0
  242. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-double-bom.kg.json +38 -0
  243. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-duplicate-in-depth-129.kg.json +41 -0
  244. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-duplicate-key-escaped.kg.json +40 -0
  245. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-duplicate-key.kg.json +40 -0
  246. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-duplicate-then-syntax.kg.json +40 -0
  247. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-empty.kg.json +0 -0
  248. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-lone-surrogate-key.kg.json +39 -0
  249. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-lone-surrogate-value.kg.json +39 -0
  250. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-nan.kg.json +39 -0
  251. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-nbsp-outside.kg.json +38 -0
  252. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-only-rfc-whitespace.kg.json +2 -0
  253. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-only-x1c.kg.json +1 -0
  254. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-single-quotes.kg.json +39 -0
  255. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-trailing-comma.kg.json +38 -0
  256. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/bad-unquoted-key.kg.json +39 -0
  257. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/manifest.json +185 -0
  258. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/valid-bom.kg.json +38 -0
  259. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/valid-depth-128.kg.json +39 -0
  260. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/valid-long-key.kg.json +39 -0
  261. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/valid-minimal.kg.json +38 -0
  262. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/valid-rfc-whitespace.kg.json +40 -0
  263. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/valid-surrogate-pair.kg.json +39 -0
  264. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/json/profile/valid-tab-indent.kg.json +38 -0
  265. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/bad-comment-only.kg.yaml +1 -0
  266. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/bad-empty-file.kg.yaml +0 -0
  267. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/bad-null-document.kg.yaml +1 -0
  268. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/bad-null-scalar.kg.yaml +1 -0
  269. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/bad-root-is-list.kg.yaml +1 -0
  270. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/bad-two-documents.kg.yaml +49 -0
  271. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/bad-yaml-syntax.yaml +4 -0
  272. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/manifest.json +69 -0
  273. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/parse/document/valid-sequence-zero-indent.kg.yaml +26 -0
  274. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-confidence-inf.kg.yaml +26 -0
  275. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-confidence-nan.kg.yaml +26 -0
  276. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-date-not-in-calendar.kg.yaml +27 -0
  277. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-meta-nan.kg.yaml +24 -0
  278. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-node-item-nan.kg.yaml +27 -0
  279. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-provenance-source-nan.kg.yaml +26 -0
  280. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-valid-from-month-13.kg.yaml +27 -0
  281. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-valid-from-not-in-calendar.kg.yaml +27 -0
  282. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-valid-from-year-0000.kg.yaml +27 -0
  283. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/bad-x-key-nan.kg.yaml +27 -0
  284. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/manifest.json +99 -0
  285. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/valid-valid-from-leap-day.kg.yaml +27 -0
  286. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-gap/valid-valid-from-year-0001.kg.yaml +27 -0
  287. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-profile/manifest.json +55 -0
  288. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-profile/valid-depth-128.kg.yaml +27 -0
  289. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-profile/valid-integer-max-safe.kg.yaml +27 -0
  290. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-profile/warn-depth-129.kg.yaml +27 -0
  291. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-profile/warn-float-1e20.kg.yaml +27 -0
  292. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-profile/warn-lone-surrogate.kg.yaml +27 -0
  293. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/json-profile/warn-unsafe-integer.kg.yaml +27 -0
  294. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/bad-duplicate-key-node.kg.yaml +27 -0
  295. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/bad-edge-on-key.kg.yaml +27 -0
  296. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/bad-key-collision-json.kg.yaml +27 -0
  297. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/bad-merge-key-is-plain-key.kg.yaml +27 -0
  298. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/bad-null-document-plus-graph.kg.yaml +28 -0
  299. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/manifest.json +89 -0
  300. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/valid-label-sexagesimal.kg.yaml +26 -0
  301. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/valid-label-yes.kg.yaml +26 -0
  302. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/warn-date-unquoted.kg.yaml +27 -0
  303. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/warn-unquoted-date-as-key.kg.yaml +27 -0
  304. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/latest/yaml/profile/warn-unquoted-invalid-date.yaml +27 -0
  305. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/bad-refutes-confirmed.kg.yaml +36 -0
  306. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/manifest.json +193 -0
  307. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-answered-question-done.kg.yaml +26 -0
  308. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-decision-done-in-prod.kg.yaml +42 -0
  309. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-domain-complete.kg.yaml +75 -0
  310. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-fresh-after-baseline.kg.yaml +29 -0
  311. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-fresh-verified-against.kg.yaml +42 -0
  312. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-refutes-refuted.kg.yaml +36 -0
  313. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-refutes-superseded.kg.yaml +36 -0
  314. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-supersedes-open-superseder.kg.yaml +36 -0
  315. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-supersedes-reconciled.kg.yaml +36 -0
  316. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/valid-testimony-marked.kg.yaml +29 -0
  317. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-answered-question-open.kg.yaml +26 -0
  318. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-decision-done-in-dev.kg.yaml +36 -0
  319. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-domain-absorbing-state.kg.yaml +71 -0
  320. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-domain-event-without-effect.kg.yaml +86 -0
  321. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-domain-multiple-sources.kg.yaml +86 -0
  322. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-domain-rule-without-trace.kg.yaml +75 -0
  323. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-domain-state-without-owner.kg.yaml +72 -0
  324. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-review-overdue.kg.yaml +27 -0
  325. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-stale-missing-plane-prod.kg.yaml +26 -0
  326. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-stale-missing-verified-against.kg.yaml +41 -0
  327. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-stale-old.kg.yaml +29 -0
  328. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-supersedes-unreconciled.kg.yaml +40 -0
  329. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/optional/semantic/warn-testimony-unmarked.kg.yaml +28 -0
  330. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/fixtures/proposals/.gitkeep +0 -0
  331. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/manifest.schema.json +53 -0
  332. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/metaschema-tests/bad/code-outside-pattern.json +21 -0
  333. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/metaschema-tests/bad/extra-key-in-case.json +22 -0
  334. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/metaschema-tests/bad/file-plain-json.json +13 -0
  335. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/metaschema-tests/bad/valid-false-without-code.json +19 -0
  336. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/metaschema-tests/bad/valid-true-with-code.json +23 -0
  337. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/metaschema-tests/good/example-group.json +19 -0
  338. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/metaschema-tests/good/json-case.json +21 -0
  339. kg_ssot-4.9.0/src/kg_ssot/spec/conformance/metaschema-tests/good/valid-with-warning.json +24 -0
  340. kg_ssot-4.9.0/src/kg_ssot/spec/kg-contract-v4.schema.json +490 -0
  341. kg_ssot-4.9.0/src/kg_ssot/spec/kg-contract-v4.should.schema.json +116 -0
  342. kg_ssot-4.9.0/src/kg_ssot/spec/release.json +57 -0
  343. kg_ssot-4.9.0/src/kg_ssot/spec/verdict.schema.json +72 -0
kg_ssot-4.9.0/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
kg_ssot-4.9.0/NOTICE ADDED
@@ -0,0 +1,12 @@
1
+ KG-SSOT — contrato formal do .kg.yaml e do .kg.json, suíte de conformidade e kit de adoção
2
+ Copyright 2026 Marcio Carvalho
3
+
4
+ Licenciado sob a Apache License, Version 2.0 (ver o arquivo LICENSE).
5
+
6
+ Escopo: este LICENSE e este NOTICE cobrem os arquivos que a release leva, listados em spec/release.json:
7
+ o contrato (os JSON Schemas em spec/), a suíte de conformidade (spec/conformance/, inclusive os casos
8
+ .kg.yaml e .kg.json, os manifestos e os metaschema-tests), o kit em tools/ (leitor de referência, runner da suíte,
9
+ gate, vendor, armazém, servidor MCP, exportador PROV-O e o leitor JS em tools/runners/ajv/), as receitas dos pacotes
10
+ em packaging/ (PyPI, npm e MCPB), o README.md, o ADOPTING.md, os llms.txt e o manual em docs/manual/. Os pacotes kg-ssot
11
+ publicados no PyPI e no npm e o MCP Bundle saem desses arquivos e seguem a mesma licença. Os casos .kg.yaml da suíte são parte do contrato e seguem esta licença,
12
+ não uma licença de material de método.
kg_ssot-4.9.0/PKG-INFO ADDED
@@ -0,0 +1,118 @@
1
+ Metadata-Version: 2.5
2
+ Name: kg-ssot
3
+ Version: 4.9.0
4
+ Summary: Contrato formal do grafo de conhecimento verificável (.kg.yaml e .kg.json): leitor de referência, suíte de conformidade, gate por grafo, armazém e servidor MCP.
5
+ Project-URL: Homepage, https://github.com/marciocar/kg-ssot
6
+ Project-URL: Documentation, https://github.com/marciocar/kg-ssot/tree/main/docs/manual
7
+ Project-URL: Source, https://github.com/marciocar/kg-ssot
8
+ Project-URL: Issues, https://github.com/marciocar/kg-ssot/issues
9
+ Project-URL: Releases, https://github.com/marciocar/kg-ssot/tags
10
+ Author: Marcio Carvalho
11
+ License-Expression: Apache-2.0
12
+ License-File: LICENSE
13
+ License-File: NOTICE
14
+ Keywords: audit,conformance,json,json-schema,knowledge-graph,mcp,provenance,verifiable,yaml
15
+ Classifier: Development Status :: 4 - Beta
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Intended Audience :: Information Technology
18
+ Classifier: Natural Language :: Portuguese (Brazilian)
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Topic :: Software Development :: Quality Assurance
26
+ Classifier: Topic :: Software Development :: Testing
27
+ Classifier: Topic :: Text Processing :: Markup
28
+ Requires-Python: >=3.11
29
+ Requires-Dist: jsonschema>=4.23
30
+ Requires-Dist: pyyaml>=6.0.2
31
+ Description-Content-Type: text/markdown
32
+
33
+ # KG-SSOT
34
+
35
+ <!-- mcp-name: io.github.marciocar/kg-ssot -->
36
+
37
+ **O grafo de conhecimento verificável: toda afirmação diz de onde veio, quando foi conferida e o que depende dela,
38
+ e o CI recusa a que não diz.**
39
+
40
+ Este pacote traz o contrato formal do KG-SSOT e as ferramentas que o aplicam:
41
+ - o **leitor de referência**, que julga um grafo `.kg.yaml` ou `.kg.json` contra o contrato, nos níveis MUST, que
42
+ reprova, e SHOULD, que alerta;
43
+ - a **suíte de conformidade**, em dados puros, que todo leitor tem de passar;
44
+ - o **gate por grafo** para o CI, com catraca: a dívida que já existe fica nomeada e não pode piorar;
45
+ - o **armazém**, que só grava o que passa no contrato;
46
+ - o **servidor MCP de referência**, que dá o contrato e o armazém a um modelo, por stdio ou por HTTP local;
47
+ - o **exportador de proveniência** para PROV-O em JSON-LD.
48
+
49
+ O contrato, a suíte e o schema do veredito viajam dentro do pacote, e o leitor não depende de nenhum harness de
50
+ agente. Python 3.11 ou mais, com PyYAML e jsonschema.
51
+
52
+ ## Instalar
53
+
54
+ ```bash
55
+ pip install kg-ssot
56
+ ```
57
+
58
+ Para usar os comandos sem instalar no seu ambiente, use `pipx install kg-ssot` ou `uvx --from kg-ssot kg-validate`.
59
+
60
+ ## Validar um grafo
61
+
62
+ ```bash
63
+ kg-validate grafo.kg.yaml outro.kg.json
64
+ ```
65
+
66
+ ```text
67
+ PASSA grafo.kg.yaml
68
+ REPROVA outro.kg.json
69
+ MUST form.range.node.impact ×1 · integrity.orphan-node ×1
70
+ · 2 arquivos; 1 passam no MUST; 0 com aviso SHOULD (kg-contract-v4.schema.json + kg-contract-v4.should.schema.json)
71
+ ```
72
+
73
+ O rc é 0 quando todos passam no MUST e 1 quando algum reprova. Alguns modos úteis:
74
+ - `kg-validate --where` mostra o nó ou a aresta de cada ocorrência e, numa ocorrência MUST, a correção logo abaixo;
75
+ - `kg-validate --format json` devolve o veredito estruturado, com código, caminho, linha, mensagem e dica, no
76
+ formato versionado `kg-ssot.verdict/1`.
77
+
78
+ ## Os comandos
79
+
80
+ | Comando | O que faz |
81
+ |---|---|
82
+ | `kg-validate` | Julga grafos `.kg.yaml` e `.kg.json` contra o contrato vigente |
83
+ | `kg-conformance` | Roda a suíte de conformidade que vem no pacote contra o leitor de referência |
84
+ | `kg-gate` | Gate por grafo para o CI: grava uma linha de base (`--update`) e reprova se algo piorar |
85
+ | `kg-store` | Armazém em disco, git ou versionado, que só grava o que passa no contrato |
86
+ | `kg-mcp` (e o atalho `kg-ssot`) | Servidor MCP de referência (stdio, ou `--http` em loopback), com as ferramentas `kg_validate`, `kg_write`, `kg_get`, `kg_list`, `kg_history`, `kg_delete` e `kg_schema_help` |
87
+ | `kg-prov-export` | Exporta a proveniência de cada nó como `prov:Entity` e `prov:Derivation` em JSON-LD |
88
+
89
+ Como biblioteca, os módulos ficam em `kg_ssot`: `kg_ssot.kg_validate`, `kg_ssot.kg_store`, `kg_ssot.kg_mcp` e os
90
+ demais.
91
+
92
+ ## O servidor MCP
93
+
94
+ ```bash
95
+ kg-mcp --root ./grafos --init
96
+ uvx kg-ssot --root ./grafos --init # o mesmo servidor, sem instalar: kg-ssot é um atalho para kg-mcp
97
+ ```
98
+
99
+ O servidor fala MCP por stdio. Com `--http PORTA`, ele serve HTTP só em loopback, sem autenticação nem TLS: é para
100
+ uso local. Para um servidor exposto, ponha um proxy com autenticação na frente.
101
+
102
+ ## Pacote ou vendor
103
+
104
+ O pacote é o caminho para usar o leitor como biblioteca, como comando ou como servidor MCP. Para o gate no CI de um
105
+ repositório, o canal recomendado continua o **vendor por tag**: o `kg_vendor.py` traz a release para dentro do seu
106
+ repositório, com o sha256 de cada arquivo conferido. Assim o contrato que julga o seu grafo fica no seu diff. O
107
+ [guia de adoção](https://github.com/marciocar/kg-ssot/blob/main/ADOPTING.md) explica os dois caminhos.
108
+
109
+ ## Documentação
110
+
111
+ - [Manual](https://github.com/marciocar/kg-ssot/tree/main/docs/manual): o formato, o contrato, as ferramentas, a adoção e os problemas comuns
112
+ - [Guia de adoção](https://github.com/marciocar/kg-ssot/blob/main/ADOPTING.md)
113
+ - [Suíte de conformidade](https://github.com/marciocar/kg-ssot/blob/main/spec/conformance/README.md)
114
+ - [Para agentes de IA (llms.txt)](https://github.com/marciocar/kg-ssot/blob/main/llms.txt)
115
+
116
+ ## Licença
117
+
118
+ Apache-2.0. Veja `LICENSE` e `NOTICE`.
@@ -0,0 +1,86 @@
1
+ # KG-SSOT
2
+
3
+ <!-- mcp-name: io.github.marciocar/kg-ssot -->
4
+
5
+ **O grafo de conhecimento verificável: toda afirmação diz de onde veio, quando foi conferida e o que depende dela,
6
+ e o CI recusa a que não diz.**
7
+
8
+ Este pacote traz o contrato formal do KG-SSOT e as ferramentas que o aplicam:
9
+ - o **leitor de referência**, que julga um grafo `.kg.yaml` ou `.kg.json` contra o contrato, nos níveis MUST, que
10
+ reprova, e SHOULD, que alerta;
11
+ - a **suíte de conformidade**, em dados puros, que todo leitor tem de passar;
12
+ - o **gate por grafo** para o CI, com catraca: a dívida que já existe fica nomeada e não pode piorar;
13
+ - o **armazém**, que só grava o que passa no contrato;
14
+ - o **servidor MCP de referência**, que dá o contrato e o armazém a um modelo, por stdio ou por HTTP local;
15
+ - o **exportador de proveniência** para PROV-O em JSON-LD.
16
+
17
+ O contrato, a suíte e o schema do veredito viajam dentro do pacote, e o leitor não depende de nenhum harness de
18
+ agente. Python 3.11 ou mais, com PyYAML e jsonschema.
19
+
20
+ ## Instalar
21
+
22
+ ```bash
23
+ pip install kg-ssot
24
+ ```
25
+
26
+ Para usar os comandos sem instalar no seu ambiente, use `pipx install kg-ssot` ou `uvx --from kg-ssot kg-validate`.
27
+
28
+ ## Validar um grafo
29
+
30
+ ```bash
31
+ kg-validate grafo.kg.yaml outro.kg.json
32
+ ```
33
+
34
+ ```text
35
+ PASSA grafo.kg.yaml
36
+ REPROVA outro.kg.json
37
+ MUST form.range.node.impact ×1 · integrity.orphan-node ×1
38
+ · 2 arquivos; 1 passam no MUST; 0 com aviso SHOULD (kg-contract-v4.schema.json + kg-contract-v4.should.schema.json)
39
+ ```
40
+
41
+ O rc é 0 quando todos passam no MUST e 1 quando algum reprova. Alguns modos úteis:
42
+ - `kg-validate --where` mostra o nó ou a aresta de cada ocorrência e, numa ocorrência MUST, a correção logo abaixo;
43
+ - `kg-validate --format json` devolve o veredito estruturado, com código, caminho, linha, mensagem e dica, no
44
+ formato versionado `kg-ssot.verdict/1`.
45
+
46
+ ## Os comandos
47
+
48
+ | Comando | O que faz |
49
+ |---|---|
50
+ | `kg-validate` | Julga grafos `.kg.yaml` e `.kg.json` contra o contrato vigente |
51
+ | `kg-conformance` | Roda a suíte de conformidade que vem no pacote contra o leitor de referência |
52
+ | `kg-gate` | Gate por grafo para o CI: grava uma linha de base (`--update`) e reprova se algo piorar |
53
+ | `kg-store` | Armazém em disco, git ou versionado, que só grava o que passa no contrato |
54
+ | `kg-mcp` (e o atalho `kg-ssot`) | Servidor MCP de referência (stdio, ou `--http` em loopback), com as ferramentas `kg_validate`, `kg_write`, `kg_get`, `kg_list`, `kg_history`, `kg_delete` e `kg_schema_help` |
55
+ | `kg-prov-export` | Exporta a proveniência de cada nó como `prov:Entity` e `prov:Derivation` em JSON-LD |
56
+
57
+ Como biblioteca, os módulos ficam em `kg_ssot`: `kg_ssot.kg_validate`, `kg_ssot.kg_store`, `kg_ssot.kg_mcp` e os
58
+ demais.
59
+
60
+ ## O servidor MCP
61
+
62
+ ```bash
63
+ kg-mcp --root ./grafos --init
64
+ uvx kg-ssot --root ./grafos --init # o mesmo servidor, sem instalar: kg-ssot é um atalho para kg-mcp
65
+ ```
66
+
67
+ O servidor fala MCP por stdio. Com `--http PORTA`, ele serve HTTP só em loopback, sem autenticação nem TLS: é para
68
+ uso local. Para um servidor exposto, ponha um proxy com autenticação na frente.
69
+
70
+ ## Pacote ou vendor
71
+
72
+ O pacote é o caminho para usar o leitor como biblioteca, como comando ou como servidor MCP. Para o gate no CI de um
73
+ repositório, o canal recomendado continua o **vendor por tag**: o `kg_vendor.py` traz a release para dentro do seu
74
+ repositório, com o sha256 de cada arquivo conferido. Assim o contrato que julga o seu grafo fica no seu diff. O
75
+ [guia de adoção](https://github.com/marciocar/kg-ssot/blob/main/ADOPTING.md) explica os dois caminhos.
76
+
77
+ ## Documentação
78
+
79
+ - [Manual](https://github.com/marciocar/kg-ssot/tree/main/docs/manual): o formato, o contrato, as ferramentas, a adoção e os problemas comuns
80
+ - [Guia de adoção](https://github.com/marciocar/kg-ssot/blob/main/ADOPTING.md)
81
+ - [Suíte de conformidade](https://github.com/marciocar/kg-ssot/blob/main/spec/conformance/README.md)
82
+ - [Para agentes de IA (llms.txt)](https://github.com/marciocar/kg-ssot/blob/main/llms.txt)
83
+
84
+ ## Licença
85
+
86
+ Apache-2.0. Veja `LICENSE` e `NOTICE`.
@@ -0,0 +1,52 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "kg-ssot"
7
+ version = "4.9.0"
8
+ description = "Contrato formal do grafo de conhecimento verificável (.kg.yaml e .kg.json): leitor de referência, suíte de conformidade, gate por grafo, armazém e servidor MCP."
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = "Apache-2.0"
12
+ license-files = ["LICENSE", "NOTICE"]
13
+ authors = [{ name = "Marcio Carvalho" }]
14
+ keywords = ["knowledge-graph", "provenance", "json-schema", "conformance", "yaml", "json", "mcp", "verifiable", "audit"]
15
+ classifiers = [
16
+ "Development Status :: 4 - Beta",
17
+ "Intended Audience :: Developers",
18
+ "Intended Audience :: Information Technology",
19
+ "Natural Language :: Portuguese (Brazilian)",
20
+ "Operating System :: OS Independent",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3 :: Only",
23
+ "Programming Language :: Python :: 3.11",
24
+ "Programming Language :: Python :: 3.12",
25
+ "Programming Language :: Python :: 3.13",
26
+ "Topic :: Software Development :: Quality Assurance",
27
+ "Topic :: Software Development :: Testing",
28
+ "Topic :: Text Processing :: Markup",
29
+ ]
30
+ dependencies = ["PyYAML>=6.0.2", "jsonschema>=4.23"]
31
+
32
+ [project.urls]
33
+ Homepage = "https://github.com/marciocar/kg-ssot"
34
+ Documentation = "https://github.com/marciocar/kg-ssot/tree/main/docs/manual"
35
+ Source = "https://github.com/marciocar/kg-ssot"
36
+ Issues = "https://github.com/marciocar/kg-ssot/issues"
37
+ Releases = "https://github.com/marciocar/kg-ssot/tags"
38
+
39
+ [project.scripts]
40
+ kg-ssot = "kg_ssot.kg_mcp:main"
41
+ kg-validate = "kg_ssot.kg_validate:main"
42
+ kg-conformance = "kg_ssot.kg_conformance:main"
43
+ kg-gate = "kg_ssot.kg_gate:main"
44
+ kg-store = "kg_ssot.kg_store:main"
45
+ kg-mcp = "kg_ssot.kg_mcp:main"
46
+ kg-prov-export = "kg_ssot.kg_prov_export:main"
47
+
48
+ [tool.hatch.build.targets.wheel]
49
+ packages = ["src/kg_ssot"]
50
+
51
+ [tool.hatch.build.targets.sdist]
52
+ include = ["src/kg_ssot", "README.md", "LICENSE", "NOTICE", "pyproject.toml"]
@@ -0,0 +1,7 @@
1
+ """KG-SSOT: o contrato formal do grafo de conhecimento verificável.
2
+
3
+ Os módulos são os do kit de adoção (kg_validate, kg_conformance, kg_gate, kg_store, kg_mcp, kg_prov_export), e o
4
+ contrato, a suíte e o schema do veredito ficam em kg_ssot/spec. Os comandos kg-validate, kg-conformance, kg-gate,
5
+ kg-store, kg-mcp e kg-prov-export são os mesmos scripts do kit. Manual: https://github.com/marciocar/kg-ssot/tree/main/docs/manual
6
+ """
7
+ __version__ = "4.9.0"