openpond-sdk 0.8.0 → 0.8.1

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.
@@ -78,6 +78,34 @@ checkpoint inventory or qualification metrics, when the portable client needs
78
78
  that evidence to validate the artifact. This metadata is immutable output
79
79
  evidence, not private worker-control, lease, or provider state.
80
80
 
81
+ ## Manual run preparation
82
+
83
+ Hosts supporting reviewed-data training expose these authenticated, team-scoped
84
+ routes through `createTrainingClient`:
85
+
86
+ ```text
87
+ POST /v1/training/preparations
88
+ GET /v1/training/preparations/{preparationId}?teamId=
89
+ POST /v1/training/preparations/{preparationId}/start
90
+ POST /v1/training/preparations/{preparationId}/cancel
91
+ ```
92
+
93
+ `prepareRun` accepts a stable operation ID, the expected configuration revision
94
+ and ETag, an exact sealed batch reference, an optional organizing Project, a run
95
+ name and a maximum spend. Preparation freezes the executable inputs and stages
96
+ artifacts without starting compute or creating a recurring learning policy.
97
+ The returned plan binds its creator, request hash, source and submission hash.
98
+ The SDK verifies both plan and request identity before returning the receipt.
99
+
100
+ `startPreparation` and `cancelPreparation` require the retained plan hash and
101
+ observed receipt revision. Starting uses the stored submission; mutable
102
+ configuration changes do not silently recompile a prepared run. Providers must
103
+ serialize cancellation with job and dispatch creation, retain the submitted job
104
+ ID, and make identical retries return that same job. A cancelled preparation
105
+ cannot start. Once submitted, use the ordinary job cancellation controls.
106
+ Reading a preparation does not authorize starting it; the host rechecks scope,
107
+ creator permissions, resource access, runtime availability and spending limits.
108
+
81
109
  ## Deterministic grading identity
82
110
 
83
111
  For portable training bundles, derive `job.rewardSource` with