ssot-cli 0.1.20__tar.gz → 0.2.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 (39) hide show
  1. {ssot_cli-0.1.20/src/ssot_cli.egg-info → ssot_cli-0.2.0}/PKG-INFO +60 -21
  2. ssot_cli-0.1.20/PKG-INFO → ssot_cli-0.2.0/README.md +53 -47
  3. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/pyproject.toml +7 -8
  4. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/boundary_cmd.py +12 -0
  5. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/graph_cmd.py +4 -0
  6. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/init_cmd.py +2 -0
  7. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/main.py +70 -0
  8. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/registry_cmd.py +4 -0
  9. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/release_cmd.py +27 -3
  10. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/upgrade_cmd.py +6 -0
  11. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/validate_cmd.py +6 -2
  12. ssot_cli-0.2.0/src/ssot_cli/workspace_cmd.py +84 -0
  13. ssot_cli-0.1.20/README.md → ssot_cli-0.2.0/src/ssot_cli.egg-info/PKG-INFO +86 -13
  14. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli.egg-info/SOURCES.txt +1 -0
  15. ssot_cli-0.2.0/src/ssot_cli.egg-info/requires.txt +4 -0
  16. ssot_cli-0.1.20/src/ssot_cli.egg-info/requires.txt +0 -7
  17. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/setup.cfg +0 -0
  18. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/__init__.py +0 -0
  19. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/adr_cmd.py +0 -0
  20. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/campaign_cmd.py +0 -0
  21. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/claim_cmd.py +0 -0
  22. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/common.py +0 -0
  23. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/config_cmd.py +0 -0
  24. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/conformance_cmd.py +0 -0
  25. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/evidence_cmd.py +0 -0
  26. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/feature_cmd.py +0 -0
  27. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/issue_cmd.py +0 -0
  28. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/leases_cmd.py +0 -0
  29. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/maturity_cmd.py +0 -0
  30. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/pack_cmd.py +0 -0
  31. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/profile_cmd.py +0 -0
  32. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/repo_watch_cmd.py +0 -0
  33. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/risk_cmd.py +0 -0
  34. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/spec_cmd.py +0 -0
  35. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/test_cmd.py +0 -0
  36. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli/worker_cmd.py +0 -0
  37. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli.egg-info/dependency_links.txt +0 -0
  38. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli.egg-info/entry_points.txt +0 -0
  39. {ssot_cli-0.1.20 → ssot_cli-0.2.0}/src/ssot_cli.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ssot-cli
3
- Version: 0.1.20
3
+ Version: 0.2.0
4
4
  Summary: Primary CLI distribution for ssot-registry.
5
5
  Author-email: Jacob Stewart <jacob@swarmauri.com>
6
6
  License-Expression: Apache-2.0
@@ -16,21 +16,20 @@ Classifier: Intended Audience :: Information Technology
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 :: Software Development :: Documentation
25
25
  Classifier: Topic :: Software Development :: Quality Assurance
26
26
  Classifier: Topic :: Utilities
27
- Requires-Python: <3.15,>=3.10
27
+ Requires-Python: <3.16,>=3.11
28
28
  Description-Content-Type: text/markdown
29
- Requires-Dist: ssot-contracts<0.3.0,>=0.2.26
30
- Requires-Dist: ssot-core<0.3.0,>=0.2.26
31
- Requires-Dist: ssot-conformance<0.3.0,>=0.2.26
32
- Requires-Dist: ssot-pack-contracts<0.3.0,>=0.2.23
33
- Requires-Dist: tomli>=2.0.1; python_version < "3.11"
29
+ Requires-Dist: ssot-contracts<0.4.0,>=0.3.0
30
+ Requires-Dist: ssot-core<0.4.0,>=0.3.0
31
+ Requires-Dist: ssot-conformance<0.4.0,>=0.3.0
32
+ Requires-Dist: ssot-pack-contracts<0.3.0,>=0.2.24
34
33
 
35
34
  <div align="center">
36
35
  <h1>🔷 ssot-cli</h1>
@@ -171,11 +170,39 @@ ssot conformance run . --profiles registry
171
170
 
172
171
  ## Command surface
173
172
 
173
+ ### Workspace registries
174
+
175
+ ```powershell
176
+ ssot init . --repo-id repo:platform --repo-name Platform
177
+ ssot workspace init
178
+ ssot init services/api --repo-id repo:api --repo-name API
179
+ ssot workspace add --path services/api
180
+ ssot --registry root validate
181
+ ssot --registry repo:api validate
182
+ ssot --all-registries validate
183
+ ssot --all-registries docs sync --dry-run
184
+ ssot --all-registries docs sync
185
+ ```
186
+
187
+ Bulk document sync checks every registered member before committing the root catalog and updating children to the same digest. Rerun the same command to resume an interrupted operation. Frozen boundaries retain the exact document revisions they were verified against. Use `--docs-mode local` at child initialization for an offline copy, or preview an existing child's conversion with `ssot --registry repo:api docs set-mode --mode local`. Add `--apply` to make the change.
188
+
189
+ Install the `ssot-core[delivery]` extra for receipt-gated releases. In the root registry, `.ssot/receipt-issuers.json` maps issuer IDs to base64-encoded raw Ed25519 public keys. Receipts carry a `payload` and a base64-encoded signature over the canonical JSON payload. CI performs the delivery operation and supplies its receipt to `release promote` or `release publish`.
190
+
191
+ ```powershell
192
+ ssot workspace upgrade
193
+ ssot --registry root upgrade --write-report
194
+ ssot --registry repo:api upgrade --write-report
195
+ ssot --all-registries upgrade --dry-run
196
+ ssot --all-registries upgrade --write-report
197
+ ```
198
+
199
+ `workspace upgrade` migrates the inventory from format 1 to format 2. A registry upgrade refreshes the packaged schemas for its selected registry. A batch preflights all registries, commits the root and children, and then advances the inventory format. Rerun the batch with the same installed runtime to resume an interrupted upgrade. Catalog and proof objects keep their original digests. Run managed document sync separately.
200
+
174
201
  ### Complete parser manifest
175
202
 
176
203
  This table is generated from the live `argparse` parser and is checked by integration tests against the current CLI implementation.
177
204
 
178
- Global flags: `--output-file`, `--output-format`, `--version`
205
+ Global flags: `--all-registries`, `--output-file`, `--output-format`, `--registry`, `--version`, `--workspace`
179
206
 
180
207
  | Command path | Flags |
181
208
  | --- | --- |
@@ -194,7 +221,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
194
221
  | `ssot-registry boundary` | none |
195
222
  | `ssot-registry boundary add-feature` | `--feature-ids`, `--id` |
196
223
  | `ssot-registry boundary add-profile` | `--id`, `--profile-ids` |
197
- | `ssot-registry boundary create` | `--body`, `--body-file`, `--feature-ids`, `--frozen`, `--id`, `--no-frozen`, `--profile-ids`, `--status`, `--title` |
224
+ | `ssot-registry boundary create` | `--body`, `--body-file`, `--feature-ids`, `--frozen`, `--id`, `--members-file`, `--no-frozen`, `--profile-ids`, `--status`, `--title` |
198
225
  | `ssot-registry boundary delete` | `--id` |
199
226
  | `ssot-registry boundary freeze` | `--boundary-id` |
200
227
  | `ssot-registry boundary get` | `--id` |
@@ -202,7 +229,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
202
229
  | `ssot-registry boundary remove-feature` | `--feature-ids`, `--id` |
203
230
  | `ssot-registry boundary remove-profile` | `--id`, `--profile-ids` |
204
231
  | `ssot-registry boundary run-tests` | `--dry-run`, `--evidence-output`, `--id` |
205
- | `ssot-registry boundary update` | `--body`, `--body-file`, `--frozen`, `--id`, `--no-frozen`, `--status`, `--title` |
232
+ | `ssot-registry boundary update` | `--body`, `--body-file`, `--frozen`, `--id`, `--members-file`, `--no-frozen`, `--status`, `--title` |
206
233
  | `ssot-registry campaign` | none |
207
234
  | `ssot-registry campaign status` | `--campaign-id`, `--feature-limit`, `--target-tier` |
208
235
  | `ssot-registry claim` | none |
@@ -227,6 +254,10 @@ Global flags: `--output-file`, `--output-format`, `--version`
227
254
  | `ssot-registry conformance profile list` | none |
228
255
  | `ssot-registry conformance run` | `--dry-run`, `--evidence-output`, `--profiles` |
229
256
  | `ssot-registry conformance scaffold` | `--apply`, `--include-claims`, `--include-evidence`, `--profiles` |
257
+ | `ssot-registry docs` | none |
258
+ | `ssot-registry docs set-mode` | `--apply`, `--mode` |
259
+ | `ssot-registry docs status` | none |
260
+ | `ssot-registry docs sync` | `--catalog-digest`, `--dry-run`, `--source` |
230
261
  | `ssot-registry evidence` | none |
231
262
  | `ssot-registry evidence create` | `--body`, `--body-file`, `--claim-ids`, `--evidence-path`, `--id`, `--kind`, `--origin`, `--release-context-file`, `--release-context-json`, `--robustness-dimensions`, `--source-evidence-ids`, `--status`, `--test-ids`, `--tier`, `--title` |
232
263
  | `ssot-registry evidence delete` | `--id` |
