@graphrefly/ts 0.0.0 → 0.0.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.
- package/README.md +135 -0
- package/dist/adapters/index.cjs +105 -66
- package/dist/adapters/index.cjs.map +1 -1
- package/dist/adapters/index.d.cts +11 -136
- package/dist/adapters/index.d.ts +11 -136
- package/dist/adapters/index.js +27 -225
- package/dist/adapters/index.js.map +1 -1
- package/dist/adapters/observe-storage.d.cts +4 -4
- package/dist/adapters/observe-storage.d.ts +4 -4
- package/dist/adapters/observe-storage.js +1 -0
- package/dist/adapters/observe-storage.js.map +1 -1
- package/dist/adapters/react.cjs +166 -0
- package/dist/adapters/react.cjs.map +1 -0
- package/dist/adapters/react.d.cts +31 -0
- package/dist/adapters/react.d.ts +31 -0
- package/dist/adapters/react.js +51 -0
- package/dist/adapters/react.js.map +1 -0
- package/dist/adapters/solid.cjs +157 -0
- package/dist/adapters/solid.cjs.map +1 -0
- package/dist/adapters/solid.d.cts +26 -0
- package/dist/adapters/solid.d.ts +26 -0
- package/dist/adapters/solid.js +48 -0
- package/dist/adapters/solid.js.map +1 -0
- package/dist/adapters/svelte.cjs +148 -0
- package/dist/adapters/svelte.cjs.map +1 -0
- package/dist/adapters/svelte.d.cts +31 -0
- package/dist/adapters/svelte.d.ts +31 -0
- package/dist/adapters/svelte.js +46 -0
- package/dist/adapters/svelte.js.map +1 -0
- package/dist/adapters/vue.cjs +155 -0
- package/dist/adapters/vue.cjs.map +1 -0
- package/dist/adapters/vue.d.cts +26 -0
- package/dist/adapters/vue.d.ts +26 -0
- package/dist/adapters/vue.js +46 -0
- package/dist/adapters/vue.js.map +1 -0
- package/dist/agent-runtime-BesGDZcB.d.ts +555 -0
- package/dist/agent-runtime-DZTJ3C-p.d.cts +555 -0
- package/dist/agentic-memory-BmRCvh0d.d.ts +517 -0
- package/dist/agentic-memory-DfuVZ-lY.d.cts +517 -0
- package/dist/capability-admission-B0BzqAm5.d.cts +102 -0
- package/dist/capability-admission-g0mn9hpq.d.ts +102 -0
- package/dist/{chunk-JR4IKCR2.js → chunk-2747WN4Y.js} +5 -5
- package/dist/{chunk-2ILL7HQI.js → chunk-3JR3EDB2.js} +17 -17
- package/dist/{chunk-2ILL7HQI.js.map → chunk-3JR3EDB2.js.map} +1 -1
- package/dist/{chunk-GDL26N2T.js → chunk-3KN7NJDR.js} +2 -2
- package/dist/{chunk-DJC4CHLQ.js → chunk-43BKLFZU.js} +9 -9
- package/dist/chunk-6XAIOL3X.js +2407 -0
- package/dist/chunk-6XAIOL3X.js.map +1 -0
- package/dist/{chunk-SCRFRCGR.js → chunk-BSQGE5PS.js} +1 -1
- package/dist/{chunk-Y3ZLRGHC.js → chunk-CZNV3VXM.js} +16 -16
- package/dist/chunk-DGUM43GV.js +11 -0
- package/dist/chunk-DGUM43GV.js.map +1 -0
- package/dist/{chunk-JIMUDQN3.js → chunk-FBUU43PM.js} +2 -2
- package/dist/chunk-H75VXTGT.js +219 -0
- package/dist/chunk-H75VXTGT.js.map +1 -0
- package/dist/{chunk-RIIOUTGM.js → chunk-HKK2JD7Z.js} +12 -9
- package/dist/chunk-HKK2JD7Z.js.map +1 -0
- package/dist/{chunk-D6BG7U6A.js → chunk-IXZBUWSP.js} +3 -3
- package/dist/chunk-PC3BTTBE.js +3217 -0
- package/dist/chunk-PC3BTTBE.js.map +1 -0
- package/dist/chunk-QFY4AFY4.js +879 -0
- package/dist/chunk-QFY4AFY4.js.map +1 -0
- package/dist/{chunk-DK554R7P.js → chunk-S6HXABGL.js} +2 -1
- package/dist/chunk-S6HXABGL.js.map +1 -0
- package/dist/{chunk-PKVBHGBM.js → chunk-SS2A464I.js} +7 -7
- package/dist/chunk-UT3MHJCW.js +49 -0
- package/dist/chunk-UT3MHJCW.js.map +1 -0
- package/dist/{chunk-G4M3NHRJ.js → chunk-V7CIJE4B.js} +3 -3
- package/dist/{chunk-TEW47IVR.js → chunk-VPEFSDME.js} +2 -2
- package/dist/chunk-VTHLCFN4.js +368 -0
- package/dist/chunk-VTHLCFN4.js.map +1 -0
- package/dist/{chunk-SWTLEQL6.js → chunk-WQIA3GFB.js} +2 -2
- package/dist/chunk-WQIA3GFB.js.map +1 -0
- package/dist/{chunk-I3IHOHCJ.js → chunk-XKXWK2KP.js} +108 -64
- package/dist/chunk-XKXWK2KP.js.map +1 -0
- package/dist/{chunk-COHO25CZ.js → chunk-YDSIVHRR.js} +553 -7
- package/dist/chunk-YDSIVHRR.js.map +1 -0
- package/dist/chunk-YXMZ2N6J.js +1884 -0
- package/dist/chunk-YXMZ2N6J.js.map +1 -0
- package/dist/composition/index.cjs +102 -57
- package/dist/composition/index.cjs.map +1 -1
- package/dist/composition/index.d.cts +4 -4
- package/dist/composition/index.d.ts +4 -4
- package/dist/composition/index.js +6 -5
- package/dist/core/index.cjs +102 -57
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +5 -4
- package/dist/cqrs/index.cjs.map +1 -1
- package/dist/cqrs/index.d.cts +4 -4
- package/dist/cqrs/index.d.ts +4 -4
- package/dist/cqrs/index.js +3 -2
- package/dist/cqrs/index.js.map +1 -1
- package/dist/cqrs/messaging.cjs +312 -0
- package/dist/cqrs/messaging.cjs.map +1 -0
- package/dist/cqrs/messaging.d.cts +57 -0
- package/dist/cqrs/messaging.d.ts +57 -0
- package/dist/cqrs/messaging.js +274 -0
- package/dist/cqrs/messaging.js.map +1 -0
- package/dist/cqrs/work-queue.cjs +329 -0
- package/dist/cqrs/work-queue.cjs.map +1 -0
- package/dist/cqrs/work-queue.d.cts +90 -0
- package/dist/cqrs/work-queue.d.ts +90 -0
- package/dist/cqrs/work-queue.js +292 -0
- package/dist/cqrs/work-queue.js.map +1 -0
- package/dist/data/index.cjs +19 -0
- package/dist/data/index.cjs.map +1 -0
- package/dist/data/index.d.cts +36 -0
- package/dist/data/index.d.ts +36 -0
- package/dist/data/index.js +1 -0
- package/dist/data/index.js.map +1 -0
- package/dist/data-structures/index.cjs +105 -57
- package/dist/data-structures/index.cjs.map +1 -1
- package/dist/data-structures/index.d.cts +8 -8
- package/dist/data-structures/index.d.ts +8 -8
- package/dist/data-structures/index.js +7 -6
- package/dist/{describe-BZb7AS2y.d.ts → describe-BpyJuWkw.d.ts} +1 -1
- package/dist/{describe-Ciu8SUnN.d.cts → describe-DYMw_l1C.d.cts} +1 -1
- package/dist/executors/work-queue.cjs +342 -0
- package/dist/executors/work-queue.cjs.map +1 -0
- package/dist/executors/work-queue.d.cts +90 -0
- package/dist/executors/work-queue.d.ts +90 -0
- package/dist/executors/work-queue.js +306 -0
- package/dist/executors/work-queue.js.map +1 -0
- package/dist/graph/index.cjs +112 -58
- package/dist/graph/index.cjs.map +1 -1
- package/dist/graph/index.d.cts +9 -9
- package/dist/graph/index.d.ts +9 -9
- package/dist/graph/index.js +18 -17
- package/dist/{graph-DfdF9zy4.d.ts → graph-D-1-SQeC.d.ts} +3 -3
- package/dist/{graph-s23RbbFO.d.cts → graph-DCEWh4T2.d.cts} +3 -3
- package/dist/{index-CAEmLCYF.d.cts → index-72VZC0-E.d.cts} +2 -2
- package/dist/{index-SnzZu3x7.d.ts → index-Bmxeu0nK.d.ts} +2 -2
- package/dist/index.cjs +112 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +118 -113
- package/dist/inspection/boundary.cjs +98 -0
- package/dist/inspection/boundary.cjs.map +1 -0
- package/dist/inspection/boundary.d.cts +61 -0
- package/dist/inspection/boundary.d.ts +61 -0
- package/dist/inspection/boundary.js +75 -0
- package/dist/inspection/boundary.js.map +1 -0
- package/dist/{messages-BZqrGGm1.d.ts → messages-CAzUPPJM.d.cts} +10 -5
- package/dist/{messages-BZqrGGm1.d.cts → messages-CAzUPPJM.d.ts} +10 -5
- package/dist/messaging/index.cjs +744 -613
- package/dist/messaging/index.cjs.map +1 -1
- package/dist/messaging/index.d.cts +216 -160
- package/dist/messaging/index.d.ts +216 -160
- package/dist/messaging/index.js +19 -749
- package/dist/messaging/index.js.map +1 -1
- package/dist/operators/index.cjs +102 -57
- package/dist/operators/index.cjs.map +1 -1
- package/dist/operators/index.d.cts +6 -6
- package/dist/operators/index.d.ts +6 -6
- package/dist/operators/index.js +8 -7
- package/dist/orchestration/index.cjs +3333 -59
- package/dist/orchestration/index.cjs.map +1 -1
- package/dist/orchestration/index.d.cts +7 -4
- package/dist/orchestration/index.d.ts +7 -4
- package/dist/orchestration/index.js +49 -8
- package/dist/orchestration/index.js.map +1 -1
- package/dist/orchestration/messaging.cjs +314 -0
- package/dist/orchestration/messaging.cjs.map +1 -0
- package/dist/orchestration/messaging.d.cts +59 -0
- package/dist/orchestration/messaging.d.ts +59 -0
- package/dist/orchestration/messaging.js +276 -0
- package/dist/orchestration/messaging.js.map +1 -0
- package/dist/orchestration/work-queue.cjs +262 -0
- package/dist/orchestration/work-queue.cjs.map +1 -0
- package/dist/orchestration/work-queue.d.cts +85 -0
- package/dist/orchestration/work-queue.d.ts +85 -0
- package/dist/orchestration/work-queue.js +226 -0
- package/dist/orchestration/work-queue.js.map +1 -0
- package/dist/patterns/event-flow.cjs +447 -0
- package/dist/patterns/event-flow.cjs.map +1 -0
- package/dist/patterns/event-flow.d.cts +115 -0
- package/dist/patterns/event-flow.d.ts +115 -0
- package/dist/patterns/event-flow.js +14 -0
- package/dist/patterns/event-flow.js.map +1 -0
- package/dist/patterns/index.cjs +423 -18
- package/dist/patterns/index.cjs.map +1 -1
- package/dist/patterns/index.d.cts +8 -5
- package/dist/patterns/index.d.ts +8 -5
- package/dist/patterns/index.js +13 -4
- package/dist/{reactive-collection-Cb1II1Fi.d.ts → reactive-collection-BAmfrGjd.d.ts} +9 -9
- package/dist/{reactive-collection-BxBqtIOE.d.cts → reactive-collection-DNV0-gFi.d.cts} +9 -9
- package/dist/{reactive-collection-storage-D-KmjE0J.d.cts → reactive-collection-storage-BNEldDyi.d.cts} +5 -5
- package/dist/{reactive-collection-storage-BNiEc-Gd.d.ts → reactive-collection-storage-YZsAQsWK.d.ts} +5 -5
- package/dist/{reactive-map-D-g3dv8I.d.cts → reactive-map-DRD1LJ2H.d.cts} +6 -6
- package/dist/{reactive-map-BcB4KsQR.d.ts → reactive-map-EsDiCmJk.d.ts} +6 -6
- package/dist/render/index.d.cts +3 -3
- package/dist/render/index.d.ts +3 -3
- package/dist/render/index.js +1 -0
- package/dist/{semantic-memory-graph-BYoIlP35.d.cts → semantic-memory-graph-DKuNzuWw.d.cts} +2 -2
- package/dist/{semantic-memory-graph-CxyXLms3.d.ts → semantic-memory-graph-uwbwJdhe.d.ts} +2 -2
- package/dist/solutions/index.cjs +4478 -2
- package/dist/solutions/index.cjs.map +1 -1
- package/dist/solutions/index.d.cts +13 -519
- package/dist/solutions/index.d.ts +13 -519
- package/dist/solutions/index.js +90 -6
- package/dist/solutions/reactive-layout/browser/index.cjs +449 -0
- package/dist/solutions/reactive-layout/browser/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/browser/index.d.cts +44 -0
- package/dist/solutions/reactive-layout/browser/index.d.ts +44 -0
- package/dist/solutions/reactive-layout/browser/index.js +69 -0
- package/dist/solutions/reactive-layout/browser/index.js.map +1 -0
- package/dist/solutions/reactive-layout/index.cjs +4266 -0
- package/dist/solutions/reactive-layout/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/index.d.cts +581 -0
- package/dist/solutions/reactive-layout/index.d.ts +581 -0
- package/dist/solutions/reactive-layout/index.js +86 -0
- package/dist/solutions/reactive-layout/index.js.map +1 -0
- package/dist/solutions/reactive-layout/node-canvas/index.cjs +545 -0
- package/dist/solutions/reactive-layout/node-canvas/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/node-canvas/index.d.cts +54 -0
- package/dist/solutions/reactive-layout/node-canvas/index.d.ts +54 -0
- package/dist/solutions/reactive-layout/node-canvas/index.js +131 -0
- package/dist/solutions/reactive-layout/node-canvas/index.js.map +1 -0
- package/dist/solutions/reactive-layout/react-native/index.cjs +494 -0
- package/dist/solutions/reactive-layout/react-native/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/react-native/index.d.cts +51 -0
- package/dist/solutions/reactive-layout/react-native/index.d.ts +51 -0
- package/dist/solutions/reactive-layout/react-native/index.js +77 -0
- package/dist/solutions/reactive-layout/react-native/index.js.map +1 -0
- package/dist/solutions/reactive-layout/skia/index.cjs +547 -0
- package/dist/solutions/reactive-layout/skia/index.cjs.map +1 -0
- package/dist/solutions/reactive-layout/skia/index.d.cts +64 -0
- package/dist/solutions/reactive-layout/skia/index.d.ts +64 -0
- package/dist/solutions/reactive-layout/skia/index.js +70 -0
- package/dist/solutions/reactive-layout/skia/index.js.map +1 -0
- package/dist/solutions/work-item/actions.cjs +2164 -0
- package/dist/solutions/work-item/actions.cjs.map +1 -0
- package/dist/solutions/work-item/actions.d.cts +201 -0
- package/dist/solutions/work-item/actions.d.ts +201 -0
- package/dist/solutions/work-item/actions.js +1454 -0
- package/dist/solutions/work-item/actions.js.map +1 -0
- package/dist/solutions/work-item/scheduling.cjs +2454 -0
- package/dist/solutions/work-item/scheduling.cjs.map +1 -0
- package/dist/solutions/work-item/scheduling.d.cts +433 -0
- package/dist/solutions/work-item/scheduling.d.ts +433 -0
- package/dist/solutions/work-item/scheduling.js +32 -0
- package/dist/solutions/work-item/scheduling.js.map +1 -0
- package/dist/solutions/work-item/work-queue.cjs +306 -0
- package/dist/solutions/work-item/work-queue.cjs.map +1 -0
- package/dist/solutions/work-item/work-queue.d.cts +71 -0
- package/dist/solutions/work-item/work-queue.d.ts +71 -0
- package/dist/solutions/work-item/work-queue.js +270 -0
- package/dist/solutions/work-item/work-queue.js.map +1 -0
- package/dist/sources/browser.cjs +169 -57
- package/dist/sources/browser.cjs.map +1 -1
- package/dist/sources/browser.d.cts +33 -6
- package/dist/sources/browser.d.ts +33 -6
- package/dist/sources/browser.js +73 -6
- package/dist/sources/browser.js.map +1 -1
- package/dist/sources/index.cjs +102 -57
- package/dist/sources/index.cjs.map +1 -1
- package/dist/sources/index.d.cts +5 -5
- package/dist/sources/index.d.ts +5 -5
- package/dist/sources/index.js +6 -5
- package/dist/sources/node.cjs.map +1 -1
- package/dist/sources/node.d.cts +4 -4
- package/dist/sources/node.d.ts +4 -4
- package/dist/sources/node.js +2 -1
- package/dist/sources/node.js.map +1 -1
- package/dist/storage/browser.js +1 -0
- package/dist/storage/browser.js.map +1 -1
- package/dist/storage/index.d.cts +5 -5
- package/dist/storage/index.d.ts +5 -5
- package/dist/storage/index.js +5 -4
- package/dist/storage/node.js +1 -0
- package/dist/storage/node.js.map +1 -1
- package/dist/store-C-joM4gh.d.ts +123 -0
- package/dist/store-CNJwmT-h.d.cts +123 -0
- package/dist/testing/index.cjs +1 -0
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +3 -2
- package/dist/{types-h12mNYbq.d.ts → types-BsJvElYZ.d.ts} +31 -31
- package/dist/{types-bNMSWKqF.d.cts → types-CcPIn7sy.d.cts} +31 -31
- package/dist/work-item-runtime-C3M79vE9.d.ts +228 -0
- package/dist/work-item-runtime-qaVgsL0T.d.cts +228 -0
- package/dist/work-queue/index.cjs +1132 -0
- package/dist/work-queue/index.cjs.map +1 -0
- package/dist/work-queue/index.d.cts +369 -0
- package/dist/work-queue/index.d.ts +369 -0
- package/dist/work-queue/index.js +1078 -0
- package/dist/work-queue/index.js.map +1 -0
- package/package.json +266 -2
- package/dist/chunk-COHO25CZ.js.map +0 -1
- package/dist/chunk-DK554R7P.js.map +0 -1
- package/dist/chunk-I3IHOHCJ.js.map +0 -1
- package/dist/chunk-RIIOUTGM.js.map +0 -1
- package/dist/chunk-SWTLEQL6.js.map +0 -1
- /package/dist/{chunk-JR4IKCR2.js.map → chunk-2747WN4Y.js.map} +0 -0
- /package/dist/{chunk-GDL26N2T.js.map → chunk-3KN7NJDR.js.map} +0 -0
- /package/dist/{chunk-DJC4CHLQ.js.map → chunk-43BKLFZU.js.map} +0 -0
- /package/dist/{chunk-SCRFRCGR.js.map → chunk-BSQGE5PS.js.map} +0 -0
- /package/dist/{chunk-Y3ZLRGHC.js.map → chunk-CZNV3VXM.js.map} +0 -0
- /package/dist/{chunk-JIMUDQN3.js.map → chunk-FBUU43PM.js.map} +0 -0
- /package/dist/{chunk-D6BG7U6A.js.map → chunk-IXZBUWSP.js.map} +0 -0
- /package/dist/{chunk-PKVBHGBM.js.map → chunk-SS2A464I.js.map} +0 -0
- /package/dist/{chunk-G4M3NHRJ.js.map → chunk-V7CIJE4B.js.map} +0 -0
- /package/dist/{chunk-TEW47IVR.js.map → chunk-VPEFSDME.js.map} +0 -0
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
import { DataIssue } from '../../data/index.js';
|
|
2
|
+
import { d as Graph } from '../../graph-D-1-SQeC.js';
|
|
3
|
+
import { N as Node } from '../../types-BsJvElYZ.js';
|
|
4
|
+
import { S as SourceRef, z as EffectRunGoal, h as AgentOutputEnvelope, v as AgentRuntimeAuditRecord, B as EffectRunLimits, H as EffectRunResultStatus, F as EffectRunResult } from '../../agent-runtime-BesGDZcB.js';
|
|
5
|
+
import { n as WorkItemEffectRequested, q as WorkItemEvidenceRecorded, j as WorkItemDomainActionProposalSpec, g as WorkItemDomainActionProposal } from '../../work-item-runtime-C3M79vE9.js';
|
|
6
|
+
import '../../core/index.js';
|
|
7
|
+
import '../../messages-CAzUPPJM.js';
|
|
8
|
+
import '../../codec-BB7p8fJc.js';
|
|
9
|
+
import '../../describe-BpyJuWkw.js';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* WorkItem authoring, verification, and scheduling facts (D333-D343).
|
|
13
|
+
*
|
|
14
|
+
* This focused solution subpath is data-first glue. It emits graph-visible
|
|
15
|
+
* projections, requests, results, status, issues, and audit facts; it does not
|
|
16
|
+
* run verification, claim queues, dispatch executors, or mutate WorkItems.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
type WorkItemValidationIssueCode = "malformed-draft" | "missing-required-field" | "invalid-patch" | "duplicate-id" | "dangling-ref" | "cyclic-dependency" | "unsupported-mode" | "unsupported-effect-kind" | "oversized-inline-data" | "policy-mismatch" | "missing-policy" | "stale-revision" | "stale-execution-input" | "blocked-prerequisite" | "verification-unplanned" | "manual-review-required" | "duplicate-suppressed" | "ambiguous-coverage" | "partial-coverage" | "unverifiable-output" | "unauthorized-author" | "unauthorized-target" | "invalid-schedule";
|
|
20
|
+
type WorkItemValidationStatusState = "projected" | "rejected" | "deferred" | "blocked" | "needs-human-review" | "stale" | "duplicate" | "request-emitted" | "result-recorded" | "domain-action-proposed";
|
|
21
|
+
interface WorkItemValidationStatus {
|
|
22
|
+
readonly kind: "work-item-validation-status";
|
|
23
|
+
readonly statusId: string;
|
|
24
|
+
readonly workItemId?: string;
|
|
25
|
+
readonly state: WorkItemValidationStatusState;
|
|
26
|
+
readonly code?: WorkItemValidationIssueCode;
|
|
27
|
+
readonly revision?: number;
|
|
28
|
+
readonly executionInputRevision?: number;
|
|
29
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
30
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
31
|
+
readonly stepId?: string;
|
|
32
|
+
readonly criterionId?: string;
|
|
33
|
+
readonly message?: string;
|
|
34
|
+
readonly metadata?: Record<string, unknown>;
|
|
35
|
+
}
|
|
36
|
+
interface AcceptanceCriterion {
|
|
37
|
+
readonly criterionId: string;
|
|
38
|
+
readonly statement: string;
|
|
39
|
+
readonly required?: boolean;
|
|
40
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
41
|
+
readonly metadata?: Record<string, unknown>;
|
|
42
|
+
}
|
|
43
|
+
type VerificationStepMode = "auto" | "manual" | "hybrid";
|
|
44
|
+
interface VerificationStep<TInput = unknown> {
|
|
45
|
+
readonly stepId: string;
|
|
46
|
+
readonly title?: string;
|
|
47
|
+
readonly description?: string;
|
|
48
|
+
readonly verifiesCriteriaIds?: readonly string[];
|
|
49
|
+
readonly mode: VerificationStepMode;
|
|
50
|
+
readonly effectKind?: string;
|
|
51
|
+
readonly goal?: EffectRunGoal<TInput>;
|
|
52
|
+
readonly input?: TInput;
|
|
53
|
+
readonly contextRefs?: readonly SourceRef[];
|
|
54
|
+
readonly requirements?: readonly string[];
|
|
55
|
+
readonly capacityHints?: Record<string, unknown>;
|
|
56
|
+
readonly dependsOnStepIds?: readonly string[];
|
|
57
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
58
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
59
|
+
readonly metadata?: Record<string, unknown>;
|
|
60
|
+
}
|
|
61
|
+
interface VerificationPlan<TInput = unknown> {
|
|
62
|
+
readonly planId: string;
|
|
63
|
+
readonly planRevision?: string | number;
|
|
64
|
+
readonly steps: readonly VerificationStep<TInput>[];
|
|
65
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
66
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
67
|
+
readonly metadata?: Record<string, unknown>;
|
|
68
|
+
}
|
|
69
|
+
interface WorkItemDraft<TInput = unknown> {
|
|
70
|
+
readonly summary: string;
|
|
71
|
+
readonly detail?: string;
|
|
72
|
+
readonly detailRefs?: readonly SourceRef[];
|
|
73
|
+
readonly acceptanceCriteria?: readonly AcceptanceCriterion[];
|
|
74
|
+
readonly verificationPlan?: VerificationPlan<TInput>;
|
|
75
|
+
readonly verificationSteps?: readonly VerificationStep<TInput>[];
|
|
76
|
+
readonly kind?: string;
|
|
77
|
+
readonly priority?: number;
|
|
78
|
+
readonly tags?: readonly string[];
|
|
79
|
+
readonly owner?: string;
|
|
80
|
+
readonly assignee?: string;
|
|
81
|
+
readonly deadlineMs?: number;
|
|
82
|
+
readonly customFields?: Record<string, unknown>;
|
|
83
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
84
|
+
readonly metadata?: Record<string, unknown>;
|
|
85
|
+
}
|
|
86
|
+
type WorkItemPatch<TInput = unknown> = Partial<WorkItemDraft<TInput>>;
|
|
87
|
+
interface WorkItemCreated<TInput = unknown> {
|
|
88
|
+
readonly kind: "work-item-created";
|
|
89
|
+
readonly eventId: string;
|
|
90
|
+
readonly workItemId: string;
|
|
91
|
+
readonly draft: WorkItemDraft<TInput>;
|
|
92
|
+
readonly authorId?: string;
|
|
93
|
+
readonly createdAtMs?: number;
|
|
94
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
95
|
+
readonly metadata?: Record<string, unknown>;
|
|
96
|
+
}
|
|
97
|
+
interface WorkItemPatched<TInput = unknown> {
|
|
98
|
+
readonly kind: "work-item-patched";
|
|
99
|
+
readonly eventId: string;
|
|
100
|
+
readonly workItemId: string;
|
|
101
|
+
readonly patch: WorkItemPatch<TInput>;
|
|
102
|
+
readonly executionRelevantFields?: readonly string[];
|
|
103
|
+
readonly authorId?: string;
|
|
104
|
+
readonly patchedAtMs?: number;
|
|
105
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
106
|
+
readonly metadata?: Record<string, unknown>;
|
|
107
|
+
}
|
|
108
|
+
interface AcceptanceCriteriaChanged {
|
|
109
|
+
readonly kind: "acceptance-criteria-changed";
|
|
110
|
+
readonly eventId: string;
|
|
111
|
+
readonly workItemId: string;
|
|
112
|
+
readonly acceptanceCriteria: readonly AcceptanceCriterion[];
|
|
113
|
+
readonly authorId?: string;
|
|
114
|
+
readonly changedAtMs?: number;
|
|
115
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
116
|
+
readonly metadata?: Record<string, unknown>;
|
|
117
|
+
}
|
|
118
|
+
interface VerificationPlanChanged<TInput = unknown> {
|
|
119
|
+
readonly kind: "verification-plan-changed";
|
|
120
|
+
readonly eventId: string;
|
|
121
|
+
readonly workItemId: string;
|
|
122
|
+
readonly verificationPlan: VerificationPlan<TInput>;
|
|
123
|
+
readonly authorId?: string;
|
|
124
|
+
readonly changedAtMs?: number;
|
|
125
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
126
|
+
readonly metadata?: Record<string, unknown>;
|
|
127
|
+
}
|
|
128
|
+
type WorkItemAuthoringFact<TInput = unknown> = WorkItemCreated<TInput> | WorkItemPatched<TInput> | AcceptanceCriteriaChanged | VerificationPlanChanged<TInput>;
|
|
129
|
+
interface WorkItemSpawnProposed<TInput = unknown> {
|
|
130
|
+
readonly kind: "work-item-spawn-proposed";
|
|
131
|
+
readonly proposalId: string;
|
|
132
|
+
readonly parentWorkItemId?: string;
|
|
133
|
+
readonly draft: WorkItemDraft<TInput>;
|
|
134
|
+
readonly proposedBy?: string;
|
|
135
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
136
|
+
readonly metadata?: Record<string, unknown>;
|
|
137
|
+
}
|
|
138
|
+
type WorkItemAuthoringInput<TInput = unknown> = WorkItemAuthoringFact<TInput> | WorkItemSpawnProposed<TInput>;
|
|
139
|
+
interface WorkItemProjection<TInput = unknown> extends WorkItemDraft<TInput> {
|
|
140
|
+
readonly workItemId: string;
|
|
141
|
+
readonly authoringRevision: number;
|
|
142
|
+
readonly executionInputRevision: number;
|
|
143
|
+
readonly lastEventId: string;
|
|
144
|
+
readonly revisionSourceRefs?: readonly SourceRef[];
|
|
145
|
+
readonly createdAtMs?: number;
|
|
146
|
+
readonly updatedAtMs?: number;
|
|
147
|
+
}
|
|
148
|
+
interface WorkItemPriorityAssessment {
|
|
149
|
+
readonly kind: "work-item-priority-assessment";
|
|
150
|
+
readonly assessmentId: string;
|
|
151
|
+
readonly workItemId: string;
|
|
152
|
+
readonly authoringRevision?: number;
|
|
153
|
+
readonly executionInputRevision?: number;
|
|
154
|
+
readonly priority?: number;
|
|
155
|
+
readonly rank?: number;
|
|
156
|
+
readonly reason?: string;
|
|
157
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
158
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
159
|
+
readonly metadata?: Record<string, unknown>;
|
|
160
|
+
}
|
|
161
|
+
interface WorkItemPlacementDecision {
|
|
162
|
+
readonly kind: "work-item-placement-decision";
|
|
163
|
+
readonly decisionId: string;
|
|
164
|
+
readonly workItemId: string;
|
|
165
|
+
readonly authoringRevision?: number;
|
|
166
|
+
readonly executionInputRevision?: number;
|
|
167
|
+
readonly laneId: string;
|
|
168
|
+
readonly targetKind?: string;
|
|
169
|
+
readonly reason?: string;
|
|
170
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
171
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
172
|
+
readonly metadata?: Record<string, unknown>;
|
|
173
|
+
}
|
|
174
|
+
interface WorkItemScheduleDecision {
|
|
175
|
+
readonly kind: "work-item-schedule-decision";
|
|
176
|
+
readonly decisionId: string;
|
|
177
|
+
readonly workItemId: string;
|
|
178
|
+
readonly authoringRevision?: number;
|
|
179
|
+
readonly executionInputRevision?: number;
|
|
180
|
+
readonly targetKind: "work-item-effect" | "work-queue" | "executor" | "status";
|
|
181
|
+
readonly effectKind?: string;
|
|
182
|
+
readonly notBeforeMs?: number;
|
|
183
|
+
readonly deadlineMs?: number;
|
|
184
|
+
readonly requirements?: readonly string[];
|
|
185
|
+
readonly capacityHints?: Record<string, unknown>;
|
|
186
|
+
readonly reason?: string;
|
|
187
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
188
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
189
|
+
readonly metadata?: Record<string, unknown>;
|
|
190
|
+
}
|
|
191
|
+
interface WorkItemDispatchIntent<TInput = unknown> {
|
|
192
|
+
readonly kind: "work-item-dispatch-intent";
|
|
193
|
+
readonly intentId: string;
|
|
194
|
+
readonly workItemId: string;
|
|
195
|
+
readonly authoringRevision?: number;
|
|
196
|
+
readonly executionInputRevision: number;
|
|
197
|
+
readonly targetKind: "verification" | "approval" | "human-review" | "external-sync" | "spawn-review" | "background-evidence" | "executor";
|
|
198
|
+
readonly effectKind?: string;
|
|
199
|
+
readonly stepIds?: readonly string[];
|
|
200
|
+
readonly acceptanceCriterionIds?: readonly string[];
|
|
201
|
+
readonly goal?: EffectRunGoal<TInput>;
|
|
202
|
+
readonly contextRefs?: readonly SourceRef[];
|
|
203
|
+
readonly requirements?: readonly string[];
|
|
204
|
+
readonly capacityHints?: Record<string, unknown>;
|
|
205
|
+
readonly limits?: EffectRunLimits;
|
|
206
|
+
readonly idempotencyKey?: string;
|
|
207
|
+
readonly reason?: string;
|
|
208
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
209
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
210
|
+
readonly metadata?: Record<string, unknown>;
|
|
211
|
+
}
|
|
212
|
+
interface WorkItemAuthoringPolicy {
|
|
213
|
+
readonly executionRelevantFields?: readonly string[];
|
|
214
|
+
}
|
|
215
|
+
interface WorkItemAuthoringProjectorOptions<TInput = unknown> {
|
|
216
|
+
readonly name?: string;
|
|
217
|
+
readonly facts: Node<WorkItemAuthoringInput<TInput>>;
|
|
218
|
+
readonly policy?: WorkItemAuthoringPolicy;
|
|
219
|
+
}
|
|
220
|
+
interface WorkItemAuthoringProjectorBundle<TInput = unknown> {
|
|
221
|
+
readonly workItems: Node<WorkItemProjection<TInput>>;
|
|
222
|
+
readonly status: Node<WorkItemValidationStatus>;
|
|
223
|
+
readonly issues: Node<DataIssue>;
|
|
224
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
225
|
+
}
|
|
226
|
+
interface WorkItemVerificationLowererPolicy {
|
|
227
|
+
readonly policyId?: string;
|
|
228
|
+
readonly autoRun?: boolean;
|
|
229
|
+
readonly allowedModes?: readonly VerificationStepMode[];
|
|
230
|
+
readonly allowedEffectKinds?: readonly string[];
|
|
231
|
+
readonly stalePolicy?: "cancel" | "reschedule" | "requeue" | "replacement-intent" | "review";
|
|
232
|
+
}
|
|
233
|
+
interface WorkItemVerificationRequestLowererOptions<TInput = unknown> {
|
|
234
|
+
readonly name?: string;
|
|
235
|
+
readonly workItems: Node<WorkItemProjection<TInput>>;
|
|
236
|
+
readonly dispatchIntents?: Node<WorkItemDispatchIntent<TInput>>;
|
|
237
|
+
readonly verificationResults?: Node<VerificationResultRecorded>;
|
|
238
|
+
readonly policy?: WorkItemVerificationLowererPolicy;
|
|
239
|
+
}
|
|
240
|
+
interface WorkItemVerificationRequestLowererBundle<TInput = unknown> {
|
|
241
|
+
readonly effectRequests: Node<WorkItemEffectRequested<TInput>>;
|
|
242
|
+
readonly status: Node<WorkItemValidationStatus>;
|
|
243
|
+
readonly issues: Node<DataIssue>;
|
|
244
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
245
|
+
}
|
|
246
|
+
type VerificationResultStatus = "passed" | "failed" | "blocked" | "canceled" | "timeout" | "waived" | "unverifiable";
|
|
247
|
+
interface VerificationResultRecorded {
|
|
248
|
+
readonly kind: "verification-result-recorded";
|
|
249
|
+
readonly resultId: string;
|
|
250
|
+
readonly workItemId: string;
|
|
251
|
+
readonly evidenceId: string;
|
|
252
|
+
readonly effectRunId: string;
|
|
253
|
+
readonly effectRunResultId: string;
|
|
254
|
+
readonly executionInputRevision: number;
|
|
255
|
+
readonly verificationStepIds: readonly string[];
|
|
256
|
+
readonly acceptanceCriterionIds: readonly string[];
|
|
257
|
+
readonly status: VerificationResultStatus;
|
|
258
|
+
readonly output?: AgentOutputEnvelope;
|
|
259
|
+
readonly error?: DataIssue;
|
|
260
|
+
readonly reason?: string;
|
|
261
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
262
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
263
|
+
readonly recordedAtMs?: number;
|
|
264
|
+
readonly metadata?: Record<string, unknown>;
|
|
265
|
+
}
|
|
266
|
+
interface WorkItemVerificationMappingPolicy {
|
|
267
|
+
readonly kind: "work-item-verification-mapping-policy";
|
|
268
|
+
readonly policyId: string;
|
|
269
|
+
readonly actionProposals?: readonly WorkItemDomainActionProposalSpec[];
|
|
270
|
+
readonly metadata?: Record<string, unknown>;
|
|
271
|
+
}
|
|
272
|
+
interface WorkItemVerificationResultMapperOptions<TInput = unknown> {
|
|
273
|
+
readonly name?: string;
|
|
274
|
+
readonly workItems: Node<WorkItemProjection<TInput>>;
|
|
275
|
+
readonly evidence: Node<WorkItemEvidenceRecorded>;
|
|
276
|
+
readonly policies?: Node<WorkItemVerificationMappingPolicy>;
|
|
277
|
+
}
|
|
278
|
+
interface WorkItemVerificationResultMapperBundle {
|
|
279
|
+
readonly results: Node<VerificationResultRecorded>;
|
|
280
|
+
readonly proposals: Node<WorkItemDomainActionProposal>;
|
|
281
|
+
readonly status: Node<WorkItemValidationStatus>;
|
|
282
|
+
readonly issues: Node<DataIssue>;
|
|
283
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
284
|
+
}
|
|
285
|
+
type WorkItemEffectPlanJoinPolicy = "all-required" | "evidence-only";
|
|
286
|
+
interface WorkItemEffectPlanMember<TInput = unknown> {
|
|
287
|
+
readonly memberId: string;
|
|
288
|
+
readonly effectKind: string;
|
|
289
|
+
readonly goal: EffectRunGoal<TInput>;
|
|
290
|
+
readonly required?: boolean;
|
|
291
|
+
readonly dependsOnMemberIds?: readonly string[];
|
|
292
|
+
readonly contextRefs?: readonly SourceRef[];
|
|
293
|
+
readonly requirements?: readonly string[];
|
|
294
|
+
readonly capacityHints?: Record<string, unknown>;
|
|
295
|
+
readonly limits?: EffectRunLimits;
|
|
296
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
297
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
298
|
+
readonly idempotencyKey?: string;
|
|
299
|
+
readonly metadata?: Record<string, unknown>;
|
|
300
|
+
}
|
|
301
|
+
interface WorkItemEffectPlanProposed<TInput = unknown> {
|
|
302
|
+
readonly kind: "work-item-effect-plan-proposed";
|
|
303
|
+
readonly planId: string;
|
|
304
|
+
readonly workItemId: string;
|
|
305
|
+
readonly executionInputRevision: number;
|
|
306
|
+
readonly members: readonly WorkItemEffectPlanMember<TInput>[];
|
|
307
|
+
readonly joinPolicy?: WorkItemEffectPlanJoinPolicy;
|
|
308
|
+
readonly limits?: EffectRunLimits;
|
|
309
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
310
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
311
|
+
readonly proposedBy?: string;
|
|
312
|
+
readonly proposedAtMs?: number;
|
|
313
|
+
readonly metadata?: Record<string, unknown>;
|
|
314
|
+
}
|
|
315
|
+
interface WorkItemEffectPlanSnapshot<TInput = unknown> {
|
|
316
|
+
readonly planId: string;
|
|
317
|
+
readonly workItemId: string;
|
|
318
|
+
readonly executionInputRevision: number;
|
|
319
|
+
readonly members: readonly WorkItemEffectPlanMember<TInput>[];
|
|
320
|
+
readonly joinPolicy: WorkItemEffectPlanJoinPolicy;
|
|
321
|
+
readonly limits?: EffectRunLimits;
|
|
322
|
+
readonly policyRefs?: readonly SourceRef[];
|
|
323
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
324
|
+
readonly metadata?: Record<string, unknown>;
|
|
325
|
+
}
|
|
326
|
+
interface WorkItemEffectPlanAdmitted<TInput = unknown> {
|
|
327
|
+
readonly kind: "work-item-effect-plan-admitted";
|
|
328
|
+
readonly planId: string;
|
|
329
|
+
readonly workItemId: string;
|
|
330
|
+
readonly executionInputRevision: number;
|
|
331
|
+
readonly plan: WorkItemEffectPlanSnapshot<TInput>;
|
|
332
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
333
|
+
readonly admittedAtMs?: number;
|
|
334
|
+
readonly metadata?: Record<string, unknown>;
|
|
335
|
+
}
|
|
336
|
+
interface WorkItemEffectPlanRejected {
|
|
337
|
+
readonly kind: "work-item-effect-plan-rejected";
|
|
338
|
+
readonly planId: string;
|
|
339
|
+
readonly workItemId: string;
|
|
340
|
+
readonly executionInputRevision?: number;
|
|
341
|
+
readonly issues: readonly DataIssue[];
|
|
342
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
343
|
+
readonly rejectedAtMs?: number;
|
|
344
|
+
readonly metadata?: Record<string, unknown>;
|
|
345
|
+
}
|
|
346
|
+
type WorkItemEffectPlanMemberStatus = "eligible" | "requested" | "blocked" | "deferred" | "evidence-recorded" | "completed" | "failed" | "duplicate" | "stale" | "rejected";
|
|
347
|
+
interface WorkItemEffectPlanStatus {
|
|
348
|
+
readonly kind: "work-item-effect-plan-status";
|
|
349
|
+
readonly statusId: string;
|
|
350
|
+
readonly workItemId: string;
|
|
351
|
+
readonly planId: string;
|
|
352
|
+
readonly executionInputRevision: number;
|
|
353
|
+
readonly state: WorkItemEffectPlanMemberStatus;
|
|
354
|
+
readonly planMemberId?: string;
|
|
355
|
+
readonly requestId?: string;
|
|
356
|
+
readonly effectRunId?: string;
|
|
357
|
+
readonly evidenceId?: string;
|
|
358
|
+
readonly effectRunResultId?: string;
|
|
359
|
+
readonly issues?: readonly DataIssue[];
|
|
360
|
+
readonly message?: string;
|
|
361
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
362
|
+
readonly metadata?: Record<string, unknown>;
|
|
363
|
+
}
|
|
364
|
+
type WorkItemEffectPlanResultStatus = "succeeded" | "failed" | "evidence-only";
|
|
365
|
+
interface WorkItemEffectPlanResult {
|
|
366
|
+
readonly kind: "work-item-effect-plan-result";
|
|
367
|
+
readonly resultId: string;
|
|
368
|
+
readonly workItemId: string;
|
|
369
|
+
readonly planId: string;
|
|
370
|
+
readonly executionInputRevision: number;
|
|
371
|
+
readonly status: WorkItemEffectPlanResultStatus;
|
|
372
|
+
readonly memberResults: readonly {
|
|
373
|
+
readonly planMemberId: string;
|
|
374
|
+
readonly status: EffectRunResultStatus;
|
|
375
|
+
readonly requestId?: string;
|
|
376
|
+
readonly effectRunId?: string;
|
|
377
|
+
readonly evidenceId?: string;
|
|
378
|
+
readonly effectRunResultId?: string;
|
|
379
|
+
}[];
|
|
380
|
+
readonly sourceRefs?: readonly SourceRef[];
|
|
381
|
+
readonly metadata?: Record<string, unknown>;
|
|
382
|
+
}
|
|
383
|
+
interface WorkItemEffectPlanPolicy {
|
|
384
|
+
readonly policyId?: string;
|
|
385
|
+
readonly allowedEffectKinds?: readonly string[];
|
|
386
|
+
readonly joinPolicy?: WorkItemEffectPlanJoinPolicy;
|
|
387
|
+
}
|
|
388
|
+
interface WorkItemEffectPlanProjectorOptions<TInput = unknown> {
|
|
389
|
+
readonly name?: string;
|
|
390
|
+
readonly workItems: Node<WorkItemProjection<TInput>>;
|
|
391
|
+
readonly proposals: Node<WorkItemEffectPlanProposed<TInput>>;
|
|
392
|
+
readonly evidence?: Node<WorkItemEvidenceRecorded>;
|
|
393
|
+
readonly effectRunResults?: Node<EffectRunResult>;
|
|
394
|
+
readonly policy?: WorkItemEffectPlanPolicy;
|
|
395
|
+
readonly now?: () => number;
|
|
396
|
+
}
|
|
397
|
+
interface WorkItemEffectPlanProjectorBundle<TInput = unknown> {
|
|
398
|
+
readonly admitted: Node<WorkItemEffectPlanAdmitted<TInput>>;
|
|
399
|
+
readonly rejected: Node<WorkItemEffectPlanRejected>;
|
|
400
|
+
readonly effectRequests: Node<WorkItemEffectRequested<TInput>>;
|
|
401
|
+
readonly results: Node<WorkItemEffectPlanResult>;
|
|
402
|
+
readonly status: Node<WorkItemEffectPlanStatus>;
|
|
403
|
+
readonly issues: Node<DataIssue>;
|
|
404
|
+
readonly audit: Node<AgentRuntimeAuditRecord>;
|
|
405
|
+
}
|
|
406
|
+
declare function workItemCreatedFromDraft<TInput = unknown>(workItemId: string, draft: WorkItemDraft<TInput>, opts?: Partial<Omit<WorkItemCreated<TInput>, "kind" | "eventId" | "workItemId" | "draft">> & {
|
|
407
|
+
readonly eventId?: string;
|
|
408
|
+
}): WorkItemCreated<TInput>;
|
|
409
|
+
declare function workItemSpawnProposed<TInput = unknown>(proposalId: string, draft: WorkItemDraft<TInput>, opts?: Partial<Omit<WorkItemSpawnProposed<TInput>, "kind" | "proposalId" | "draft">>): WorkItemSpawnProposed<TInput>;
|
|
410
|
+
declare function acceptanceCriteriaChanged(workItemId: string, acceptanceCriteria: readonly AcceptanceCriterion[], opts: Partial<Omit<AcceptanceCriteriaChanged, "kind" | "eventId" | "workItemId" | "acceptanceCriteria">> & {
|
|
411
|
+
readonly eventId: string;
|
|
412
|
+
}): AcceptanceCriteriaChanged;
|
|
413
|
+
declare function verificationPlanChanged<TInput = unknown>(workItemId: string, verificationPlan: VerificationPlan<TInput>, opts: Partial<Omit<VerificationPlanChanged<TInput>, "kind" | "eventId" | "workItemId" | "verificationPlan">> & {
|
|
414
|
+
readonly eventId: string;
|
|
415
|
+
}): VerificationPlanChanged<TInput>;
|
|
416
|
+
declare function validateWorkItemDraft<TInput>(draft: WorkItemDraft<TInput> | unknown, opts?: {
|
|
417
|
+
readonly workItemId?: string;
|
|
418
|
+
}): readonly DataIssue[];
|
|
419
|
+
declare function validateAcceptanceCriteria(criteria: readonly AcceptanceCriterion[], opts?: {
|
|
420
|
+
readonly workItemId?: string;
|
|
421
|
+
}): readonly DataIssue[];
|
|
422
|
+
declare function validateVerificationPlan<TInput>(plan: VerificationPlan<TInput>, criteria?: readonly AcceptanceCriterion[], opts?: {
|
|
423
|
+
readonly workItemId?: string;
|
|
424
|
+
readonly allowedModes?: readonly VerificationStepMode[];
|
|
425
|
+
readonly allowedEffectKinds?: readonly string[];
|
|
426
|
+
}): readonly DataIssue[];
|
|
427
|
+
declare function workItemAuthoringProjector<TInput = unknown>(graph: Graph, opts: WorkItemAuthoringProjectorOptions<TInput>): WorkItemAuthoringProjectorBundle<TInput>;
|
|
428
|
+
declare function workItemVerificationRequestLowerer<TInput = unknown>(graph: Graph, opts: WorkItemVerificationRequestLowererOptions<TInput>): WorkItemVerificationRequestLowererBundle<TInput>;
|
|
429
|
+
declare function workItemVerificationResultMapper<TInput = unknown>(graph: Graph, opts: WorkItemVerificationResultMapperOptions<TInput>): WorkItemVerificationResultMapperBundle;
|
|
430
|
+
declare function validateWorkItemEffectPlan<TInput>(proposal: WorkItemEffectPlanProposed<TInput> | unknown, workItem: WorkItemProjection<TInput> | undefined, policy?: WorkItemEffectPlanPolicy): readonly DataIssue[];
|
|
431
|
+
declare function workItemEffectPlanProjector<TInput = unknown>(graph: Graph, opts: WorkItemEffectPlanProjectorOptions<TInput>): WorkItemEffectPlanProjectorBundle<TInput>;
|
|
432
|
+
|
|
433
|
+
export { type AcceptanceCriteriaChanged, type AcceptanceCriterion, type VerificationPlan, type VerificationPlanChanged, type VerificationResultRecorded, type VerificationResultStatus, type VerificationStep, type VerificationStepMode, type WorkItemAuthoringFact, type WorkItemAuthoringInput, type WorkItemAuthoringPolicy, type WorkItemAuthoringProjectorBundle, type WorkItemAuthoringProjectorOptions, type WorkItemCreated, type WorkItemDispatchIntent, type WorkItemDraft, type WorkItemEffectPlanAdmitted, type WorkItemEffectPlanJoinPolicy, type WorkItemEffectPlanMember, type WorkItemEffectPlanMemberStatus, type WorkItemEffectPlanPolicy, type WorkItemEffectPlanProjectorBundle, type WorkItemEffectPlanProjectorOptions, type WorkItemEffectPlanProposed, type WorkItemEffectPlanRejected, type WorkItemEffectPlanResult, type WorkItemEffectPlanResultStatus, type WorkItemEffectPlanSnapshot, type WorkItemEffectPlanStatus, type WorkItemPatch, type WorkItemPatched, type WorkItemPlacementDecision, type WorkItemPriorityAssessment, type WorkItemProjection, type WorkItemScheduleDecision, type WorkItemSpawnProposed, type WorkItemValidationIssueCode, type WorkItemValidationStatus, type WorkItemValidationStatusState, type WorkItemVerificationLowererPolicy, type WorkItemVerificationMappingPolicy, type WorkItemVerificationRequestLowererBundle, type WorkItemVerificationRequestLowererOptions, type WorkItemVerificationResultMapperBundle, type WorkItemVerificationResultMapperOptions, acceptanceCriteriaChanged, validateAcceptanceCriteria, validateVerificationPlan, validateWorkItemDraft, validateWorkItemEffectPlan, verificationPlanChanged, workItemAuthoringProjector, workItemCreatedFromDraft, workItemEffectPlanProjector, workItemSpawnProposed, workItemVerificationRequestLowerer, workItemVerificationResultMapper };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
acceptanceCriteriaChanged,
|
|
3
|
+
validateAcceptanceCriteria,
|
|
4
|
+
validateVerificationPlan,
|
|
5
|
+
validateWorkItemDraft,
|
|
6
|
+
validateWorkItemEffectPlan,
|
|
7
|
+
verificationPlanChanged,
|
|
8
|
+
workItemAuthoringProjector,
|
|
9
|
+
workItemCreatedFromDraft,
|
|
10
|
+
workItemEffectPlanProjector,
|
|
11
|
+
workItemSpawnProposed,
|
|
12
|
+
workItemVerificationRequestLowerer,
|
|
13
|
+
workItemVerificationResultMapper
|
|
14
|
+
} from "../../chunk-6XAIOL3X.js";
|
|
15
|
+
import "../../chunk-WQIA3GFB.js";
|
|
16
|
+
import "../../chunk-S6HXABGL.js";
|
|
17
|
+
import "../../chunk-DGUM43GV.js";
|
|
18
|
+
export {
|
|
19
|
+
acceptanceCriteriaChanged,
|
|
20
|
+
validateAcceptanceCriteria,
|
|
21
|
+
validateVerificationPlan,
|
|
22
|
+
validateWorkItemDraft,
|
|
23
|
+
validateWorkItemEffectPlan,
|
|
24
|
+
verificationPlanChanged,
|
|
25
|
+
workItemAuthoringProjector,
|
|
26
|
+
workItemCreatedFromDraft,
|
|
27
|
+
workItemEffectPlanProjector,
|
|
28
|
+
workItemSpawnProposed,
|
|
29
|
+
workItemVerificationRequestLowerer,
|
|
30
|
+
workItemVerificationResultMapper
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=scheduling.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|