dominus-sdk-python 6.3.0__tar.gz → 7.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/PKG-INFO +59 -2
  2. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/README.md +58 -1
  3. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/__init__.py +4 -1
  4. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/__init__.py +5 -0
  5. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/authority.py +10 -69
  6. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/stash.py +325 -1
  7. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/start.py +1 -1
  8. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus_sdk_python.egg-info/PKG-INFO +59 -2
  9. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus_sdk_python.egg-info/SOURCES.txt +3 -0
  10. dominus_sdk_python-7.1.0/dominus_sdk_python.egg-info/dependency_links.txt +1 -0
  11. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/pyproject.toml +1 -1
  12. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_authority_public_vocabulary.py +28 -56
  13. dominus_sdk_python-7.1.0/tests/test_namespace_barrel_exports.py +41 -0
  14. dominus_sdk_python-7.1.0/tests/test_stash_tables_namespace.py +294 -0
  15. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/config/__init__.py +0 -0
  16. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/config/endpoints.py +0 -0
  17. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/errors.py +0 -0
  18. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/helpers/__init__.py +0 -0
  19. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/helpers/auth.py +0 -0
  20. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/helpers/cache.py +0 -0
  21. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/helpers/console_capture.py +0 -0
  22. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/helpers/core.py +0 -0
  23. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/helpers/crypto.py +0 -0
  24. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/helpers/sse.py +0 -0
  25. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/helpers/trace.py +0 -0
  26. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/admin.py +0 -0
  27. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/ai.py +0 -0
  28. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/artifacts.py +0 -0
  29. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/auth.py +0 -0
  30. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/browser.py +0 -0
  31. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/coder.py +0 -0
  32. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/courier.py +0 -0
  33. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/db.py +0 -0
  34. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/ddl.py +0 -0
  35. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/deployer.py +0 -0
  36. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/fastapi.py +0 -0
  37. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/files.py +0 -0
  38. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/health.py +0 -0
  39. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/jobs.py +0 -0
  40. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/logs.py +0 -0
  41. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/platform.py +0 -0
  42. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/portal.py +0 -0
  43. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/processor.py +0 -0
  44. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/publisher.py +0 -0
  45. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/recipes.py +0 -0
  46. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/redis.py +0 -0
  47. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/secrets.py +0 -0
  48. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/secure.py +0 -0
  49. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/sync.py +0 -0
  50. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/warden.py +0 -0
  51. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/namespaces/workflow.py +0 -0
  52. /dominus_sdk_python-6.3.0/dominus_sdk_python.egg-info/dependency_links.txt → /dominus_sdk_python-7.1.0/dominus/py.typed +0 -0
  53. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus/services/__init__.py +0 -0
  54. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus_sdk_python.egg-info/requires.txt +0 -0
  55. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/dominus_sdk_python.egg-info/top_level.txt +0 -0
  56. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/setup.cfg +0 -0
  57. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_auth.py +0 -0
  58. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_browser_namespace.py +0 -0
  59. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_control_plane_namespaces.py +0 -0
  60. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_errors.py +0 -0
  61. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_flat_commands.py +0 -0
  62. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_health.py +0 -0
  63. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_logs.py +0 -0
  64. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_platform_coder_namespaces.py +0 -0
  65. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_provisioning_parity.py +0 -0
  66. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_public_exports.py +0 -0
  67. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_publisher_namespace.py +0 -0
  68. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_recipes_namespace.py +0 -0
  69. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_recipes_stash_routing.py +0 -0
  70. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_stash_artifact_facade.py +0 -0
  71. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_transport_compat.py +0 -0
  72. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_workflow_lifecycle.py +0 -0
  73. {dominus_sdk_python-6.3.0 → dominus_sdk_python-7.1.0}/tests/test_workflow_refs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dominus-sdk-python
3
- Version: 6.3.0
3
+ Version: 7.1.0
4
4
  Summary: Python SDK for the Dominus gateway-first platform
5
5
  Author-email: CareBridge Systems <dev@carebridge.io>
6
6
  License-Expression: LicenseRef-Proprietary
@@ -35,6 +35,12 @@ Requires-Dist: PyJWT>=2.8.0; extra == "all"
35
35
 
36
36
  Async Python SDK for the Dominus gateway-first service plane.