@@ -237,31 +268,31 @@ Global flags: `--output-file`, `--output-format`, `--version`
237
268
  | `ssot-registry evidence update` | `--body`, `--body-file`, `--evidence-path`, `--id`, `--kind`, `--origin`, `--release-context-file`, `--release-context-json`, `--robustness-dimensions`, `--source-evidence-ids`, `--status`, `--tier`, `--title` |
238
269
  | `ssot-registry evidence verify` | `--evidence-id` |
239
270
  | `ssot-registry feature` | none |
271
+ | `ssot-registry feature certify-proof-graph` | `--boundary-id`, `--boundary-title`, `--ids`, `--promote`, `--publish`, `--release-id`, `--release-version`, `--robustness-dimensions`, `--write-report` |
240
272
  | `ssot-registry feature children` | none |
241
273
  | `ssot-registry feature children add` | `--child-ids`, `--id` |
242
274
  | `ssot-registry feature children list` | `--id` |
243
275
  | `ssot-registry feature children remove` | `--child-ids`, `--id` |
244
- | `ssot-registry feature create` | `--body`, `--body-file`, `--claim-ids`, `--claim-tier`, `--description`, `--horizon`, `--id`, `--implementation-status`, `--lifecycle-stage`, `--note`, `--origin`, `--out-of-bounds-disposition`, `--parent-feature-ids`, `--replacement-feature-id`, `--requires`, `--slot`, `--spec-ids`, `--target-lifecycle-stage`, `--test-ids`, `--title` |
276
+ | `ssot-registry feature create` | `--auto-scaffold-proof-graph`, `--body`, `--body-file`, `--claim-ids`, `--claim-tier`, `--description`, `--horizon`, `--id`, `--implementation-status`, `--lifecycle-stage`, `--no-auto-scaffold-proof-graph`, `--note`, `--origin`, `--out-of-bounds-disposition`, `--parent-feature-ids`, `--replacement-feature-id`, `--requires`, `--slot`, `--spec-ids`, `--target-lifecycle-stage`, `--test-ids`, `--title` |
245
277
  | `ssot-registry feature delete` | `--id` |
246
278
  | `ssot-registry feature get` | `--id` |
247
- | `ssot-registry feature certify-proof-graph` | `--boundary-id`, `--boundary-title`, `--ids`, `--promote`, `--publish`, `--release-id`, `--release-version`, `--robustness-dimensions`, `--write-report` |
248
279
  | `ssot-registry feature lifecycle` | none |
249
280
  | `ssot-registry feature lifecycle set` | `--effective-release-id`, `--ids`, `--note`, `--replacement-feature-id`, `--stage` |
250
281
  | `ssot-registry feature link` | `--claim-ids`, `--id`, `--requires`, `--spec-ids`, `--test-ids` |
251
282
  | `ssot-registry feature list` | `--ids`, `--origin` |
252
283
  | `ssot-registry feature parent` | none |
253
284
  | `ssot-registry feature parent add` | `--ids`, `--parent-ids` |
254
- | `ssot-registry feature parent-audit` | `--feature-id`, `--parent-id`, `--remove-parent-link` |
255
285
  | `ssot-registry feature parent clear` | `--ids` |
256
286
  | `ssot-registry feature parent remove` | `--ids`, `--parent-ids` |
257
287
  | `ssot-registry feature parent set` | `--ids`, `--parent-ids` |
288
+ | `ssot-registry feature parent-audit` | `--feature-id`, `--parent-id`, `--remove-parent-link` |
258
289
  | `ssot-registry feature plan` | `--claim-tier`, `--horizon`, `--ids`, `--out-of-bounds-disposition`, `--slot`, `--target-lifecycle-stage` |
259
290
  | `ssot-registry feature unlink` | `--claim-ids`, `--id`, `--requires`, `--spec-ids`, `--test-ids` |
260
291
  | `ssot-registry feature update` | `--body`, `--body-file`, `--description`, `--id`, `--implementation-status`, `--origin`, `--title` |
261
292
  | `ssot-registry graph` | none |
262
293
  | `ssot-registry graph export` | `--format`, `--output` |
263
294
  | `ssot-registry graph lineage` | `--open`, `--output` |
264
- | `ssot-registry init` | `--force`, `--repo-id`, `--repo-name`, `--version` |
295
+ | `ssot-registry init` | `--docs-mode`, `--force`, `--repo-id`, `--repo-name`, `--version` |
265
296
  | `ssot-registry issue` | none |
266
297
  | `ssot-registry issue close` | `--id` |
267
298
  | `ssot-registry issue create` | `--body`, `--body-file`, `--claim-ids`, `--description`, `--evidence-ids`, `--feature-ids`, `--horizon`, `--id`, `--no-release-blocking`, `--release-blocking`, `--risk-ids`, `--severity`, `--slot`, `--status`, `--test-ids`, `--title` |
@@ -302,18 +333,18 @@ Global flags: `--output-file`, `--output-format`, `--version`
302
333
  | `ssot-registry release add-boundary` | `--boundary-ids`, `--id` |
303
334
  | `ssot-registry release add-claim` | `--claim-ids`, `--id` |
304
335
  | `ssot-registry release add-evidence` | `--evidence-ids`, `--id` |
305
- | `ssot-registry release certify` | `--release-id`, `--write-report` |
306
- | `ssot-registry release create` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--claim-ids`, `--evidence-ids`, `--id`, `--status`, `--version` |
336
+ | `ssot-registry release certify` | `--proof-context-file`, `--release-id`, `--write-report` |
337
+ | `ssot-registry release create` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--claim-ids`, `--evidence-ids`, `--id`, `--inputs-file`, `--status`, `--version` |
307
338
  | `ssot-registry release delete` | `--id` |
308
339
  | `ssot-registry release get` | `--id` |
309
340
  | `ssot-registry release list` | `--ids` |
310
- | `ssot-registry release promote` | `--release-id` |
311
- | `ssot-registry release publish` | `--release-id` |
341
+ | `ssot-registry release promote` | `--receipts-file`, `--release-id` |
342
+ | `ssot-registry release publish` | `--receipts-file`, `--release-id` |
312
343
  | `ssot-registry release remove-boundary` | `--boundary-ids`, `--id` |
313
344
  | `ssot-registry release remove-claim` | `--claim-ids`, `--id` |
314
345
  | `ssot-registry release remove-evidence` | `--evidence-ids`, `--id` |
315
346
  | `ssot-registry release revoke` | `--reason`, `--release-id` |
316
- | `ssot-registry release update` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--id`, `--status`, `--version` |
347
+ | `ssot-registry release update` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--id`, `--inputs-file`, `--status`, `--version` |
317
348
  | `ssot-registry release verify-local` | `--blocking`, `--no-write-artifacts`, `--path-policy`, `--release-id` |
318
349
  | `ssot-registry repo-watch` | none |
319
350
  | `ssot-registry repo-watch scan` | `--no-emit-events` |
@@ -352,7 +383,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
352
383
  | `ssot-registry test run` | `--dry-run`, `--evidence-output`, `--id`, `--ids` |
353
384
  | `ssot-registry test unlink` | `--claim-ids`, `--evidence-ids`, `--feature-ids`, `--id` |
354
385
  | `ssot-registry test update` | `--body`, `--body-file`, `--execution-file`, `--execution-json`, `--id`, `--kind`, `--origin`, `--status`, `--test-path`, `--title` |
355
- | `ssot-registry upgrade` | `--sync-docs`, `--target-version`, `--write-report` |
386
+ | `ssot-registry upgrade` | `--dry-run`, `--sync-docs`, `--target-version`, `--write-report` |
356
387
  | `ssot-registry validate` | `--write-report` |
357
388
  | `ssot-registry worker` | none |
358
389
  | `ssot-registry worker abandon` | `--fencing-token`, `--lease-id`, `--reason`, `--worker-id` |
@@ -361,6 +392,14 @@ Global flags: `--output-file`, `--output-format`, `--version`
361
392
  | `ssot-registry worker events` | `--after-event-id`, `--campaign-id`, `--limit`, `--worker-id` |
362
393
  | `ssot-registry worker register` | `--os-user`, `--worker-id` |
363
394
  | `ssot-registry worker renew` | `--fencing-token`, `--lease-id`, `--ttl-seconds`, `--worker-id` |
395
+ | `ssot-registry workspace` | none |
396
+ | `ssot-registry workspace add` | `--path` |
397
+ | `ssot-registry workspace init` | none |
398
+ | `ssot-registry workspace list` | none |
399
+ | `ssot-registry workspace move` | `--id`, `--path` |
400
+ | `ssot-registry workspace remove` | `--id` |
401
+ | `ssot-registry workspace show` | `--id` |
402
+ | `ssot-registry workspace upgrade` | `--dry-run` |
364
403
 
365
404
  ### Top-level commands
366
405
 
