ssot-contracts 0.2.26.dev1__tar.gz → 0.3.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 (119) hide show
  1. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/PKG-INFO +4 -5
  2. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/README.md +1 -1
  3. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/pyproject.toml +4 -4
  4. ssot_contracts-0.3.0/src/ssot_contracts/schema/registry.schema.json +1 -0
  5. ssot_contracts-0.3.0/src/ssot_contracts/schema/workspace.catalog.schema.json +1 -0
  6. ssot_contracts-0.3.0/src/ssot_contracts/schema/workspace.proof.schema.json +1 -0
  7. ssot_contracts-0.3.0/src/ssot_contracts/schema/workspace.schema.json +1 -0
  8. ssot_contracts-0.3.0/src/ssot_contracts/workspace_formats.py +9 -0
  9. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts.egg-info/PKG-INFO +4 -5
  10. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts.egg-info/SOURCES.txt +4 -1
  11. ssot_contracts-0.2.26.dev1/src/ssot_contracts/schema/registry.schema.json +0 -1
  12. ssot_contracts-0.2.26.dev1/src/ssot_contracts.egg-info/requires.txt +0 -3
  13. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/setup.cfg +0 -0
  14. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/__init__.py +0 -0
  15. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/contract_data.py +0 -0
  16. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/generated/__init__.py +0 -0
  17. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/generated/python/__init__.py +0 -0
  18. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/generated/python/cli_metadata.py +0 -0
  19. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/generated/python/enums.py +0 -0
  20. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/generated/python/ids.py +0 -0
  21. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/generated/python/tui_metadata.py +0 -0
  22. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/__init__.py +0 -0
  23. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/adr.schema.json +0 -0
  24. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/boundary.snapshot.schema.json +0 -0
  25. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/certification.report.schema.json +0 -0
  26. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/graph.export.schema.json +0 -0
  27. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/published.snapshot.schema.json +0 -0
  28. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/release.snapshot.schema.json +0 -0
  29. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/spec.schema.json +0 -0
  30. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/schema/validation.report.schema.json +0 -0
  31. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/__init__.py +0 -0
  32. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0600-canonical-json-registry.yaml +0 -0
  33. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0601-features-are-targetable-units.yaml +0 -0
  34. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0602-issues-are-plannable-work-items.yaml +0 -0
  35. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0603-entity-centric-registry-derived-graph.yaml +0 -0
  36. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0604-normalized-prefixed-ids.yaml +0 -0
  37. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0605-claim-status-vs-tier.yaml +0 -0
  38. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0606-feature-implementation-vs-lifecycle.yaml +0 -0
  39. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0607-immutable-boundary-and-release-snapshots.yaml +0 -0
  40. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0608-fail-closed-guards.yaml +0 -0
  41. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0609-generated-projections-are-non-canonical.yaml +0 -0
  42. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0610-explicit-schema-versioning.yaml +0 -0
  43. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0611-portable-core-repo-specific-evidence-adapters.yaml +0 -0
  44. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0612-ssot-path-and-filename-length-limits.yaml +0 -0
  45. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0613-profiles-as-reusable-feature-bundles.yaml +0 -0
  46. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0614-specs-own-typed-adr-links.yaml +0 -0
  47. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0615-downstream-assurance-language-ceilings.yaml +0 -0
  48. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0616-out-of-bounds-implementation-disposition.yaml +0 -0
  49. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0617-feature-implementation-claim-ceilings.yaml +0 -0
  50. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0618-local-release-assurance-remains-ssot-native.yaml +0 -0
  51. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0619-content-addressed-governed-source-snapshots.yaml +0 -0
  52. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0620-local-evidence-bundles-are-derived-release-artifacts.yaml +0 -0
  53. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0621-general-rules-of-interpretation.yaml +0 -0
  54. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0622-definitions-govern-ssot-vocabulary.yaml +0 -0
  55. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0625-claim-tier-gates-and-core-promotion.yaml +0 -0
  56. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0626-externally-authored-validation-as-t4.yaml +0 -0
  57. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0627-feature-parent-links-are-inventory-composition.yaml +0 -0
  58. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0628-ssot-mcp-cli-surface-delegation.yaml +0 -0
  59. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0629-ssot-mcp-worker-repair-authority.yaml +0 -0
  60. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0630-scoped-maturation-claims-and-blockers.yaml +0 -0
  61. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0631-mcp-mediated-upgrade-uses-current-runtime.yaml +0 -0
  62. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0632-targeted-repair-with-baseline-validation-drift.yaml +0 -0
  63. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0633-public-registry-save-validates-before-write.yaml +0 -0
  64. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0634-proof-graph-canonical-assurance-unit.yaml +0 -0
  65. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0635-proof-graph-materialization-and-certification-closure.yaml +0 -0
  66. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0636-feature-create-defaults-to-proof-graph-scaffolding.yaml +0 -0
  67. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0637-pack-schema-compatibility-is-forward-only.yaml +0 -0
  68. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0640-evidence-owns-proof-linkage.yaml +0 -0
  69. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/ADR-0641-lineage-html-open-cli-side-effect.yaml +0 -0
  70. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/__init__.py +0 -0
  71. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/adr/manifest.json +0 -0
  72. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/registry.full.json +0 -0
  73. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/registry.minimal.json +0 -0
  74. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0600-registry-core.yaml +0 -0
  75. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0601-cli.yaml +0 -0
  76. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0602-graph-model.yaml +0 -0
  77. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0603-feature-lifecycle.yaml +0 -0
  78. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0604-claim-statuses.yaml +0 -0
  79. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0605-claim-tiers.yaml +0 -0
  80. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0606-snapshots-and-reports.yaml +0 -0
  81. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0607-repo-policy.yaml +0 -0
  82. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0608-gates-and-fences.yaml +0 -0
  83. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0609-id-normalization.yaml +0 -0
  84. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0610-file-tree.yaml +0 -0
  85. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0611-planning-horizons.yaml +0 -0
  86. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0612-python-api.yaml +0 -0
  87. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0613-ssot-path-length-policy.yaml +0 -0
  88. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0614-profile-evaluation-and-boundary-resolution.yaml +0 -0
  89. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0615-typed-spec-to-adr-linking.yaml +0 -0
  90. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0616-out-of-bounds-implementation-disposition.yaml +0 -0
  91. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0617-feature-implementation-claim-ceilings.yaml +0 -0
  92. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0618-local-release-assurance-candidate-scope.yaml +0 -0
  93. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0619-governed-source-snapshot-contract.yaml +0 -0
  94. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0620-local-evidence-bundle-contract.yaml +0 -0
  95. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0621-output-artifact-manifest-contract.yaml +0 -0
  96. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0622-local-release-verification-and-gate-contract.yaml +0 -0
  97. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0623-general-rules-of-interpretation.yaml +0 -0
  98. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0624-ssot-definitions.yaml +0 -0
  99. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0625-claim-tier-gates.yaml +0 -0
  100. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0626-external-validation-evidence.yaml +0 -0
  101. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0627-feature-parent-link-contract.yaml +0 -0
  102. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0628-feature-parent-cli-contract.yaml +0 -0
  103. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0629-ssot-mcp-cli-surface-contract.yaml +0 -0
  104. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0630-ssot-mcp-registry-repair-authority.yaml +0 -0
  105. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0631-scoped-maturation-blocker-contract.yaml +0 -0
  106. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0632-mcp-upgrade-delegation-contract.yaml +0 -0
  107. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0633-targeted-scaffold-repair-contract.yaml +0 -0
  108. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0634-worker-actionability-and-repair-loop.yaml +0 -0
  109. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0635-registry-save-validation-contract.yaml +0 -0
  110. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0636-proof-graph-assurance-contract.yaml +0 -0
  111. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0637-proof-graph-materialization-and-certification-flow.yaml +0 -0
  112. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0638-feature-create-default-proof-scaffold-contract.yaml +0 -0
  113. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0639-forward-only-pack-schema-compatibility-contract.yaml +0 -0
  114. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0640-evidence-centered-proof-link-contract.yaml +0 -0
  115. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/SPEC-0641-lineage-graph-html-open-flag-contract.yaml +0 -0
  116. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/__init__.py +0 -0
  117. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts/templates/specs/manifest.json +0 -0
  118. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts.egg-info/dependency_links.txt +0 -0
  119. {ssot_contracts-0.2.26.dev1 → ssot_contracts-0.3.0}/src/ssot_contracts.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ssot-contracts