37
37
 
38
+ ## Agent Guide
39
+
40
+ Start with `docs/agent-guide/INDEX.md`. The current snapshot is
41
+ `docs/agent-guide/2026-06-27-0849-agent-guide/00-reading-order.md`; the latest
42
+ cleanup audit is `docs/janitor/2026-06-27-0849-agent-guide-cleanup-audit.md`.
43
+
38
44
  ## What This Repo Ships
39
45
 
40
46
  - Python 3.9+ asyncio client for Dominus services
@@ -42,7 +48,7 @@ Async Python SDK for the Dominus gateway-first service plane.
42
48
  - Gateway-scoped client mode for MCP and other user-JWT sessions
43
49
  - Transport compatibility for wrapped `{success,data}` responses and unwrapped Warden/control-plane success objects
44
50
  - Local helpers for JWT verification, trace propagation, retries, and console capture
45
- - Current package version: `6.1.1`
51
+ - Current package version: `7.1.0`
46
52
 
47
53
  ## Install
48
54
 
@@ -135,6 +141,54 @@ buffer_cleanup = await dominus.logs.run_archive_buffer_maintenance(
135
141
  schedules = await dominus.authority.list_schedules(all_scopes=True)
136
142
  ```
137
143
 
144
+ ## Stash Managed Tables
145
+
146
+ `dominus.stash.tables` provides a typed client for small, scoped JSONB tables
147
+ without exposing SQL. Every call requires `env`, `scope` (`self` or `group`),
148
+ and `table`; self and group tables resolve to independent project and shared
149
+ databases.
150
+
151
+ ```python
152
+ spec = await dominus.stash.tables.define(
153
+ env="production",
154
+ scope="self",
155
+ table="jobs",
156
+ if_revision=0,
157
+ primary_key={"field": "id", "generate": "uuid"},
158
+ fields={
159
+ "id": {"type": "uuid", "required": True},
160
+ "status": {"type": "string", "required": True},
161
+ "priority": {"type": "integer"},
162
+ },
163
+ )
164
+
165
+ row = await dominus.stash.tables.put_row(
166
+ env="production",
167
+ scope="self",
168
+ table="jobs",
169
+ if_revision=0,
170
+ row={"status": "queued", "priority": 5},
171
+ )
172
+
173
+ page = await dominus.stash.tables.select(
174
+ env="production",
175
+ scope="self",
176
+ table="jobs",
177
+ where={
178
+ "or": [
179
+ {"field": "status", "op": "eq", "value": "queued"},
180
+ {"field": "priority", "op": "gte", "value": 5},
181
+ ]
182
+ },
183
+ page_size=50,
184
+ )
185
+ ```
186
+
187
+ Use `if_revision` for table definitions and single-row put/delete compare-and-
188
+ swap. `update_where` instead requires `if_spec_revision` and `max_affected`.
189
+ Cursors are opaque keyset tokens. `delete_row` is a hard delete and returns a
190
+ durable mutation receipt; there is no soft-delete or restore lifecycle.
191
+
138
192
  ## Browser Automation
139
193
 
140
194
  `dominus.browser` exposes the first-class Dominus browser automation primitive through authenticated gateway routes under `/svc/browser/*`. SDK methods use `/api/browser/*` internally with gateway routing enabled; worker-local routes remain `/health` and `/runs/*`.
@@ -223,6 +277,9 @@ JWT and selected scope headers directly through Gateway.
223
277
  | `warden` | Warden | Thin operator control-plane request surface |
224
278
  | `platform` | Platform Worker | Group/repository policy decisions with actor attribution |
225
279
  | `coder` | Coder Runtime | Policy-bound Coder run lifecycle with workflow/pipeline recipe launch sources |
280
+ | `publisher` | Publisher | Release/channel/signing build and artifact operations |
281
+ | `stash` | Stash | Items, managed tables, kinds, bookmarks, watches, artifact facade |
282
+ | `recipes` | Recipe Worker | Recipe type registry, publish, validate, get/list |
226
283
  | `fastapi` | Local decorators | `@jwt`, `@psk`, `@scopes(...)` |
227
284
 
228
285
  ## Root Shortcuts
@@ -2,6 +2,12 @@
2
2
 
3
3
  Async Python SDK for the Dominus gateway-first service plane.
4
4
 
5
+ ## Agent Guide
6
+
7
+ Start with `docs/agent-guide/INDEX.md`. The current snapshot is
8
+ `docs/agent-guide/2026-06-27-0849-agent-guide/00-reading-order.md`; the latest
9
+ cleanup audit is `docs/janitor/2026-06-27-0849-agent-guide-cleanup-audit.md`.
10
+
5
11
  ## What This Repo Ships
6
12
 
7
13
  - Python 3.9+ asyncio client for Dominus services
@@ -9,7 +15,7 @@ Async Python SDK for the Dominus gateway-first service plane.
9
15
  - Gateway-scoped client mode for MCP and other user-JWT sessions
10
16
  - Transport compatibility for wrapped `{success,data}` responses and unwrapped Warden/control-plane success objects
11
17
  - Local helpers for JWT verification, trace propagation, retries, and console capture
12
- - Current package version: `6.1.1`
18
+ - Current package version: `7.1.0`
13
19
 
14
20
  ## Install
15
21
 
@@ -102,6 +108,54 @@ buffer_cleanup = await dominus.logs.run_archive_buffer_maintenance(
102
108
  schedules = await dominus.authority.list_schedules(all_scopes=True)
103
109
  ```
104
110
 
111
+ ## Stash Managed Tables
112
+
113
+ `dominus.stash.tables` provides a typed client for small, scoped JSONB tables
114
+ without exposing SQL. Every call requires `env`, `scope` (`self` or `group`),
115
+ and `table`; self and group tables resolve to independent project and shared
116
+ databases.
117
+
118
+ ```python
119
+ spec = await dominus.stash.tables.define(
120
+ env="production",
121
+ scope="self",
122
+ table="jobs",
123
+ if_revision=0,
124
+ primary_key={"field": "id", "generate": "uuid"},
125
+ fields={
126
+ "id": {"type": "uuid", "required": True},
127
+ "status": {"type": "string", "required": True},
128
+ "priority": {"type": "integer"},
129
+ },
130
+ )
131
+
132
+ row = await dominus.stash.tables.put_row(
133
+ env="production",
134
+ scope="self",
135
+ table="jobs",
136
+ if_revision=0,
137
+ row={"status": "queued", "priority": 5},
138
+ )
139
+
140
+ page = await dominus.stash.tables.select(
141
+ env="production",
142
+ scope="self",
143
+ table="jobs",
144
+ where={
145
+ "or": [
146
+ {"field": "status", "op": "eq", "value": "queued"},
147
+ {"field": "priority", "op": "gte", "value": 5},
148
+ ]
149
+ },
150
+ page_size=50,
151
+ )
152
+ ```
153
+
154
+ Use `if_revision` for table definitions and single-row put/delete compare-and-
155
+ swap. `update_where` instead requires `if_spec_revision` and `max_affected`.
156
+ Cursors are opaque keyset tokens. `delete_row` is a hard delete and returns a
157
+ durable mutation receipt; there is no soft-delete or restore lifecycle.
158
+
105
159
  ## Browser Automation
106
160
 
107
161
  `dominus.browser` exposes the first-class Dominus browser automation primitive through authenticated gateway routes under `/svc/browser/*`. SDK methods use `/api/browser/*` internally with gateway routing enabled; worker-local routes remain `/health` and `/runs/*`.
@@ -190,6 +244,9 @@ JWT and selected scope headers directly through Gateway.
190
244
  | `warden` | Warden | Thin operator control-plane request surface |
191
245
  | `platform` | Platform Worker | Group/repository policy decisions with actor attribution |
192
246
  | `coder` | Coder Runtime | Policy-bound Coder run lifecycle with workflow/pipeline recipe launch sources |
247
+ | `publisher` | Publisher | Release/channel/signing build and artifact operations |
248
+ | `stash` | Stash | Items, managed tables, kinds, bookmarks, watches, artifact facade |
249
+ | `recipes` | Recipe Worker | Recipe type registry, publish, validate, get/list |
193
250
  | `fastapi` | Local decorators | `@jwt`, `@psk`, `@scopes(...)` |
194
251
 
195
252
  ## Root Shortcuts
@@ -115,6 +115,7 @@ from .namespaces.warden import WardenNamespace
115
115
  from .namespaces.platform import PlatformNamespace
116
116
  from .namespaces.coder import CoderNamespace
117
117
  from .namespaces.publisher import PublisherNamespace
118
+ from .namespaces.stash import StashNamespace, StashTablesNamespace
118
119
 
119
120
  # Export AI namespace for agent-runtime operations
120
121
  from .namespaces.ai import (
@@ -172,7 +173,7 @@ from .errors import (
172
173
  TimeoutError as DominusTimeoutError,
173
174
  )
174
175
 
175
- __version__ = "6.3.0"
176
+ __version__ = "7.1.0"
176
177
  __all__ = [
177
178
  # Main SDK instance
178
179
  "dominus",
@@ -226,6 +227,8 @@ __all__ = [
226
227
  "PlatformNamespace",
227
228
  "CoderNamespace",
228
229
  "PublisherNamespace",
230
+ "StashNamespace",
231
+ "StashTablesNamespace",
229
232
  # AI namespace for agent-runtime operations
230
233
  "AiNamespace",
231
234
  "RagSubNamespace",
@@ -21,6 +21,8 @@ from .deployer import DeployerNamespace
21
21
  from .warden import WardenNamespace
22
22
  from .platform import PlatformNamespace
23
23
  from .coder import CoderNamespace
24
+ from .publisher import PublisherNamespace
25
+ from .stash import StashNamespace, StashTablesNamespace
24
26
  from .ai import (
25
27
  AiNamespace,
26
28
  RagSubNamespace,
@@ -52,6 +54,9 @@ __all__ = [
52
54
  "WardenNamespace",
53
55
  "PlatformNamespace",
54
56
  "CoderNamespace",
57
+ "PublisherNamespace",
58
+ "StashNamespace",
59
+ "StashTablesNamespace",
55
60
  "AiNamespace",
56
61
  "RagSubNamespace",
57
62
  "ArtifactsSubNamespace",
@@ -3,7 +3,7 @@ Authority Namespace - Dominus Authority service surface.
3
3
 
4
4
  Canonical SDK entry point for the dominus-authority service. Mirrors the MCP
5
5
  ``authority_*`` tool surface so application code can drive runs, provisioning
6
- targets, deploys, managed clients, timelines, dossiers, and Authority context resolution
6
+ targets, deploys, managed clients, timelines, verdicts, and Authority context resolution
7
7
  without touching workflow-manager / client-worker / deploy-worker routes
8
8
  directly.
9
9
 
@@ -13,7 +13,7 @@ All methods route through the gateway (``use_gateway=True``) which maps
13
13
  Run launch is also exposed as ``dominus.workflow.ensure(...)``. Both call
14
14
  ``/api/authority/runs/ensure``. Use ``dominus.workflow.ensure`` for the
15
15
  canonical recipe-backed launch path; use ``dominus.authority.ensure_run`` when
16
- you want to think in Authority terms (run lifecycle, run dossiers, retries,
16
+ you want to think in Authority terms (run lifecycle, verdicts, retries,
17
17
  cancels).
18
18
  """
19
19
  from __future__ import annotations
@@ -74,7 +74,7 @@ class AuthorityNamespace:
74
74
  subject="PCM47474562",
75
75
  )
76
76
  await dominus.authority.list_provisioning_targets()
77
- await dominus.authority.get_run_dossier(run_id)
77
+ await dominus.authority.get_run_verdict(run_id)
78
78
  """
79
79
 
80
80
  def __init__(self, client: "Dominus"):
@@ -489,27 +489,17 @@ class AuthorityNamespace:
489
489
  timeout=self._http_timeout(timeout, 30.0),
490
490
  )
491
491
 
492
- async def get_run_dossier(
492
+ async def get_run_verdict(
493
493
  self,
494
494
  run_id: str,
495
495
  *,
496
- since: Optional[str] = None,
497
- until: Optional[str] = None,
498
- window_hours: Optional[int] = None,
499
- limit: Optional[int] = None,
500
496
  timeout: Optional[float] = None,
501
497
  ) -> Dict[str, Any]:
502
- """Get the full Authority dossier for a run. ``GET /api/authority/dossiers/run/{run_id}``."""
498
+ """Get the compact Authority verdict for a run. ``GET /api/authority/runs/{run_id}/verdict``."""
503
499
  if not run_id:
504
500
  raise ValueError("run_id is required")
505
- qs = _query_string({
506
- "since": since,
507
- "until": until,
508
- "window_hours": window_hours,
509
- "limit": limit,
510
- })
511
501
  return await self._get(
512
- f"/api/authority/dossiers/run/{quote(run_id, safe='')}{qs}",
502
+ f"/api/authority/runs/{quote(run_id, safe='')}/verdict",
513
503
  timeout=self._http_timeout(timeout, 30.0),
514
504
  )
515
505
 
@@ -984,39 +974,6 @@ class AuthorityNamespace:
984
974
  timeout=self._http_timeout(timeout, 30.0),
985
975
  )
986
976
 
987
- async def get_provisioning_target_dossier(
988
- self,
989
- provisioning_target_slug: str,
990
- *,
991
- app_slug: Optional[str] = None,
992
- env: Optional[str] = None,
993
- target_org_id: Optional[str] = None,
994
- target_env: Optional[str] = None,
995
- since: Optional[str] = None,
996
- until: Optional[str] = None,
997
- window_hours: Optional[int] = None,
998
- limit: Optional[int] = None,
999
- timeout: Optional[float] = None,
1000
- ) -> Dict[str, Any]:
1001
- """Get full Authority dossier for a provisioning target. ``GET /api/authority/dossiers/provisioning-target/{provisioning_target_slug}``."""
1002
- if not provisioning_target_slug:
1003
- raise ValueError("provisioning_target_slug is required")
1004
- tid, tev = self._target_query_params(target_org_id, target_env)
1005
- qs = _query_string({
1006
- "app_slug": app_slug,
1007
- "env": env,
1008
- "target_org_id": tid,
1009
- "target_env": tev,
1010
- "since": since,
1011
- "until": until,
1012
- "window_hours": window_hours,
1013
- "limit": limit,
1014
- })
1015
- return await self._get(
1016
- f"/api/authority/dossiers/provisioning-target/{quote(provisioning_target_slug, safe='')}{qs}",
1017
- timeout=self._http_timeout(timeout, 30.0),
1018
- )
1019
-
1020
977
  # ==================================================================
1021
978
  # Deploys
1022
979
  # ==================================================================
@@ -1147,36 +1104,20 @@ class AuthorityNamespace:
1147
1104
  timeout=self._http_timeout(timeout, 30.0),
1148
1105
  )
1149
1106
 
1150
- async def get_deploy_dossier(
1107
+ async def get_deploy_verdict(
1151
1108
  self,
1152
1109
  deploy_id: str,
1153
1110
  *,
1154
- since: Optional[str] = None,
1155
- until: Optional[str] = None,
1156
- window_hours: Optional[int] = None,
1157
- limit: Optional[int] = None,
1158
- full: bool = False,
1159
1111
  timeout: Optional[float] = None,
1160
1112
  ) -> Dict[str, Any]:
1161
1113
  """
1162
- Get the full Authority dossier for a deploy.
1163
- ``GET /api/authority/dossiers/deploy/{deploy_id}``.
1164
-
1165
- Mirrors the MCP ``authority_get_deploy_dossier`` tool. If the dossier
1166
- route is not yet enabled in dominus-authority the gateway will return
1167
- 404 — the SDK surface is intentionally aligned with MCP.
1114
+ Get the compact Authority verdict for a deploy.
1115
+ ``GET /api/authority/deploys/{deploy_id}/verdict``.
1168
1116
  """
1169
1117
  if not deploy_id:
1170
1118
  raise ValueError("deploy_id is required")
1171
- qs = _query_string({
1172
- "since": since,
1173
- "until": until,
1174
- "window_hours": window_hours,
1175
- "limit": limit,
1176
- "full": 1 if full else None,
1177
- })
1178
1119
  return await self._get(
1179
- f"/api/authority/dossiers/deploy/{quote(deploy_id, safe='')}{qs}",
1120
+ f"/api/authority/deploys/{quote(deploy_id, safe='')}/verdict",
1180
1121
  timeout=self._http_timeout(timeout, 30.0),
1181
1122
  )
1182
1123