@@ -1,37 +1,3 @@
1
- Metadata-Version: 2.4
2
- Name: ssot-cli
3
- Version: 0.1.20
4
- Summary: Primary CLI distribution for ssot-registry.
5
- Author-email: Jacob Stewart <jacob@swarmauri.com>
6
- License-Expression: Apache-2.0
7
- Project-URL: Homepage, https://github.com/groupsum/ssot-registry/tree/main/pkgs/ssot-cli
8
- Project-URL: Repository, https://github.com/groupsum/ssot-registry/tree/main/pkgs/ssot-cli
9
- Project-URL: Issues, https://github.com/groupsum/ssot-registry/issues
10
- Project-URL: Discord, https://discord.gg/mAjzxwSwRp
11
- Keywords: ssot,cli,registry,governance,release-management,validation,developer-tools
12
- Classifier: Development Status :: 3 - Alpha
13
- Classifier: Environment :: Console
14
- Classifier: Intended Audience :: Developers
15
- Classifier: Intended Audience :: Information Technology
16
- Classifier: Operating System :: OS Independent
17
- Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3 :: Only
19
- Classifier: Programming Language :: Python :: 3.10
20
- Classifier: Programming Language :: Python :: 3.11
21
- Classifier: Programming Language :: Python :: 3.12
22
- Classifier: Programming Language :: Python :: 3.13
23
- Classifier: Programming Language :: Python :: 3.14
24
- Classifier: Topic :: Software Development :: Documentation
25
- Classifier: Topic :: Software Development :: Quality Assurance
26
- Classifier: Topic :: Utilities
27
- Requires-Python: <3.15,>=3.10
28
- Description-Content-Type: text/markdown
29
- Requires-Dist: ssot-contracts<0.3.0,>=0.2.26
30
- Requires-Dist: ssot-core<0.3.0,>=0.2.26
31
- Requires-Dist: ssot-conformance<0.3.0,>=0.2.26
32
- Requires-Dist: ssot-pack-contracts<0.3.0,>=0.2.23
33
- Requires-Dist: tomli>=2.0.1; python_version < "3.11"
34
-
35
1
  <div align="center">
36
2
  <h1>🔷 ssot-cli</h1>
37
3
  <p><strong>Primary command-line distribution for SSOT workflows.</strong></p>
@@ -171,11 +137,39 @@ ssot conformance run . --profiles registry
171
137
 
172
138
  ## Command surface
173
139
 
140
+ ### Workspace registries
141
+
142
+ ```powershell
143
+ ssot init . --repo-id repo:platform --repo-name Platform
144
+ ssot workspace init
145
+ ssot init services/api --repo-id repo:api --repo-name API
146
+ ssot workspace add --path services/api
147
+ ssot --registry root validate
148
+ ssot --registry repo:api validate
149
+ ssot --all-registries validate
150
+ ssot --all-registries docs sync --dry-run
151
+ ssot --all-registries docs sync
152
+ ```
153
+
154
+ Bulk document sync checks every registered member before committing the root catalog and updating children to the same digest. Rerun the same command to resume an interrupted operation. Frozen boundaries retain the exact document revisions they were verified against. Use `--docs-mode local` at child initialization for an offline copy, or preview an existing child's conversion with `ssot --registry repo:api docs set-mode --mode local`. Add `--apply` to make the change.
155
+
156
+ Install the `ssot-core[delivery]` extra for receipt-gated releases. In the root registry, `.ssot/receipt-issuers.json` maps issuer IDs to base64-encoded raw Ed25519 public keys. Receipts carry a `payload` and a base64-encoded signature over the canonical JSON payload. CI performs the delivery operation and supplies its receipt to `release promote` or `release publish`.
157
+
158
+ ```powershell
159
+ ssot workspace upgrade
160
+ ssot --registry root upgrade --write-report
161
+ ssot --registry repo:api upgrade --write-report
162
+ ssot --all-registries upgrade --dry-run
163
+ ssot --all-registries upgrade --write-report
164
+ ```
165
+
166
+ `workspace upgrade` migrates the inventory from format 1 to format 2. A registry upgrade refreshes the packaged schemas for its selected registry. A batch preflights all registries, commits the root and children, and then advances the inventory format. Rerun the batch with the same installed runtime to resume an interrupted upgrade. Catalog and proof objects keep their original digests. Run managed document sync separately.
167
+
174
168
  ### Complete parser manifest
175
169
 
176
170
  This table is generated from the live `argparse` parser and is checked by integration tests against the current CLI implementation.
177
171
 
178
- Global flags: `--output-file`, `--output-format`, `--version`
172
+ Global flags: `--all-registries`, `--output-file`, `--output-format`, `--registry`, `--version`, `--workspace`
179
173
 
180
174
  | Command path | Flags |
181
175
  | --- | --- |
@@ -194,7 +188,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
194
188
  | `ssot-registry boundary` | none |
195
189
  | `ssot-registry boundary add-feature` | `--feature-ids`, `--id` |
196
190
  | `ssot-registry boundary add-profile` | `--id`, `--profile-ids` |
197
- | `ssot-registry boundary create` | `--body`, `--body-file`, `--feature-ids`, `--frozen`, `--id`, `--no-frozen`, `--profile-ids`, `--status`, `--title` |
191
+ | `ssot-registry boundary create` | `--body`, `--body-file`, `--feature-ids`, `--frozen`, `--id`, `--members-file`, `--no-frozen`, `--profile-ids`, `--status`, `--title` |
198
192
  | `ssot-registry boundary delete` | `--id` |
199
193
  | `ssot-registry boundary freeze` | `--boundary-id` |
200
194
  | `ssot-registry boundary get` | `--id` |
@@ -202,7 +196,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
202
196
  | `ssot-registry boundary remove-feature` | `--feature-ids`, `--id` |
203
197
  | `ssot-registry boundary remove-profile` | `--id`, `--profile-ids` |
204
198
  | `ssot-registry boundary run-tests` | `--dry-run`, `--evidence-output`, `--id` |
205
- | `ssot-registry boundary update` | `--body`, `--body-file`, `--frozen`, `--id`, `--no-frozen`, `--status`, `--title` |
199
+ | `ssot-registry boundary update` | `--body`, `--body-file`, `--frozen`, `--id`, `--members-file`, `--no-frozen`, `--status`, `--title` |
206
200
  | `ssot-registry campaign` | none |
207
201
  | `ssot-registry campaign status` | `--campaign-id`, `--feature-limit`, `--target-tier` |
208
202
  | `ssot-registry claim` | none |
@@ -227,6 +221,10 @@ Global flags: `--output-file`, `--output-format`, `--version`
227
221
  | `ssot-registry conformance profile list` | none |
228
222
  | `ssot-registry conformance run` | `--dry-run`, `--evidence-output`, `--profiles` |
229
223
  | `ssot-registry conformance scaffold` | `--apply`, `--include-claims`, `--include-evidence`, `--profiles` |
224
+ | `ssot-registry docs` | none |
225
+ | `ssot-registry docs set-mode` | `--apply`, `--mode` |
226
+ | `ssot-registry docs status` | none |
227
+ | `ssot-registry docs sync` | `--catalog-digest`, `--dry-run`, `--source` |
230
228
  | `ssot-registry evidence` | none |
231
229
  | `ssot-registry evidence create` | `--body`, `--body-file`, `--claim-ids`, `--evidence-path`, `--id`, `--kind`, `--origin`, `--release-context-file`, `--release-context-json`, `--robustness-dimensions`, `--source-evidence-ids`, `--status`, `--test-ids`, `--tier`, `--title` |
232
230
  | `ssot-registry evidence delete` | `--id` |
@@ -237,31 +235,31 @@ Global flags: `--output-file`, `--output-format`, `--version`
237
235
  | `ssot-registry evidence update` | `--body`, `--body-file`, `--evidence-path`, `--id`, `--kind`, `--origin`, `--release-context-file`, `--release-context-json`, `--robustness-dimensions`, `--source-evidence-ids`, `--status`, `--tier`, `--title` |
238
236
  | `ssot-registry evidence verify` | `--evidence-id` |
239
237
  | `ssot-registry feature` | none |
238
+ | `ssot-registry feature certify-proof-graph` | `--boundary-id`, `--boundary-title`, `--ids`, `--promote`, `--publish`, `--release-id`, `--release-version`, `--robustness-dimensions`, `--write-report` |
240
239
  | `ssot-registry feature children` | none |
241
240
  | `ssot-registry feature children add` | `--child-ids`, `--id` |
242
241
  | `ssot-registry feature children list` | `--id` |
243
242
  | `ssot-registry feature children remove` | `--child-ids`, `--id` |
244
- | `ssot-registry feature create` | `--body`, `--body-file`, `--claim-ids`, `--claim-tier`, `--description`, `--horizon`, `--id`, `--implementation-status`, `--lifecycle-stage`, `--note`, `--origin`, `--out-of-bounds-disposition`, `--parent-feature-ids`, `--replacement-feature-id`, `--requires`, `--slot`, `--spec-ids`, `--target-lifecycle-stage`, `--test-ids`, `--title` |
243
+ | `ssot-registry feature create` | `--auto-scaffold-proof-graph`, `--body`, `--body-file`, `--claim-ids`, `--claim-tier`, `--description`, `--horizon`, `--id`, `--implementation-status`, `--lifecycle-stage`, `--no-auto-scaffold-proof-graph`, `--note`, `--origin`, `--out-of-bounds-disposition`, `--parent-feature-ids`, `--replacement-feature-id`, `--requires`, `--slot`, `--spec-ids`, `--target-lifecycle-stage`, `--test-ids`, `--title` |
245
244
  | `ssot-registry feature delete` | `--id` |
246
245
  | `ssot-registry feature get` | `--id` |
247
- | `ssot-registry feature certify-proof-graph` | `--boundary-id`, `--boundary-title`, `--ids`, `--promote`, `--publish`, `--release-id`, `--release-version`, `--robustness-dimensions`, `--write-report` |
248
246
  | `ssot-registry feature lifecycle` | none |
249
247
  | `ssot-registry feature lifecycle set` | `--effective-release-id`, `--ids`, `--note`, `--replacement-feature-id`, `--stage` |
250
248
  | `ssot-registry feature link` | `--claim-ids`, `--id`, `--requires`, `--spec-ids`, `--test-ids` |