3
- Version: 0.2.26.dev1
3
+ Version: 0.3.0
4
4
  Summary: Canonical schemas, templates, manifests, and generated Python contract artifacts for SSOT.
5
5
  Author-email: Jacob Stewart <jacob@swarmauri.com>
6
6
  License-Expression: Apache-2.0
@@ -16,20 +16,19 @@ Classifier: Intended Audience :: Developers
16
16
  Classifier: Operating System :: OS Independent
17
17
  Classifier: Programming Language :: Python :: 3
18
18
  Classifier: Programming Language :: Python :: 3 :: Only
19
- Classifier: Programming Language :: Python :: 3.10
20
19
  Classifier: Programming Language :: Python :: 3.11
21
20
  Classifier: Programming Language :: Python :: 3.12
22
21
  Classifier: Programming Language :: Python :: 3.13
23
22
  Classifier: Programming Language :: Python :: 3.14
23
+ Classifier: Programming Language :: Python :: 3.15
24
24
  Classifier: Topic :: File Formats :: JSON
25
25
  Classifier: Topic :: File Formats :: JSON :: JSON Schema
26
26
  Classifier: Topic :: Software Development :: Documentation
27
27
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
28
  Classifier: Topic :: Software Development :: Quality Assurance
29
29
  Classifier: Topic :: Utilities
30
- Requires-Python: <3.15,>=3.10
30
+ Requires-Python: <3.16,>=3.11
31
31
  Description-Content-Type: text/markdown
32
- Requires-Dist: tomli>=2.0.1; python_version < "3.11"
33
32
 
34
33
  <div align="center">
35
34
  <h1>🔷 ssot-contracts</h1>
@@ -161,7 +160,7 @@ These modules provide shared constants such as output formats, entity section la
161
160
  ## Package relationships
162
161
 
163
162
  - Package type: artifact and contract package
