ai-workflow-flow-dsl-reference 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resource-module/KindDefinitions/WikiPage/manifest.xnl +15 -3
- package/dist/resource-module/WikiPages/README/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/foundation__depa-axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/foundation__naming-axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/foundation__syntax-axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__ai-workflow__ctrl-workflow/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__ai-workflow__data-workflow/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__ai-workflow__holon-task/manifest.xnl +6 -0
- package/dist/resource-module/WikiPages/spec__ai-workflow__resources/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__bp-ctrl-flow__domains/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__bp-ctrl-flow__nodes/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__eager-data-flow__domains/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__eager-data-flow__files/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__eager-data-flow__nodes/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__eager-data-flow__refs/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__flow-core__domains/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__flow-core__files/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__flow-core__instance-run/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__flow-core__nodes/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__flow-core__orchestration/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__flow-core__refs/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__instant-ctrl-flow__domains/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__instant-ctrl-flow__nodes/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__work-ctrl-flow__domains/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/spec__work-ctrl-flow__nodes/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/std__ai-ctrl-workflow__axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/std__ai-data-workflow__axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/std__behavior-tree__axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/std__bp-ctrl-flow__axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/std__eager-data-flow__axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/std__instant-ctrl-flow__axioms/manifest.xnl +1 -1
- package/dist/resource-module/WikiPages/std__work-ctrl-flow__axioms/manifest.xnl +1 -1
- package/dist/resource-module/content/.depa-flow-dsl-provenance.json +10 -6
- package/dist/resource-module/content/spec/ai-workflow/ctrl-workflow.md +3 -1
- package/dist/resource-module/content/spec/ai-workflow/data-workflow.md +3 -1
- package/dist/resource-module/content/spec/ai-workflow/holon-task.md +56 -0
- package/dist/resource-module/content/spec/bp-ctrl-flow/domains.md +5 -2
- package/dist/resource-module/content/spec/bp-ctrl-flow/nodes.md +6 -1
- package/dist/resource-module/manifest.xnl +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
<KindDefinition #Halfcode.ResourceDsl.KindDefinition.WikiPage
|
|
1
|
+
<KindDefinition #Halfcode.ResourceDsl.KindDefinition.WikiPage envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Kind definition for canonical documentation pages referenced from the Resource DSL package root."
|
|
4
4
|
resourceKind = "WikiPage"
|
|
5
|
+
subjectFqn = "Halfcode.ResourceKind.WikiPage"
|
|
5
6
|
sourceShapes = ["directory"]
|
|
6
|
-
currentApiVersion = "halfcode.resources/v1"
|
|
7
|
-
supportedApiVersions = ["halfcode.resources/v1"]
|
|
8
7
|
} (
|
|
8
|
+
<SpecRevisions [
|
|
9
|
+
<SpecRevision #v1 {
|
|
10
|
+
specVersion = 1
|
|
11
|
+
schemaRef = "vfs://./spec-v1.schema.json"
|
|
12
|
+
schemaFingerprint = "sha256:1111111111111111111111111111111111111111111111111111111111111111"
|
|
13
|
+
contractFingerprint = "sha256:2222222222222222222222222222222222222222222222222222222222222222"
|
|
14
|
+
semanticValidatorFingerprint = "sha256:3333333333333333333333333333333333333333333333333333333333333333"
|
|
15
|
+
referenceProjectionFingerprint = "sha256:4444444444444444444444444444444444444444444444444444444444444444"
|
|
16
|
+
compilerInputFingerprint = "sha256:5555555555555555555555555555555555555555555555555555555555555555"
|
|
17
|
+
stability = "stable"
|
|
18
|
+
}>
|
|
19
|
+
]>
|
|
20
|
+
|
|
9
21
|
<DescriptorContract>
|
|
10
22
|
)>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Readme
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Readme envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: README.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Foundation.Depa.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Foundation.Depa.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: foundation/depa-axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Foundation.Naming.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Foundation.Naming.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: foundation/naming-axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Foundation.Syntax.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Foundation.Syntax.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: foundation/syntax-axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Ai.Workflow.Ctrl.Workflow
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Ai.Workflow.Ctrl.Workflow envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/ai-workflow/ctrl-workflow.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Ai.Workflow.Data.Workflow
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Ai.Workflow.Data.Workflow envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/ai-workflow/data-workflow.md."
|
|
4
4
|
} (
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Ai.Workflow.Holon.Task envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
|
+
lifecycle = "Stable"
|
|
3
|
+
description = "Canonical depa Flow DSL reference page: spec/ai-workflow/holon-task.md."
|
|
4
|
+
} (
|
|
5
|
+
<Instruction { href = "vfs://@/content/spec/ai-workflow/holon-task.md" format = "markdown" }>
|
|
6
|
+
)>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Ai.Workflow.Resources
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Ai.Workflow.Resources envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/ai-workflow/resources.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Bp.Ctrl.Flow.Domains
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Bp.Ctrl.Flow.Domains envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/bp-ctrl-flow/domains.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Bp.Ctrl.Flow.Nodes
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Bp.Ctrl.Flow.Nodes envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/bp-ctrl-flow/nodes.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Eager.Data.Flow.Domains
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Eager.Data.Flow.Domains envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/eager-data-flow/domains.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Eager.Data.Flow.Files
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Eager.Data.Flow.Files envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/eager-data-flow/files.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Eager.Data.Flow.Nodes
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Eager.Data.Flow.Nodes envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/eager-data-flow/nodes.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Eager.Data.Flow.Refs
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Eager.Data.Flow.Refs envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/eager-data-flow/refs.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Domains
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Domains envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/flow-core/domains.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Files
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Files envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/flow-core/files.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Instance.Run
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Instance.Run envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/flow-core/instance-run.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Nodes
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Nodes envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/flow-core/nodes.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Orchestration
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Orchestration envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/flow-core/orchestration.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Refs
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Flow.Core.Refs envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/flow-core/refs.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Instant.Ctrl.Flow.Domains
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Instant.Ctrl.Flow.Domains envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/instant-ctrl-flow/domains.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Instant.Ctrl.Flow.Nodes
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Instant.Ctrl.Flow.Nodes envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/instant-ctrl-flow/nodes.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Work.Ctrl.Flow.Domains
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Work.Ctrl.Flow.Domains envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/work-ctrl-flow/domains.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Work.Ctrl.Flow.Nodes
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Spec.Work.Ctrl.Flow.Nodes envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: spec/work-ctrl-flow/nodes.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Ai.Ctrl.Workflow.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Ai.Ctrl.Workflow.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: std/ai-ctrl-workflow/axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Ai.Data.Workflow.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Ai.Data.Workflow.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: std/ai-data-workflow/axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Behavior.Tree.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Behavior.Tree.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: std/behavior-tree/axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Bp.Ctrl.Flow.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Bp.Ctrl.Flow.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: std/bp-ctrl-flow/axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Eager.Data.Flow.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Eager.Data.Flow.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: std/eager-data-flow/axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Instant.Ctrl.Flow.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Instant.Ctrl.Flow.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: std/instant-ctrl-flow/axioms.md."
|
|
4
4
|
} (
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Work.Ctrl.Flow.Axioms
|
|
1
|
+
<WikiPage #Depa.Flows.FlowDsl.Reference.Wiki.Std.Work.Ctrl.Flow.Axioms envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL reference page: std/work-ctrl-flow/axioms.md."
|
|
4
4
|
} (
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"schemaVersion": "depa.flow-dsl-reference/v1",
|
|
3
3
|
"moduleId": "DepaFlowsFlowDslReference",
|
|
4
4
|
"packageName": "ai-workflow-flow-dsl-reference",
|
|
5
|
-
"packageVersion": "0.
|
|
5
|
+
"packageVersion": "0.2.0",
|
|
6
6
|
"resourcePackageVersion": "1.0.1",
|
|
7
7
|
"source": "depa-flows/docs/flow-dsl",
|
|
8
|
-
"sourceTreeDigest": "sha256:
|
|
8
|
+
"sourceTreeDigest": "sha256:b28a0a1bb985d60a91160539c0f0edfb653524f8265ddf7d32bec93c49d269f1",
|
|
9
9
|
"files": [
|
|
10
10
|
{
|
|
11
11
|
"path": "README.md",
|
|
@@ -25,11 +25,15 @@
|
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"path": "spec/ai-workflow/ctrl-workflow.md",
|
|
28
|
-
"contentDigest": "sha256:
|
|
28
|
+
"contentDigest": "sha256:63c08e8dd4f3474b61750c2dc30ee25409e0ecc1cdd6b28b326975c3ffea89e6"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"path": "spec/ai-workflow/data-workflow.md",
|
|
32
|
-
"contentDigest": "sha256:
|
|
32
|
+
"contentDigest": "sha256:e950a41245348f0c3594c4bcef69326d19b3ebfec12da735f32cb465bea9ddf4"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"path": "spec/ai-workflow/holon-task.md",
|
|
36
|
+
"contentDigest": "sha256:9309f9f09acabc20f5d48b3b9837abf01e9d413986de8e7d4f102a0542c913b7"
|
|
33
37
|
},
|
|
34
38
|
{
|
|
35
39
|
"path": "spec/ai-workflow/resources.md",
|
|
@@ -37,11 +41,11 @@
|
|
|
37
41
|
},
|
|
38
42
|
{
|
|
39
43
|
"path": "spec/bp-ctrl-flow/domains.md",
|
|
40
|
-
"contentDigest": "sha256:
|
|
44
|
+
"contentDigest": "sha256:5b63f6da9883aad33543a3c3472694e65847f443674a6091dbec1143172c38cf"
|
|
41
45
|
},
|
|
42
46
|
{
|
|
43
47
|
"path": "spec/bp-ctrl-flow/nodes.md",
|
|
44
|
-
"contentDigest": "sha256:
|
|
48
|
+
"contentDigest": "sha256:4e3da0def6067d96f37728fe7e14d569c0deaccc980631960f02a46fb962b972"
|
|
45
49
|
},
|
|
46
50
|
{
|
|
47
51
|
"path": "spec/eager-data-flow/domains.md",
|
|
@@ -43,7 +43,7 @@ export function draftContext(runtime: AICtrlRuntime, input: SupportReviewInput,
|
|
|
43
43
|
}
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
普通 `Run` 节点可通过exact frozen Agent task binding调用typed Agent Processor。底层只提供runtime-first `runAgent(agentRuntime, input, config)`与`runTargetedAgent(agentRuntime, selector, invocation, config)`;组合边界提供同名 `runtime.ai.effects` bound facade。selector只能是exact `{
|
|
46
|
+
普通 `Run` 节点可通过exact frozen Agent task binding调用typed Agent Processor。底层只提供runtime-first `runAgent(agentRuntime, input, config)`与`runTargetedAgent(agentRuntime, selector, invocation, config)`;组合边界提供同名 `runtime.ai.effects` bound facade。selector只能是exact `{byId}`或`{byName}`,旧的instance-prefixed keys fail closed;resolved identity与receipt随WorkCtrl snapshot进入同一canonical checkpoint;authored surface不暴露generic `invoke`。
|
|
47
47
|
|
|
48
48
|
## State and recovery
|
|
49
49
|
|
|
@@ -54,3 +54,5 @@ Before the first node, the complete bundle is admitted as a frozen Instance. A f
|
|
|
54
54
|
The canonical controller CAS-commits checkpoint `v0` with `lastTickNo = 0` before invoking any node. Its historical `stateStore` runtime field is a readonly projection; the writable `AIWorkflowStateStore` API is legacy/derived compatibility and is not a second owner.
|
|
55
55
|
|
|
56
56
|
See [Definition、Instance 与 Run](../flow-core/instance-run.md) for the physical hierarchy and one-way legacy boundary.
|
|
57
|
+
|
|
58
|
+
For organization-level delegation, see [Holon-targeted organization tasks](holon-task.md). It uses the shared TaskSpace owner and frozen Holon snapshot rather than adding a Ctrl-specific task forest.
|
|
@@ -110,6 +110,8 @@ Machine nodes default to `semantic-hash`; manual nodes default to `never`. Autho
|
|
|
110
110
|
|
|
111
111
|
Semantic reuse is run-local. Generation is history metadata and is not part of the reuse fingerprint.
|
|
112
112
|
|
|
113
|
-
Runtime-bearing普通 `TransformNode`/`SinkNode` code保持 `output = fn(runtime, input, config)`。首次调用使用同名bound `runAgent`;后继节点可从declared port构造exact `{
|
|
113
|
+
Runtime-bearing普通 `TransformNode`/`SinkNode` code保持 `output = fn(runtime, input, config)`。首次调用使用同名bound `runAgent`;后继节点可从declared port构造exact `{byId}`,或使用static `{byName}`调用bound `runTargetedAgent`。旧的instance-prefixed keys fail closed。底层Processor始终显式接收runtime;Agent instance index/receipt与RunGraph只写同一canonical checkpoint,authored surface不暴露generic `invoke`。
|
|
114
114
|
|
|
115
115
|
See [Definition、Instance 与 Run](../flow-core/instance-run.md) for the physical hierarchy, seed exact-once rule and fresh recovery path.
|
|
116
|
+
|
|
117
|
+
For a Data node that consumes schema-validated organization-task material, see [Holon-targeted organization tasks](holon-task.md).
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Holon-targeted organization tasks
|
|
2
|
+
|
|
3
|
+
An AI Ctrl or AI Data node may delegate complex work to a profile-neutral TaskSpace targeted at one frozen Holon organization snapshot. This is a task boundary, not a shortcut for selecting a Member or Agent.
|
|
4
|
+
|
|
5
|
+
## Authored target
|
|
6
|
+
|
|
7
|
+
The node config carries one closed `holonTaskTarget`:
|
|
8
|
+
|
|
9
|
+
```xnl
|
|
10
|
+
config = {
|
|
11
|
+
holonTaskTarget = {
|
|
12
|
+
kind = "holon-task-target"
|
|
13
|
+
schemaVersion = "ai-workflow.holon-task-target/v1"
|
|
14
|
+
invocation = {
|
|
15
|
+
workflowKind = "AICtrlWorkflow"
|
|
16
|
+
workflowRef = "resource://example.ReviewWorkflow"
|
|
17
|
+
nodeId = "open-review"
|
|
18
|
+
invocationId = "review-1"
|
|
19
|
+
}
|
|
20
|
+
holon = {
|
|
21
|
+
rootHolonRef = "review-holon"
|
|
22
|
+
effectiveAt = "2026-01-01T00:00:00.000Z"
|
|
23
|
+
}
|
|
24
|
+
executionBinding = {
|
|
25
|
+
ref = "resource://example.Binding.Review"
|
|
26
|
+
digest = "sha256:..."
|
|
27
|
+
}
|
|
28
|
+
taskSpace = {
|
|
29
|
+
profileRef = "resource://example.TaskProfile.Review"
|
|
30
|
+
policyRef = "resource://example.TaskPolicy.Review"
|
|
31
|
+
requiredRoleRefs = ["reviewer"]
|
|
32
|
+
requiredCapabilityRefs = ["resource://example.Capability.Review"]
|
|
33
|
+
}
|
|
34
|
+
output = {
|
|
35
|
+
schemaRef = "resource://example.Schema.Review"
|
|
36
|
+
materialPortRefs = ["resource://example.Port.Review"]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Definition→Instance admission freezes the complete target ResourcePackage closure and issues an authentic node proof. The config cannot contain a filesystem path, Member selector, Agent selector, actor/session identity or conversation/history. A coordinator assigns an eligible Member only after TaskSpace creation; a MemberRuntime may then use the already established exact Agent selector surface.
|
|
43
|
+
|
|
44
|
+
## TaskSpace authority
|
|
45
|
+
|
|
46
|
+
The Ctrl adapter is a normal runtime-first Processor. It stores the issuer-owned `HolonEffectiveSnapshot` and issuance receipt bytes as content-addressed TaskSpace artifacts, creates an AI organization-task profile, and returns stable space/task/snapshot receipt identities. Waiting/resume observes an exact settlement command receipt. It does not infer completion from an actor or conversation.
|
|
47
|
+
|
|
48
|
+
An organization-only replan first validates the complete successor snapshot, then idempotently cancels the old nonterminal task and appends a successor task carrying the new immutable snapshot artifacts plus an old/new adoption receipt. The old terminal facts remain in the forest. A changed execution binding, workflow executable identity or Agent/Material closure requires a linked successor Flow Instance/Run rather than rewriting the admitted Instance.
|
|
49
|
+
|
|
50
|
+
## Data material boundary
|
|
51
|
+
|
|
52
|
+
The Data adapter reconstructs the terminal TaskRecord and settlement receipt from the TaskSpace owner. Every output artifact must name exactly one declared `MaterialPort`; its digest, media type and size must match full artifact readback. The runtime's frozen ResourcePackage validator validates those materials against the declared `MessageSchema`, and only then returns deep-frozen closed output data.
|
|
53
|
+
|
|
54
|
+
Fresh reconstruction uses the frozen target proof, canonical Flow checkpoint and TaskSpace files. It has no Holon live-source or Member/Actor history port, so later organization edits or deleted authoring files cannot change an admitted run.
|
|
55
|
+
|
|
56
|
+
See the modular [AI Ctrl example](../../../../examples/xnl-bundles/ai-ctrl-holon-task/README.md) and [AI Data example](../../../../examples/xnl-bundles/ai-data-holon-task/README.md).
|
|
@@ -14,16 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
definition 中的 task status 只表示新实例初始值。运行期任务事实写 TaskSpace store,不能回写 authoring bundle;实例目录可提供只读投影,但投影不成为第二份事实源。
|
|
16
16
|
|
|
17
|
+
TaskSpace store 的共享 kernel 只拥有 `Pending | Ready | Claimed | Running | Waiting | Succeeded | Failed | Cancelled`。`ownerAccount`、operator/transfer facts 以及 `NotStarted | Active | Delegated | Forwarded | Done | Refused | Abandoned` 全部属于 `depa.bp.task` profile;TaskGroup 的 `executionMode` 属于 `depa.bp.task-group` profile。BP adapter 负责 authoring/profile/legacy view 的转换,不能把这些字段扩散到共享 task record。旧调用侧可继续读取 `BPTaskSpaceDTO` 投影,或用 `legacyBPTaskSpaceToDefinition` 显式迁移尚未启动的树;非 `NotStarted` 历史状态需要显式 event/receipt import 协议,在该协议存在前转换器 fail closed。
|
|
18
|
+
|
|
17
19
|
## Runtime Ownership
|
|
18
20
|
|
|
19
21
|
| fact | owner | flow 可见性 |
|
|
20
22
|
|---|---|---|
|
|
21
|
-
|
|
|
23
|
+
| canonical lifecycle / claim / history / artifacts | TaskSpace kernel owner | 仅通过 runtime-first TaskSpace Processors 修改 |
|
|
24
|
+
| BP status/owner/operator/transfer facts | Task record 的 BP profile | TaskStep 完成时投影为 TaskStepResult data |
|
|
22
25
|
| TaskStep WaitHandle / applied signal | BPCtrlFlow snapshot | 只用于挂起、恢复与幂等 |
|
|
23
26
|
| TaskStepResult | CtrlFlow data chain | 成为下一条 statement 的 input |
|
|
24
27
|
| branch decision | BPCtrlFlow snapshot | 记录后复用,不重算已发生任务路径 |
|
|
25
28
|
|
|
26
|
-
TaskSpace store、snapshot 与 definition 三个 owner 不得互相复制语义真源。特别是 `Refused` / `Forwarded`
|
|
29
|
+
TaskSpace store、snapshot 与 definition 三个 owner 不得互相复制语义真源。特别是 `Done` / `Refused` / `Forwarded` 都是成功完成业务处理,在 kernel 中映射为 `Succeeded`;其精确业务含义只保存在 BP profile 并投影为 data,不能再写成 engine Failure。`Abandoned` 映射为 `Cancelled`,不属于成功处理;`Delegated` 映射为 `Waiting`。TaskGroup 必须使用同一分类和 canonical group identity 判定终态,不能恢复 leaf dependency cross-product 或在 BP adapter 里维护第二套 lifecycle。
|
|
27
30
|
|
|
28
31
|
## Rejected Authoring Facts
|
|
29
32
|
|
|
@@ -111,11 +111,16 @@ Delegated -> Active | Abandoned
|
|
|
111
111
|
Done / Refused / Forwarded / Abandoned = terminal
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
approve 操作把任务推进到 `Done`,并由 TaskStep 投影为 `outcome = "approved"`。TaskGroup 按 executionMode 聚合子任务并输出同形 TaskStepResult;聚合细节属于任务域,不改变 CtrlFlow grammar
|
|
114
|
+
approve 操作把任务推进到 `Done`,并由 TaskStep 投影为 `outcome = "approved"`。TaskGroup 按 executionMode 聚合子任务并输出同形 TaskStepResult;聚合细节属于任务域,不改变 CtrlFlow grammar。`Done | Refused | Forwarded` 都映射 canonical `Succeeded`,所以 `ANY` 在第一个此类业务处理完成时与 kernel group 同时终态,并返回 profile 中 `endedAtMs` 最早的精确 BP outcome(同毫秒按稳定 child order);`Abandoned` 映射 `Cancelled`,不命中 `ANY` success。`ALL` / `SEQUENTIAL` 对 `Refused` 仍按 canonical success 等待其他子项,直到 kernel group 终态后才输出聚合业务结果。
|
|
115
|
+
|
|
116
|
+
这是 BP profile 状态机,不是共享 TaskSpace kernel 的状态枚举。engine 的 BP adapter 通过共享 `claimTask`、`startTask`、`waitTask`、`settleTask`、`cancelTask` Processors 执行转换:`Active -> Running`,`Delegated -> Waiting`,`Done | Refused | Forwarded -> Succeeded`,`Abandoned -> Cancelled`。因此业务拒绝或转交仍可被精确恢复,但不会污染 kernel,也不会复制另一套 CAS/claim/receipt 规则。
|
|
117
|
+
|
|
118
|
+
每次 BP lifecycle 转换递增 profile 的 `lifecycleSequence`,并把下一序列纳入 command identity,因此同一 claim attempt 内重复 `delegate -> reactivate -> delegate` 仍产生两个不同的 delegate command。authoring bundle 与 legacy converter 只允许初始 `NotStarted`;不得把非初始 profile 直接写入一个仅含 create receipt 的 kernel。
|
|
115
119
|
|
|
116
120
|
## Validation And Rejections
|
|
117
121
|
|
|
118
122
|
- `TaskStep.task` 必须解析到当前 bundle TaskSpace 的直接子节点;同一任务不能绑定多个 TaskStep。
|
|
123
|
+
- authoring/legacy task status 必须为 `NotStarted`;非初始生命周期没有显式 import events/receipts 时拒绝加载。
|
|
119
124
|
- `TaskStep` 只能出现在 BPCtrlFlow definition,且必须有稳定唯一 `#id`。
|
|
120
125
|
- `status`、`executionMode` 与状态迁移必须合法;运行期事实不得回写 definition。
|
|
121
126
|
- authoring 中出现 `Tree`、`Sequence`、`Selector`、`Condition`、`action.types`、`SubNodes` 或 `assignTo` 必须拒绝。
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<ResourcePackage #Depa.Flows.FlowDsl.Reference.Package
|
|
1
|
+
<ResourcePackage #Depa.Flows.FlowDsl.Reference.Package envelopeVersion="halfcode.resource-envelope/v1" specVersion=1 {
|
|
2
2
|
lifecycle = "Stable"
|
|
3
3
|
description = "Canonical depa Flow DSL documentation reference resources for authoring Skills."
|
|
4
4
|
} (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-workflow-flow-dsl-reference",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Canonical depa Flow DSL reference module for Halfcode authoring assemblies",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"test": "bun run build && bun test"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"halfcode-compiler.xnl": "0.
|
|
24
|
+
"halfcode-compiler.xnl": "0.3.0"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|