251
249
  | `ssot-registry feature list` | `--ids`, `--origin` |
252
250
  | `ssot-registry feature parent` | none |
253
251
  | `ssot-registry feature parent add` | `--ids`, `--parent-ids` |
254
- | `ssot-registry feature parent-audit` | `--feature-id`, `--parent-id`, `--remove-parent-link` |
255
252
  | `ssot-registry feature parent clear` | `--ids` |
256
253
  | `ssot-registry feature parent remove` | `--ids`, `--parent-ids` |
257
254
  | `ssot-registry feature parent set` | `--ids`, `--parent-ids` |
255
+ | `ssot-registry feature parent-audit` | `--feature-id`, `--parent-id`, `--remove-parent-link` |
258
256
  | `ssot-registry feature plan` | `--claim-tier`, `--horizon`, `--ids`, `--out-of-bounds-disposition`, `--slot`, `--target-lifecycle-stage` |
259
257
  | `ssot-registry feature unlink` | `--claim-ids`, `--id`, `--requires`, `--spec-ids`, `--test-ids` |
260
258
  | `ssot-registry feature update` | `--body`, `--body-file`, `--description`, `--id`, `--implementation-status`, `--origin`, `--title` |
261
259
  | `ssot-registry graph` | none |
262
260
  | `ssot-registry graph export` | `--format`, `--output` |
263
261
  | `ssot-registry graph lineage` | `--open`, `--output` |
264
- | `ssot-registry init` | `--force`, `--repo-id`, `--repo-name`, `--version` |
262
+ | `ssot-registry init` | `--docs-mode`, `--force`, `--repo-id`, `--repo-name`, `--version` |
265
263
  | `ssot-registry issue` | none |
266
264
  | `ssot-registry issue close` | `--id` |
267
265
  | `ssot-registry issue create` | `--body`, `--body-file`, `--claim-ids`, `--description`, `--evidence-ids`, `--feature-ids`, `--horizon`, `--id`, `--no-release-blocking`, `--release-blocking`, `--risk-ids`, `--severity`, `--slot`, `--status`, `--test-ids`, `--title` |
@@ -302,18 +300,18 @@ Global flags: `--output-file`, `--output-format`, `--version`
302
300
  | `ssot-registry release add-boundary` | `--boundary-ids`, `--id` |
303
301
  | `ssot-registry release add-claim` | `--claim-ids`, `--id` |
304
302
  | `ssot-registry release add-evidence` | `--evidence-ids`, `--id` |
305
- | `ssot-registry release certify` | `--release-id`, `--write-report` |
306
- | `ssot-registry release create` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--claim-ids`, `--evidence-ids`, `--id`, `--status`, `--version` |
303
+ | `ssot-registry release certify` | `--proof-context-file`, `--release-id`, `--write-report` |
304
+ | `ssot-registry release create` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--claim-ids`, `--evidence-ids`, `--id`, `--inputs-file`, `--status`, `--version` |
307
305
  | `ssot-registry release delete` | `--id` |
308
306
  | `ssot-registry release get` | `--id` |
309
307
  | `ssot-registry release list` | `--ids` |
310
- | `ssot-registry release promote` | `--release-id` |
311
- | `ssot-registry release publish` | `--release-id` |
308
+ | `ssot-registry release promote` | `--receipts-file`, `--release-id` |
309
+ | `ssot-registry release publish` | `--receipts-file`, `--release-id` |
312
310
  | `ssot-registry release remove-boundary` | `--boundary-ids`, `--id` |
313
311
  | `ssot-registry release remove-claim` | `--claim-ids`, `--id` |
314
312
  | `ssot-registry release remove-evidence` | `--evidence-ids`, `--id` |
315
313
  | `ssot-registry release revoke` | `--reason`, `--release-id` |
316
- | `ssot-registry release update` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--id`, `--status`, `--version` |
314
+ | `ssot-registry release update` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--id`, `--inputs-file`, `--status`, `--version` |
317
315
  | `ssot-registry release verify-local` | `--blocking`, `--no-write-artifacts`, `--path-policy`, `--release-id` |
318
316
  | `ssot-registry repo-watch` | none |
319
317
  | `ssot-registry repo-watch scan` | `--no-emit-events` |
@@ -352,7 +350,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
352
350
  | `ssot-registry test run` | `--dry-run`, `--evidence-output`, `--id`, `--ids` |
353
351
  | `ssot-registry test unlink` | `--claim-ids`, `--evidence-ids`, `--feature-ids`, `--id` |
354
352
  | `ssot-registry test update` | `--body`, `--body-file`, `--execution-file`, `--execution-json`, `--id`, `--kind`, `--origin`, `--status`, `--test-path`, `--title` |
355
- | `ssot-registry upgrade` | `--sync-docs`, `--target-version`, `--write-report` |
353
+ | `ssot-registry upgrade` | `--dry-run`, `--sync-docs`, `--target-version`, `--write-report` |
356
354
  | `ssot-registry validate` | `--write-report` |
357
355
  | `ssot-registry worker` | none |
358
356
  | `ssot-registry worker abandon` | `--fencing-token`, `--lease-id`, `--reason`, `--worker-id` |
@@ -361,6 +359,14 @@ Global flags: `--output-file`, `--output-format`, `--version`
361
359
  | `ssot-registry worker events` | `--after-event-id`, `--campaign-id`, `--limit`, `--worker-id` |
362
360
  | `ssot-registry worker register` | `--os-user`, `--worker-id` |
363
361
  | `ssot-registry worker renew` | `--fencing-token`, `--lease-id`, `--ttl-seconds`, `--worker-id` |
362
+ | `ssot-registry workspace` | none |
363
+ | `ssot-registry workspace add` | `--path` |
364
+ | `ssot-registry workspace init` | none |
365
+ | `ssot-registry workspace list` | none |
366
+ | `ssot-registry workspace move` | `--id`, `--path` |
367
+ | `ssot-registry workspace remove` | `--id` |
368
+ | `ssot-registry workspace show` | `--id` |
369
+ | `ssot-registry workspace upgrade` | `--dry-run` |
364
370
 
365
371
  ### Top-level commands
366
372
 
@@ -4,18 +4,17 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ssot-cli"
7
- version = "0.1.20"
7
+ version = "0.2.0"
8
8
  description = "Primary CLI distribution for ssot-registry."
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
13
  dependencies = [
14
- "ssot-contracts>=0.2.26,<0.3.0",
15
- "ssot-core>=0.2.26,<0.3.0",
16
- "ssot-conformance>=0.2.26,<0.3.0",
17
- "ssot-pack-contracts>=0.2.23,<0.3.0",
18
- "tomli>=2.0.1; python_version < '3.11'",
14
+ "ssot-contracts>=0.3.0,<0.4.0",
15
+ "ssot-core>=0.3.0,<0.4.0",
16
+ "ssot-conformance>=0.3.0,<0.4.0",
17
+ "ssot-pack-contracts>=0.2.24,<0.3.0",
19
18
  ]
20
19
  keywords = ["ssot", "cli", "registry", "governance", "release-management", "validation", "developer-tools"]
