wicked-crew-api-types 0.119.0 → 0.120.0

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 (2) hide show
  1. package/index.d.ts +27 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -273,6 +273,15 @@ export interface HealthCapabilities {
273
273
  * carry `qe`. ABSENT on an older daemon — do not send the fields (its strict schema 400s on them).
274
274
  */
275
275
  qeAcceptanceOverride?: boolean;
276
+ /**
277
+ * (api-types 0.120.0) The daemon's QE acceptance setting ({@link SystemSettings.qeAcceptance}):
278
+ * `'required'` (the default) or `'off'` — every launch of a workflow that requires QE acceptance,
279
+ * and that neither skips nor forces it, is skipped with a reason naming the setting (labelled on
280
+ * the run, every gate and the delivery); launches the engine takes without crew excepted (see the
281
+ * setting). ABSENT on an
282
+ * older daemon — read as `'required'`.
283
+ */
284
+ qeAcceptance?: 'required' | 'off';
276
285
  }
277
286
 
278
287
  /** One `GET /health.warnings[]` entry (additive; wicked-core#411 / wicked-crew#497). */
@@ -1270,8 +1279,9 @@ export interface SeatIssueCommand {
1270
1279
  */
1271
1280
  export interface RosterResponse {
1272
1281
  roster: RosterSeat[];
1273
- /** Present on a `?refresh=` read: `probed` — the answer is fresh; `timed_out` — still running
1274
- * (the roster shows the last reading; the check keeps going); `not_probed` — the seat has no
1282
+ /** Present on a `?refresh=` read: `probed` — the answer is fresh; `timed_out` — no fresh answer:
1283
+ * the check is still running (it keeps going), or it finished and could not tell (a status command
1284
+ * that timed out); either way the roster shows the last reading; `not_probed` — the seat has no
1275
1285
  * sign-in check (it reads its credential file). */
1276
1286
  refresh?: { key: string; outcome: 'probed' | 'timed_out' | 'not_probed' };
1277
1287
  }
@@ -4816,7 +4826,9 @@ export interface LaunchRunBody {
4816
4826
  * reason (non-empty, the operator's own words). Persisted on the contract
4817
4827
  * (`assurance.qe.status: 'skipped'`, `basis: 'operator'`) and labelled on the run, every gate and
4818
4828
  * the delivery ("QE acceptance skipped by operator: <reason>"). Omitted: a required QE acceptance
4819
- * is never skipped. 400 beside `forceQeAcceptance`; the engine refuses it on a run whose workflow
4829
+ * is not skipped — unless the daemon's {@link SystemSettings.qeAcceptance} is `'off'`, which skips it
4830
+ * the same way with a reason naming the setting (a `forceQeAcceptance: true` launch still requires
4831
+ * it). 400 beside `forceQeAcceptance`; the engine refuses it on a run whose workflow
4820
4832
  * does not require QE acceptance. Send only when `GET /health.capabilities.qeAcceptanceOverride`.
4821
4833
  */
4822
4834
  skipQeAcceptance?: { reason: string };
@@ -5370,6 +5382,18 @@ export interface SystemSettings {
5370
5382
  * launches (those are always `'none'`).
5371
5383
  */
5372
5384
  deliverDefault?: 'pr' | 'none';
5385
+ /**
5386
+ * (api-types 0.120.0) QE ACCEPTANCE for this daemon. `'required'` (the shipped default; absent
5387
+ * reads the same): a run whose workflow requires `qe_acceptance` delivers only on an attributed
5388
+ * PASS unless its own launch sends `skipQeAcceptance`. `'off'`: every launch of such a workflow that
5389
+ * neither skips nor forces QE acceptance itself is SKIPPED, through the same skip, with a reason
5390
+ * naming this setting — `assurance.qe.status: 'skipped'`, `basis: 'operator'`, labelled on the run,
5391
+ * every gate and the delivery, and the deliver gate reads a skip, never a refusal. A launch's
5392
+ * `forceQeAcceptance: true` still requires it. `GET /health.capabilities.qeAcceptance` reports it.
5393
+ * NOT covered: launches the engine takes without crew — campaign nodes (the engine's own run spec
5394
+ * carries no QE word) and `wicked.crew.run.requested` bus requests — so those still require it.
5395
+ */
5396
+ qeAcceptance?: 'required' | 'off';
5373
5397
  /**
5374
5398
  * (crew#552) Whether a completed onboarding run chains a `capture-learnings` run for the same
5375
5399
  * repo (filed in the onboarding run's project; proposals stay human-gated). Absent reads as
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-crew-api-types",
3
- "version": "0.119.0",
3
+ "version": "0.120.0",
4
4
  "description": "The wire contract of the wicked-crew daemon's /api/v1 REST surface and /ws CoreEvent frames \u2014 types only, zero runtime",
5
5
  "type": "module",
6
6
  "types": "./index.d.ts",