@wildo-ai/platform-core-shared 1.1.11 → 1.1.12
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.
- package/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-operations.custom.shared.definitions.js.map +1 -1
- package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.js.map +1 -1
- package/dist/esm/core/resources/resources-types.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-types.custom.shared.schemas.js.map +1 -1
- package/dist/esm/dev-runtime/dependency-install-record.d.ts +111 -0
- package/dist/esm/dev-runtime/dependency-install-record.d.ts.map +1 -0
- package/dist/esm/dev-runtime/dependency-install-record.js +185 -0
- package/dist/esm/dev-runtime/dependency-install-record.js.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-command.d.ts +50 -0
- package/dist/esm/dev-runtime/dev-runtime-command.d.ts.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-command.js +147 -0
- package/dist/esm/dev-runtime/dev-runtime-command.js.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-processes.d.ts +47 -0
- package/dist/esm/dev-runtime/dev-runtime-processes.d.ts.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-processes.js +163 -0
- package/dist/esm/dev-runtime/dev-runtime-processes.js.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-signals.d.ts +54 -0
- package/dist/esm/dev-runtime/dev-runtime-signals.d.ts.map +1 -0
- package/dist/esm/dev-runtime/dev-runtime-signals.js +113 -0
- package/dist/esm/dev-runtime/dev-runtime-signals.js.map +1 -0
- package/dist/esm/dev-runtime/emitted-relative-specifiers.d.ts +14 -0
- package/dist/esm/dev-runtime/emitted-relative-specifiers.d.ts.map +1 -0
- package/dist/esm/dev-runtime/emitted-relative-specifiers.js +71 -0
- package/dist/esm/dev-runtime/emitted-relative-specifiers.js.map +1 -0
- package/dist/esm/dev-runtime/frontend-dev-runtime.d.ts +43 -0
- package/dist/esm/dev-runtime/frontend-dev-runtime.d.ts.map +1 -0
- package/dist/esm/dev-runtime/frontend-dev-runtime.js +42 -0
- package/dist/esm/dev-runtime/frontend-dev-runtime.js.map +1 -0
- package/dist/esm/dev-runtime/node-runtime-dev-supervisor.d.ts +233 -0
- package/dist/esm/dev-runtime/node-runtime-dev-supervisor.d.ts.map +1 -0
- package/dist/esm/dev-runtime/node-runtime-dev-supervisor.js +578 -0
- package/dist/esm/dev-runtime/node-runtime-dev-supervisor.js.map +1 -0
- package/dist/esm/dev-runtime/package-compile-loop.d.ts +125 -0
- package/dist/esm/dev-runtime/package-compile-loop.d.ts.map +1 -0
- package/dist/esm/dev-runtime/package-compile-loop.js +386 -0
- package/dist/esm/dev-runtime/package-compile-loop.js.map +1 -0
- package/dist/esm/dev-runtime.exports.d.ts +19 -0
- package/dist/esm/dev-runtime.exports.d.ts.map +1 -0
- package/dist/esm/dev-runtime.exports.js +19 -0
- package/dist/esm/dev-runtime.exports.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/runtime/application-backend-env.contracts.d.ts +9 -2
- package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/application-backend-env.contracts.js +8 -1
- package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
- package/dist/esm/runtime/application-worker-env.contracts.d.ts +11 -3
- package/dist/esm/runtime/application-worker-env.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/application-worker-env.contracts.js +9 -0
- package/dist/esm/runtime/application-worker-env.contracts.js.map +1 -1
- package/dist/esm/runtime/backend-start-outcome.contracts.d.ts +27 -0
- package/dist/esm/runtime/backend-start-outcome.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/backend-start-outcome.contracts.js +34 -0
- package/dist/esm/runtime/backend-start-outcome.contracts.js.map +1 -1
- package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.d.ts +28 -0
- package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.d.ts.map +1 -0
- package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.js +35 -0
- package/dist/esm/runtime/frontend-settings-hub-wiring.contracts.js.map +1 -0
- package/dist/esm/runtime/http-server-env.contracts.d.ts +14 -1
- package/dist/esm/runtime/http-server-env.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/http-server-env.contracts.js +13 -0
- package/dist/esm/runtime/http-server-env.contracts.js.map +1 -1
- package/dist/esm/runtime/local-dev-runtime-signals.contracts.d.ts +239 -0
- package/dist/esm/runtime/local-dev-runtime-signals.contracts.d.ts.map +1 -0
- package/dist/esm/runtime/local-dev-runtime-signals.contracts.js +256 -0
- package/dist/esm/runtime/local-dev-runtime-signals.contracts.js.map +1 -0
- package/dist/esm/runtime/runtime-topology.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/runtime-topology.contracts.js.map +1 -1
- package/dist/esm/security/authorizations/roles.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.custom.shared.definitions.js.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +112 -104
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js +4 -3
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +112 -104
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +24 -34
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js +4 -3
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +24 -34
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts +3 -3
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js +30 -42
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +9 -9
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts +7 -7
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/creation-drive.custom.shared.schemas.d.ts +52 -0
- package/dist/esm/workbench/creation-drive.custom.shared.schemas.d.ts.map +1 -0
- package/dist/esm/workbench/creation-drive.custom.shared.schemas.js +49 -0
- package/dist/esm/workbench/creation-drive.custom.shared.schemas.js.map +1 -0
- package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.d.ts +183 -0
- package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.d.ts.map +1 -0
- package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.js +188 -0
- package/dist/esm/workbench/creation-journey-timeline.custom.shared.schemas.js.map +1 -0
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js +46 -0
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts +170 -7
- package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js +177 -7
- package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts +480 -459
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js +21 -16
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts +457 -278
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js +291 -46
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +7 -0
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +13 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +287 -277
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +34 -29
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +9 -5
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +13 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApplicationInterviewDepth, MetaWorkflow_ClarificationAction, MetaWorkflow_EvaluationVerdict } from '@wildo-ai/saas-models/meta-workflows';
|
|
1
|
+
import { ApplicationInterviewDepth, MetaWorkflow_ClarificationAction, MetaWorkflow_ElicitationNonAnswer, MetaWorkflow_EvaluationVerdict } from '@wildo-ai/saas-models/meta-workflows';
|
|
2
2
|
import { AgentWorkShortfallKind, EngineCapability, FlowsActors_Status, HumanDecision_FieldKind, } from '@wildo-ai/saas-models';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { initZodDecorators, StringEditMode } from '@wildo-ai/zod-decorators';
|
|
@@ -173,18 +173,13 @@ export var WorkbenchBuildPlanTaskStatus;
|
|
|
173
173
|
*/
|
|
174
174
|
export var Workbench_BuildTaskStuckReason;
|
|
175
175
|
(function (Workbench_BuildTaskStuckReason) {
|
|
176
|
-
/** It already ran, and its declared product is absent even from the working tree: fix the declaration or the work. */
|
|
177
|
-
Workbench_BuildTaskStuckReason["COMPLETED_UNLANDED"] = "completed_unlanded";
|
|
178
176
|
/**
|
|
179
|
-
* It already ran, and its declared product
|
|
180
|
-
* committed because acceptance is a commit.
|
|
177
|
+
* It already ran, and its declared product is absent from the working tree: fix the declaration or the work.
|
|
181
178
|
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
* means its accept REFUSED a path — carried changes from before the run, edited since, or not this
|
|
185
|
-
* run's — and the companion's warning names which. The remedy is that refusal's, not a blind commit.
|
|
179
|
+
* There is no "written, awaiting a commit" reason (#3514): a task lands when its product is in the working tree and
|
|
180
|
+
* something checked it (#3204), and a commit is a build checkpoint that records, never a condition of landing.
|
|
186
181
|
*/
|
|
187
|
-
Workbench_BuildTaskStuckReason["
|
|
182
|
+
Workbench_BuildTaskStuckReason["COMPLETED_UNLANDED"] = "completed_unlanded";
|
|
188
183
|
/** Its run suspended on a question nobody has answered; re-dispatching would abandon that session. */
|
|
189
184
|
Workbench_BuildTaskStuckReason["PARKED_AWAITING_ANSWER"] = "parked_awaiting_answer";
|
|
190
185
|
/** It produces a governed document the engine catalog does not define, so no run can author it. */
|
|
@@ -202,7 +197,55 @@ export var Workbench_BuildTaskStuckReason;
|
|
|
202
197
|
* or two agents would build the same task. Nobody's move: it clears when that run settles.
|
|
203
198
|
*/
|
|
204
199
|
Workbench_BuildTaskStuckReason["IN_FLIGHT"] = "in_flight";
|
|
200
|
+
/**
|
|
201
|
+
* A live run of ANOTHER task may write one of the files this task's declared products are written to (#3204). Two runs
|
|
202
|
+
* writing one file in the shared worktree interfere: one overwrites the other, and the wave repairs it after the fact
|
|
203
|
+
* with a re-check or a re-run. So the wave's own selection passes over it for a ready task whose declared products
|
|
204
|
+
* meet nothing in flight. Only DECLARED products are compared; a shared file no product names (a module barrel, a
|
|
205
|
+
* registry) is still left to the after-the-fact repair. Nobody's move: it clears when that run settles.
|
|
206
|
+
*/
|
|
207
|
+
Workbench_BuildTaskStuckReason["CONTENDED"] = "contended";
|
|
208
|
+
/**
|
|
209
|
+
* Its latest run failed its checks while other runs of the wave were writing beside it, so the failure may be theirs
|
|
210
|
+
* (#3204): a sibling's half-written file turned a shared typecheck red, or left a package's compiled output stale so the
|
|
211
|
+
* check could not be asked at all. It is not dispatched again in the same wave, where it would meet the same tree: the
|
|
212
|
+
* wave's end re-runs its checks ALONE, a pass lands it and a failure offers it to the next wave. Measured on reference run
|
|
213
|
+
* 42621319676: two schema tasks re-dispatched five times in nine minutes, each failing on a sibling's red build, spent their
|
|
214
|
+
* attempt budget while their checks passed alone. Nobody's move: it clears when the wave ends.
|
|
215
|
+
*/
|
|
216
|
+
Workbench_BuildTaskStuckReason["AWAITING_ISOLATED_RECHECK"] = "awaiting_isolated_recheck";
|
|
217
|
+
/**
|
|
218
|
+
* A generation step whose landing check could not be ANSWERED right now (#3223): a schema-plan check that neither passed
|
|
219
|
+
* nor reported drift, a design-token block the CLI could not validate, a brand nobody could read. Not "not landed": it
|
|
220
|
+
* is UNKNOWN, so it is never dispatched — running it would either fail the same way or redo work that may well have
|
|
221
|
+
* landed (a companion restart re-ran a landed `design-system-brand` step this way). It clears on its own once the check
|
|
222
|
+
* answers; when it does not, the dispatch refusal names the check and the command that shows why.
|
|
223
|
+
*/
|
|
224
|
+
Workbench_BuildTaskStuckReason["LANDING_UNKNOWN"] = "landing_unknown";
|
|
225
|
+
/**
|
|
226
|
+
* A FOLLOW-UP the host derived from a reported gap (#3227), waiting for the creator's review before it runs: the
|
|
227
|
+
* autonomy posture (`one-source-of-truth.md` D5) keeps approving a result a person's act, and a follow-up is work the
|
|
228
|
+
* accepted plan never listed. `wildo build approve <ref>` lets it run; `wildo build close <ref> --declined` closes it.
|
|
229
|
+
* Never reached under the automatic posture, where follow-ups run as they are derived.
|
|
230
|
+
*/
|
|
231
|
+
Workbench_BuildTaskStuckReason["FOLLOW_UP_AWAITING_REVIEW"] = "follow_up_awaiting_review";
|
|
232
|
+
/**
|
|
233
|
+
* A generation step whose panel refused to seat expert charters older than their inputs (#3244): a build task changed
|
|
234
|
+
* what they read (the design system, say). Passed over so the rest of the plan proceeds, and offered again once the
|
|
235
|
+
* staffing step, `top_down.expert-personas`, has derived them again, which the build-dispatch step runs on its own
|
|
236
|
+
* (reference run 42218788356, where the refusal ended the build lane at 32 of 98 tasks). A charter a person edited is
|
|
237
|
+
* never derived again: its remedy is the hand edit.
|
|
238
|
+
*/
|
|
239
|
+
Workbench_BuildTaskStuckReason["STALE_EXPERT_CHARTERS"] = "stale_expert_charters";
|
|
205
240
|
})(Workbench_BuildTaskStuckReason || (Workbench_BuildTaskStuckReason = {}));
|
|
241
|
+
/**
|
|
242
|
+
* The stuck reasons that only WAIT for a live run to settle (#1528, #3204): progress, never a finding, and proof that a
|
|
243
|
+
* run is live. One set, so the dispatch's warning and the Home projection cannot disagree about which reasons mean it.
|
|
244
|
+
*/
|
|
245
|
+
export const WORKBENCH_BUILD_TASK_STUCK_REASONS_WAITING_ON_A_LIVE_RUN = new Set([
|
|
246
|
+
Workbench_BuildTaskStuckReason.IN_FLIGHT,
|
|
247
|
+
Workbench_BuildTaskStuckReason.CONTENDED,
|
|
248
|
+
]);
|
|
206
249
|
/**
|
|
207
250
|
* The stuck reasons a RE-ARM releases (#2530): the task is held by its own runs, and the remedy is to fix why and put it
|
|
208
251
|
* back — `WorkbenchBuildPlanTasks_Operations.REARM` is offered for these and no other.
|
|
@@ -210,9 +253,9 @@ export var Workbench_BuildTaskStuckReason;
|
|
|
210
253
|
* - `completed_unlanded`: a completed run holds it through the loop guard, and a re-arm releases that run.
|
|
211
254
|
* - `attempts_exhausted`: its failed runs hold it through the attempt budget, and a re-arm releases them.
|
|
212
255
|
*
|
|
213
|
-
* Left out, each because a re-arm would be the wrong remedy: `
|
|
214
|
-
*
|
|
215
|
-
*
|
|
256
|
+
* Left out, each because a re-arm would be the wrong remedy: `parked_awaiting_answer` (a question waits), `in_flight` (a run is
|
|
257
|
+
* live), `no_document_blueprint` (no run can produce it), `landing_unknown` (nothing holds it but a check that has not
|
|
258
|
+
* answered yet).
|
|
216
259
|
*/
|
|
217
260
|
export const WORKBENCH_REARMABLE_STUCK_REASONS = [
|
|
218
261
|
Workbench_BuildTaskStuckReason.COMPLETED_UNLANDED,
|
|
@@ -250,6 +293,12 @@ export var BuildTaskRearmReason;
|
|
|
250
293
|
BuildTaskRearmReason["BLOCKING_DEFECT_FIXED"] = "blocking-defect-fixed";
|
|
251
294
|
/** Neither of the above: an operator judged the work should run again. The note says why. */
|
|
252
295
|
BuildTaskRearmReason["OPERATOR_JUDGEMENT"] = "operator-judgement";
|
|
296
|
+
/**
|
|
297
|
+
* The ENVIRONMENT failed the runs, not the task (#3236): the network or the machine went away (DNS lost, a connection
|
|
298
|
+
* cut, a sleep) and the runs the outage took are released. Distinct from `operator-judgement` so a later reader of the
|
|
299
|
+
* task's history sees that its failed attempts said nothing about the work.
|
|
300
|
+
*/
|
|
301
|
+
BuildTaskRearmReason["ENVIRONMENT"] = "environment";
|
|
253
302
|
/**
|
|
254
303
|
* Set by the BUILD WAVE, never by a person (#2210): the run completed while other runs edited the same tree, and its
|
|
255
304
|
* declared product is missing from a file one of them also changed, so the loss is theirs rather than the task's. The
|
|
@@ -262,6 +311,22 @@ export var BuildTaskRearmReason;
|
|
|
262
311
|
*/
|
|
263
312
|
BuildTaskRearmReason["INTERFERED_BY_CONCURRENT_RUN"] = "interfered-by-concurrent-run";
|
|
264
313
|
})(BuildTaskRearmReason || (BuildTaskRearmReason = {}));
|
|
314
|
+
/**
|
|
315
|
+
* How a build task a PERSON closed is accounted for (`wildo build close`, #3224, #3225, #3227) — the one question a reader
|
|
316
|
+
* of a closed task asks: what made it done, if anything did. A closure never makes a task's product true; it records that
|
|
317
|
+
* a person said it is done another way, or that a derived follow-up is not wanted. Declared here rather than beside its
|
|
318
|
+
* producer (the companion's build dispatch) because the workbench shows it on the task's record, and a browser bundle
|
|
319
|
+
* cannot import the companion.
|
|
320
|
+
*/
|
|
321
|
+
export var BuildTaskClosureKind;
|
|
322
|
+
(function (BuildTaskClosureKind) {
|
|
323
|
+
/** Another task of the plan built what this one was for. It counts as landed while that task is landed. */
|
|
324
|
+
BuildTaskClosureKind["SATISFIED_BY_TASK"] = "satisfied_by_task";
|
|
325
|
+
/** A commit HEAD contains built it (a person's, a reconciliation's). It counts as landed while the closure is committed. */
|
|
326
|
+
BuildTaskClosureKind["SATISFIED_BY_COMMIT"] = "satisfied_by_commit";
|
|
327
|
+
/** A host-derived follow-up the creator declines: the gap it answers is not worked. Follow-ups only. */
|
|
328
|
+
BuildTaskClosureKind["DECLINED"] = "declined";
|
|
329
|
+
})(BuildTaskClosureKind || (BuildTaskClosureKind = {}));
|
|
265
330
|
/**
|
|
266
331
|
* The reasons a PERSON may give (`wildo build rearm`, the companion's re-arm route, the workbench's `rearm` operation).
|
|
267
332
|
* The wave's own reason is left out: it asserts a measurement (a sibling changed the product's file during the run)
|
|
@@ -271,6 +336,7 @@ export const OPERATOR_BUILD_TASK_REARM_REASONS = [
|
|
|
271
336
|
BuildTaskRearmReason.PROBE_CORRECTED,
|
|
272
337
|
BuildTaskRearmReason.BLOCKING_DEFECT_FIXED,
|
|
273
338
|
BuildTaskRearmReason.OPERATOR_JUDGEMENT,
|
|
339
|
+
BuildTaskRearmReason.ENVIRONMENT,
|
|
274
340
|
];
|
|
275
341
|
/**
|
|
276
342
|
* How far one BUILD DISPATCH got — the whole of what `GET /build/dispatches` can honestly say.
|
|
@@ -495,6 +561,17 @@ export const Workbench_RunWriteRecord_Schema = z.object({
|
|
|
495
561
|
fileCount: z.number().int().isSummaryField(),
|
|
496
562
|
/** The commit the workbench's `accept` made of these writes (#1454, Step 7); NULL until one has. */
|
|
497
563
|
acceptedCommitSha: z.string().min(1).isSummaryField().nullable(),
|
|
564
|
+
/**
|
|
565
|
+
* The run FAILED after writing these files (#3265): a half-applied composition the autonomy posture never commits and no
|
|
566
|
+
* coding door takes. Not a landing, and shown as failed wherever the record is listed, with its accept and revert doors,
|
|
567
|
+
* because nothing else prompts a person to settle it. `false` on every completed landing.
|
|
568
|
+
*/
|
|
569
|
+
landingFailed: z.boolean().isSummaryField(),
|
|
570
|
+
/**
|
|
571
|
+
* For a failed landing, the two commands that settle it (`wildo creation accept <runId>` / `revert <runId>`), as the
|
|
572
|
+
* companion names them on every surface that lists the run (#3265). NULL on a completed landing.
|
|
573
|
+
*/
|
|
574
|
+
failedLandingRemedies: z.object({ accept: z.string().min(1), revert: z.string().min(1) }).isSummaryField().nullable(),
|
|
498
575
|
});
|
|
499
576
|
/** One execution-trace session — the queryable index the board links from. */
|
|
500
577
|
export const Workbench_TraceSession_Schema = z.object({
|
|
@@ -570,6 +647,17 @@ export var WorkbenchDossierEntryStanding;
|
|
|
570
647
|
* Changing it records the creator's own answer in its place.
|
|
571
648
|
*/
|
|
572
649
|
WorkbenchDossierEntryStanding["ASSUMED"] = "assumed";
|
|
650
|
+
/**
|
|
651
|
+
* The creator said the question does not concern this application, and why (#3437). Answered — nothing is
|
|
652
|
+
* blocked — and never filled in by a run. Changing it records an answer, or the other non-answer, in its place.
|
|
653
|
+
*/
|
|
654
|
+
WorkbenchDossierEntryStanding["NOT_APPLICABLE"] = "not-applicable";
|
|
655
|
+
/**
|
|
656
|
+
* The creator said the question concerns this application and is not decided yet, and why (#3437). Nothing waits
|
|
657
|
+
* on it: the step runs and marks what rests on it as owed; a governed document shows the clause as owed. Listed
|
|
658
|
+
* to revisit, like an assumption.
|
|
659
|
+
*/
|
|
660
|
+
WorkbenchDossierEntryStanding["DEFERRED"] = "deferred";
|
|
573
661
|
})(WorkbenchDossierEntryStanding || (WorkbenchDossierEntryStanding = {}));
|
|
574
662
|
/**
|
|
575
663
|
* Whether a CHOICE question's options can be offered right now — for a question whose options are
|
|
@@ -645,9 +733,12 @@ export const Workbench_GovernanceQuestion_Schema = z.object({
|
|
|
645
733
|
/** What choosing this option MEANS, in the creator's language rather than the schema's. */
|
|
646
734
|
creatorMeaning: z.string().min(1),
|
|
647
735
|
})).isSummaryField(),
|
|
648
|
-
/**
|
|
736
|
+
/**
|
|
737
|
+
* Answered in the authored facts (from you), deferred in the dossier (not decided yet, #3437), or neither (still
|
|
738
|
+
* needed) — the same standing vocabulary the interview dossier uses.
|
|
739
|
+
*/
|
|
649
740
|
standing: z.enum(WorkbenchDossierEntryStanding).systemEnum('WorkbenchDossierEntryStanding').isSummaryField(),
|
|
650
|
-
/** The answer as a person reads it — the text, the chosen options,
|
|
741
|
+
/** The answer as a person reads it — the text, the chosen options, the "does not apply" reason, or why it was deferred. `null` when still needed. */
|
|
651
742
|
answerSummary: z.string().nullable().isSummaryField(),
|
|
652
743
|
/** When the answer was decided (the declaration's own instant). `null` when still needed. */
|
|
653
744
|
answeredAt: z.date().nullable().isSummaryField(),
|
|
@@ -906,6 +997,11 @@ export const Workbench_RunWriteRevertOutcome_Schema = z.looseObject({
|
|
|
906
997
|
* would destroy that run's work. Each names the run to revert first (#1666).
|
|
907
998
|
*/
|
|
908
999
|
refusedLaterRun: z.array(z.object({ path: z.string(), runId: z.string() })).optional(),
|
|
1000
|
+
/**
|
|
1001
|
+
* Binary files the run replaced while their earlier version was uncommitted (#3264): the record holds their hash, not
|
|
1002
|
+
* their bytes, so nothing can restore them. Refused even under force.
|
|
1003
|
+
*/
|
|
1004
|
+
refusedWithoutPreImage: z.array(z.string()).optional(),
|
|
909
1005
|
note: z.string().optional(),
|
|
910
1006
|
});
|
|
911
1007
|
/**
|
|
@@ -978,8 +1074,15 @@ export const Workbench_BuildDispatchPlan_Schema = z.object({
|
|
|
978
1074
|
* counted as landed on pages that listed none. Named so "92 of 92 landed" can never hide it. Empty is healthy.
|
|
979
1075
|
*/
|
|
980
1076
|
landedBeforeAnyRunTaskRefs: z.array(z.string().min(1)).isSummaryField(),
|
|
981
|
-
/** TRUE when there is no next task because every one has landed. */
|
|
1077
|
+
/** TRUE when there is no next task because every one has landed, and no specifications module is failing. */
|
|
982
1078
|
exhausted: z.boolean().isSummaryField(),
|
|
1079
|
+
/**
|
|
1080
|
+
* The specifications modules failing while the plan has no next task (#3258). Such a plan is not `exhausted`: what landed
|
|
1081
|
+
* may only have run, and no check of the package can answer. Empty otherwise.
|
|
1082
|
+
*/
|
|
1083
|
+
failingSpecificationModules: z.array(z.string().min(1)).isSummaryField(),
|
|
1084
|
+
/** TRUE when that plan's next dispatch repairs the failing module (#3258), so nothing is asked of a person yet. */
|
|
1085
|
+
specificationRepairOwed: z.boolean(),
|
|
983
1086
|
/**
|
|
984
1087
|
* Every READY task dispatch passed over because it cannot make progress, and why (#1451).
|
|
985
1088
|
*
|
|
@@ -996,8 +1099,6 @@ export const Workbench_BuildDispatchPlan_Schema = z.object({
|
|
|
996
1099
|
reason: z.enum(Workbench_BuildTaskStuckReason).systemEnum('Workbench_BuildTaskStuckReason'),
|
|
997
1100
|
/** The run that proves it is stuck; NULL for a task that is unbuildable before any run. */
|
|
998
1101
|
priorTaskId: z.string().min(1).nullable(),
|
|
999
|
-
/** `completed_awaiting_commit` only: the probed paths present in the working tree and not committed. */
|
|
1000
|
-
uncommittedPaths: z.array(z.string().min(1)),
|
|
1001
1102
|
/** `parked_awaiting_answer` (and a parked `no_document_blueprint`): the question the run is waiting on. */
|
|
1002
1103
|
question: z.string().min(1).nullable(),
|
|
1003
1104
|
/** `no_document_blueprint` only: the governed document the catalog does not define. */
|
|
@@ -1217,24 +1318,24 @@ export var BrandDesignState;
|
|
|
1217
1318
|
/** The brand's visual tone could not be read, so currency cannot be decided either way. */
|
|
1218
1319
|
BrandDesignState["UNANSWERABLE"] = "unanswerable";
|
|
1219
1320
|
})(BrandDesignState || (BrandDesignState = {}));
|
|
1220
|
-
/** A landing probe
|
|
1321
|
+
/** A landing probe the working tree does not satisfy (#2530, #3204): what landing searched for there, and what is missing. */
|
|
1221
1322
|
export const Workbench_BuildTaskUnmetProbe_Schema = z.object({
|
|
1222
1323
|
/**
|
|
1223
|
-
* The files the probe reads, and how they are read: ONE path is that file,
|
|
1324
|
+
* The files the probe reads, and how they are read: ONE path is that file, present (and declaring `declarations`
|
|
1224
1325
|
* when it names any); SEVERAL paths with `declarations` are candidates, any one of which may declare them; several with
|
|
1225
|
-
* `keyPrefix` are the language packs, every
|
|
1326
|
+
* `keyPrefix` are the language packs, every present one of which must carry a key under it. Empty for a shell probe,
|
|
1226
1327
|
* which reads the resolved shell rather than a fixed file (`shellSurface`, `shell`). The probe's KIND is the
|
|
1227
1328
|
* companion's (`BuildPlanTaskLandedProbeKind`): these fields are what it looks for, and between them say which kind.
|
|
1228
1329
|
*/
|
|
1229
1330
|
paths: z.array(z.string().min(1)),
|
|
1230
1331
|
/**
|
|
1231
|
-
* The symbols the probe looks for in those files; empty for a probe that asks only that a file be
|
|
1332
|
+
* The symbols the probe looks for in those files; empty for a probe that asks only that a file be present. WHERE in
|
|
1232
1333
|
* the file they must sit (a set, one call's arguments, a key at an object path, a list's entry) is the companion's
|
|
1233
1334
|
* probe relation and is not carried: its parameters are code locations the companion derives only when it probes, and
|
|
1234
1335
|
* no surface shows them, a run's included (#2531 review L4). A reader learns WHAT is missing here, not where it goes.
|
|
1235
1336
|
*/
|
|
1236
1337
|
declarations: z.array(z.string().min(1)),
|
|
1237
|
-
/** The key every
|
|
1338
|
+
/** The key every present label pack must carry one under (a website section's words); null for other probes. */
|
|
1238
1339
|
keyPrefix: z.string().min(1).nullable(),
|
|
1239
1340
|
/**
|
|
1240
1341
|
* The shell surface a placement probe reads — a `PlacementSurface` value of the specifications. A string declaring that
|
|
@@ -1251,8 +1352,8 @@ export const Workbench_BuildTaskUnmetProbe_Schema = z.object({
|
|
|
1251
1352
|
missing: z.array(z.string().min(1)),
|
|
1252
1353
|
/** Subjects the plan declined that the surface still carries. */
|
|
1253
1354
|
declinedButPresent: z.array(z.string().min(1)),
|
|
1254
|
-
/** Files contributing the surface that
|
|
1255
|
-
|
|
1355
|
+
/** Files contributing the surface that the working tree does not hold (#3514). */
|
|
1356
|
+
absentPaths: z.array(z.string().min(1)),
|
|
1256
1357
|
}).nullable(),
|
|
1257
1358
|
/**
|
|
1258
1359
|
* A REGISTRY probe's explanation (#2966): an agent, an approval gate, a work unit, a metered usage recording (#2305
|
|
@@ -1274,14 +1375,9 @@ export const Workbench_BuildTaskUnmetProbe_Schema = z.object({
|
|
|
1274
1375
|
planned: z.string().min(1).nullable(),
|
|
1275
1376
|
registered: z.string().min(1).nullable(),
|
|
1276
1377
|
})),
|
|
1277
|
-
/**
|
|
1278
|
-
|
|
1378
|
+
/** Registration files, or files the agent index imports, that the working tree does not hold (#3514). */
|
|
1379
|
+
absentPaths: z.array(z.string().min(1)),
|
|
1279
1380
|
}).nullable(),
|
|
1280
|
-
/**
|
|
1281
|
-
* The working tree satisfies it: the product is written and not committed — an acceptance question. False: it is
|
|
1282
|
-
* absent — a declaration or a work question. "Not landed" alone cannot tell the two apart.
|
|
1283
|
-
*/
|
|
1284
|
-
satisfiedInWorkingTree: z.boolean(),
|
|
1285
1381
|
});
|
|
1286
1382
|
/**
|
|
1287
1383
|
* Everything the build knows about ONE task, in one row (#2530, from the companion's per-task record, #1521).
|
|
@@ -1314,15 +1410,13 @@ export const Workbench_BuildTaskRecord_Schema = z.object({
|
|
|
1314
1410
|
attemptsTruncated: z.boolean(),
|
|
1315
1411
|
/** READY and passed over by dispatch: why, from the same classification the selector uses. */
|
|
1316
1412
|
stuckReason: z.enum(Workbench_BuildTaskStuckReason).systemEnum('Workbench_BuildTaskStuckReason').isSummaryField().nullable(),
|
|
1317
|
-
/** `completed_awaiting_commit`: the files its run wrote that are not committed — what accepting it would commit. */
|
|
1318
|
-
stuckUncommittedPaths: z.array(z.string().min(1)),
|
|
1319
1413
|
/** `parked_awaiting_answer`: the question its run is waiting on. */
|
|
1320
1414
|
stuckQuestion: z.string().min(1).nullable(),
|
|
1321
1415
|
/** `no_document_blueprint`: the governed document no blueprint defines. */
|
|
1322
1416
|
stuckDocumentRef: z.string().min(1).nullable(),
|
|
1323
1417
|
/** BLOCKED: the prerequisites that have not landed. */
|
|
1324
1418
|
waitingOnTaskRefs: z.array(z.string().min(1)),
|
|
1325
|
-
/** Not landed and attempted: the probes
|
|
1419
|
+
/** Not landed and attempted: the probes the working tree, which landing reads (#3204), does not satisfy. */
|
|
1326
1420
|
unmetProbes: z.array(Workbench_BuildTaskUnmetProbe_Schema),
|
|
1327
1421
|
/*
|
|
1328
1422
|
* A GENERATION STEP lands on something other than a file it writes, and when it has not, which of these three it is
|
|
@@ -1349,6 +1443,16 @@ export const Workbench_BuildTaskRecord_Schema = z.object({
|
|
|
1349
1443
|
followUpTaskIds: z.array(z.string().min(1).isForeignKey()),
|
|
1350
1444
|
/** On a follow-up task: the task whose reported gap derived it; null on every other task. */
|
|
1351
1445
|
followUpOfTaskId: z.string().min(1).isForeignKey().nullable(),
|
|
1446
|
+
/*
|
|
1447
|
+
* A person's CLOSURE (`wildo build close`, #3224, #3227): the task counts as landed because a person said it is done
|
|
1448
|
+
* another way, or declined it, never because its own probe found its product. Null on every task nobody closed.
|
|
1449
|
+
*/
|
|
1450
|
+
/** How the closure accounts for the task. */
|
|
1451
|
+
closureKind: z.enum(BuildTaskClosureKind).systemEnum('BuildTaskClosureKind').nullable(),
|
|
1452
|
+
/** The task or the commit that built it; null when declined or not closed. */
|
|
1453
|
+
closureSatisfiedBy: z.string().min(1).nullable(),
|
|
1454
|
+
/** Why, in the person's words. */
|
|
1455
|
+
closureReason: z.string().min(1).nullable(),
|
|
1352
1456
|
/** LANDED with no product to prove: it ran, and nothing can show what it made. */
|
|
1353
1457
|
unverifiable: z.boolean(),
|
|
1354
1458
|
/** LANDED before any run of its own started: something else made its product, or the probe reads the wrong thing. */
|
|
@@ -1407,6 +1511,13 @@ export const Workbench_PlaybookRunRoundChild_Schema = z.object({
|
|
|
1407
1511
|
playbookRef: z.string().min(1),
|
|
1408
1512
|
/** Why it was on the table, in the runtime's own sentence (a first run, a refresh and what moved, a re-opening). */
|
|
1409
1513
|
ranBecause: z.string().min(1).nullable(),
|
|
1514
|
+
/**
|
|
1515
|
+
* TRUE when it re-ran over a landing the record already held — the runtime's rerun verdict was a refresh or a current
|
|
1516
|
+
* landing re-opened, never a first run (#3213). A failure of such a child left that earlier landing standing, which is
|
|
1517
|
+
* what makes it a non-fatal repair failure; `ranBecause` is a sentence and is written for a first run too, so it cannot
|
|
1518
|
+
* say this. NULL on a row recorded without a verdict.
|
|
1519
|
+
*/
|
|
1520
|
+
reranOverLanding: z.boolean().nullable(),
|
|
1410
1521
|
/** The specification files it landed, in landing order. Empty is a finding, not a gap. */
|
|
1411
1522
|
landed: z.array(z.string().min(1)),
|
|
1412
1523
|
/** Why it failed, bounded as the record keeps it; null when it did not. */
|
|
@@ -1745,8 +1856,20 @@ export const Workbench_DossierEntry_Schema = z.object({
|
|
|
1745
1856
|
standing: z.enum(WorkbenchDossierEntryStanding).systemEnum('WorkbenchDossierEntryStanding').isSummaryField(),
|
|
1746
1857
|
/** Whether the options can be offered now — see {@link WorkbenchDossierEntryOptionsState}. */
|
|
1747
1858
|
optionsState: z.enum(WorkbenchDossierEntryOptionsState).systemEnum('WorkbenchDossierEntryOptionsState').isSummaryField(),
|
|
1748
|
-
/** The answer as stored, when there is one. */
|
|
1859
|
+
/** The answer as stored, when there is one. Null for a question answered without a value (#3437). */
|
|
1749
1860
|
value: z.string().nullable().isSummaryField(),
|
|
1861
|
+
/**
|
|
1862
|
+
* Why the creator answered WITHOUT a value (#3437): the reason it does not apply, or what it waits on. Null for any
|
|
1863
|
+
* other standing. Kept apart from `value` so nothing reads the reason as an answer.
|
|
1864
|
+
*/
|
|
1865
|
+
nonAnswerReason: z.string().nullable().isSummaryField(),
|
|
1866
|
+
/**
|
|
1867
|
+
* The ways this question may be answered WITHOUT a value (#3439): what its playbook declares its output can carry,
|
|
1868
|
+
* and none for a question only the creator may answer — the shared `admittedElicitationNonAnswers`, so the
|
|
1869
|
+
* workbench, the console and the landing agree. Empty offers neither "does not apply" nor "later"; the answer
|
|
1870
|
+
* operation refuses a kind not listed here.
|
|
1871
|
+
*/
|
|
1872
|
+
admittedNonAnswers: z.array(z.enum(MetaWorkflow_ElicitationNonAnswer).systemEnum('MetaWorkflow_ElicitationNonAnswer')).isSummaryField(),
|
|
1750
1873
|
answeredAt: z.date().nullable().isSummaryField(),
|
|
1751
1874
|
answeredByRef: z.string().nullable().isSummaryField(),
|
|
1752
1875
|
/** What the person was shown beside the option they chose (#2337), recorded with the answer; null when nothing was. */
|
|
@@ -1862,9 +1985,21 @@ export const Workbench_DossierInterviewDepthOutcome_Schema = z.looseObject({
|
|
|
1862
1985
|
interviewDepth: z.enum(ApplicationInterviewDepth),
|
|
1863
1986
|
packageRelativePath: z.string(),
|
|
1864
1987
|
});
|
|
1988
|
+
/**
|
|
1989
|
+
* An answer to a dossier question: a VALUE, or (#3439) a NON-ANSWER with its reason — never both, and one of the two.
|
|
1990
|
+
* The exclusivity and the admission are decided by the operation against the ROW (`admittedNonAnswers`), not here: a
|
|
1991
|
+
* cross-field refinement would hide the one sentence that says what to change behind a generic schema error.
|
|
1992
|
+
*/
|
|
1865
1993
|
export const Workbench_DossierAnswerRequest_Schema = z.object({
|
|
1866
|
-
/** The answer, in the creator's words — validated against the question's kind before it is stored. */
|
|
1867
|
-
value: z.string().min(1),
|
|
1994
|
+
/** The answer, in the creator's words — validated against the question's kind before it is stored. Absent with `nonAnswer`. */
|
|
1995
|
+
value: z.string().min(1).optional(),
|
|
1996
|
+
/**
|
|
1997
|
+
* Answer WITHOUT a value (#3439): the question does not apply to this application, or it is not decided yet. Refused
|
|
1998
|
+
* where the row's `admittedNonAnswers` does not list it, and alongside a `value` or an assumption.
|
|
1999
|
+
*/
|
|
2000
|
+
nonAnswer: z.enum(MetaWorkflow_ElicitationNonAnswer).optional(),
|
|
2001
|
+
/** Required with `nonAnswer`: why it does not apply, or what it waits on — recorded so the person can revisit it. */
|
|
2002
|
+
reason: z.string().min(1).optional(),
|
|
1868
2003
|
/**
|
|
1869
2004
|
* TRUE when the value is a PROPOSAL the creator let stand because they did not know (#2129): it is
|
|
1870
2005
|
* recorded as an assumption, authored by the companion's proposer, and the dossier lists it to revisit.
|
|
@@ -1875,8 +2010,10 @@ export const Workbench_DossierAnswerRequest_Schema = z.object({
|
|
|
1875
2010
|
assumptionRationale: z.string().min(1).optional(),
|
|
1876
2011
|
});
|
|
1877
2012
|
export const Workbench_DossierAnswerOutcome_Schema = z.looseObject({
|
|
1878
|
-
/** The answer as STORED (canonical for a `confirm`). */
|
|
1879
|
-
value: z.string(),
|
|
2013
|
+
/** The answer as STORED (canonical for a `confirm`); null for a question answered without a value (#3439). */
|
|
2014
|
+
value: z.string().nullable(),
|
|
2015
|
+
/** The non-answer recorded instead of a value (#3439); null when a value was. */
|
|
2016
|
+
nonAnswer: z.enum(MetaWorkflow_ElicitationNonAnswer).nullable(),
|
|
1880
2017
|
answeredAt: z.string(),
|
|
1881
2018
|
/** The dossier file this landed in, package-relative. */
|
|
1882
2019
|
packageRelativePath: z.string(),
|
|
@@ -1921,16 +2058,62 @@ export var WorkbenchCreationHomeLineKind;
|
|
|
1921
2058
|
WorkbenchCreationHomeLineKind["RUN_INTERRUPTED"] = "run-interrupted";
|
|
1922
2059
|
/** A build dispatch finished or failed; `acceptable` says whether its writes wait to be committed. */
|
|
1923
2060
|
WorkbenchCreationHomeLineKind["DISPATCH_SETTLED"] = "dispatch-settled";
|
|
2061
|
+
/**
|
|
2062
|
+
* A re-run inside a lane — a repair of a GAP, a refresh — FAILED while the family's earlier landing still stands
|
|
2063
|
+
* (#3213): a NON-FATAL repair failure, whether the re-run was refused or the environment failed it. The landing it would have replaced is what its consumers read, and the lane
|
|
2064
|
+
* went on with them (e.g. a refused build-decompose repair: the plan on disk still dispatches). `playbookRef` is the
|
|
2065
|
+
* re-run's playbook, `subject` its failure; the target is the lane's run. `failed` stays false, because nothing the
|
|
2066
|
+
* creation built is lost; the refusal is shown so it can be repaired when it matters.
|
|
2067
|
+
*/
|
|
2068
|
+
WorkbenchCreationHomeLineKind["REPAIR_FAILED_LANDING_STANDS"] = "repair-failed-landing-stands";
|
|
1924
2069
|
/**
|
|
1925
2070
|
* The coding agent's account hit its usage limit, and the build dispatches nothing until it resets
|
|
1926
2071
|
* (#2388). `subject` is when the build resumes (`08:11 Europe/Paris`); the target is the dispatch that met
|
|
1927
2072
|
* the limit. Shown only while the limit holds, so it disappears once the build has resumed.
|
|
1928
2073
|
*/
|
|
1929
2074
|
WorkbenchCreationHomeLineKind["CODING_AGENT_USAGE_LIMITED"] = "coding-agent-usage-limited";
|
|
2075
|
+
/**
|
|
2076
|
+
* The coding agent's provider ACCOUNT refused its turn: no credits left, a spend or usage limit, billing (#3204).
|
|
2077
|
+
* Distinct from {@link CODING_AGENT_USAGE_LIMITED}: nothing resets on its own, a PERSON adds credits or raises the
|
|
2078
|
+
* limit. The build holds and asks again every thirty minutes, charging no attempt, so a person who fixes the account
|
|
2079
|
+
* while a drive waits loses nothing; an unattended drive stops on it. `subject` is the refusal in the providers'
|
|
2080
|
+
* sentence (`describeModelProviderAccountRefusal`); the target is the dispatch that met it. Shown while the hold lasts.
|
|
2081
|
+
*/
|
|
2082
|
+
WorkbenchCreationHomeLineKind["CODING_AGENT_ACCOUNT_REFUSED"] = "coding-agent-account-refused";
|
|
2083
|
+
/**
|
|
2084
|
+
* A coding run lost the network, and no coding turn is admitted until a probe of the agent's API answers along the
|
|
2085
|
+
* agent's own route (#3236, #3262). `at` is when the loss was met, `taskRef` the task whose run met it, `subject` the
|
|
2086
|
+
* route the probe takes (`api.anthropic.com via proxy proxy.corp:3128`), absent when no route is known. Shown only
|
|
2087
|
+
* while the hold lasts; what ends it is the probe answering, a turn started after the loss succeeding, or
|
|
2088
|
+
* `wildo build rearm <task> --reason environment`.
|
|
2089
|
+
*/
|
|
2090
|
+
WorkbenchCreationHomeLineKind["CODING_AGENT_CONNECTIVITY_LOST"] = "coding-agent-connectivity-lost";
|
|
2091
|
+
/**
|
|
2092
|
+
* A verification check's command cannot be executed (#3423): `wildo`, say, is not on the companion's PATH, so every
|
|
2093
|
+
* task's check would fail the same way, and no coding turn is admitted. `subject` is the command, `taskRef` the task
|
|
2094
|
+
* whose run met it, `at` when. Nothing lifts it on its own: a person puts the command on PATH, and the next admission
|
|
2095
|
+
* looks it up first (or `wildo build rearm <task> --reason environment` ends it). Shown while the hold lasts; an
|
|
2096
|
+
* unattended drive stops on it.
|
|
2097
|
+
*/
|
|
2098
|
+
WorkbenchCreationHomeLineKind["VERIFICATION_TOOL_UNAVAILABLE"] = "verification-tool-unavailable";
|
|
2099
|
+
/**
|
|
2100
|
+
* A person CLOSED a build task (`wildo build close`, #3224, #3227): done another way, or a derived follow-up declined.
|
|
2101
|
+
* `at` is when, `taskRef` the task, `subject` the reason they gave. Shown so a reader of the build's history sees that a
|
|
2102
|
+
* person, not a probe, said the task is done.
|
|
2103
|
+
*/
|
|
2104
|
+
WorkbenchCreationHomeLineKind["BUILD_TASK_CLOSED"] = "build-task-closed";
|
|
1930
2105
|
/** A playbook run suspended on questions only the creator can answer. */
|
|
1931
2106
|
WorkbenchCreationHomeLineKind["CLARIFICATION"] = "clarification";
|
|
1932
2107
|
/** A coding run parked on a question the agent could not answer alone. */
|
|
1933
2108
|
WorkbenchCreationHomeLineKind["PARKED_QUESTION"] = "parked-question";
|
|
2109
|
+
/**
|
|
2110
|
+
* An interview still waiting on the creator whose answer would date work the next unattended round could run
|
|
2111
|
+
* (#3361): a step reading the creator's stated facts, which an answer given later re-derives. The round withholds
|
|
2112
|
+
* that work (`findReadersDatedByWaitingInterviews`), so this line is what moves it, and an unattended drive stops on
|
|
2113
|
+
* it. `playbookRef` is the interview's playbook, `subject` the steps it holds (refs, comma-separated); the target is
|
|
2114
|
+
* the interview's playbook. Not shown for a quick interview's questions an unattended round assumes (#2129).
|
|
2115
|
+
*/
|
|
2116
|
+
WorkbenchCreationHomeLineKind["INTERVIEW_DATES_NEXT_WORK"] = "interview-dates-next-work";
|
|
1934
2117
|
/** A governed document the creator asked for (a draft exists) still needing a fact only they can give. */
|
|
1935
2118
|
WorkbenchCreationHomeLineKind["GOVERNANCE_DOCUMENT"] = "governance-document";
|
|
1936
2119
|
/** The next READY build task of the dispatch plan. */
|
|
@@ -1938,13 +2121,42 @@ export var WorkbenchCreationHomeLineKind;
|
|
|
1938
2121
|
/**
|
|
1939
2122
|
* The plan can run NOTHING: every ready task is stuck, and `stuckReason` says what unblocks it.
|
|
1940
2123
|
*
|
|
1941
|
-
* ASKED rather than SUGGESTION, because every reason is the creator's move —
|
|
1942
|
-
*
|
|
1943
|
-
*
|
|
2124
|
+
* ASKED rather than SUGGESTION, because every reason it is shown for is the creator's move — correcting a
|
|
2125
|
+
* declaration no run can satisfy, re-arming a task that spent its attempts, approving a follow-up. (A run's work
|
|
2126
|
+
* awaiting a commit was one until #3514: a task lands from the working tree since #3204.)
|
|
1944
2127
|
* Without it the plan simply falls silent: `CONTINUE_THE_PLAN` is derived from the next ready task,
|
|
1945
2128
|
* and a stuck queue has none (#1451, #1463).
|
|
1946
2129
|
*/
|
|
1947
2130
|
WorkbenchCreationHomeLineKind["UNBLOCK_THE_PLAN"] = "unblock-the-plan";
|
|
2131
|
+
/**
|
|
2132
|
+
* Nothing in the plan can run and it is not finished, because a specifications module fails (#3258). `subject` names the
|
|
2133
|
+
* modules. ASKED because the remedy is fixing the module, and without this line such a plan reads as nothing at all: no
|
|
2134
|
+
* next task, not finished, and no stuck task to explain it.
|
|
2135
|
+
*/
|
|
2136
|
+
WorkbenchCreationHomeLineKind["SPECIFICATION_FAULT_HOLDS_THE_PLAN"] = "specification-fault-holds-the-plan";
|
|
2137
|
+
/**
|
|
2138
|
+
* A FOLLOW-UP task landed while its latest completed run still reports a requirement unmet (#2583): advisory, never a
|
|
2139
|
+
* reason the loop stops. `taskRef` is the follow-up, `subject` names each requirement and what the run said is
|
|
2140
|
+
* missing. The door is running it again on purpose: `wildo build run <ref> --despite-landed --reason operator-judgement`.
|
|
2141
|
+
*/
|
|
2142
|
+
WorkbenchCreationHomeLineKind["FOLLOW_UP_LANDED_WITH_GAP"] = "follow-up-landed-with-gap";
|
|
2143
|
+
/**
|
|
2144
|
+
* Files a build task's coding runs left UNCOMMITTED that no automatic door will commit (#3267): a failed run's file a
|
|
2145
|
+
* retry refused, or a file dirty at a retry's baseline with what earlier failed runs left, and no run of the task live.
|
|
2146
|
+
* ASKED, because only a person can settle it: `taskRef` is the task, `subject` names each file and the runs whose
|
|
2147
|
+
* record holds it. The doors are `wildo build accept <ref> --leftovers` (commit, under those runs) and the discard
|
|
2148
|
+
* command `wildo build tasks` prints per file. Derived from the write register and the tree, so it disappears once
|
|
2149
|
+
* each file is committed or discarded.
|
|
2150
|
+
*/
|
|
2151
|
+
WorkbenchCreationHomeLineKind["RUN_LEFTOVER_UNCOMMITTED"] = "run-leftover-uncommitted";
|
|
2152
|
+
/**
|
|
2153
|
+
* A build task LANDED and something its landing does not cover is unfinished (#3285): a billing catalogue committed
|
|
2154
|
+
* while the backend does not enable billing, so nothing serves it. Advisory, a mark beside the landing and never a
|
|
2155
|
+
* reason anything stops. `taskRef` is the task, `subject` names each setting still to set and the file that holds it;
|
|
2156
|
+
* `wildo build tasks` prints what each needs first. Derived from the committed tree, so it disappears once the setting
|
|
2157
|
+
* is committed.
|
|
2158
|
+
*/
|
|
2159
|
+
WorkbenchCreationHomeLineKind["LANDED_WITH_ADVISORY"] = "landed-with-advisory";
|
|
1948
2160
|
/** An eligible playbook whose output family is missing. */
|
|
1949
2161
|
WorkbenchCreationHomeLineKind["PRODUCE_MISSING"] = "produce-missing";
|
|
1950
2162
|
/** An eligible playbook whose output is stale — derived before one of its inputs last changed. */
|
|
@@ -2049,7 +2261,8 @@ export const Workbench_CreationOutcome_Schema = z.object({
|
|
|
2049
2261
|
tasksLanded: z.number().int().min(0).nullable().isSummaryField(),
|
|
2050
2262
|
/**
|
|
2051
2263
|
* APPLICATION_WORKS only: the application's runtimes whose dev-loop supervisor has PAUSED them — it
|
|
2052
|
-
* will not start them until something changes (#1537)
|
|
2264
|
+
* will not start them until something changes (#1537) — or is CRASH-LOOPING them, restarting each at most every five
|
|
2265
|
+
* minutes while it keeps failing to start (#3365). While any is listed the outcome is not DONE,
|
|
2053
2266
|
* whatever has landed: an application that cannot start does not work. Null on the other three,
|
|
2054
2267
|
* and null when no supervisor could answer, which is "cannot tell" rather than "all up".
|
|
2055
2268
|
*/
|
|
@@ -2076,8 +2289,10 @@ export const Workbench_RunWriteFileDiff_Schema = z.object({
|
|
|
2076
2289
|
existedBefore: z.boolean(),
|
|
2077
2290
|
/** The file on disk no longer holds what the run wrote; the diff still describes what the RUN did. */
|
|
2078
2291
|
diverged: z.boolean(),
|
|
2079
|
-
/** Unified diff. Empty when the run rewrote a file with identical bytes. */
|
|
2292
|
+
/** Unified diff. Empty when the run rewrote a file with identical bytes. For a binary file, one line naming its hashes. */
|
|
2080
2293
|
diff: z.string(),
|
|
2294
|
+
/** A binary file (#3264): its record holds a hash, so `diff` is one descriptive line and no lines of text. */
|
|
2295
|
+
binary: z.literal(true).optional(),
|
|
2081
2296
|
});
|
|
2082
2297
|
export const Workbench_RunWriteDiff_Schema = z.object({
|
|
2083
2298
|
runId: z.string().min(1),
|
|
@@ -2184,7 +2399,8 @@ export const Workbench_CodingRunCancelOutcome_Schema = z.looseObject({
|
|
|
2184
2399
|
* The governed document's one verb: LAND the facts a person established for it as the
|
|
2185
2400
|
* `document-facts-authored` family. The row is the document; the body carries the governance scope,
|
|
2186
2401
|
* the answers and, for a reviewed fact, the review — a per-question verb with a bare value could
|
|
2187
|
-
* carry none of that, which is why
|
|
2402
|
+
* carry none of that, which is why ANSWERING stays on the document. Deferring one question carries
|
|
2403
|
+
* only a reason and asserts nothing, so it is the question's own verb (`WorkbenchGovernanceQuestions_Operations`).
|
|
2188
2404
|
*/
|
|
2189
2405
|
export var WorkbenchGovernanceDocuments_Operations;
|
|
2190
2406
|
(function (WorkbenchGovernanceDocuments_Operations) {
|
|
@@ -2212,6 +2428,35 @@ export const Workbench_GovernanceFactsLandingRequest_Schema = z.object({
|
|
|
2212
2428
|
/** Run the whole pipe and write nothing — what lets a person see the exact file their answers produce BEFORE anything touches the tree. */
|
|
2213
2429
|
dryRun: z.boolean().optional(),
|
|
2214
2430
|
});
|
|
2431
|
+
/**
|
|
2432
|
+
* The governance question's one verb (#3439): DEFER it — the person says the fact concerns this application and is not
|
|
2433
|
+
* decided yet, and why. A dossier write (`deferredDocumentFacts`), never a fact declaration, so the fact stays absent
|
|
2434
|
+
* and every clause resting on it stays owed. It names no governance scope and records no review, which is why it can be
|
|
2435
|
+
* a per-question verb while answering cannot (see {@link WorkbenchGovernanceDocuments_Operations}).
|
|
2436
|
+
*/
|
|
2437
|
+
export var WorkbenchGovernanceQuestions_Operations;
|
|
2438
|
+
(function (WorkbenchGovernanceQuestions_Operations) {
|
|
2439
|
+
WorkbenchGovernanceQuestions_Operations["DEFER"] = "defer";
|
|
2440
|
+
})(WorkbenchGovernanceQuestions_Operations || (WorkbenchGovernanceQuestions_Operations = {}));
|
|
2441
|
+
/**
|
|
2442
|
+
* Whether a governance question in this standing may be DEFERRED (#3439): one still needed, and one already deferred
|
|
2443
|
+
* (re-deferring rewords the reason). A fact the product establishes is read, never deferred; and an ANSWERED fact is
|
|
2444
|
+
* not either, because a landed declaration wins over a deferral of the same fact (`deriveOpenGovernanceQuestions`), so
|
|
2445
|
+
* the deferral would change nothing anyone sees. The ONE predicate the operation refuses by and the workbench offers by.
|
|
2446
|
+
*/
|
|
2447
|
+
export function governanceQuestionAdmitsDeferral(standing) {
|
|
2448
|
+
return standing === WorkbenchDossierEntryStanding.STILL_NEEDED || standing === WorkbenchDossierEntryStanding.DEFERRED;
|
|
2449
|
+
}
|
|
2450
|
+
export const Workbench_GovernanceQuestionDeferRequest_Schema = z.object({
|
|
2451
|
+
/** Why it is not decided yet — what it waits on. Required: a deferral with no reason cannot be revisited. */
|
|
2452
|
+
reason: z.string().min(1),
|
|
2453
|
+
});
|
|
2454
|
+
export const Workbench_GovernanceQuestionDeferOutcome_Schema = z.looseObject({
|
|
2455
|
+
/** The fact deferred. */
|
|
2456
|
+
factRef: z.string().min(1),
|
|
2457
|
+
/** The dossier file the deferral landed in, package-relative. */
|
|
2458
|
+
packageRelativePath: z.string().min(1),
|
|
2459
|
+
});
|
|
2215
2460
|
export const Workbench_GovernanceFactsLandingOutcome_Schema = z.object({
|
|
2216
2461
|
family: z.string().min(1),
|
|
2217
2462
|
packageRelativePath: z.string().min(1),
|