21
20
  classifiers = [
@@ -26,11 +25,11 @@ classifiers = [
26
25
  "Operating System :: OS Independent",
27
26
  "Programming Language :: Python :: 3",
28
27
  "Programming Language :: Python :: 3 :: Only",
29
- "Programming Language :: Python :: 3.10",
30
28
  "Programming Language :: Python :: 3.11",
31
29
  "Programming Language :: Python :: 3.12",
32
30
  "Programming Language :: Python :: 3.13",
33
31
  "Programming Language :: Python :: 3.14",
32
+ "Programming Language :: Python :: 3.15",
34
33
  "Topic :: Software Development :: Documentation",
35
34
  "Topic :: Software Development :: Quality Assurance",
36
35
  "Topic :: Utilities",
@@ -36,6 +36,7 @@ def register_boundary(subparsers: argparse._SubParsersAction) -> None:
36
36
  add_optional_bool_argument(create, "--frozen", default=False, help_text="Record whether the boundary contents are locked against further scope edits.")
37
37
  create.add_argument("--feature-ids", nargs="*", default=[], help="Direct feature ids included in the scoped delivery unit.")
38
38
  create.add_argument("--profile-ids", nargs="*", default=[], help="Profile ids included in the scoped delivery unit.")
39
+ create.add_argument("--members-file", help="JSON file naming child boundaries for a workspace root boundary.")
39
40
  create.set_defaults(func=run_create)
40
41
 
41
42
  get = boundary_sub.add_parser("get", help="Show one boundary.", description="Fetch a single boundary by id.")
@@ -56,6 +57,7 @@ def register_boundary(subparsers: argparse._SubParsersAction) -> None:
56
57
  update.add_argument("--body-file", default=None, help="Path to a UTF-8 text file containing the replacement boundary body.")
57
58
  update.add_argument("--status", choices=["draft", "active", "frozen", "retired"], default=None, help="Updated lifecycle state.")
58
59
  add_optional_bool_argument(update, "--frozen", default=None, help_text="Change whether the boundary is locked against scope edits.")
60
+ update.add_argument("--members-file", help="Replace the child boundaries of a draft workspace boundary.")
59
61
  update.set_defaults(func=run_update)
60
62
 
61
63
  delete = boundary_sub.add_parser("delete", help="Delete a boundary.", description="Remove a boundary record from the registry.")
@@ -115,6 +117,11 @@ def run_create(args: argparse.Namespace) -> dict[str, object]:
115
117
  "feature_ids": args.feature_ids,
116
118
  "profile_ids": args.profile_ids,
117
119
  }
120
+ if args.members_file:
121
+ from ssot_registry.api.workspace_proof import parse_members
122
+ from ssot_registry.util.jsonio import load_json
123
+
124
+ row["workspace_members"] = parse_members(load_json(args.members_file))
118
125
  return create_entity(args.path, "boundaries", row)
119
126
 
120
127
 
@@ -129,6 +136,11 @@ def run_list(args: argparse.Namespace) -> dict[str, object]:
129
136
  def run_update(args: argparse.Namespace) -> dict[str, object]:
130
137
  body = load_text_argument(inline_value=args.body, file_value=args.body_file, label="boundary")
131
138
  changes = compact_dict({"title": args.title, "body": body, "status": args.status, "frozen": args.frozen})
139
+ if args.members_file:
140
+ from ssot_registry.api.workspace_proof import parse_members
141
+ from ssot_registry.util.jsonio import load_json
142
+
143
+ changes["workspace_members"] = parse_members(load_json(args.members_file))
132
144
  if not changes:
133
145
  raise ValueError("At least one update field is required")
134
146
  return update_entity(args.path, "boundaries", args.id, changes)
@@ -39,6 +39,10 @@ def register_graph(subparsers: argparse._SubParsersAction) -> None:
39
39
 
40
40
 
41
41
  def run_export(args: argparse.Namespace) -> dict[str, object]:
42
+ if args.all_registries:
43
+ from ssot_registry.api.workspace_views import export_workspace
44
+
45
+ return export_workspace(args.workspace, args.format, args.output, graph=True)
42
46
  return export_graph(path=args.path, output_format=args.format, output=args.output)
43
47
 
44
48
 
@@ -16,6 +16,7 @@ def register_init(subparsers: argparse._SubParsersAction) -> None:
16
16
  parser.add_argument("--repo-name", default="example", help="Human-readable repository name recorded in the registry.")
17
17
  parser.add_argument("--version", default="0.1.0", help="Initial release version to seed into the repository metadata.")
18
18
  parser.add_argument("--force", action="store_true", help="Replace an existing registry at the target path.")
19
+ parser.add_argument("--docs-mode", choices=["shared", "local"], help="Managed document storage for a workspace child.")
19
20
  parser.set_defaults(func=run)
20
21
 
21
22
 
@@ -26,4 +27,5 @@ def run(args: argparse.Namespace) -> dict[str, object]:
26
27
  repo_name=args.repo_name,
27
28
  version=args.version,
28
29
  force=args.force,
30
+ docs_mode=args.docs_mode,
29
31
  )
@@ -39,6 +39,7 @@ from .test_cmd import register_test
39
39
  from .upgrade_cmd import register_upgrade
40
40
  from .validate_cmd import register_validate
41
41
  from .worker_cmd import register_worker
42
+ from .workspace_cmd import register_docs, register_workspace
42
43
 
43
44
  _PACKAGE_NAME = "ssot-cli"
44
45
  _PYPROJECT_PATH = Path(__file__).resolve().parents[2] / "pyproject.toml"
@@ -179,6 +180,10 @@ def build_parser(*, prog: str | None = None) -> argparse.ArgumentParser:
179
180
  default=None,
180
181
  help="Write the rendered command output to this file instead of only printing to stdout.",
181
182
  )
183
+ parser.add_argument("--workspace", help="Workspace root directory or workspace.json path.")
184
+ selection = parser.add_mutually_exclusive_group()
185
+ selection.add_argument("--registry", help="Select a workspace registry by ID, or use root.")
186
+ selection.add_argument("--all-registries", action="store_true", help="Select every registry for an aggregate operation.")
182
187
  subparsers = parser.add_subparsers(dest="command", required=True)
183
188
 
184
189
  register_init(subparsers)
@@ -205,6 +210,8 @@ def build_parser(*, prog: str | None = None) -> argparse.ArgumentParser:
205
210
  register_release(subparsers)
206
211
  register_graph(subparsers)
207
212
  register_registry(subparsers)
213
+ register_docs(subparsers)
214
+ register_workspace(subparsers)
208
215
  return parser
209
216
 
210
217
 
@@ -212,11 +219,74 @@ def _print(payload: Any, output_format: str) -> None:
212
219
  print(render_payload(payload, output_format), end="")
213
220
 
214
221
 
222
+ def _suppress_path_defaults(parser: argparse.ArgumentParser) -> None:
223
+ for action in parser._actions:
224
+ if isinstance(action, argparse._SubParsersAction):
225
+ for child in action.choices.values():
226
+ _suppress_path_defaults(child)
227
+ elif action.dest in {"path", "path_or_command"} and not action.option_strings and action.nargs == "?":
228
+ action.default = None
229
+
230
+
231
+ def _resolve_target(parser: argparse.ArgumentParser, args: argparse.Namespace) -> None:
232
+ from ssot_registry.api.workspace import load_workspace, workspace_root
233
+ from ssot_registry.util.fs import resolve_registry_path
234
+
235
+ command = args.command
236
+ target_name = "path"
237
+ if hasattr(args, "path_or_command") and args.path_or_command != "migrate":
238
+ target_name = "path_or_command"
239
+ path = getattr(args, target_name, None)
240
+ if path is not None and (args.registry or args.all_registries):
241
+ parser.error("A registry selector cannot be combined with a positional path")
242
+ if args.all_registries:
243
+ allowed = (
244
+ command in {"validate", "upgrade"}
245
+ or (command == "docs" and args.docs_command == "sync" and args.catalog_digest is None)
246
+ or (command == "registry" and args.registry_command == "export")
247
+ or (command == "graph" and args.graph_command == "export")
248
+ )
249
+ if not allowed:
250
+ parser.error("--all-registries is unavailable for this operation")
251
+ if command == "upgrade" and args.sync_docs:
252
+ parser.error("Run --all-registries docs sync separately from a workspace upgrade")
253
+ return
254
+ if command == "workspace":
255
+ if args.registry:
256
+ parser.error("workspace commands take --workspace instead of --registry")
257
+ return
258
+ if command == "docs":
259
+ if args.docs_command == "sync" and args.catalog_digest and args.registry == "root":
260
+ parser.error("--catalog-digest selects a child catalog")
261
+ return
262
+ if command == "upgrade" and args.dry_run:
263
+ parser.error("Use --all-registries upgrade --dry-run for an upgrade preview")
264
+ if args.registry:
265
+ if command == "init" or not hasattr(args, target_name):
266
+ parser.error("This operation requires an exact path or does not take a registry")
267
+ selected, _ = load_workspace(args.workspace).registry(args.registry)
268
+ setattr(args, target_name, str(selected.parent.parent))
269
+ return
270
+ if not hasattr(args, target_name):
271
+ return
272
+ if args.workspace:
273
+ root = workspace_root(args.workspace)
274
+ if path is None:
275
+ setattr(args, target_name, str(root))
276
+ return
277
+ candidate = Path(path).resolve() if command == "init" else resolve_registry_path(path).resolve()
278
+ if not candidate.is_relative_to(root):
279
+ raise ValidationError(f"Target is outside the selected workspace: {candidate}")
280
+ setattr(args, target_name, path or ".")
281
+
282
+
215
283
  def main(argv: list[str] | None = None) -> int:
216
284
  parser = build_parser()
285
+ _suppress_path_defaults(parser)
217
286
  args = parser.parse_args(argv)
218
287
 
219
288
  try:
289
+ _resolve_target(parser, args)
220
290
  payload = args.func(args)
221
291
  except (RegistryError, ValidationError, GuardError, ValueError, FileNotFoundError) as exc:
222
292
  _print({"passed": False, "error": str(exc)}, args.output_format)
@@ -46,6 +46,10 @@ def register_registry(subparsers: argparse._SubParsersAction) -> None:
46
46
 
47
47
 
48
48
  def run_export(args: argparse.Namespace) -> dict[str, object]:
49
+ if args.all_registries:
50
+ from ssot_registry.api.workspace_views import export_workspace
51
+
52
+ return export_workspace(args.workspace, args.format, args.output)
49
53
  return export_registry(path=args.path, output_format=args.format, output=args.output)
50
54
 
51
55
 
@@ -42,6 +42,7 @@ def register_release(subparsers: argparse._SubParsersAction) -> None:
42
42
  create.add_argument("--boundary-ids", nargs="*", default=None, help="Additional frozen boundary ids to include in the release scope. The primary --boundary-id is always included.")
43
43
  create.add_argument("--claim-ids", nargs="*", default=[], help="Claim ids bundled into the release.")
44
44
  create.add_argument("--evidence-ids", nargs="*", default=[], help="Evidence ids bundled into the release.")
45
+ create.add_argument("--inputs-file", help="JSON file pinning component certifications and delivery requirements.")
45
46
  create.set_defaults(func=run_create)
46
47
 
47
48
  get = release_sub.add_parser("get", help="Show one release.", description="Fetch a single release record by id.")
@@ -63,6 +64,7 @@ def register_release(subparsers: argparse._SubParsersAction) -> None:
63
64
  update.add_argument("--status", choices=["draft", "candidate", "certified", "promoted", "published", "revoked"], default=None, help="Updated publication stage.")
64
65
  update.add_argument("--boundary-id", default=None, help="Replacement primary boundary id that defines the release scope.")
65
66
  update.add_argument("--boundary-ids", nargs="*", default=None, help="Replacement full boundary-id list for the release scope.")