164
- - Depends on: standard library only, plus `tomli` on Python earlier than 3.11
163
+ - Depends on: Python standard library
165
164
  - Consumed by: [ssot-registry](https://pypi.org/project/ssot-registry/), [ssot-cli](https://pypi.org/project/ssot-cli/), [ssot-conformance](https://pypi.org/project/ssot-conformance/), [ssot-tui](https://pypi.org/project/ssot-tui/), [ssot-views](https://pypi.org/project/ssot-views/), [ssot-codegen](https://pypi.org/project/ssot-codegen/)
166
165
 
167
166
  If you need the canonical packaged schemas and manifests, install this package. It is the lowest-level reusable contract layer in the workspace.
@@ -128,7 +128,7 @@ These modules provide shared constants such as output formats, entity section la
128
128
  ## Package relationships
129
129
 
130
130
  - Package type: artifact and contract package
131
- - Depends on: standard library only, plus `tomli` on Python earlier than 3.11
131
+ - Depends on: Python standard library
132
132
  - Consumed by: [ssot-registry](https://pypi.org/project/ssot-registry/), [ssot-cli](https://pypi.org/project/ssot-cli/), [ssot-conformance](https://pypi.org/project/ssot-conformance/), [ssot-tui](https://pypi.org/project/ssot-tui/), [ssot-views](https://pypi.org/project/ssot-views/), [ssot-codegen](https://pypi.org/project/ssot-codegen/)
133
133
 
134
134
  If you need the canonical packaged schemas and manifests, install this package. It is the lowest-level reusable contract layer in the workspace.
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ssot-contracts"
7
- version = "0.2.26.dev1"
7
+ version = "0.3.0"
8
8
  description = "Canonical schemas, templates, manifests, and generated Python contract artifacts for SSOT."
9
9
  readme = "README.md"
10
- requires-python = ">=3.10,<3.15"
10
+ requires-python = ">=3.11,<3.16"
11
11
  license = "Apache-2.0"
12
12
  authors = [{ name = "Jacob Stewart", email = "jacob@swarmauri.com" }]
13
- dependencies = ["tomli>=2.0.1; python_version < '3.11'"]
13
+ dependencies = []
14
14
  keywords = ["ssot", "contracts", "schema", "json-schema", "templates", "manifests", "registry"]
15
15
  classifiers = [
16
16
  "Development Status :: 3 - Alpha",
@@ -20,11 +20,11 @@ classifiers = [
20
20
  "Operating System :: OS Independent",
21
21
  "Programming Language :: Python :: 3",
22
22
  "Programming Language :: Python :: 3 :: Only",
23
- "Programming Language :: Python :: 3.10",
24
23
  "Programming Language :: Python :: 3.11",
25
24
  "Programming Language :: Python :: 3.12",
26
25
  "Programming Language :: Python :: 3.13",
27
26
  "Programming Language :: Python :: 3.14",
27
+ "Programming Language :: Python :: 3.15",
28
28
  "Topic :: File Formats :: JSON",
29
29
  "Topic :: File Formats :: JSON :: JSON Schema",
30
30
  "Topic :: Software Development :: Documentation",
@@ -0,0 +1 @@
1
+ {"$defs":{"adr":{"additionalProperties":true,"properties":{"catalog_source":{"pattern":"^(builtin|pack:[a-z0-9][a-z0-9._-]*)$","type":"string"},"content_sha256":{"pattern":"^[a-f0-9]{64}$","type":"string"},"id":{"$ref":"#/$defs/normalizedId"},"immutable":{"type":"boolean"},"managed":{"type":"boolean"},"number":{"minimum":1,"type":"integer"},"origin":{"enum":["ssot-core","ssot-origin","extension-pack","repo-local"]},"package_version":{"minLength":1,"type":"string"},"path":{"minLength":1,"type":"string"},"slug":{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","type":"string"},"source_document_id":{"$ref":"#/$defs/normalizedId"},"source_document_kind":{"enum":["adr","spec"]},"source_pack_id":{"$ref":"#/$defs/normalizedId"},"source_package_name":{"minLength":1,"type":"string"},"status":{"$ref":"#/$defs/documentStatus"},"status_notes":{"items":{"$ref":"#/$defs/statusNote"},"type":"array"},"superseded_by":{"$ref":"#/$defs/stringList"},"supersedes":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","number","slug","title","path","origin","managed","immutable","package_version","content_sha256","status","supersedes","superseded_by","status_notes"],"type":"object"},"assuranceOrigin":{"enum":["ssot-core","ssot-origin","extension-pack","repo-local"]},"boundary":{"additionalProperties":true,"properties":{"body":{"type":"string"},"feature_ids":{"$ref":"#/$defs/stringList"},"frozen":{"type":"boolean"},"id":{"$ref":"#/$defs/normalizedId"},"profile_ids":{"items":{"type":"string"},"type":"array"},"status":{"enum":["draft","active","frozen","retired"]},"title":{"minLength":1,"type":"string"},"workspace_members":{"items":{"$ref":"#/$defs/workspace_boundaryMember"},"type":"array","uniqueItems":true}},"required":["id","title","status","frozen","feature_ids","profile_ids"],"type":"object"},"claim":{"additionalProperties":true,"properties":{"body":{"type":"string"},"depends_on_claim_ids":{"$ref":"#/$defs/stringList"},"description":{"type":"string"},"evidence_ids":{"$ref":"#/$defs/stringList"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"kind":{"minLength":1,"type":"string"},"origin":{"$ref":"#/$defs/assuranceOrigin"},"status":{"enum":["proposed","declared","implemented","asserted","evidenced","certified","promoted","published","blocked","retired"]},"test_ids":{"$ref":"#/$defs/stringList"},"tier":{"enum":["T0","T1","T2","T3","T4"]},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","tier","kind","description","feature_ids","test_ids","evidence_ids","origin","depends_on_claim_ids"],"type":"object"},"documentIdReservations":{"additionalProperties":false,"properties":{"adr":{"items":{"$ref":"#/$defs/documentReservationRange"},"type":"array"},"spec":{"items":{"$ref":"#/$defs/documentReservationRange"},"type":"array"}},"required":["adr","spec"],"type":"object"},"documentReservationRange":{"additionalProperties":true,"properties":{"assignable_by_repo":{"type":"boolean"},"deletable":{"type":"boolean"},"end":{"minimum":1,"type":"integer"},"immutable":{"type":"boolean"},"owner":{"minLength":1,"type":"string"},"start":{"minimum":1,"type":"integer"}},"required":["owner","start","end","immutable","deletable","assignable_by_repo"],"type":"object"},"documentStatus":{"enum":["draft","in_review","accepted","rejected","superseded","withdrawn","retired"]},"evidence":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"kind":{"minLength":1,"type":"string"},"origin":{"$ref":"#/$defs/assuranceOrigin"},"path":{"minLength":1,"type":"string"},"status":{"enum":["planned","collected","passed","failed","stale"]},"test_ids":{"$ref":"#/$defs/stringList"},"tier":{"enum":["T0","T1","T2","T3","T4"]},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","kind","tier","path","claim_ids","test_ids","origin"],"type":"object"},"feature":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"description":{"type":"string"},"id":{"$ref":"#/$defs/normalizedId"},"implementation_status":{"enum":["absent","partial","implemented"]},"lifecycle":{"$ref":"#/$defs/featureLifecycle"},"origin":{"$ref":"#/$defs/assuranceOrigin"},"parent_feature_ids":{"$ref":"#/$defs/stringList"},"plan":{"$ref":"#/$defs/featurePlan"},"requires":{"$ref":"#/$defs/stringList"},"spec_ids":{"$ref":"#/$defs/stringList"},"test_ids":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","title","description","implementation_status","lifecycle","plan","spec_ids","claim_ids","test_ids","origin","parent_feature_ids"],"type":"object"},"featureLifecycle":{"additionalProperties":true,"properties":{"effective_release_id":{"type":["string","null"]},"note":{"type":["string","null"]},"replacement_feature_ids":{"$ref":"#/$defs/stringList"},"stage":{"enum":["active","deprecated","obsolete","removed"]}},"required":["stage","replacement_feature_ids","note"],"type":"object"},"featurePlan":{"additionalProperties":true,"properties":{"horizon":{"enum":["current","next","future","explicit","backlog","out_of_bounds"]},"out_of_bounds_disposition":{"enum":["prohibited","tolerated",null],"type":["string","null"]},"slot":{"type":["string","null"]},"target_claim_tier":{"enum":["T0","T1","T2","T3","T4",null],"type":["string","null"]},"target_lifecycle_stage":{"enum":["active","deprecated","obsolete","removed"]}},"required":["horizon","slot","target_claim_tier","target_lifecycle_stage"],"type":"object"},"guardPolicies":{"additionalProperties":true,"type":"object"},"issue":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"description":{"type":"string"},"evidence_ids":{"$ref":"#/$defs/stringList"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"plan":{"$ref":"#/$defs/issuePlan"},"release_blocking":{"type":"boolean"},"risk_ids":{"$ref":"#/$defs/stringList"},"severity":{"enum":["low","medium","high","critical"]},"status":{"enum":["open","in_progress","blocked","resolved","closed"]},"test_ids":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","severity","description","plan","feature_ids","claim_ids","test_ids","evidence_ids","risk_ids","release_blocking"],"type":"object"},"issuePlan":{"additionalProperties":true,"properties":{"horizon":{"enum":["current","next","future","explicit","backlog","out_of_bounds"]},"slot":{"type":["string","null"]}},"required":["horizon","slot"],"type":"object"},"managedDocs":{"properties":{"catalog_registry_id":{"pattern":"^repo:[a-z0-9][a-z0-9._-]*$","type":"string"},"mode":{"enum":["shared","local"]},"source_locks":{"additionalProperties":{"pattern":"^(sha256:)?[a-f0-9]{64}$","type":"string"},"propertyNames":{"pattern":"^(builtin|pack:[a-z0-9][a-z0-9._-]*)$","type":"string"},"type":"object"}},"required":["mode","catalog_registry_id","source_locks"],"type":"object"},"normalizedId":{"maxLength":128,"pattern":"^[a-z][a-z0-9-]*:[a-z0-9][a-z0-9._-]*$","type":"string"},"paths":{"additionalProperties":true,"properties":{"adr_root":{"minLength":1,"type":"string"},"cache_root":{"minLength":1,"type":"string"},"evidence_root":{"minLength":1,"type":"string"},"graph_root":{"minLength":1,"type":"string"},"release_root":{"minLength":1,"type":"string"},"report_root":{"minLength":1,"type":"string"},"schema_root":{"minLength":1,"type":"string"},"spec_root":{"minLength":1,"type":"string"},"ssot_root":{"minLength":1,"type":"string"}},"required":["ssot_root","schema_root","adr_root","spec_root","graph_root","evidence_root","release_root","report_root","cache_root"],"type":"object"},"profile":{"additionalProperties":false,"properties":{"body":{"type":"string"},"claim_tier":{"enum":["T0","T1","T2","T3","T4",null],"type":["string","null"]},"description":{"type":"string"},"evaluation":{"additionalProperties":false,"properties":{"allow_feature_override_tier":{"type":"boolean"},"mode":{"enum":["all_features_must_pass"]}},"required":["mode","allow_feature_override_tier"],"type":"object"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"kind":{"enum":["capability","certification","deployment","interoperability"]},"profile_ids":{"$ref":"#/$defs/stringList"},"status":{"enum":["draft","active","retired"]},"title":{"type":"string"}},"required":["id","title","description","status","kind","feature_ids","profile_ids","claim_tier","evaluation"],"type":"object"},"program":{"additionalProperties":true,"properties":{"active_boundary_id":{"$ref":"#/$defs/normalizedId"},"active_release_id":{"$ref":"#/$defs/normalizedId"}},"required":["active_boundary_id","active_release_id"],"type":"object"},"release":{"additionalProperties":true,"properties":{"body":{"type":"string"},"boundary_id":{"$ref":"#/$defs/normalizedId"},"boundary_ids":{"$ref":"#/$defs/stringList"},"claim_ids":{"$ref":"#/$defs/stringList"},"delivery_requirements":{"items":{"$ref":"#/$defs/workspace_deliveryRequirement"},"type":"array"},"evidence_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"status":{"enum":["draft","candidate","certified","promoted","published","revoked"]},"version":{"minLength":1,"type":"string"},"workspace_certification_digest":{"pattern":"^(sha256:)?[a-f0-9]{64}$","type":"string"},"workspace_components":{"items":{"$ref":"#/$defs/workspace_component"},"type":"array"}},"required":["id","version","status","boundary_id","boundary_ids","claim_ids","evidence_ids"],"type":"object"},"repo":{"additionalProperties":true,"properties":{"id":{"$ref":"#/$defs/normalizedId"},"kind":{"enum":["ssot-core","ssot-origin","extension-pack","repo-local"]},"managed_docs":{"$ref":"#/$defs/managedDocs"},"name":{"minLength":1,"type":"string"},"version":{"minLength":1,"type":"string"}},"required":["id","name","version","kind"],"type":"object"},"risk":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"description":{"type":"string"},"evidence_ids":{"$ref":"#/$defs/stringList"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"issue_ids":{"$ref":"#/$defs/stringList"},"release_blocking":{"type":"boolean"},"severity":{"enum":["low","medium","high","critical"]},"status":{"enum":["active","mitigated","accepted","retired"]},"test_ids":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","severity","description","feature_ids","claim_ids","test_ids","evidence_ids","issue_ids","release_blocking"],"type":"object"},"spec":{"additionalProperties":true,"properties":{"adr_ids":{"$ref":"#/$defs/stringList"},"catalog_source":{"pattern":"^(builtin|pack:[a-z0-9][a-z0-9._-]*)$","type":"string"},"content_sha256":{"pattern":"^[a-f0-9]{64}$","type":"string"},"id":{"$ref":"#/$defs/normalizedId"},"immutable":{"type":"boolean"},"kind":{"enum":["normative","operational","governance","local-policy"]},"managed":{"type":"boolean"},"number":{"minimum":1,"type":"integer"},"origin":{"enum":["ssot-core","ssot-origin","extension-pack","repo-local"]},"package_version":{"minLength":1,"type":"string"},"path":{"minLength":1,"type":"string"},"slug":{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","type":"string"},"source_document_id":{"$ref":"#/$defs/normalizedId"},"source_document_kind":{"enum":["adr","spec"]},"source_pack_id":{"$ref":"#/$defs/normalizedId"},"source_package_name":{"minLength":1,"type":"string"},"status":{"$ref":"#/$defs/documentStatus"},"status_notes":{"items":{"$ref":"#/$defs/statusNote"},"type":"array"},"superseded_by":{"$ref":"#/$defs/stringList"},"supersedes":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","number","slug","title","path","origin","managed","immutable","package_version","content_sha256","kind","adr_ids","status","supersedes","superseded_by","status_notes"],"type":"object"},"statusNote":{"additionalProperties":false,"properties":{"actor":{"minLength":1,"type":"string"},"at":{"minLength":1,"type":"string"},"note":{"minLength":1,"type":"string"},"reason":{"minLength":1,"type":"string"},"status":{"$ref":"#/$defs/documentStatus"}},"required":["status","note","at"],"type":"object"},"stringList":{"items":{"$ref":"#/$defs/normalizedId"},"type":"array"},"test":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"evidence_ids":{"$ref":"#/$defs/stringList"},"execution":{"$ref":"#/$defs/testExecution"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"kind":{"minLength":1,"type":"string"},"origin":{"$ref":"#/$defs/assuranceOrigin"},"path":{"minLength":1,"type":"string"},"status":{"enum":["planned","passing","failing","blocked","skipped"]},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","kind","path","feature_ids","claim_ids","evidence_ids","origin"],"type":"object"},"testExecution":{"additionalProperties":false,"properties":{"argv":{"items":{"type":"string"},"minItems":1,"type":"array"},"cwd":{"minLength":1,"type":"string"},"env":{"additionalProperties":{"type":"string"},"type":"object"},"mode":{"const":"command"},"success":{"$ref":"#/$defs/testExecutionSuccess"},"timeout_seconds":{"exclusiveMinimum":0,"type":"integer"}},"required":["mode","argv","cwd","env","timeout_seconds","success"],"type":"object"},"testExecutionSuccess":{"additionalProperties":false,"properties":{"expected":{"type":"integer"},"type":{"const":"exit_code"}},"required":["type","expected"],"type":"object"},"tooling":{"additionalProperties":true,"properties":{"initialized_with_version":{"minLength":1,"type":"string"},"last_upgraded_from_version":{"minLength":1,"type":"string"},"ssot_registry_version":{"minLength":1,"type":"string"}},"required":["ssot_registry_version","initialized_with_version","last_upgraded_from_version"],"type":"object"},"workspace_boundaryMember":{"additionalProperties":false,"properties":{"boundary_id":{"type":"string"},"registry_id":{"type":"string"}},"required":["boundary_id","registry_id"],"type":"object"},"workspace_component":{"additionalProperties":false,"properties":{"boundary_id":{"type":"string"},"certification_digest":{"$ref":"#/$defs/workspace_digest"},"registry_id":{"type":"string"},"release_id":{"type":"string"},"source_revision":{"minLength":1,"type":"string"}},"required":["boundary_id","certification_digest","registry_id","release_id","source_revision"],"type":"object"},"workspace_deliveryRequirement":{"additionalProperties":false,"properties":{"artifact_id":{"type":"string"},"destination":{"type":"string"},"issuer":{"type":"string"},"phase":{"enum":["promote","publish"]},"registry_id":{"type":"string"}},"required":["artifact_id","destination","issuer","phase","registry_id"],"type":"object"},"workspace_digest":{"pattern":"^(sha256:)?[a-f0-9]{64}$","type":"string"}},"$id":"https://example.invalid/ssot-registry/registry.schema.json","$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"allOf":[{"if":{"properties":{"repo":{"properties":{"kind":{"const":"repo-local"}},"required":["kind"],"type":"object"}}},"then":{"properties":{"adrs":{"not":{"contains":{"properties":{"origin":{"const":"ssot-core"}},"required":["origin"],"type":"object"}}},"specs":{"not":{"contains":{"properties":{"origin":{"const":"ssot-core"}},"required":["origin"],"type":"object"}}}}}}],"properties":{"adrs":{"items":{"$ref":"#/$defs/adr"},"type":"array"},"boundaries":{"items":{"$ref":"#/$defs/boundary"},"type":"array"},"claims":{"items":{"$ref":"#/$defs/claim"},"type":"array"},"document_id_reservations":{"$ref":"#/$defs/documentIdReservations"},"evidence":{"items":{"$ref":"#/$defs/evidence"},"type":"array"},"features":{"items":{"$ref":"#/$defs/feature"},"type":"array"},"guard_policies":{"$ref":"#/$defs/guardPolicies"},"issues":{"items":{"$ref":"#/$defs/issue"},"type":"array"},"paths":{"$ref":"#/$defs/paths"},"profiles":{"items":{"$ref":"#/$defs/profile"},"type":"array"},"program":{"$ref":"#/$defs/program"},"releases":{"items":{"$ref":"#/$defs/release"},"type":"array"},"repo":{"$ref":"#/$defs/repo"},"risks":{"items":{"$ref":"#/$defs/risk"},"type":"array"},"schema_version":{"const":"0.8.0"},"specs":{"items":{"$ref":"#/$defs/spec"},"type":"array"},"tests":{"items":{"$ref":"#/$defs/test"},"type":"array"},"tooling":{"$ref":"#/$defs/tooling"}},"required":["schema_version","repo","tooling","paths","program","guard_policies","document_id_reservations","features","profiles","tests","claims","evidence","issues","risks","boundaries","releases","adrs","specs"],"title":"ssot-registry canonical registry","type":"object"}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"documents":{"additionalProperties":false,"properties":{"adrs":{"items":{"$ref":"registry.schema.json#/$defs/adr"},"type":"array"},"specs":{"items":{"$ref":"registry.schema.json#/$defs/spec"},"type":"array"}},"required":["adrs","specs"],"type":"object"},"reservations":{"type":"object"},"schema_version":{"const":"1"},"source":{"pattern":"^(builtin|pack:[a-z0-9][a-z0-9._-]*)$","type":"string"},"source_revision":{"minLength":1,"type":"string"}},"required":["schema_version","source","source_revision","documents"],"title":"Immutable SSOT document catalog","type":"object"}
@@ -0,0 +1 @@
1
+ {"$defs":{"boundaryMember":{"additionalProperties":false,"properties":{"boundary_id":{"type":"string"},"registry_id":{"type":"string"}},"required":["boundary_id","registry_id"],"type":"object"},"boundaryMembers":{"properties":{"members":{"items":{"$ref":"#/$defs/boundaryMember"},"type":"array","uniqueItems":true}},"required":["members"],"type":"object"},"component":{"additionalProperties":false,"properties":{"boundary_id":{"type":"string"},"certification_digest":{"$ref":"#/$defs/digest"},"registry_id":{"type":"string"},"release_id":{"type":"string"},"source_revision":{"minLength":1,"type":"string"}},"required":["boundary_id","certification_digest","registry_id","release_id","source_revision"],"type":"object"},"deliveryRequirement":{"additionalProperties":false,"properties":{"artifact_id":{"type":"string"},"destination":{"type":"string"},"issuer":{"type":"string"},"phase":{"enum":["promote","publish"]},"registry_id":{"type":"string"}},"required":["artifact_id","destination","issuer","phase","registry_id"],"type":"object"},"digest":{"pattern":"^(sha256:)?[a-f0-9]{64}$","type":"string"},"inputs":{"properties":{"components":{"items":{"$ref":"#/$defs/component"},"type":"array"},"delivery_requirements":{"items":{"$ref":"#/$defs/deliveryRequirement"},"type":"array"}},"required":["components"],"type":"object"},"proofContext":{"properties":{"artifacts":{"items":{"properties":{"artifact_id":{"type":"string"},"digest":{"$ref":"#/$defs/digest"},"locator":{"type":"string"}},"required":["artifact_id","digest"],"type":"object"},"type":"array"},"source_revision":{"minLength":1,"type":"string"},"tested_components":{"items":{"properties":{"artifact_digests":{"items":{"$ref":"#/$defs/digest"},"type":"array"},"registry_id":{"type":"string"},"release_id":{"type":"string"},"source_revision":{"type":"string"}},"required":["artifact_digests","registry_id","release_id","source_revision"],"type":"object"},"type":"array"}},"required":["artifacts","source_revision","tested_components"],"type":"object"},"receipts":{"items":{"additionalProperties":false,"properties":{"payload":{"required":["schema_version","phase","root_release","artifact_release","artifact_id","artifact_digest","destination","outcome","receipt_locator","issuer"],"type":"object"},"signature":{"minLength":1,"type":"string"}},"required":["payload","signature"],"type":"object"},"type":"array"}},"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"$ref":"#/$defs/boundaryMembers"},{"$ref":"#/$defs/inputs"},{"$ref":"#/$defs/proofContext"},{"$ref":"#/$defs/receipts"}],"title":"SSOT workspace proof inputs"}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"allOf":[{"else":{"not":{"required":["artifact_formats"]}},"if":{"properties":{"schema_version":{"const":"2"}}},"then":{"required":["artifact_formats"]}}],"properties":{"artifact_formats":{"additionalProperties":false,"properties":{"catalog":{"const":"1"},"proof":{"const":"1"}},"required":["catalog","proof"],"type":"object"},"registries":{"additionalProperties":{"minLength":1,"type":"string"},"minProperties":1,"propertyNames":{"pattern":"^repo:[a-z0-9][a-z0-9._-]*$"},"type":"object"},"root_registry_id":{"pattern":"^repo:[a-z0-9][a-z0-9._-]*$","type":"string"},"schema_version":{"enum":["1","2"]}},"required":["schema_version","root_registry_id","registries"],"title":"SSOT workspace inventory","type":"object"}
@@ -0,0 +1,9 @@
1
+ """Versions written by the current workspace runtime."""
2
+
3
+ WORKSPACE_SCHEMA_VERSION = "2"
4
+ CATALOG_SCHEMA_VERSION = "1"
5
+ PROOF_SCHEMA_VERSION = "1"
6
+
7
+
8
+ def workspace_artifact_formats() -> dict[str, str]:
9
+ return {"catalog": CATALOG_SCHEMA_VERSION, "proof": PROOF_SCHEMA_VERSION}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ssot-contracts
3
- Version: 0.2.26.dev1
3
+ Version: 0.3.0
4
4
  Summary: Canonical schemas, templates, manifests, and generated Python contract artifacts for SSOT.
5
5
  Author-email: Jacob Stewart <jacob@swarmauri.com>
6
6
  License-Expression: Apache-2.0
@@ -16,20 +16,19 @@ Classifier: Intended Audience :: Developers
16
16
  Classifier: Operating System :: OS Independent
17
17
  Classifier: Programming Language :: Python :: 3
18
18
  Classifier: Programming Language :: Python :: 3 :: Only
19
- Classifier: Programming Language :: Python :: 3.10
20
19
  Classifier: Programming Language :: Python :: 3.11
21
20
  Classifier: Programming Language :: Python :: 3.12
22
21
  Classifier: Programming Language :: Python :: 3.13
23
22
  Classifier: Programming Language :: Python :: 3.14
23
+ Classifier: Programming Language :: Python :: 3.15
24
24
  Classifier: Topic :: File Formats :: JSON
25
25
  Classifier: Topic :: File Formats :: JSON :: JSON Schema
26
26
  Classifier: Topic :: Software Development :: Documentation
27
27
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
28
  Classifier: Topic :: Software Development :: Quality Assurance
29
29
  Classifier: Topic :: Utilities
30
- Requires-Python: <3.15,>=3.10
30
+ Requires-Python: <3.16,>=3.11
31
31
  Description-Content-Type: text/markdown
32
- Requires-Dist: tomli>=2.0.1; python_version < "3.11"
33
32
 
34
33
  <div align="center">
35
34
  <h1>🔷 ssot-contracts</h1>
@@ -161,7 +160,7 @@ These modules provide shared constants such as output formats, entity section la
161
160
  ## Package relationships
162
161
 
163
162
  - Package type: artifact and contract package
164
- - Depends on: standard library only, plus `tomli` on Python earlier than 3.11
163
+ - Depends on: Python standard library
165
164
  - Consumed by: [ssot-registry](https://pypi.org/project/ssot-registry/), [ssot-cli](https://pypi.org/project/ssot-cli/), [ssot-conformance](https://pypi.org/project/ssot-conformance/), [ssot-tui](https://pypi.org/project/ssot-tui/), [ssot-views](https://pypi.org/project/ssot-views/), [ssot-codegen](https://pypi.org/project/ssot-codegen/)
166
165
 
167
166
  If you need the canonical packaged schemas and manifests, install this package. It is the lowest-level reusable contract layer in the workspace.
@@ -2,10 +2,10 @@ README.md
2
2
  pyproject.toml
3
3
  src/ssot_contracts/__init__.py
4
4
  src/ssot_contracts/contract_data.py
5
+ src/ssot_contracts/workspace_formats.py
5
6
  src/ssot_contracts.egg-info/PKG-INFO
6
7
  src/ssot_contracts.egg-info/SOURCES.txt
7
8
  src/ssot_contracts.egg-info/dependency_links.txt
8
- src/ssot_contracts.egg-info/requires.txt
9
9
  src/ssot_contracts.egg-info/top_level.txt
10
10
  src/ssot_contracts/generated/__init__.py
11
11
  src/ssot_contracts/generated/python/__init__.py
@@ -23,6 +23,9 @@ src/ssot_contracts/schema/registry.schema.json
23
23
  src/ssot_contracts/schema/release.snapshot.schema.json
24
24
  src/ssot_contracts/schema/spec.schema.json
25
25
  src/ssot_contracts/schema/validation.report.schema.json
26
+ src/ssot_contracts/schema/workspace.catalog.schema.json
27
+ src/ssot_contracts/schema/workspace.proof.schema.json
28
+ src/ssot_contracts/schema/workspace.schema.json
26
29
  src/ssot_contracts/templates/__init__.py
27
30
  src/ssot_contracts/templates/registry.full.json
28
31
  src/ssot_contracts/templates/registry.minimal.json
@@ -1 +0,0 @@
1
- {"$defs":{"adr":{"additionalProperties":true,"properties":{"content_sha256":{"pattern":"^[a-f0-9]{64}$","type":"string"},"id":{"$ref":"#/$defs/normalizedId"},"immutable":{"type":"boolean"},"managed":{"type":"boolean"},"number":{"minimum":1,"type":"integer"},"origin":{"enum":["ssot-core","ssot-origin","extension-pack","repo-local"]},"package_version":{"minLength":1,"type":"string"},"path":{"minLength":1,"type":"string"},"slug":{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","type":"string"},"source_document_id":{"$ref":"#/$defs/normalizedId"},"source_document_kind":{"enum":["adr","spec"]},"source_pack_id":{"$ref":"#/$defs/normalizedId"},"source_package_name":{"minLength":1,"type":"string"},"status":{"$ref":"#/$defs/documentStatus"},"status_notes":{"items":{"$ref":"#/$defs/statusNote"},"type":"array"},"superseded_by":{"$ref":"#/$defs/stringList"},"supersedes":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","number","slug","title","path","origin","managed","immutable","package_version","content_sha256","status","supersedes","superseded_by","status_notes"],"type":"object"},"assuranceOrigin":{"enum":["ssot-core","ssot-origin","extension-pack","repo-local"]},"boundary":{"additionalProperties":true,"properties":{"body":{"type":"string"},"feature_ids":{"$ref":"#/$defs/stringList"},"frozen":{"type":"boolean"},"id":{"$ref":"#/$defs/normalizedId"},"profile_ids":{"items":{"type":"string"},"type":"array"},"status":{"enum":["draft","active","frozen","retired"]},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","frozen","feature_ids","profile_ids"],"type":"object"},"claim":{"additionalProperties":true,"properties":{"body":{"type":"string"},"depends_on_claim_ids":{"$ref":"#/$defs/stringList"},"description":{"type":"string"},"evidence_ids":{"$ref":"#/$defs/stringList"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"kind":{"minLength":1,"type":"string"},"origin":{"$ref":"#/$defs/assuranceOrigin"},"status":{"enum":["proposed","declared","implemented","asserted","evidenced","certified","promoted","published","blocked","retired"]},"test_ids":{"$ref":"#/$defs/stringList"},"tier":{"enum":["T0","T1","T2","T3","T4"]},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","tier","kind","description","feature_ids","test_ids","evidence_ids","origin","depends_on_claim_ids"],"type":"object"},"documentIdReservations":{"additionalProperties":false,"properties":{"adr":{"items":{"$ref":"#/$defs/documentReservationRange"},"type":"array"},"spec":{"items":{"$ref":"#/$defs/documentReservationRange"},"type":"array"}},"required":["adr","spec"],"type":"object"},"documentReservationRange":{"additionalProperties":true,"properties":{"assignable_by_repo":{"type":"boolean"},"deletable":{"type":"boolean"},"end":{"minimum":1,"type":"integer"},"immutable":{"type":"boolean"},"owner":{"minLength":1,"type":"string"},"start":{"minimum":1,"type":"integer"}},"required":["owner","start","end","immutable","deletable","assignable_by_repo"],"type":"object"},"documentStatus":{"enum":["draft","in_review","accepted","rejected","superseded","withdrawn","retired"]},"evidence":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"kind":{"minLength":1,"type":"string"},"origin":{"$ref":"#/$defs/assuranceOrigin"},"path":{"minLength":1,"type":"string"},"status":{"enum":["planned","collected","passed","failed","stale"]},"test_ids":{"$ref":"#/$defs/stringList"},"tier":{"enum":["T0","T1","T2","T3","T4"]},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","kind","tier","path","claim_ids","test_ids","origin"],"type":"object"},"feature":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"description":{"type":"string"},"id":{"$ref":"#/$defs/normalizedId"},"implementation_status":{"enum":["absent","partial","implemented"]},"lifecycle":{"$ref":"#/$defs/featureLifecycle"},"origin":{"$ref":"#/$defs/assuranceOrigin"},"parent_feature_ids":{"$ref":"#/$defs/stringList"},"plan":{"$ref":"#/$defs/featurePlan"},"requires":{"$ref":"#/$defs/stringList"},"spec_ids":{"$ref":"#/$defs/stringList"},"test_ids":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","title","description","implementation_status","lifecycle","plan","spec_ids","claim_ids","test_ids","origin","parent_feature_ids"],"type":"object"},"featureLifecycle":{"additionalProperties":true,"properties":{"effective_release_id":{"type":["string","null"]},"note":{"type":["string","null"]},"replacement_feature_ids":{"$ref":"#/$defs/stringList"},"stage":{"enum":["active","deprecated","obsolete","removed"]}},"required":["stage","replacement_feature_ids","note"],"type":"object"},"featurePlan":{"additionalProperties":true,"properties":{"horizon":{"enum":["current","next","future","explicit","backlog","out_of_bounds"]},"out_of_bounds_disposition":{"enum":["prohibited","tolerated",null],"type":["string","null"]},"slot":{"type":["string","null"]},"target_claim_tier":{"enum":["T0","T1","T2","T3","T4",null],"type":["string","null"]},"target_lifecycle_stage":{"enum":["active","deprecated","obsolete","removed"]}},"required":["horizon","slot","target_claim_tier","target_lifecycle_stage"],"type":"object"},"guardPolicies":{"additionalProperties":true,"type":"object"},"issue":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"description":{"type":"string"},"evidence_ids":{"$ref":"#/$defs/stringList"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"plan":{"$ref":"#/$defs/issuePlan"},"release_blocking":{"type":"boolean"},"risk_ids":{"$ref":"#/$defs/stringList"},"severity":{"enum":["low","medium","high","critical"]},"status":{"enum":["open","in_progress","blocked","resolved","closed"]},"test_ids":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","severity","description","plan","feature_ids","claim_ids","test_ids","evidence_ids","risk_ids","release_blocking"],"type":"object"},"issuePlan":{"additionalProperties":true,"properties":{"horizon":{"enum":["current","next","future","explicit","backlog","out_of_bounds"]},"slot":{"type":["string","null"]}},"required":["horizon","slot"],"type":"object"},"normalizedId":{"maxLength":128,"pattern":"^[a-z][a-z0-9-]*:[a-z0-9][a-z0-9._-]*$","type":"string"},"paths":{"additionalProperties":true,"properties":{"adr_root":{"minLength":1,"type":"string"},"cache_root":{"minLength":1,"type":"string"},"evidence_root":{"minLength":1,"type":"string"},"graph_root":{"minLength":1,"type":"string"},"release_root":{"minLength":1,"type":"string"},"report_root":{"minLength":1,"type":"string"},"schema_root":{"minLength":1,"type":"string"},"spec_root":{"minLength":1,"type":"string"},"ssot_root":{"minLength":1,"type":"string"}},"required":["ssot_root","schema_root","adr_root","spec_root","graph_root","evidence_root","release_root","report_root","cache_root"],"type":"object"},"profile":{"additionalProperties":false,"properties":{"body":{"type":"string"},"claim_tier":{"enum":["T0","T1","T2","T3","T4",null],"type":["string","null"]},"description":{"type":"string"},"evaluation":{"additionalProperties":false,"properties":{"allow_feature_override_tier":{"type":"boolean"},"mode":{"enum":["all_features_must_pass"]}},"required":["mode","allow_feature_override_tier"],"type":"object"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"kind":{"enum":["capability","certification","deployment","interoperability"]},"profile_ids":{"$ref":"#/$defs/stringList"},"status":{"enum":["draft","active","retired"]},"title":{"type":"string"}},"required":["id","title","description","status","kind","feature_ids","profile_ids","claim_tier","evaluation"],"type":"object"},"program":{"additionalProperties":true,"properties":{"active_boundary_id":{"$ref":"#/$defs/normalizedId"},"active_release_id":{"$ref":"#/$defs/normalizedId"}},"required":["active_boundary_id","active_release_id"],"type":"object"},"release":{"additionalProperties":true,"properties":{"body":{"type":"string"},"boundary_id":{"$ref":"#/$defs/normalizedId"},"boundary_ids":{"$ref":"#/$defs/stringList"},"claim_ids":{"$ref":"#/$defs/stringList"},"evidence_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"status":{"enum":["draft","candidate","certified","promoted","published","revoked"]},"version":{"minLength":1,"type":"string"}},"required":["id","version","status","boundary_id","boundary_ids","claim_ids","evidence_ids"],"type":"object"},"repo":{"additionalProperties":true,"properties":{"id":{"$ref":"#/$defs/normalizedId"},"kind":{"enum":["ssot-core","ssot-origin","extension-pack","repo-local"]},"name":{"minLength":1,"type":"string"},"version":{"minLength":1,"type":"string"}},"required":["id","name","version","kind"],"type":"object"},"risk":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"description":{"type":"string"},"evidence_ids":{"$ref":"#/$defs/stringList"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"issue_ids":{"$ref":"#/$defs/stringList"},"release_blocking":{"type":"boolean"},"severity":{"enum":["low","medium","high","critical"]},"status":{"enum":["active","mitigated","accepted","retired"]},"test_ids":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","severity","description","feature_ids","claim_ids","test_ids","evidence_ids","issue_ids","release_blocking"],"type":"object"},"spec":{"additionalProperties":true,"properties":{"adr_ids":{"$ref":"#/$defs/stringList"},"content_sha256":{"pattern":"^[a-f0-9]{64}$","type":"string"},"id":{"$ref":"#/$defs/normalizedId"},"immutable":{"type":"boolean"},"kind":{"enum":["normative","operational","governance","local-policy"]},"managed":{"type":"boolean"},"number":{"minimum":1,"type":"integer"},"origin":{"enum":["ssot-core","ssot-origin","extension-pack","repo-local"]},"package_version":{"minLength":1,"type":"string"},"path":{"minLength":1,"type":"string"},"slug":{"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","type":"string"},"source_document_id":{"$ref":"#/$defs/normalizedId"},"source_document_kind":{"enum":["adr","spec"]},"source_pack_id":{"$ref":"#/$defs/normalizedId"},"source_package_name":{"minLength":1,"type":"string"},"status":{"$ref":"#/$defs/documentStatus"},"status_notes":{"items":{"$ref":"#/$defs/statusNote"},"type":"array"},"superseded_by":{"$ref":"#/$defs/stringList"},"supersedes":{"$ref":"#/$defs/stringList"},"title":{"minLength":1,"type":"string"}},"required":["id","number","slug","title","path","origin","managed","immutable","package_version","content_sha256","kind","adr_ids","status","supersedes","superseded_by","status_notes"],"type":"object"},"statusNote":{"additionalProperties":false,"properties":{"actor":{"minLength":1,"type":"string"},"at":{"minLength":1,"type":"string"},"note":{"minLength":1,"type":"string"},"reason":{"minLength":1,"type":"string"},"status":{"$ref":"#/$defs/documentStatus"}},"required":["status","note","at"],"type":"object"},"stringList":{"items":{"$ref":"#/$defs/normalizedId"},"type":"array"},"test":{"additionalProperties":true,"properties":{"body":{"type":"string"},"claim_ids":{"$ref":"#/$defs/stringList"},"evidence_ids":{"$ref":"#/$defs/stringList"},"execution":{"$ref":"#/$defs/testExecution"},"feature_ids":{"$ref":"#/$defs/stringList"},"id":{"$ref":"#/$defs/normalizedId"},"kind":{"minLength":1,"type":"string"},"origin":{"$ref":"#/$defs/assuranceOrigin"},"path":{"minLength":1,"type":"string"},"status":{"enum":["planned","passing","failing","blocked","skipped"]},"title":{"minLength":1,"type":"string"}},"required":["id","title","status","kind","path","feature_ids","claim_ids","evidence_ids","origin"],"type":"object"},"testExecution":{"additionalProperties":false,"properties":{"argv":{"items":{"type":"string"},"minItems":1,"type":"array"},"cwd":{"minLength":1,"type":"string"},"env":{"additionalProperties":{"type":"string"},"type":"object"},"mode":{"const":"command"},"success":{"$ref":"#/$defs/testExecutionSuccess"},"timeout_seconds":{"exclusiveMinimum":0,"type":"integer"}},"required":["mode","argv","cwd","env","timeout_seconds","success"],"type":"object"},"testExecutionSuccess":{"additionalProperties":false,"properties":{"expected":{"type":"integer"},"type":{"const":"exit_code"}},"required":["type","expected"],"type":"object"},"tooling":{"additionalProperties":true,"properties":{"initialized_with_version":{"minLength":1,"type":"string"},"last_upgraded_from_version":{"minLength":1,"type":"string"},"ssot_registry_version":{"minLength":1,"type":"string"}},"required":["ssot_registry_version","initialized_with_version","last_upgraded_from_version"],"type":"object"}},"$id":"https://example.invalid/ssot-registry/registry.schema.json","$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"allOf":[{"if":{"properties":{"repo":{"properties":{"kind":{"const":"repo-local"}},"required":["kind"],"type":"object"}}},"then":{"properties":{"adrs":{"not":{"contains":{"properties":{"origin":{"const":"ssot-core"}},"required":["origin"],"type":"object"}}},"specs":{"not":{"contains":{"properties":{"origin":{"const":"ssot-core"}},"required":["origin"],"type":"object"}}}}}}],"properties":{"adrs":{"items":{"$ref":"#/$defs/adr"},"type":"array"},"boundaries":{"items":{"$ref":"#/$defs/boundary"},"type":"array"},"claims":{"items":{"$ref":"#/$defs/claim"},"type":"array"},"document_id_reservations":{"$ref":"#/$defs/documentIdReservations"},"evidence":{"items":{"$ref":"#/$defs/evidence"},"type":"array"},"features":{"items":{"$ref":"#/$defs/feature"},"type":"array"},"guard_policies":{"$ref":"#/$defs/guardPolicies"},"issues":{"items":{"$ref":"#/$defs/issue"},"type":"array"},"paths":{"$ref":"#/$defs/paths"},"profiles":{"items":{"$ref":"#/$defs/profile"},"type":"array"},"program":{"$ref":"#/$defs/program"},"releases":{"items":{"$ref":"#/$defs/release"},"type":"array"},"repo":{"$ref":"#/$defs/repo"},"risks":{"items":{"$ref":"#/$defs/risk"},"type":"array"},"schema_version":{"const":"0.8.0"},"specs":{"items":{"$ref":"#/$defs/spec"},"type":"array"},"tests":{"items":{"$ref":"#/$defs/test"},"type":"array"},"tooling":{"$ref":"#/$defs/tooling"}},"required":["schema_version","repo","tooling","paths","program","guard_policies","document_id_reservations","features","profiles","tests","claims","evidence","issues","risks","boundaries","releases","adrs","specs"],"title":"ssot-registry canonical registry","type":"object"}
@@ -1,3 +0,0 @@
1
-
2
- [:python_version < "3.11"]
3
- tomli>=2.0.1