@tomflow/proflow-task-orchestration 0.1.2 → 0.1.4

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/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @tomflow/proflow-task-orchestration
2
+
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Align all Modules to the seven-command setup contract with executable package-owned setup guidance and full Platform setup aggregation.
package/DOCS.md ADDED
@@ -0,0 +1,27 @@
1
+ # @tomflow/proflow-task-orchestration — Module Docs
2
+
3
+ Module ref: `task-orchestration`
4
+ Domain: `task-orchestration`
5
+ Kind: `library`
6
+
7
+ Owns the Task & Orchestration public contract, domain rules and application services.
8
+
9
+ ## Standard management surface
10
+
11
+ `install / uninstall / status / setup / docs / start / stop`
12
+
13
+ ## Provides
14
+
15
+ - `task-orchestration` `1.0.0`
16
+
17
+ ## Requires
18
+
19
+ - None.
20
+
21
+ ## Public setup inputs
22
+
23
+ - None. Deterministic/private values and cross-Module shared facts are not public configuration.
24
+
25
+ ## Ownership boundary
26
+
27
+ Module business APIs and any module-specific extra commands remain package-owned. Platform does not proxy or interpret them. Current human/external preparation is documented in `SETUP.md`.
package/SETUP.md ADDED
@@ -0,0 +1,19 @@
1
+ # @tomflow/proflow-task-orchestration — Module Setup
2
+
3
+ ## Goal
4
+
5
+ Reach `setupStatus=READY` without user configuration.
6
+
7
+ ## Step 1 — Complete machine-owned preparation
8
+
9
+ **Type:** automatic
10
+ **Executable:** `platform install`
11
+ **What happens:** No user input is required. Task orchestration exposes domain behavior but no independent setup choice.
12
+
13
+ ## Step 2 — Re-observe dependency and setup state
14
+
15
+ **Type:** automatic verification
16
+ **Verify:** `platform status`
17
+ **Success condition:** `task-orchestration.setupStatus=READY`.
18
+
19
+ There is no human setup action. A missing machine-owned artifact or producer-owned dependency is a `FAILED` condition to fix in the owning package/dependency; it must never be converted into a request for path/token/endpoint input.
@@ -1,61 +1,46 @@
1
- export declare const behaviorAdapter: {
2
- readonly describe: () => {
3
- result: {
4
- readonly contract: "deployment.result.v1";
5
- readonly ok: true;
6
- readonly status: "SUCCEEDED";
7
- readonly moduleRef: "task-orchestration";
8
- readonly moduleVersion: "0.1.2";
9
- };
10
- observedEffects: never[];
11
- };
12
- readonly preflight: () => {
13
- result: {
14
- readonly contract: "deployment.result.v1";
15
- readonly ok: true;
16
- readonly status: "SUCCEEDED";
17
- readonly moduleRef: "task-orchestration";
18
- readonly moduleVersion: "0.1.2";
19
- };
20
- observedEffects: never[];
1
+ declare const success: () => {
2
+ result: {
3
+ readonly contract: "deployment.result.v1";
4
+ readonly ok: true;
5
+ readonly status: "SUCCEEDED";
6
+ readonly moduleRef: "task-orchestration";
7
+ readonly moduleVersion: "0.1.4";
21
8
  };
9
+ observedEffects: string[];
10
+ };
11
+ export declare const behaviorAdapter: {
12
+ readonly install: typeof success;
13
+ readonly uninstall: typeof success;
22
14
  readonly status: () => {
23
15
  result: {
24
16
  contract: "deployment.result.v1";
25
17
  ok: true;
26
18
  status: "SUCCEEDED";
27
19
  moduleRef: "task-orchestration";
28
- moduleVersion: "0.1.2";
20
+ moduleVersion: "0.1.4";
29
21
  data: {
30
- configStatus: "READY";
31
- runtimeStatus: "UNKNOWN";
22
+ setupStatus: "READY";
23
+ runtimeStatus: "NOT_APPLICABLE";
32
24
  };
33
25
  };
34
- observedEffects: never[];
26
+ observedEffects: string[];
35
27
  };
36
- readonly verify: () => {
28
+ readonly setup: typeof success;
29
+ readonly docs: () => {
37
30
  result: {
38
31
  contract: "deployment.result.v1";
39
32
  ok: true;
40
33
  status: "SUCCEEDED";
41
34
  moduleRef: "task-orchestration";
42
- moduleVersion: "0.1.2";
43
- checks: {
44
- id: string;
45
- status: string;
46
- message: string;
47
- }[];
48
- };
49
- observedEffects: never[];
50
- };
51
- readonly doctor: () => {
52
- result: {
53
- readonly contract: "deployment.result.v1";
54
- readonly ok: true;
55
- readonly status: "SUCCEEDED";
56
- readonly moduleRef: "task-orchestration";
57
- readonly moduleVersion: "0.1.2";
35
+ moduleVersion: "0.1.4";
36
+ data: {
37
+ readonly docs: "DOCS.md";
38
+ readonly setup: "SETUP.md";
39
+ };
58
40
  };
59
- observedEffects: never[];
41
+ observedEffects: string[];
60
42
  };
43
+ readonly start: typeof success;
44
+ readonly stop: typeof success;
61
45
  };
46
+ export {};
@@ -1,36 +1,30 @@
1
1
  import { descriptor } from "./descriptor.js";
2
- const result = {
2
+ const base = {
3
3
  contract: "deployment.result.v1",
4
4
  ok: true,
5
5
  status: "SUCCEEDED",
6
6
  moduleRef: descriptor.moduleRef,
7
7
  moduleVersion: descriptor.moduleVersion,
8
8
  };
9
+ const success = () => ({ result: base, observedEffects: [] });
9
10
  export const behaviorAdapter = {
10
- describe: () => ({ result, observedEffects: [] }),
11
- preflight: () => ({ result, observedEffects: [] }),
11
+ install: success,
12
+ uninstall: success,
12
13
  status: () => ({
13
14
  result: {
14
- ...result,
15
+ ...base,
15
16
  data: {
16
- configStatus: "READY",
17
- runtimeStatus: "UNKNOWN",
17
+ setupStatus: "READY",
18
+ runtimeStatus: "NOT_APPLICABLE",
18
19
  },
19
20
  },
20
21
  observedEffects: [],
21
22
  }),
22
- verify: () => ({
23
- result: {
24
- ...result,
25
- checks: [
26
- {
27
- id: "task-domain-tests-pass",
28
- status: "PASS",
29
- message: "Task Domain test gate is available",
30
- },
31
- ],
32
- },
23
+ setup: success,
24
+ docs: () => ({
25
+ result: { ...base, data: descriptor.documentation },
33
26
  observedEffects: [],
34
27
  }),
35
- doctor: () => ({ result, observedEffects: [] }),
28
+ start: success,
29
+ stop: success,
36
30
  };
@@ -3,7 +3,7 @@ export declare const descriptor: {
3
3
  readonly contractVersion: "1.0.0";
4
4
  readonly moduleRef: "task-orchestration";
5
5
  readonly packageName: "@tomflow/proflow-task-orchestration";
6
- readonly moduleVersion: "0.1.2";
6
+ readonly moduleVersion: "0.1.4";
7
7
  readonly kind: "library";
8
8
  readonly templateVersion: "1.0.0";
9
9
  readonly platformCompatibility: ">=1.0.0 <2.0.0";
@@ -22,24 +22,13 @@ export declare const descriptor: {
22
22
  readonly versionRange: ">=24.19.0";
23
23
  }];
24
24
  readonly configSlots: readonly [];
25
- readonly lifecycle: {
26
- readonly supported: readonly ["describe", "preflight", "status", "verify", "doctor"];
27
- };
28
- readonly verification: {
29
- readonly checks: readonly [{
30
- readonly id: "task-domain-tests-pass";
31
- readonly description: "Task orchestration Critical Proofs pass";
32
- readonly lifecycle: "verify";
33
- }];
34
- };
35
25
  readonly effects: readonly [{
36
26
  readonly kind: "filesystem";
37
27
  readonly description: "Owns TaskDocument Markdown writes inside the configured workspace";
38
28
  readonly retention: "preserve";
39
29
  }];
40
- readonly documentation: readonly [{
41
- readonly id: "overview";
42
- readonly path: "./README.md";
43
- readonly description: "Package-owned module overview";
44
- }];
30
+ readonly documentation: {
31
+ readonly docs: "DOCS.md";
32
+ readonly setup: "SETUP.md";
33
+ };
45
34
  };
@@ -3,7 +3,7 @@ export const descriptor = {
3
3
  contractVersion: "1.0.0",
4
4
  moduleRef: "task-orchestration",
5
5
  packageName: "@tomflow/proflow-task-orchestration",
6
- moduleVersion: "0.1.2",
6
+ moduleVersion: "0.1.4",
7
7
  kind: "library",
8
8
  templateVersion: "1.0.0",
9
9
  platformCompatibility: ">=1.0.0 <2.0.0",
@@ -11,24 +11,21 @@ export const descriptor = {
11
11
  domain: "task-orchestration",
12
12
  summary: "Owns the Task & Orchestration public contract, domain rules and application services.",
13
13
  },
14
- provides: [{ contractRef: "task-orchestration", version: "1.0.0" }],
14
+ provides: [
15
+ {
16
+ contractRef: "task-orchestration",
17
+ version: "1.0.0",
18
+ },
19
+ ],
15
20
  requires: [],
16
21
  requirements: [
17
- { kind: "runtime", runtime: "node", versionRange: ">=24.19.0" },
22
+ {
23
+ kind: "runtime",
24
+ runtime: "node",
25
+ versionRange: ">=24.19.0",
26
+ },
18
27
  ],
19
28
  configSlots: [],
20
- lifecycle: {
21
- supported: ["describe", "preflight", "status", "verify", "doctor"],
22
- },
23
- verification: {
24
- checks: [
25
- {
26
- id: "task-domain-tests-pass",
27
- description: "Task orchestration Critical Proofs pass",
28
- lifecycle: "verify",
29
- },
30
- ],
31
- },
32
29
  effects: [
33
30
  {
34
31
  kind: "filesystem",
@@ -36,11 +33,8 @@ export const descriptor = {
36
33
  retention: "preserve",
37
34
  },
38
35
  ],
39
- documentation: [
40
- {
41
- id: "overview",
42
- path: "./README.md",
43
- description: "Package-owned module overview",
44
- },
45
- ],
36
+ documentation: {
37
+ docs: "DOCS.md",
38
+ setup: "SETUP.md",
39
+ },
46
40
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomflow/proflow-task-orchestration",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -14,16 +14,18 @@
14
14
  "dist",
15
15
  "proflow.module.json",
16
16
  "conformance.json",
17
- "README.md"
17
+ "README.md",
18
+ "DOCS.md",
19
+ "SETUP.md"
18
20
  ],
19
21
  "dependencies": {
20
22
  "zod": "4.1.12",
21
- "@tomflow/proflow-module-contract": "^0.1.2"
23
+ "@tomflow/proflow-module-contract": "^0.1.5"
22
24
  },
23
25
  "devDependencies": {
24
- "@tomflow/proflow-deployment-conformance": "^0.1.3",
25
- "@tomflow/proflow-task-migration-runner": "^0.1.3",
26
- "@tomflow/proflow-task-store-sqlite": "^0.1.3"
26
+ "@tomflow/proflow-deployment-conformance": "^0.1.5",
27
+ "@tomflow/proflow-task-store-sqlite": "^0.1.5",
28
+ "@tomflow/proflow-task-migration-runner": "^0.1.5"
27
29
  },
28
30
  "description": "Owns the Task & Orchestration public contract, domain rules and application services.",
29
31
  "keywords": [
@@ -3,7 +3,7 @@
3
3
  "contractVersion": "1.0.0",
4
4
  "moduleRef": "task-orchestration",
5
5
  "packageName": "@tomflow/proflow-task-orchestration",
6
- "moduleVersion": "0.1.2",
6
+ "moduleVersion": "0.1.4",
7
7
  "kind": "library",
8
8
  "templateVersion": "1.0.0",
9
9
  "platformCompatibility": ">=1.0.0 <2.0.0",
@@ -26,18 +26,6 @@
26
26
  }
27
27
  ],
28
28
  "configSlots": [],
29
- "lifecycle": {
30
- "supported": ["describe", "preflight", "status", "verify", "doctor"]
31
- },
32
- "verification": {
33
- "checks": [
34
- {
35
- "id": "task-domain-tests-pass",
36
- "description": "Task orchestration Critical Proofs pass",
37
- "lifecycle": "verify"
38
- }
39
- ]
40
- },
41
29
  "effects": [
42
30
  {
43
31
  "kind": "filesystem",
@@ -45,11 +33,8 @@
45
33
  "retention": "preserve"
46
34
  }
47
35
  ],
48
- "documentation": [
49
- {
50
- "id": "overview",
51
- "path": "./README.md",
52
- "description": "Package-owned module overview"
53
- }
54
- ]
36
+ "documentation": {
37
+ "docs": "DOCS.md",
38
+ "setup": "SETUP.md"
39
+ }
55
40
  }