67
+ update.add_argument("--inputs-file", help="Replace component certification pins and delivery requirements on a candidate.")
66
68
  update.set_defaults(func=run_update)
67
69
 
68
70
  delete = release_sub.add_parser("delete", help="Delete a release.", description="Remove a release record from the registry.")
@@ -110,16 +112,19 @@ def register_release(subparsers: argparse._SubParsersAction) -> None:
110
112
  add_path_argument(certify)
111
113
  certify.add_argument("--release-id", default=None, help="Release id to certify. Omit to use the active release.")
112
114
  certify.add_argument("--write-report", action="store_true", help="Write the certification report to the repository for audit review.")
115
+ certify.add_argument("--proof-context-file", help="JSON file describing immutable sources, artifacts and tested components.")
113
116
  certify.set_defaults(func=run_certify)
114
117
 
115
118
  promote = release_sub.add_parser("promote", help="Promote a certified release.", description="Advance a certified release to the promoted state and emit a snapshot.")
116
119
  add_path_argument(promote)
117
120
  promote.add_argument("--release-id", default=None, help="Release id to promote. Omit to use the active release.")
121
+ promote.add_argument("--receipts-file", help="JSON file containing signed promotion receipts.")
118
122
  promote.set_defaults(func=run_promote)
119
123
 
120
124
  publish = release_sub.add_parser("publish", help="Publish a promoted release.", description="Advance a promoted release to the published state and emit a published snapshot.")
121
125
  add_path_argument(publish)
122
126
  publish.add_argument("--release-id", default=None, help="Release id to publish. Omit to use the active release.")
127
+ publish.add_argument("--receipts-file", help="JSON file containing signed publication receipts.")
123
128
  publish.set_defaults(func=run_publish)
124
129
 
125
130
  verify_local = release_sub.add_parser(
@@ -155,6 +160,11 @@ def run_create(args: argparse.Namespace) -> dict[str, object]:
155
160
  "claim_ids": args.claim_ids,
156
161
  "evidence_ids": args.evidence_ids,
157
162
  }
163
+ if args.inputs_file:
164
+ from ssot_registry.api.workspace_proof import parse_inputs
165
+ from ssot_registry.util.jsonio import load_json
166
+
167
+ row.update(parse_inputs(load_json(args.inputs_file)))
158
168
  return create_entity(args.path, "releases", row)
159
169
 
160
170
 
@@ -182,6 +192,11 @@ def run_update(args: argparse.Namespace) -> dict[str, object]:
182
192
  "boundary_id": args.boundary_id or (boundary_ids[0] if boundary_ids else None),
183
193
  "boundary_ids": boundary_ids,
184
194
  })
195
+ if args.inputs_file:
196
+ from ssot_registry.api.workspace_proof import parse_inputs
197
+ from ssot_registry.util.jsonio import load_json
198
+
199
+ changes.update(parse_inputs(load_json(args.inputs_file)))
185
200
  if not changes:
186
201
  raise ValueError("At least one update field is required")
187
202
  return update_entity(args.path, "releases", args.id, changes)
@@ -216,15 +231,24 @@ def run_remove_boundary(args: argparse.Namespace) -> dict[str, object]:
216
231
 
217
232
 
218
233
  def run_certify(args: argparse.Namespace) -> dict[str, object]:
219
- return certify_release(path=args.path, release_id=args.release_id, write_report=args.write_report)
234
+ from ssot_registry.util.jsonio import load_json
235
+
236
+ return certify_release(path=args.path, release_id=args.release_id, write_report=args.write_report,
237
+ proof_context=load_json(args.proof_context_file) if args.proof_context_file else None)
220
238
 
221
239
 
222
240
  def run_promote(args: argparse.Namespace) -> dict[str, object]:
223
- return promote_release(path=args.path, release_id=args.release_id)
241
+ from ssot_registry.util.jsonio import load_json
242
+
243
+ return promote_release(path=args.path, release_id=args.release_id,
244
+ receipts=load_json(args.receipts_file) if args.receipts_file else None)
224
245
 
225
246
 
226
247
  def run_publish(args: argparse.Namespace) -> dict[str, object]:
227
- return publish_release(path=args.path, release_id=args.release_id)
248
+ from ssot_registry.util.jsonio import load_json
249
+
250
+ return publish_release(path=args.path, release_id=args.release_id,
251
+ receipts=load_json(args.receipts_file) if args.receipts_file else None)
228
252
 
229
253
 
230
254
  def run_verify_local(args: argparse.Namespace) -> dict[str, object]:
@@ -15,10 +15,16 @@ def register_upgrade(subparsers: argparse._SubParsersAction) -> None:
15
15
  parser.add_argument("--target-version", default=None, help="Explicit package version target. Defaults to the installed version.")
16
16
  parser.add_argument("--sync-docs", action="store_true", help="Refresh packaged ADR and SPEC documents after the migration completes.")
17
17
  parser.add_argument("--write-report", action="store_true", help="Write an upgrade report under `.ssot/reports`.")
18
+ parser.add_argument("--dry-run", action="store_true", help="Preflight a workspace-wide upgrade without writing.")
18
19
  parser.set_defaults(func=run)
19
20
 
20
21
 
21
22
  def run(args: argparse.Namespace) -> dict[str, object]:
23
+ if args.all_registries:
24
+ from ssot_registry.api.workspace_upgrade import upgrade_all_registries
25
+
26
+ return upgrade_all_registries(args.workspace, target_version=args.target_version,
27
+ dry_run=args.dry_run, write_report=args.write_report)
22
28
  return upgrade_registry(
23
29
  args.path,
24
30
  target_version=args.target_version,
@@ -5,6 +5,7 @@ from pathlib import Path
5
5
 
6
6
  from ssot_registry.api import validate_registry
7
7
  from ssot_registry.util.jsonio import save_json
8
+ from ssot_registry.util.fs import resolve_registry_path
8
9
 
9
10
 
10
11
  def register_validate(subparsers: argparse._SubParsersAction) -> None:
@@ -19,10 +20,13 @@ def register_validate(subparsers: argparse._SubParsersAction) -> None:
19
20
 
20
21
 
21
22
  def run(args: argparse.Namespace) -> dict[str, object]:
23
+ if args.all_registries:
24
+ from ssot_registry.api.workspace_views import validate_workspace
25
+
26
+ return validate_workspace(args.workspace, write_report=args.write_report)
22
27
  report = validate_registry(args.path)
23
28
  if args.write_report:
24
- path = Path(args.path)
25
- repo_root = path if path.is_dir() else path.parent.parent
29
+ repo_root = resolve_registry_path(Path(args.path).resolve()).parent.parent
26
30
  output_path = repo_root / ".ssot" / "reports" / "validation.report.json"
27
31
  save_json(output_path, report)
28
32
  report["report_path"] = output_path.as_posix()
@@ -0,0 +1,84 @@
1
+ from __future__ import annotations
2
+
3
+ import argparse
4
+ from pathlib import Path
5
+ from typing import Any
6
+
7
+ from ssot_registry.api.document_catalog import catalog_state, current_catalogs
8
+ from ssot_registry.api.document_proof import verify_frozen_documents
9
+ from ssot_registry.api.workspace import edit_workspace, initialize_workspace, load_workspace, workspace_entry
10
+ from ssot_registry.api.workspace_sync import set_document_mode, sync_documents
11
+ from ssot_registry.api.validate import validate_registry
12
+
13
+
14
+ def register_workspace(subparsers: Any) -> None:
15
+ workspace = subparsers.add_parser("workspace", help="Manage the workspace registry inventory.")
16
+ commands = workspace.add_subparsers(dest="workspace_command", required=True)
17
+ for name in ("init", "list", "show", "add", "move", "remove", "upgrade"):
18
+ command = commands.add_parser(name)
19
+ if name in {"show", "move", "remove"}:
20
+ command.add_argument("--id", required=True)
21
+ if name in {"add", "move"}:
22
+ command.add_argument("--path", required=True, dest="member_path")
23
+ if name == "upgrade":
24
+ command.add_argument("--dry-run", action="store_true")
25
+ command.set_defaults(func=run_workspace)
26
+
27
+
28
+ def register_docs(subparsers: Any) -> None:
29
+ docs = subparsers.add_parser("docs", help="Manage pinned workspace ADR and SPEC catalogs.")
30
+ commands = docs.add_subparsers(dest="docs_command", required=True)
31
+ commands.add_parser("status").set_defaults(func=run_docs)
32
+ sync = commands.add_parser("sync")
33
+ sync.add_argument("--source", default="builtin")
34
+ sync.add_argument("--catalog-digest")
35
+ sync.add_argument("--dry-run", action="store_true")
36
+ sync.set_defaults(func=run_docs)
37
+ mode = commands.add_parser("set-mode")
38
+ mode.add_argument("--mode", choices=["shared", "local"], required=True)
39
+ mode.add_argument("--apply", action="store_true")
40
+ mode.set_defaults(func=run_docs)
41
+
42
+
43
+ def run_workspace(args: argparse.Namespace) -> Any:
44
+ action = args.workspace_command
45
+ if action == "init":
46
+ return initialize_workspace(args.workspace or ".")
47
+ if action == "upgrade":
48
+ from ssot_registry.api.workspace_upgrade import upgrade_workspace_format
49
+
50
+ return upgrade_workspace_format(args.workspace, dry_run=args.dry_run)
51
+ if action in {"add", "move", "remove"}:
52
+ return edit_workspace(args.workspace, action, registry_id=getattr(args, "id", None), relative=getattr(args, "member_path", None))
53
+ workspace = load_workspace(args.workspace)
54
+ if action == "show":
55
+ return workspace_entry(workspace, args.id)
56
+ return {
57
+ "passed": True, "schema_version": workspace.schema_version,
58
+ "registries": [workspace_entry(workspace, member) for member in workspace.ordered_ids()],
59
+ }
60
+
61
+
62
+ def run_docs(args: argparse.Namespace) -> dict[str, Any]:
63
+ workspace = load_workspace(args.workspace)
64
+ if args.all_registries:
65
+ return sync_documents(workspace.root, all_registries=True, source=args.source, dry_run=args.dry_run)
66
+ registry_id = args.registry
67
+ if registry_id is None:
68
+ from ssot_registry.api.load import load_registry
69
+
70
+ _, _, registry = load_registry(workspace.root if args.workspace else Path.cwd())
71
+ registry_id = registry["repo"]["id"]
72
+ if args.docs_command == "sync":
73
+ return sync_documents(workspace.root, registry_id=registry_id, source=args.source, catalog_digest=args.catalog_digest,
74
+ dry_run=args.dry_run)
75
+ if args.docs_command == "set-mode":
76
+ return set_document_mode(workspace.root, registry_id, args.mode, apply=args.apply)
77
+ path, registry = workspace.registry(registry_id)
78
+ report = validate_registry(path)
79
+ retained = verify_frozen_documents(path.parent.parent, registry) if report["passed"] else []
80
+ return {
81
+ "passed": report["passed"], "registry_id": registry["repo"]["id"], "managed_docs": catalog_state(registry),
82
+ "failures": report["failures"], "retained_frozen_documents": retained,
83
+ **({"catalogs": current_catalogs(workspace.root)} if registry["repo"]["id"] == workspace.root_id else {}),
84
+ }
@@ -1,3 +1,36 @@
1
+ Metadata-Version: 2.4
2
+ Name: ssot-cli
3
+ Version: 0.2.0
4
+ Summary: Primary CLI distribution for ssot-registry.
5
+ Author-email: Jacob Stewart <jacob@swarmauri.com>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/groupsum/ssot-registry/tree/main/pkgs/ssot-cli
8
+ Project-URL: Repository, https://github.com/groupsum/ssot-registry/tree/main/pkgs/ssot-cli
9
+ Project-URL: Issues, https://github.com/groupsum/ssot-registry/issues
10
+ Project-URL: Discord, https://discord.gg/mAjzxwSwRp
11
+ Keywords: ssot,cli,registry,governance,release-management,validation,developer-tools
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Intended Audience :: Information Technology
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
23
+ Classifier: Programming Language :: Python :: 3.15
24
+ Classifier: Topic :: Software Development :: Documentation
25
+ Classifier: Topic :: Software Development :: Quality Assurance
26
+ Classifier: Topic :: Utilities
27
+ Requires-Python: <3.16,>=3.11
28
+ Description-Content-Type: text/markdown
29
+ Requires-Dist: ssot-contracts<0.4.0,>=0.3.0
30
+ Requires-Dist: ssot-core<0.4.0,>=0.3.0
31
+ Requires-Dist: ssot-conformance<0.4.0,>=0.3.0
32
+ Requires-Dist: ssot-pack-contracts<0.3.0,>=0.2.24
33
+
1
34
  <div align="center">
2
35
  <h1>🔷 ssot-cli</h1>
3
36
  <p><strong>Primary command-line distribution for SSOT workflows.</strong></p>
@@ -137,11 +170,39 @@ ssot conformance run . --profiles registry
137
170
 
138
171
  ## Command surface
139
172
 
173
+ ### Workspace registries
174
+
175
+ ```powershell
176
+ ssot init . --repo-id repo:platform --repo-name Platform
177
+ ssot workspace init
178
+ ssot init services/api --repo-id repo:api --repo-name API
179
+ ssot workspace add --path services/api
180
+ ssot --registry root validate
181
+ ssot --registry repo:api validate
182
+ ssot --all-registries validate
183
+ ssot --all-registries docs sync --dry-run
184
+ ssot --all-registries docs sync
185
+ ```
186
+
187
+ Bulk document sync checks every registered member before committing the root catalog and updating children to the same digest. Rerun the same command to resume an interrupted operation. Frozen boundaries retain the exact document revisions they were verified against. Use `--docs-mode local` at child initialization for an offline copy, or preview an existing child's conversion with `ssot --registry repo:api docs set-mode --mode local`. Add `--apply` to make the change.
188
+
189
+ Install the `ssot-core[delivery]` extra for receipt-gated releases. In the root registry, `.ssot/receipt-issuers.json` maps issuer IDs to base64-encoded raw Ed25519 public keys. Receipts carry a `payload` and a base64-encoded signature over the canonical JSON payload. CI performs the delivery operation and supplies its receipt to `release promote` or `release publish`.
190
+
191
+ ```powershell
192
+ ssot workspace upgrade
193
+ ssot --registry root upgrade --write-report
194
+ ssot --registry repo:api upgrade --write-report
195
+ ssot --all-registries upgrade --dry-run
196
+ ssot --all-registries upgrade --write-report
197
+ ```
198
+
199
+ `workspace upgrade` migrates the inventory from format 1 to format 2. A registry upgrade refreshes the packaged schemas for its selected registry. A batch preflights all registries, commits the root and children, and then advances the inventory format. Rerun the batch with the same installed runtime to resume an interrupted upgrade. Catalog and proof objects keep their original digests. Run managed document sync separately.
200
+
140
201
  ### Complete parser manifest
141
202
 
142
203
  This table is generated from the live `argparse` parser and is checked by integration tests against the current CLI implementation.
143
204
 
144
- Global flags: `--output-file`, `--output-format`, `--version`
205
+ Global flags: `--all-registries`, `--output-file`, `--output-format`, `--registry`, `--version`, `--workspace`
145
206
 
146
207
  | Command path | Flags |
147
208
  | --- | --- |
@@ -160,7 +221,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
160
221
  | `ssot-registry boundary` | none |
161
222
  | `ssot-registry boundary add-feature` | `--feature-ids`, `--id` |
162
223
  | `ssot-registry boundary add-profile` | `--id`, `--profile-ids` |
163
- | `ssot-registry boundary create` | `--body`, `--body-file`, `--feature-ids`, `--frozen`, `--id`, `--no-frozen`, `--profile-ids`, `--status`, `--title` |
224
+ | `ssot-registry boundary create` | `--body`, `--body-file`, `--feature-ids`, `--frozen`, `--id`, `--members-file`, `--no-frozen`, `--profile-ids`, `--status`, `--title` |
164
225
  | `ssot-registry boundary delete` | `--id` |
165
226
  | `ssot-registry boundary freeze` | `--boundary-id` |
166
227
  | `ssot-registry boundary get` | `--id` |
@@ -168,7 +229,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
168
229
  | `ssot-registry boundary remove-feature` | `--feature-ids`, `--id` |
169
230
  | `ssot-registry boundary remove-profile` | `--id`, `--profile-ids` |
170
231
  | `ssot-registry boundary run-tests` | `--dry-run`, `--evidence-output`, `--id` |
171
- | `ssot-registry boundary update` | `--body`, `--body-file`, `--frozen`, `--id`, `--no-frozen`, `--status`, `--title` |
232
+ | `ssot-registry boundary update` | `--body`, `--body-file`, `--frozen`, `--id`, `--members-file`, `--no-frozen`, `--status`, `--title` |
172
233
  | `ssot-registry campaign` | none |
173
234
  | `ssot-registry campaign status` | `--campaign-id`, `--feature-limit`, `--target-tier` |
174
235
  | `ssot-registry claim` | none |
@@ -193,6 +254,10 @@ Global flags: `--output-file`, `--output-format`, `--version`
193
254
  | `ssot-registry conformance profile list` | none |
194
255
  | `ssot-registry conformance run` | `--dry-run`, `--evidence-output`, `--profiles` |
195
256
  | `ssot-registry conformance scaffold` | `--apply`, `--include-claims`, `--include-evidence`, `--profiles` |
257
+ | `ssot-registry docs` | none |
258
+ | `ssot-registry docs set-mode` | `--apply`, `--mode` |
259
+ | `ssot-registry docs status` | none |
260
+ | `ssot-registry docs sync` | `--catalog-digest`, `--dry-run`, `--source` |
196
261
  | `ssot-registry evidence` | none |
197
262
  | `ssot-registry evidence create` | `--body`, `--body-file`, `--claim-ids`, `--evidence-path`, `--id`, `--kind`, `--origin`, `--release-context-file`, `--release-context-json`, `--robustness-dimensions`, `--source-evidence-ids`, `--status`, `--test-ids`, `--tier`, `--title` |
198
263
  | `ssot-registry evidence delete` | `--id` |
@@ -203,31 +268,31 @@ Global flags: `--output-file`, `--output-format`, `--version`
203
268
  | `ssot-registry evidence update` | `--body`, `--body-file`, `--evidence-path`, `--id`, `--kind`, `--origin`, `--release-context-file`, `--release-context-json`, `--robustness-dimensions`, `--source-evidence-ids`, `--status`, `--tier`, `--title` |
204
269
  | `ssot-registry evidence verify` | `--evidence-id` |
205
270
  | `ssot-registry feature` | none |
271
+ | `ssot-registry feature certify-proof-graph` | `--boundary-id`, `--boundary-title`, `--ids`, `--promote`, `--publish`, `--release-id`, `--release-version`, `--robustness-dimensions`, `--write-report` |
206
272
  | `ssot-registry feature children` | none |
207
273
  | `ssot-registry feature children add` | `--child-ids`, `--id` |
208
274
  | `ssot-registry feature children list` | `--id` |
209
275
  | `ssot-registry feature children remove` | `--child-ids`, `--id` |
210
- | `ssot-registry feature create` | `--body`, `--body-file`, `--claim-ids`, `--claim-tier`, `--description`, `--horizon`, `--id`, `--implementation-status`, `--lifecycle-stage`, `--note`, `--origin`, `--out-of-bounds-disposition`, `--parent-feature-ids`, `--replacement-feature-id`, `--requires`, `--slot`, `--spec-ids`, `--target-lifecycle-stage`, `--test-ids`, `--title` |
276
+ | `ssot-registry feature create` | `--auto-scaffold-proof-graph`, `--body`, `--body-file`, `--claim-ids`, `--claim-tier`, `--description`, `--horizon`, `--id`, `--implementation-status`, `--lifecycle-stage`, `--no-auto-scaffold-proof-graph`, `--note`, `--origin`, `--out-of-bounds-disposition`, `--parent-feature-ids`, `--replacement-feature-id`, `--requires`, `--slot`, `--spec-ids`, `--target-lifecycle-stage`, `--test-ids`, `--title` |
211
277
  | `ssot-registry feature delete` | `--id` |
212
278
  | `ssot-registry feature get` | `--id` |
213
- | `ssot-registry feature certify-proof-graph` | `--boundary-id`, `--boundary-title`, `--ids`, `--promote`, `--publish`, `--release-id`, `--release-version`, `--robustness-dimensions`, `--write-report` |
214
279
  | `ssot-registry feature lifecycle` | none |
215
280
  | `ssot-registry feature lifecycle set` | `--effective-release-id`, `--ids`, `--note`, `--replacement-feature-id`, `--stage` |
216
281
  | `ssot-registry feature link` | `--claim-ids`, `--id`, `--requires`, `--spec-ids`, `--test-ids` |
217
282
  | `ssot-registry feature list` | `--ids`, `--origin` |
218
283
  | `ssot-registry feature parent` | none |
219
284
  | `ssot-registry feature parent add` | `--ids`, `--parent-ids` |
220
- | `ssot-registry feature parent-audit` | `--feature-id`, `--parent-id`, `--remove-parent-link` |
221
285
  | `ssot-registry feature parent clear` | `--ids` |
222
286
  | `ssot-registry feature parent remove` | `--ids`, `--parent-ids` |
223
287
  | `ssot-registry feature parent set` | `--ids`, `--parent-ids` |
288
+ | `ssot-registry feature parent-audit` | `--feature-id`, `--parent-id`, `--remove-parent-link` |
224
289
  | `ssot-registry feature plan` | `--claim-tier`, `--horizon`, `--ids`, `--out-of-bounds-disposition`, `--slot`, `--target-lifecycle-stage` |
225
290
  | `ssot-registry feature unlink` | `--claim-ids`, `--id`, `--requires`, `--spec-ids`, `--test-ids` |
226
291
  | `ssot-registry feature update` | `--body`, `--body-file`, `--description`, `--id`, `--implementation-status`, `--origin`, `--title` |
227
292
  | `ssot-registry graph` | none |
228
293
  | `ssot-registry graph export` | `--format`, `--output` |
229
294
  | `ssot-registry graph lineage` | `--open`, `--output` |
230
- | `ssot-registry init` | `--force`, `--repo-id`, `--repo-name`, `--version` |
295
+ | `ssot-registry init` | `--docs-mode`, `--force`, `--repo-id`, `--repo-name`, `--version` |
231
296
  | `ssot-registry issue` | none |
232
297
  | `ssot-registry issue close` | `--id` |
233
298
  | `ssot-registry issue create` | `--body`, `--body-file`, `--claim-ids`, `--description`, `--evidence-ids`, `--feature-ids`, `--horizon`, `--id`, `--no-release-blocking`, `--release-blocking`, `--risk-ids`, `--severity`, `--slot`, `--status`, `--test-ids`, `--title` |
@@ -268,18 +333,18 @@ Global flags: `--output-file`, `--output-format`, `--version`
268
333
  | `ssot-registry release add-boundary` | `--boundary-ids`, `--id` |
269
334
  | `ssot-registry release add-claim` | `--claim-ids`, `--id` |
270
335
  | `ssot-registry release add-evidence` | `--evidence-ids`, `--id` |
271
- | `ssot-registry release certify` | `--release-id`, `--write-report` |
272
- | `ssot-registry release create` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--claim-ids`, `--evidence-ids`, `--id`, `--status`, `--version` |
336
+ | `ssot-registry release certify` | `--proof-context-file`, `--release-id`, `--write-report` |
337
+ | `ssot-registry release create` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--claim-ids`, `--evidence-ids`, `--id`, `--inputs-file`, `--status`, `--version` |
273
338
  | `ssot-registry release delete` | `--id` |
274
339
  | `ssot-registry release get` | `--id` |
275
340
  | `ssot-registry release list` | `--ids` |
276
- | `ssot-registry release promote` | `--release-id` |
277
- | `ssot-registry release publish` | `--release-id` |
341
+ | `ssot-registry release promote` | `--receipts-file`, `--release-id` |
342
+ | `ssot-registry release publish` | `--receipts-file`, `--release-id` |
278
343
  | `ssot-registry release remove-boundary` | `--boundary-ids`, `--id` |
279
344
  | `ssot-registry release remove-claim` | `--claim-ids`, `--id` |
280
345
  | `ssot-registry release remove-evidence` | `--evidence-ids`, `--id` |
281
346
  | `ssot-registry release revoke` | `--reason`, `--release-id` |
282
- | `ssot-registry release update` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--id`, `--status`, `--version` |
347
+ | `ssot-registry release update` | `--body`, `--body-file`, `--boundary-id`, `--boundary-ids`, `--id`, `--inputs-file`, `--status`, `--version` |
283
348
  | `ssot-registry release verify-local` | `--blocking`, `--no-write-artifacts`, `--path-policy`, `--release-id` |
284
349
  | `ssot-registry repo-watch` | none |
285
350
  | `ssot-registry repo-watch scan` | `--no-emit-events` |
@@ -318,7 +383,7 @@ Global flags: `--output-file`, `--output-format`, `--version`
318
383
  | `ssot-registry test run` | `--dry-run`, `--evidence-output`, `--id`, `--ids` |
319
384
  | `ssot-registry test unlink` | `--claim-ids`, `--evidence-ids`, `--feature-ids`, `--id` |
320
385
  | `ssot-registry test update` | `--body`, `--body-file`, `--execution-file`, `--execution-json`, `--id`, `--kind`, `--origin`, `--status`, `--test-path`, `--title` |
321
- | `ssot-registry upgrade` | `--sync-docs`, `--target-version`, `--write-report` |
386
+ | `ssot-registry upgrade` | `--dry-run`, `--sync-docs`, `--target-version`, `--write-report` |
322
387
  | `ssot-registry validate` | `--write-report` |
323
388
  | `ssot-registry worker` | none |
324
389
  | `ssot-registry worker abandon` | `--fencing-token`, `--lease-id`, `--reason`, `--worker-id` |
@@ -327,6 +392,14 @@ Global flags: `--output-file`, `--output-format`, `--version`
327
392
  | `ssot-registry worker events` | `--after-event-id`, `--campaign-id`, `--limit`, `--worker-id` |
328
393
  | `ssot-registry worker register` | `--os-user`, `--worker-id` |
329
394
  | `ssot-registry worker renew` | `--fencing-token`, `--lease-id`, `--ttl-seconds`, `--worker-id` |
395
+ | `ssot-registry workspace` | none |
396
+ | `ssot-registry workspace add` | `--path` |
397
+ | `ssot-registry workspace init` | none |
398
+ | `ssot-registry workspace list` | none |
399
+ | `ssot-registry workspace move` | `--id`, `--path` |
400
+ | `ssot-registry workspace remove` | `--id` |
401
+ | `ssot-registry workspace show` | `--id` |
402
+ | `ssot-registry workspace upgrade` | `--dry-run` |
330
403
 
331
404
  ### Top-level commands
332
405
 
@@ -27,6 +27,7 @@ src/ssot_cli/test_cmd.py
27
27
  src/ssot_cli/upgrade_cmd.py
28
28
  src/ssot_cli/validate_cmd.py
29
29
  src/ssot_cli/worker_cmd.py
30
+ src/ssot_cli/workspace_cmd.py
30
31
  src/ssot_cli.egg-info/PKG-INFO
31
32
  src/ssot_cli.egg-info/SOURCES.txt
32
33
  src/ssot_cli.egg-info/dependency_links.txt
@@ -0,0 +1,4 @@
1
+ ssot-contracts<0.4.0,>=0.3.0
2
+ ssot-core<0.4.0,>=0.3.0
3
+ ssot-conformance<0.4.0,>=0.3.0
4
+ ssot-pack-contracts<0.3.0,>=0.2.24
@@ -1,7 +0,0 @@
1
- ssot-contracts<0.3.0,>=0.2.26
2
- ssot-core<0.3.0,>=0.2.26
3
- ssot-conformance<0.3.0,>=0.2.26
4
- ssot-pack-contracts<0.3.0,>=0.2.23
5
-
6
- [:python_version < "3.11"]
7
- tomli>=2.0.1
File without changes