diff --git a/docs/architecture/data-format.md b/docs/architecture/data-format.md
index bc3ccc1..b1cad67 100644
--- a/docs/architecture/data-format.md
+++ b/docs/architecture/data-format.md
@@ -1,6 +1,6 @@
---
sidebar_label: "๐ฆ Data Format"
-sidebar_position: 3
+sidebar_position: 4
---
# Data Format
diff --git a/docs/architecture/node-model.md b/docs/architecture/node-model.md
index 18d2235..e58ead7 100644
--- a/docs/architecture/node-model.md
+++ b/docs/architecture/node-model.md
@@ -1,6 +1,6 @@
---
sidebar_label: "๐งฉ Node Model & Registration"
-sidebar_position: 2
+sidebar_position: 3
---
# Node Model & Feature Registration
diff --git a/docs/architecture/orchestration-service.md b/docs/architecture/orchestration-service.md
new file mode 100644
index 0000000..b8a7ad9
--- /dev/null
+++ b/docs/architecture/orchestration-service.md
@@ -0,0 +1,143 @@
+---
+sidebar_label: "๐ง Orchestration Service"
+sidebar_position: 2
+---
+
+# Orchestration Service
+
+
+
+`continuum-orchestration-service` is the interpreter at the heart of the platform. It takes the graph you drew on the canvas โ plain JSON nodes and edges โ and executes it as a real, durable Temporal workflow: deciding what runs when, routing each node to the right worker, wiring outputs to inputs, and reporting every state change back to the browser.
+
+
+
+
+ Temporal workflow worker
+ DAG interpreter
+ Kafka status publisher
+
+
+It is a standalone Spring Boot service (image `projectcontinuum/continuum-orchestration-service`) that registers two things with Temporal:
+
+| Component | Task queue | Role |
+|-----------|------------|------|
+| `ContinuumWorkflow` | `WORKFLOW_TASK_QUEUE` | The workflow implementation โ interprets the graph and drives the execution loop |
+| `InitializeActivity` | `ACTIVITY_TASK_QUEUE_INITIALIZE` | Resolves which worker task queue runs each node type, via the API server's node registry |
+
+:::info[It never runs node logic]
+The orchestration service only *schedules* nodes. Every node's `execute()` runs inside a feature worker, as a Temporal activity. The orchestrator handles control flow and passes data *references* between nodes; the Parquet data itself goes straight between workers and MinIO.
+:::
+
+## Where it sits
+
+```mermaid
+flowchart TB
+ API["๐ API Server"]
+ T{{"โฑ๏ธ Temporal"}}
+ O["๐ง Orchestration Service ContinuumWorkflow InitializeActivity"]
+ W["๐งฉ Feature Workers ContinuumNodeActivity"]
+ K[["๐จ Kafka"]]
+
+ API ==>|"start / cancel / terminate"| T
+ T <==>|"workflow tasks"| O
+ O -->|"resolve node โ task queue (REST)"| API
+ T <==>|"node activities"| W
+ W -.->|"progress signals"| T
+ O -.->|"WorkflowUpdateEvent"| K
+
+ classDef ui fill:#8b5cf633,stroke:#8b5cf6,stroke-width:2px
+ classDef core fill:#ec489933,stroke:#ec4899,stroke-width:2px
+ classDef stream fill:#f59e0b33,stroke:#f59e0b,stroke-width:2px
+ classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
+ classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
+ classDef orch fill:#ec489955,stroke:#ec4899,stroke-width:4px
+ class API,T core
+ class O orch
+ class W worker
+ class K stream
+```
+
+The API server, workers and orchestrator never call each other to execute nodes. They all communicate through Temporal, which is why a crashed worker or orchestrator pod loses no progress.
+
+## From graph to Temporal workflow
+
+When the API server starts a `ContinuumWorkflow` with the workflow model (`ContinuumWorkflowModel`: nodes, edges, node properties), the orchestrator interprets it in four phases.
+
+```mermaid
+flowchart TB
+ S(["โถ start(workflowModel)"]) --> I["๐ Initialize resolve task queues, build one activity stub per node"]
+ I --> R{"Any nodes ready? all parents produced output on every connected port"}
+ R -->|"yes"| D["๐ Dispatch mark BUSY, gather inputs, Async.function { run() }"]
+ D --> Wt["โณ Wait Promise.anyOf(pending)"]
+ R -->|"no, but nodes pending"| Wt
+ Wt --> C["โ / โ Record store outputs or $error, publish status"]
+ C --> R
+ R -->|"nothing ready, nothing pending"| F(["๐ FINISHED / FAILED"])
+
+ classDef core fill:#ec489933,stroke:#ec4899,stroke-width:2px
+ classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
+ classDef stream fill:#f59e0b33,stroke:#f59e0b,stroke-width:2px
+ class S,F core
+ class I,R,C core
+ class D,Wt worker
+```
+
+
+
+1. **Initialize.** `WorkflowActivityInitializer` collects the unique node types (the `NodeData.id` class names) and calls `InitializeActivity.getNodeTaskQueue()`. That activity calls `POST /api/v1/node-explorer/nodes/task-queues` on the API server. If any node type has no registered worker yet, the activity fails and Temporal retries it, so a workflow can be started before its workers come up. The orchestrator then builds a separate `IContinuumNodeActivity` stub for **each node instance**, routed to that node's task queue and carrying its own retry policy.
+2. **Find ready nodes.** A node is ready when every parent has completed and produced output on every port this node is connected to, all of its input ports are wired, and it hasn't run or started yet. A node with an unconnected input port is marked `SKIPPED`.
+3. **Dispatch in parallel.** For each ready node, the orchestrator maps each incoming edge's `sourceHandle` output to the node's `targetHandle` input, marks the node `BUSY` (animating its incoming edges on the canvas), and starts `IContinuumNodeActivity.run(node, inputs)` with `Async.function {}`. Independent branches of the DAG run concurrently.
+4. **Wait and record.** `Promise.anyOf()` waits for whichever pending node finishes first. If the outputs contain the `$error` system port, the node is marked `FAILED` and recorded in the error map. Otherwise it is marked `SUCCESS` and its outputs become available to downstream nodes. The loop goes back to step 2 until no nodes are ready and none are pending.
+
+
+
+:::tip[Data passes by reference]
+A node's output `PortData` carries a remote reference to its Parquet file in MinIO, not the rows themselves. The orchestrator passes that reference to downstream nodes as their input, so Temporal history stays small no matter how much data a node produces. See [Data Format](./data-format.md).
+:::
+
+## Failure, retries & cancellation
+
+| Situation | What the orchestrator does |
+|-----------|----------------------------|
+| A node activity throws, times out, or exhausts its retries | Converts the `ActivityFailure` into a `$error` output for that node only. Independent branches keep running; descendants of the failed node simply never become ready. |
+| One or more nodes failed by the end | Publishes `FAILED` and ends the workflow with a non-retryable `ApplicationFailure` (`WorkflowExecutionFailed`) carrying `nodeErrors` and the successful `nodeToOutputsMap`. |
+| User cancels | The API server first sends the `notifyCancelling` signal, which pins the status to `CANCELLED`, then issues Temporal `cancel()`. Nodes that are still `BUSY` are marked `CANCELLED` and a final event is published. |
+| User terminates | The API server sends the `notifyTerminating` signal, which pins the status to `TERMINATED` and updates the search attribute, then issues Temporal `terminate()`. Workflow code can't run after a terminate, so the signal is the orchestrator's last chance to report. |
+
+Default activity options per node stub:
+
+- `startToCloseTimeout`: **60 days** (long-running nodes are expected)
+- `heartbeatTimeout`: **5 minutes** (workers heartbeat in the background, every 60 s by default)
+- Retry: exponential backoff (coefficient 2.0, max interval 100 s), up to **500 attempts**
+
+A node can override any of these retry fields through `NodeData.retryOptions` (`initialIntervalSeconds`, `backoffCoefficient`, `maximumIntervalSeconds`, `maximumAttempts`, `doNotRetry`). Fields it doesn't set fall back to the defaults.
+
+## Live status
+
+The orchestrator is the **only** source of execution status events. Whenever a node starts, completes or reports progress, it publishes a `WorkflowUpdateEvent` to the Kafka topic `continuum-core-event-WorkflowExecutionSnapshot`, keyed by workflow ID. The event contains the full workflow model (node statuses, animated edges), every node's outputs and errors, overall progress (completed nodes รท total nodes), owner, and schedule ID. `continuum-message-bridge` consumes this topic, forwards each event to MQTT for the browser, and syncs it to the database.
+
+Workers report fine-grained progress by sending the `updateNodeProgressSignal` signal to the running workflow. The orchestrator stores the progress on the node and publishes a fresh event.
+
+The orchestrator also maintains two Temporal search attributes on every run, which the API server uses to list and filter executions:
+
+- `Continuum:ExecutionStatus` (Int) โ started / completed / failed / cancelled / terminated
+- `Continuum:WorkflowFileName` (Keyword) โ the workflow file the run came from
+
+The `temporal-search-attributes-init` service in the local compose stack creates both attributes before the orchestrator starts.
+
+## Determinism rules
+
+`ContinuumWorkflow` is Temporal workflow code, so after a crash it is **replayed** from history, not re-run from scratch. That rules out:
+
+- I/O, `Date.now()`, random values or static loggers in workflow code. Use `Workflow.getLogger()`, and put side effects in activities (as `InitializeActivity` does for the REST call).
+- Publishing duplicate events during replay. The status reporter checks `WorkflowUnsafe.isReplaying()` and only publishes during live execution.
+
+## Configuration
+
+| Property / env var | Default | Purpose |
+|--------------------|---------|---------|
+| `TEMPORAL_SERVER_ADDRESS` | `localhost:7233` | Temporal frontend |
+| `TEMPORAL_NAMESPACE` | `default` | Temporal namespace |
+| `CONTINUUM_API_SERVER_BASE_URL` (`continuum.core.orchestration.api-server-base-url`) | `http://localhost:8081` | API server used to resolve node task queues |
+| `CONTINUUM_KAFKA_MAIN_BROKER_LIST` | `localhost:39092,โฆ` | Kafka brokers for status events |
+| `CONTINUUM_KAFKA_MAIN_SCHEMA_REGISTRY` | `http://localhost:38080` | Schema Registry |
diff --git a/docs/architecture/overview.md b/docs/architecture/overview.md
index add3bd5..2e47196 100644
--- a/docs/architecture/overview.md
+++ b/docs/architecture/overview.md
@@ -5,7 +5,7 @@ sidebar_position: 1
# System Overview
-Continuum is split into a browser frontend, a core backend (API server + Temporal orchestration), and independent feature workers that provide the actual workflow nodes.
+Continuum is split into a browser frontend, a core backend, and independent feature workers that provide the actual workflow nodes. The core backend has three parts: the API server, the **orchestration service**, which interprets the graph as a Temporal workflow, and the message bridge.
```mermaid
flowchart TB
@@ -13,8 +13,9 @@ flowchart TB
UI(["๐จ Eclipse Theia IDE + React Flow canvas"])
end
- API["๐ API Server"]
- Temporal{{"โฑ๏ธ Temporal orchestration"}}
+ API["๐ API Server REST, node registry"]
+ Temporal{{"โฑ๏ธ Temporal durable state & task queues"}}
+ Orch["๐ง Orchestration Service interprets the graph as a Temporal workflow"]
Bridge["๐ Message Bridge Kafka โ MQTT"]
Kafka[["๐จ Kafka events"]]
@@ -29,9 +30,11 @@ flowchart TB
UI ==>|"REST"| API
Bridge -.->|"MQTT / WebSocket live status"| UI
- API ==> Temporal
- Temporal ==>|"dispatches"| Workers
- Workers -.->|"events"| Kafka
+ API ==>|"start workflow"| Temporal
+ Temporal <==>|"workflow tasks"| Orch
+ Orch -->|"resolve task queues"| API
+ Temporal ==>|"node activities"| Workers
+ Orch -.->|"status events"| Kafka
Kafka -.-> Bridge
Workers <-->|"read / write"| MinIO
@@ -41,25 +44,36 @@ flowchart TB
classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
+ classDef orch fill:#ec489955,stroke:#ec4899,stroke-width:4px
class UI ui
class API,Temporal core
+ class Orch orch
class Kafka,Bridge stream
class Base,Chem,AI worker
class MinIO store
```
+| Component | Role |
+|-----------|------|
+| `continuum-api-server` | REST entry point for the workbench, node registry, starts/cancels/terminates workflow runs |
+| `continuum-orchestration-service` | Temporal workflow worker that interprets the canvas graph and drives execution. It schedules nodes, routes them to workers, wires outputs to inputs, and publishes status. See [Orchestration Service](./orchestration-service.md). |
+| Temporal | Persists every step of the run and delivers workflow and activity tasks through task queues |
+| Feature workers | Run the actual node logic (`execute()`) as Temporal activities |
+| `continuum-message-bridge` | Forwards Kafka status events to the browser over MQTT, and maintains the node registry |
+
## Execution flow
1. You design a workflow in the browser (React Flow canvas) and hit **Execute**.
-2. `continuum-api-server` receives the REST call and starts a Temporal workflow (`ContinuumWorkflow`, on `WORKFLOW_TASK_QUEUE`).
-3. `InitializeActivity` resolves which task queue (= which worker) handles each node, via `POST /api/v1/node-explorer/nodes/task-queues` against the API server's node registry.
-4. For each DAG node, `IContinuumNodeActivity.run()` is dispatched to the resolved worker's task queue (`ACTIVITY_TASK_QUEUE`). The worker downloads input Parquet from MinIO, runs `execute()`, and uploads output Parquet.
-5. Nodes run in parallel where the DAG allows โ `ContinuumWorkflow` waits for the first pending node to complete, then schedules newly unblocked nodes.
-6. Each node sends progress signals; `ContinuumWorkflow` publishes a `WorkflowUpdateEvent` to Kafka.
-7. `continuum-message-bridge` consumes the Kafka event and republishes it to Mosquitto (MQTT).
-8. The browser receives the update over MQTT-over-WebSocket and lights up the corresponding node in real time.
+2. `continuum-api-server` validates the node properties, records a `PENDING` run, and starts a `ContinuumWorkflow` on `WORKFLOW_TASK_QUEUE`, passing the graph (nodes + edges) as input.
+3. `continuum-orchestration-service` picks up the workflow task and begins interpreting the graph. Its `InitializeActivity` resolves which task queue (= which worker) handles each node type, via `POST /api/v1/node-explorer/nodes/task-queues` against the API server's node registry.
+4. The orchestrator finds every node whose parents have all produced output and dispatches `IContinuumNodeActivity.run()` for each one to the resolved worker's task queue. Each node's inputs are wired from its parents' outputs along the graph's edges.
+5. The worker downloads input Parquet from MinIO, runs `execute()`, uploads output Parquet, and returns references to the output files.
+6. Nodes run in parallel where the DAG allows. The orchestrator waits for the first pending node to complete, records its outputs (or error), and schedules newly unblocked nodes, repeating until the graph is exhausted.
+7. On every state change, and whenever a worker sends a progress signal, the orchestrator publishes a `WorkflowUpdateEvent` to Kafka.
+8. `continuum-message-bridge` consumes the Kafka event and republishes it to Mosquitto (MQTT).
+9. The browser receives the update over MQTT-over-WebSocket and lights up the corresponding node in real time.
@@ -71,42 +85,52 @@ sequenceDiagram
participant B as ๐ฅ๏ธ Browser
participant A as ๐ API Server
participant T as โฑ๏ธ Temporal
+ participant O as ๐ง Orchestration Service
participant W as ๐งฉ Worker
participant S as ๐๏ธ MinIO
participant K as ๐จ Kafka โ MQTT
rect rgba(139, 92, 246, 0.10)
- Note over B,T: ๐ Start
+ Note over B,O: ๐ Start
B->>+A: Execute workflow (REST)
- A->>+T: Start ContinuumWorkflow
- T->>A: InitializeActivity: resolve task queues
+ A->>T: Start ContinuumWorkflow(graph)
deactivate A
+ T->>+O: Workflow task
+ O->>A: InitializeActivity: resolve task queues
+ A-->>O: node type โ task queue
end
- loop ๐ each unblocked DAG node
+ loop ๐ until no nodes ready or pending
+ rect rgba(236, 72, 153, 0.10)
+ Note over O,T: ๐ง Interpret the graph
+ O->>T: Schedule run() for each ready node
+ end
rect rgba(6, 182, 212, 0.10)
Note over T,S: โ๏ธ Run the node
- T->>+W: IContinuumNodeActivity.run()
+ T->>+W: IContinuumNodeActivity.run(node, inputs)
W->>S: Read input Parquet
+ W-->>T: Progress signals
W->>S: Write output Parquet
- W-->>-T: Progress signals
+ W-->>-T: Output port references
+ T->>O: Activity completed
+ O->>O: Record outputs, find newly ready nodes
end
rect rgba(245, 158, 11, 0.12)
- Note over T,B: ๐ก Live status
- T-->>K: WorkflowUpdateEvent
+ Note over O,B: ๐ก Live status
+ O-->>K: WorkflowUpdateEvent
K-->>B: Node status (MQTT over WebSocket)
end
end
- deactivate T
+ deactivate O
```
## Why this survives crashes
:::tip[Crash-proof by design]
-Temporal persists workflow state (in PostgreSQL) at every step. If a worker process dies mid-execution, the orchestration service simply redispatches the pending activity once a worker becomes available again โ no data loss, no restart from scratch.
+Temporal persists workflow state (in PostgreSQL) at every step. If a worker process dies mid-execution, Temporal retries the pending activity once a worker becomes available again โ no data loss, no restart from scratch. If the orchestration service itself restarts, another instance replays the workflow's history and resumes where the DAG loop left off.
:::
-This is the "crash-proof execution" promise: a failed Kafka broker, a restarted worker pod, or a dropped network connection doesn't lose workflow progress.
+This is the "crash-proof execution" promise: a failed Kafka broker, a restarted worker or orchestrator pod, or a dropped network connection doesn't lose workflow progress.
## Task queues
@@ -118,4 +142,4 @@ Three Temporal task queues coordinate the system:
| `ACTIVITY_TASK_QUEUE` | `ContinuumNodeActivity` (feature workers) | Runs individual node logic โ name overridable per worker via `continuum.core.worker.node-task-queue` |
| `ACTIVITY_TASK_QUEUE_INITIALIZE` | `InitializeActivity` (orchestration service) | Resolves node โ task queue routing before dispatch |
-See [Node Model & Registration](./node-model.md) for how a worker's nodes end up in that registry in the first place, and [Data Format](./data-format.md) for how data actually moves between nodes.
+See [Orchestration Service](./orchestration-service.md) for how the graph is interpreted, [Node Model & Registration](./node-model.md) for how a worker's nodes end up in that registry in the first place, and [Data Format](./data-format.md) for how data actually moves between nodes.
diff --git a/docs/contributing/create-new-nodes/step-2-tour-the-template.md b/docs/contributing/create-new-nodes/step-2-tour-the-template.md
index 2d60cf0..2852960 100644
--- a/docs/contributing/create-new-nodes/step-2-tour-the-template.md
+++ b/docs/contributing/create-new-nodes/step-2-tour-the-template.md
@@ -142,6 +142,6 @@ You don't declare Spring, Temporal, Jackson or test dependencies. The three Cont
| `org.projectcontinuum.feature-java` | Java feature modules | The same, for Java. |
| `org.projectcontinuum.worker` | `worker/` | Spring Boot, the worker starter (Temporal polling and node registration), `bootRun`, and Jib for the container image. |
-Add a `dependencies { }` block to a feature module only when your node needs an extra library; see [Add a library](./recipes.md#add-a-library). The plugin versions are the `continuumPlatformVersion` in `gradle.properties` (see the [version note in the overview](./overview.md#what-you-need)).
+Add a `dependencies { }` block to a feature module only when your node needs an extra library; see [Add a library](./recipes.md#add-a-library). The plugin versions are the `continuumPlatformVersion` in `gradle.properties` (see the [version note in the overview](./overview.md#what-you-need)). For every setting and the other plugin IDs, see the [Gradle plugin reference](../../ecosystem/gradle-plugin.md).
Next: [rename the template](./step-3-make-it-yours.md).
diff --git a/docs/contributing/feature-template.md b/docs/contributing/feature-template.md
index a379f9f..8236fa3 100644
--- a/docs/contributing/feature-template.md
+++ b/docs/contributing/feature-template.md
@@ -14,6 +14,8 @@ To build your own set of nodes, start from [`continuum-feature-template`](https:
The template builds against platform `0.0.20` out of the box and includes a Kotlin and a Java example node, CI/CD workflows, a Helm chart and a local Docker stack. For a step-by-step walkthrough of cloning it, renaming it, writing your first node (in Kotlin or Java) and shipping it, see [Create New Nodes](./create-new-nodes/overview.md).
:::
+Starting a project without the template? The [Continuum Gradle plugin](../ecosystem/gradle-plugin.md) page explains every plugin ID and setting, and walks through a from-scratch setup.
+
Once your worker is running and registering nodes, it can be deployed as an independent release into the same Kubernetes namespace as the core platform (see [Deployment](../deployment/helm-charts.md)) โ no changes to `continuum-platform-core` or any other feature repo required.
For questions or to report issues, use the [GitHub issue tracker](https://github.com/projectcontinuum-org/continuum-platform-core/issues) on the core repo.
diff --git a/docs/deployment/helm-charts.md b/docs/deployment/helm-charts.md
index bac094b..41f8cb1 100644
--- a/docs/deployment/helm-charts.md
+++ b/docs/deployment/helm-charts.md
@@ -1,5 +1,6 @@
---
-sidebar_label: "โ Helm Charts"
+sidebar_label: "Helm Charts"
+sidebar_class_name: sidebar-icon-helm
sidebar_position: 1
---
diff --git a/docs/ecosystem/gradle-plugin.md b/docs/ecosystem/gradle-plugin.md
new file mode 100644
index 0000000..9e60bfc
--- /dev/null
+++ b/docs/ecosystem/gradle-plugin.md
@@ -0,0 +1,438 @@
+---
+sidebar_label: "Gradle Plugin"
+sidebar_class_name: sidebar-icon-gradle
+sidebar_position: 2
+title: "Continuum Gradle Plugin"
+---
+
+# Continuum Gradle Plugin
+
+
+
+The **Continuum Gradle plugin** turns an empty Gradle module into a Continuum feature library or a runnable worker. You apply one plugin ID, set a version, and get Spring Boot, the Continuum libraries, tests, publishing and container images configured for you.
+
+
+
+
+ 4 plugin IDs
+ Kotlin or Java
+ Platform 0.0.20
+
+
+Use this page when you start a project **from scratch**. If you would rather start from a working repository, clone the template instead ([Create New Nodes](../contributing/create-new-nodes/overview.md)); the template uses exactly the setup described here.
+
+## What you get
+
+The plugin ships as one artifact, `org.projectcontinuum.core:continuum-gradle-plugin`, which registers four plugin IDs:
+
+| Plugin ID | Use it for | Language |
+|-----------|------------|----------|
+| `org.projectcontinuum.feature` | A **library module** that contains nodes | Kotlin |
+| `org.projectcontinuum.feature-java` | A library module that contains nodes | Java |
+| `org.projectcontinuum.worker` | The **runnable worker** (Spring Boot app) that loads your feature modules | Kotlin |
+| `org.projectcontinuum.worker-java` | The runnable worker | Java |
+
+A worker plugin first applies the matching feature plugin and then adds the application parts, so everything a feature module gets, a worker gets too.
+
+```mermaid
+flowchart LR
+ F(["๐ feature Kotlin library"]) ==>|"extended by"| W(["๐ worker + Spring Boot app + worker starter + optional Jib image"])
+ FJ(["๐ feature-java Java library"]) ==>|"extended by"| WJ(["๐ worker-java + Spring Boot app + worker starter + optional Jib image"])
+
+ classDef lib fill:#8b5cf633,stroke:#8b5cf6,stroke-width:2px
+ classDef app fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
+ class F,FJ lib
+ class W,WJ app
+```
+
+You can mix languages. The template has a Kotlin worker that loads both a Kotlin and a Java feature module.
+
+Every plugin gives you:
+
+- **Dependencies:** Spring Boot starters, `continuum-commons`, Jackson 3 and the test libraries, with Spring Boot, Spring Cloud and Temporal BOMs imported.
+- **Build setup:** a Java 21 toolchain, JUnit 5, sources and Javadoc jars, and Maven Central, Confluent and local Maven repositories.
+- **A build-time check** that every node class carries `@ContinuumNode` ([details](#node-annotation-check)).
+- **Publishing** to Maven Central through JReleaser ([details](#publishing-libraries)).
+
+The worker plugins add the `continuum-worker-springboot-starter`, the Spring Boot application plugin (`bootJar`, `bootRun`) and, when you ask for it, a container image built with Jib ([details](#container-images)).
+
+## Start a project from scratch
+
+This walks through a minimal repository with one feature module and one worker. It uses Kotlin; for Java, swap the plugin IDs as noted.
+
+**You need:** JDK 21. Use Gradle 8.14, the version the template's wrapper pins and the one this page was checked with.
+
+### 1. Lay out the repository
+
+```text
+my-continuum-worker/
+โโโ gradle.properties
+โโโ settings.gradle.kts
+โโโ build.gradle.kts
+โโโ gradlew, gradlew.bat, gradle/ โ the Gradle wrapper
+โโโ features/
+โ โโโ my-feature/
+โ โโโ build.gradle.kts
+โ โโโ src/main/โฆ โ your nodes
+โโโ worker/
+ โโโ build.gradle.kts
+ โโโ src/main/โฆ โ the Spring Boot app
+```
+
+For the wrapper, copy `gradlew`, `gradlew.bat` and the `gradle/` folder from the template, or run `gradle wrapper --gradle-version 8.14` if you have Gradle installed.
+
+### 2. Pin one platform version
+
+Put the Continuum version in `gradle.properties` so the plugin version and the library version can't drift apart:
+
+```properties
+# gradle.properties
+continuumPlatformVersion=0.0.20
+featureVersion=0.0.1
+
+# Gradle needs more memory to compile with Spring Boot 4 and Kotlin 2.2
+org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
+```
+
+`continuumPlatformVersion` is the version of the plugin **and** of the Continuum libraries it adds. They are released together, so use the same value for both.
+
+### 3. Declare the plugins in `settings.gradle.kts`
+
+```kotlin
+// settings.gradle.kts
+pluginManagement {
+ val continuumPlatformVersion: String by settings
+ repositories {
+ mavenCentral()
+ gradlePluginPortal()
+ }
+ plugins {
+ id("org.projectcontinuum.feature") version continuumPlatformVersion
+ id("org.projectcontinuum.worker") version continuumPlatformVersion
+ // Java modules: also declare feature-java and/or worker-java
+ }
+}
+
+rootProject.name = "my-continuum-worker"
+
+include(":features:my-feature")
+include(":worker")
+```
+
+Declaring the versions once here means the module build files apply the plugins by ID only. Add `mavenLocal()` to the repositories only when you are testing a plugin build you made yourself.
+
+The root `build.gradle.kts` can stay empty. The template adds `plugins { id("org.jreleaser") version "1.23.0" apply false }` there; a multi-module build without it also configured and built in our checks, so it is optional.
+
+### 4. Create the feature module
+
+```kotlin
+// features/my-feature/build.gradle.kts
+plugins {
+ id("org.projectcontinuum.feature")
+}
+
+group = "com.acme.demo"
+description = "My Continuum nodes"
+version = property("featureVersion").toString()
+
+continuum {
+ continuumVersion.set(property("continuumPlatformVersion").toString())
+}
+```
+
+:::warning[Always set continuumVersion]
+`continuumVersion` has a built-in default of `0.0.6`, which is **not** the current platform. If you leave it out, the module quietly builds against old Continuum libraries and you get confusing compile errors. Set it in every module that applies a Continuum plugin.
+:::
+
+`group` and `version` matter: they become the Maven coordinates when you publish the module.
+
+For a Java module use `id("org.projectcontinuum.feature-java")`.
+
+### 5. Register the module's nodes
+
+The worker finds your nodes through Spring auto-configuration. Add one class and one file to the feature module:
+
+```kotlin
+// features/my-feature/src/main/kotlin/com/acme/demo/AutoConfigure.kt
+package com.acme.demo
+
+import org.springframework.context.annotation.ComponentScan
+import org.springframework.context.annotation.Configuration
+
+@Configuration
+@ComponentScan(basePackages = ["com.acme.demo"])
+class AutoConfigure
+```
+
+```text
+# features/my-feature/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
+com.acme.demo.AutoConfigure
+```
+
+Now write your nodes in `com.acme.demo` or a sub-package. [Step 4: Write your node](../contributing/create-new-nodes/step-4-write-your-node.md) covers the node class, help page and tests.
+
+### 6. Create the worker
+
+```kotlin
+// worker/build.gradle.kts
+plugins {
+ id("org.projectcontinuum.worker")
+}
+
+group = "com.acme.demo.worker"
+description = "My Continuum worker"
+version = property("featureVersion").toString()
+
+continuum {
+ continuumVersion.set(property("continuumPlatformVersion").toString())
+}
+
+dependencies {
+ implementation(project(":features:my-feature"))
+}
+```
+
+Add the application class and its configuration:
+
+```kotlin
+// worker/src/main/kotlin/com/acme/demo/worker/App.kt
+package com.acme.demo.worker
+
+import org.springframework.boot.autoconfigure.SpringBootApplication
+import org.springframework.boot.runApplication
+
+@SpringBootApplication
+class App
+
+fun main(args: Array) {
+ runApplication(*args)
+}
+```
+
+```yaml
+# worker/src/main/resources/application.yaml
+spring.application.name: my-continuum-worker
+
+# 8080 is taken by the API server in the local stack
+server.port: ${SERVER_PORT:8090}
+
+spring:
+ temporal:
+ namespace: ${TEMPORAL_NAMESPACE:default}
+ connection:
+ target: ${TEMPORAL_SERVER_ADDRESS:localhost:7233}
+ workersAutoDiscovery:
+ packages:
+ - org.projectcontinuum.core.worker.starter
+
+continuum.core:
+ worker:
+ # Must be unique per worker
+ node-task-queue: ${CONTINUUM_NODE_TASK_QUEUE:MY_CONTINUUM_WORKER_TASK_QUEUE}
+```
+
+The worker starter supplies defaults for Kafka, MinIO and the API server that match the local stack, so these are the only settings you must provide. The [Step 6 reference](../contributing/create-new-nodes/step-6-ship-it.md#worker-configuration-reference) lists the environment variables you can override, and the unique task queue rule is explained in [Step 3](../contributing/create-new-nodes/step-3-make-it-yours.md#pick-your-values).
+
+### 7. Build and run
+
+```bash
+./gradlew build
+./gradlew :worker:bootRun
+```
+
+`bootRun` needs the local Continuum stack; see [Step 5](../contributing/create-new-nodes/step-5-test-and-run.md) for starting it and seeing your nodes in the Workbench. A successful start logs `Registered process nodes: [...]` with your node classes.
+
+## The `continuum { }` block
+
+Every module that applies a Continuum plugin gets a `continuum { }` block. All properties are optional, except that you should always set `continuumVersion`.
+
+```kotlin
+continuum {
+ continuumVersion.set("0.0.20")
+ publishToMavenCentral.set(false)
+ jibToImage.set("acme/my-worker:${project.version}")
+}
+```
+
+| Property | Type | Default | Applies to | What it does |
+|----------|------|---------|------------|--------------|
+| `continuumVersion` | String | `0.0.6` | all | Version of `continuum-commons` and, for workers, `continuum-worker-springboot-starter`. **Set this.** |
+| `continuumGroup` | String | `org.projectcontinuum.core` | all | Maven group of those two Continuum artifacts. Change only if you use a fork. |
+| `useKotlin` | Boolean | `true` for `feature`/`worker`, `false` for the `-java` plugins | all | Chosen for you by the plugin ID. It decides which dependencies are added (Kotlin or Java Jackson and test libraries) and where the node check looks for classes. Leave it alone. |
+| `springBootVersion` | String | `4.0.6` | all | Version of the `spring-boot-dependencies` BOM. The Spring Boot **Gradle plugin** version is fixed by the Continuum plugin. |
+| `springCloudVersion` | String | `2025.1.1` | all | Version of the Spring Cloud BOM. |
+| `temporalVersion` | String | `1.28.0` | all | Version of the Temporal BOM. |
+| `jacksonVersion` | String | `3.1.2` | all | Version of the Jackson 3 artifacts (`tools.jackson.*`) added directly. |
+| `awsSdkVersion` | String | `2.30.7` | workers | Version of the AWS SDK BOM. |
+| `publishToMavenCentral` | Boolean | `true` | all | Configures signing and the Maven Central deployment ([details](#publishing-libraries)). Set `false` if you don't publish the module. |
+| `jibFromImage` | String | `eclipse-temurin:21-jre` | workers | Base image for the container. |
+| `jibToImage` | String | none | workers | Target image, for example `acme/my-worker:1.0.0`. If unset, **no container image is configured at all**. |
+
+The defaults are the ones in plugin `0.0.20`; later releases may move them. Normally you only touch `continuumVersion`, `publishToMavenCentral` and `jibToImage` and leave the rest, because the platform is tested against its own defaults.
+
+:::info[Values are read after your build script runs]
+The plugins add dependencies and BOMs after your build script is evaluated, so set versions through `continuum { }` rather than trying to edit the generated dependency lines.
+:::
+
+## What each plugin applies
+
+### Feature plugins
+
+| | `feature` (Kotlin) | `feature-java` |
+|--|--------------------|----------------|
+| Language plugins | `org.jetbrains.kotlin.jvm` and `org.jetbrains.kotlin.plugin.spring` (Kotlin 2.2.0) | `java-library` |
+| Always applied | Spring dependency management, `maven-publish`, JReleaser | the same |
+| Compiler options | `-Xjsr305=strict` | none |
+| JSON library | `tools.jackson.module:jackson-module-kotlin`, `kotlin-reflect` | `tools.jackson.core:jackson-databind` |
+| Test libraries | `kotlin-test-junit5`, `mockito-kotlin` | `junit-jupiter`, `mockito-core` |
+
+You don't declare Kotlin or Spring Boot plugin versions yourself; the Continuum plugin brings them.
+
+Both feature plugins also set up:
+
+- **Toolchain:** Java 21, plus `withSourcesJar()` and `withJavadocJar()`, which Maven Central requires.
+- **Repositories:** `mavenLocal()`, `mavenCentral()` and the Confluent repository (`packages.confluent.io/maven`).
+- **Tests:** every `Test` task uses the JUnit Platform.
+- **Dependencies** (`implementation`): `spring-boot-starter`, `spring-boot-autoconfigure`, `spring-boot-starter-web`, `spring-boot-starter-actuator` and `continuum-commons`.
+- **Test dependencies:** `spring-boot-starter-test` and the JUnit launcher, plus the language-specific libraries above.
+- **BOMs:** `spring-boot-dependencies`, `temporal-bom` and `spring-cloud-dependencies`.
+- **The node check** (`validateContinuumNodeAnnotations`) and **publishing**, described below.
+
+### Worker plugins
+
+A worker plugin applies its feature plugin and then adds:
+
+- the `org.springframework.boot` plugin, which gives you `bootJar` and `bootRun`;
+- the `software.amazon.awssdk:bom` BOM;
+- `continuum-worker-springboot-starter` as an `implementation` dependency;
+- Jib, **only if** `jibToImage` is set.
+
+Because a worker is also a feature module, it is publishable too. In practice you publish its container image, not its jar; the template's release workflow publishes libraries and the worker image separately ([Step 6](../contributing/create-new-nodes/step-6-ship-it.md)).
+
+## Node annotation check
+
+Every node class needs `@ContinuumNode`, and a missing annotation is easy to overlook until the node doesn't show up. The plugins catch this at build time with the task `validateContinuumNodeAnnotations`.
+
+- It is in the `verification` group and runs before `classes`, so `./gradlew build`, `test` and `bootRun` all trigger it.
+- It scans the compiled classes of the module (`build/classes/kotlin/main` or `build/classes/java/main`) for concrete classes that implement `ContinuumNodeModel` (which `ProcessNodeModel` and `TriggerNodeModel` do) and lack the annotation.
+- It skips abstract classes, interfaces, inner classes and anonymous classes.
+- If `continuum-commons` isn't on the classpath, it does nothing.
+
+A missing annotation fails the build with a message that names the class:
+
+```text
+Execution failed for task ':features:my-feature:validateContinuumNodeAnnotations'.
+> Continuum Node Annotation Validation Failed
+ The following classes implement ContinuumNodeModel but are missing the @ContinuumNode annotation:
+ - com.acme.demo.BadNodeModel
+```
+
+Add `@ContinuumNode` to the class and rebuild.
+
+## Publishing libraries
+
+A feature module can be published to Maven Central so other workers can depend on your nodes. The plugin configures this in two stages.
+
+1. **Stage locally.** A `mavenJava` publication (the jar, sources jar and Javadoc jar, with a full POM) is published to a repository called `localStaging` at `build/staging-deploy`:
+ ```bash
+ ./gradlew :features:my-feature:publish
+ ```
+2. **Deploy.** JReleaser signs the staged files with PGP and uploads them to the Maven Central Portal:
+ ```bash
+ ./gradlew :features:my-feature:jreleaserDeploy
+ ```
+
+The Maven coordinates come from the module's `group`, `name` and `version`. The POM links to your repository using the `GITHUB_REPOSITORY` environment variable (set automatically on GitHub Actions) or, locally, a `repoName` property in `gradle.properties` (for example `repoName=my-org/my-repo`).
+
+The POM also lists a fixed developer and the Apache 2.0 license. The developer entry is `Continuum Developer`, and the extension has no setting to change it.
+
+### Credentials
+
+| Variable | Used by | Purpose |
+|----------|---------|---------|
+| `JRELEASER_MAVENCENTRAL_SONATYPE_USERNAME`, `JRELEASER_MAVENCENTRAL_SONATYPE_TOKEN` | `jreleaserDeploy` | Maven Central Portal account |
+| `JRELEASER_GPG_PASSPHRASE`, `JRELEASER_GPG_SECRET_KEY`, `JRELEASER_GPG_PUBLIC_KEY` | `jreleaserDeploy` | Signing key |
+| `MAVEN_REPO_USERNAME`, `MAVEN_REPO_PASSWORD` | `publish`, for `-SNAPSHOT` versions only | Sonatype snapshots repository |
+
+The template's `on-release.yml` maps its repository secrets to these variables; see [Step 6](../contributing/create-new-nodes/step-6-ship-it.md#3-add-repository-secrets). Signing is always on, so `jreleaserDeploy` fails without the GPG variables.
+
+Your module's `group` must be a namespace you have verified in the Maven Central Portal.
+
+### Snapshots
+
+If the module's version ends in `-SNAPSHOT`, `publish` also pushes to the Sonatype snapshots repository (`central.sonatype.com/repository/maven-snapshots/`) using the `MAVEN_REPO_*` variables.
+
+### Turn publishing off
+
+If a module is only used inside your own worker, don't publish it:
+
+```kotlin
+continuum {
+ publishToMavenCentral.set(false)
+}
+```
+
+This leaves out the signing and Maven Central deployment settings. The `maven-publish` and JReleaser plugins stay applied, so the tasks still exist, but don't run `jreleaserDeploy` for that module. Remember to turn it off in your release workflow as well.
+
+## Container images
+
+Worker plugins build container images with [Jib](https://github.com/GoogleContainerTools/jib), so you need no Dockerfile and no Docker daemon in CI.
+
+Jib is **opt-in**. Set `jibToImage` and the plugin applies Jib and configures it; leave it unset and no Jib tasks exist.
+
+```kotlin
+continuum {
+ continuumVersion.set(property("continuumPlatformVersion").toString())
+ jibToImage.set("acme/my-worker:${project.version}")
+ // jibFromImage.set("eclipse-temurin:21-jre") // the default
+}
+```
+
+| Setting | Value |
+|---------|-------|
+| Base image | `jibFromImage` (default `eclipse-temurin:21-jre`) |
+| Target image | `jibToImage` |
+| Registry login | `DOCKER_REPO_USERNAME` and `DOCKER_REPO_PASSWORD` environment variables; empty if unset |
+
+Build and push with:
+
+```bash
+./gradlew :worker:jib # push to the registry
+./gradlew :worker:jibDockerBuild # build into your local Docker daemon
+./gradlew :worker:jibBuildTar # build a tarball
+```
+
+To use a registry other than Docker Hub, put its full address in `jibToImage` (for example `ghcr.io/acme/my-worker:1.0.0`) and set the two environment variables to that registry's credentials.
+
+## Task reference
+
+| Task | Added by | What it does |
+|------|----------|--------------|
+| `validateContinuumNodeAnnotations` | all | Fails the build if a node class lacks `@ContinuumNode`. Runs before `classes`. |
+| `publish` | all | Stages the library into `build/staging-deploy` (and Sonatype snapshots for `-SNAPSHOT` versions). |
+| `publishToMavenLocal` | all | Installs the library into `~/.m2`. Useful for trying a module in another project. |
+| `jreleaserDeploy` | all | Signs and deploys the staged artifacts to Maven Central. Needs `publishToMavenCentral` left `true`. |
+| `bootRun` | workers | Starts the worker from Gradle. |
+| `bootJar` | workers | Builds the executable Spring Boot jar. |
+| `jib`, `jibDockerBuild`, `jibBuildTar` | workers, only when `jibToImage` is set | Build the container image. |
+
+Run `./gradlew :worker:tasks --all` to see everything, including the other JReleaser tasks.
+
+## Troubleshooting
+
+| Symptom | Cause and fix |
+|---------|---------------|
+| `Plugin [id: 'org.projectcontinuum.feature', version: 'โฆ'] was not found` | The version isn't a released one, or `pluginManagement.repositories` in `settings.gradle.kts` lacks `mavenCentral()`. |
+| Compile errors for Continuum classes you know exist, or the wrong API | `continuumVersion` isn't set and defaulted to `0.0.6`. Set it in every module's `continuum { }` block. |
+| `validateContinuumNodeAnnotations FAILED` | A class extends `ProcessNodeModel` or `TriggerNodeModel` without `@ContinuumNode`. See [above](#node-annotation-check). |
+| `Unresolved reference` on `ObjectMapper` or `TypeReference` | Jackson 2 imports. The plugin adds Jackson 3; import `tools.jackson.databind.ObjectMapper` and `tools.jackson.core.type.TypeReference`. |
+| `Unsupported class file major version` or a toolchain error | Gradle isn't running on JDK 21. Check `java -version` and `./gradlew --version`, set `JAVA_HOME`, and run `./gradlew --stop`. |
+| Gradle daemon runs out of memory | Add `org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g` to `gradle.properties`. |
+| `Task 'jib' not found` | `jibToImage` isn't set in that module's `continuum { }` block, so Jib was never applied. |
+| `jreleaserDeploy` fails on signing or credentials | The GPG or Sonatype environment variables are missing. Provide them, or set `publishToMavenCentral.set(false)`. |
+| `jib` fails with `401 Unauthorized` | `DOCKER_REPO_USERNAME` / `DOCKER_REPO_PASSWORD` are missing, or the account can't push to the image name in `jibToImage`. |
+| The worker starts but registers no nodes | Not a plugin problem: check the `AutoConfiguration.imports` file and `@ComponentScan`. See [Troubleshooting](../contributing/create-new-nodes/troubleshooting.md#my-node-doesnt-show-up-in-the-workbench). |
+
+## Where the plugin lives
+
+The source is in the `continuum-gradle-plugin` module of [`continuum-platform-core`](https://github.com/projectcontinuum-org/continuum-platform-core). Its version always equals the platform version. To pick up a new platform release, change `continuumPlatformVersion` in `gradle.properties` and rebuild.
diff --git a/docs/ecosystem/repositories.md b/docs/ecosystem/repositories.md
index ca1b5b0..e85af62 100644
--- a/docs/ecosystem/repositories.md
+++ b/docs/ecosystem/repositories.md
@@ -16,13 +16,13 @@ Project Continuum is split across several focused repositories under the [`proje
| Repository | Description |
|-----------|-------------|
-| [continuum-platform-core](https://github.com/projectcontinuum-org/continuum-platform-core) | Core backend โ API server, Temporal orchestration, message bridge, credentials server, cluster manager, cloud gateway |
+| [continuum-platform-core](https://github.com/projectcontinuum-org/continuum-platform-core) | Core backend โ API server, orchestration service (interprets workflow graphs as Temporal workflows), message bridge, credentials server, cluster manager, cloud gateway, and the [Gradle plugin](./gradle-plugin.md) used to build feature modules and workers |
| [continuum-workbench](https://github.com/projectcontinuum-org/continuum-workbench) | Browser IDE โ Eclipse Theia + React Flow workflow editor |
| [continuum-feature-base](https://github.com/projectcontinuum-org/continuum-feature-base) | Base analytics nodes โ data transforms, REST, scripting, anomaly detection |
| [continuum-feature-ai](https://github.com/projectcontinuum-org/continuum-feature-ai) | AI/ML nodes โ LLM fine-tuning with Unsloth + LoRA |
| [continuum-feature-cheminformatics](https://github.com/projectcontinuum-org/continuum-feature-cheminformatics) | Cheminformatics nodes โ RDKit-powered molecular processing |
| [continuum-feature-knime](https://github.com/projectcontinuum-org/continuum-feature-knime) | KNIME-compatible workflow executors |
-| [continuum-feature-template](https://github.com/projectcontinuum-org/continuum-feature-template) | Template โ scaffold your own custom feature worker |
+| [continuum-feature-template](https://github.com/projectcontinuum-org/continuum-feature-template) | Template โ scaffold your own custom feature worker. Uses the [Gradle plugin](./gradle-plugin.md) |
| [continuum-charts](https://github.com/projectcontinuum-org/continuum-charts) | Helm charts for deploying Continuum on Kubernetes |
| [continuum-local-setup](https://github.com/projectcontinuum-org/continuum-local-setup) | Docker Compose setup for running the entire platform locally |
| [continuum-website](https://github.com/projectcontinuum-org/continuum-website) | Marketing site ([projectcontinuum.org](https://projectcontinuum.org)) |
diff --git a/docs/getting-started/local-setup.md b/docs/getting-started/local-setup.md
index c73fbb4..f48b387 100644
--- a/docs/getting-started/local-setup.md
+++ b/docs/getting-started/local-setup.md
@@ -71,6 +71,7 @@ flowchart LR
subgraph Platform["๐ Platform services"]
WB(["๐ฅ๏ธ continuum-workbench"])
API["continuum-api-server"]
+ ORCH["๐ง continuum-orchestration-service"]
MB["๐ continuum-message-bridge"]
end
subgraph Infra["๐๏ธ Infrastructure"]
@@ -91,7 +92,7 @@ flowchart LR
classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
class FB,FC worker
class WB ui
- class API,MB core
+ class API,ORCH,MB core
class PG,S3 store
class T core
class K,MQ stream
@@ -104,7 +105,7 @@ flowchart LR
| PostgreSQL | 35432 | Database backing Temporal's workflow state and history |
| Temporal | 7233 | Durable workflow execution engine โ orchestrates node-by-node execution, handles retries and crash recovery |
| Temporal UI | [localhost:38081](http://localhost:38081) | Inspect running workflows, view execution history, debug |
-| Kafka (3-node KRaft cluster) | 39092โ39094 | Carries real-time node execution events from workers to the browser |
+| Kafka (3-node KRaft cluster) | 39092โ39094 | Carries real-time execution events from the orchestration service to the browser, and node registrations from workers |
| Schema Registry | [localhost:38080](http://localhost:38080) | Avro schemas for Kafka messages |
| Kafka UI | [localhost:38082](http://localhost:38082) | Browse Kafka topics, messages, consumer groups |
| Mosquitto | 31883 (TCP), 31884 (WS) | MQTT broker โ last hop pushing execution events to the browser over WebSockets |
@@ -115,6 +116,7 @@ flowchart LR
| Service | Port | Purpose |
|---------|------|---------|
| continuum-api-server | [localhost:8080](http://localhost:8080) | REST API โ workflows, node registry, execution trigger. Single entry point for the workbench UI |
+| continuum-orchestration-service | โ | Temporal workflow worker that interprets the workflow graph, dispatches each node to its feature worker, and publishes execution status to Kafka. See [Orchestration Service](../architecture/orchestration-service.md) |
| continuum-message-bridge | โ | Kafka-to-MQTT bridge for live browser updates |
| continuum-workbench | [localhost:3002](http://localhost:3002) | Browser IDE โ Eclipse Theia + React Flow canvas |
diff --git a/docs/intro.mdx b/docs/intro.mdx
index 1332f4c..430b7b6 100644
--- a/docs/intro.mdx
+++ b/docs/intro.mdx
@@ -46,12 +46,13 @@ No desktop install โ the entire IDE runs in your browser.
## How it fits together
-A workflow is a directed graph of nodes. Each node runs as a Temporal activity dispatched to whichever feature worker registered it โ base analytics, cheminformatics, AI/ML, or your own custom worker.
+A workflow is a directed graph of nodes. When you hit Execute, the **orchestration service** interprets that graph as a durable Temporal workflow. It works out which nodes are ready, dispatches each one as a Temporal activity to whichever feature worker registered it (base analytics, cheminformatics, AI/ML, or your own custom worker), and wires each node's outputs into the next node's inputs.
```mermaid
flowchart LR
UI(["๐ฅ๏ธ Workbench draw a workflow in your browser"]) ==>|"โถ Execute"| API["๐ API Server"]
- API ==> T{{"โฑ๏ธ Temporal durable orchestration survives crashes"}}
+ API ==> T{{"โฑ๏ธ Temporal durable execution survives crashes"}}
+ T <==> O["๐ง Orchestration Service interprets the graph, schedules nodes"]
T -->|"dispatch node"| W1["๐ Base Analytics"]
T -->|"dispatch node"| W2["๐งช Cheminformatics"]
T -->|"dispatch node"| W3["๐ค AI / ML"]
@@ -63,11 +64,14 @@ flowchart LR
classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
+ classDef orch fill:#ec489955,stroke:#ec4899,stroke-width:4px
class UI ui
class API,T core
+ class O orch
class W1,W2,W3 worker
class W4 hero
linkStyle 1 stroke:#ec4899,stroke-width:4px
+ linkStyle 2 stroke:#ec4899,stroke-width:4px
```
See [Architecture Overview](./architecture/overview.md) for the full execution path.
diff --git a/src/css/custom.css b/src/css/custom.css
index 79f4a38..4b39f63 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -444,6 +444,36 @@
border-left: 1px solid var(--continuum-card-border);
}
+/* Brand-logo icons for sidebar items that have no fitting emoji.
+ * Applied via `sidebar_class_name` in a doc's front matter; the logo is a
+ * mask so it can take any colour. */
+.sidebar-icon-gradle > .menu__link::before,
+.sidebar-icon-helm > .menu__link::before {
+ content: '';
+ flex: none;
+ width: 1.1em;
+ height: 1.1em;
+ margin-right: 0.3em;
+ background-color: var(--sidebar-icon-color);
+ -webkit-mask: var(--sidebar-icon) center / contain no-repeat;
+ mask: var(--sidebar-icon) center / contain no-repeat;
+}
+
+.sidebar-icon-gradle {
+ --sidebar-icon: url('/img/gradle.svg');
+ --sidebar-icon-color: #209bc4;
+}
+
+.sidebar-icon-helm {
+ --sidebar-icon: url('/img/helm.svg');
+ --sidebar-icon-color: #0f1689;
+}
+
+/* Helm navy is unreadable on the dark background; Helm uses a white logo there. */
+[data-theme='dark'] .sidebar-icon-helm {
+ --sidebar-icon-color: #fff;
+}
+
/* ================================================================
* Table of contents
* ================================================================ */
diff --git a/static/img/gradle.svg b/static/img/gradle.svg
new file mode 100644
index 0000000..ed01e52
--- /dev/null
+++ b/static/img/gradle.svg
@@ -0,0 +1 @@
+
diff --git a/static/img/helm.svg b/static/img/helm.svg
new file mode 100644
index 0000000..37195a8
--- /dev/null
+++ b/static/img/helm.svg
@@ -0,0 +1 @@
+
diff --git a/versioned_docs/version-0.0.20/architecture/data-format.md b/versioned_docs/version-0.0.20/architecture/data-format.md
index bc3ccc1..b1cad67 100644
--- a/versioned_docs/version-0.0.20/architecture/data-format.md
+++ b/versioned_docs/version-0.0.20/architecture/data-format.md
@@ -1,6 +1,6 @@
---
sidebar_label: "๐ฆ Data Format"
-sidebar_position: 3
+sidebar_position: 4
---
# Data Format
diff --git a/versioned_docs/version-0.0.20/architecture/node-model.md b/versioned_docs/version-0.0.20/architecture/node-model.md
index 18d2235..e58ead7 100644
--- a/versioned_docs/version-0.0.20/architecture/node-model.md
+++ b/versioned_docs/version-0.0.20/architecture/node-model.md
@@ -1,6 +1,6 @@
---
sidebar_label: "๐งฉ Node Model & Registration"
-sidebar_position: 2
+sidebar_position: 3
---
# Node Model & Feature Registration
diff --git a/versioned_docs/version-0.0.20/architecture/orchestration-service.md b/versioned_docs/version-0.0.20/architecture/orchestration-service.md
new file mode 100644
index 0000000..b8a7ad9
--- /dev/null
+++ b/versioned_docs/version-0.0.20/architecture/orchestration-service.md
@@ -0,0 +1,143 @@
+---
+sidebar_label: "๐ง Orchestration Service"
+sidebar_position: 2
+---
+
+# Orchestration Service
+
+
+
+`continuum-orchestration-service` is the interpreter at the heart of the platform. It takes the graph you drew on the canvas โ plain JSON nodes and edges โ and executes it as a real, durable Temporal workflow: deciding what runs when, routing each node to the right worker, wiring outputs to inputs, and reporting every state change back to the browser.
+
+
+
+
+ Temporal workflow worker
+ DAG interpreter
+ Kafka status publisher
+
+
+It is a standalone Spring Boot service (image `projectcontinuum/continuum-orchestration-service`) that registers two things with Temporal:
+
+| Component | Task queue | Role |
+|-----------|------------|------|
+| `ContinuumWorkflow` | `WORKFLOW_TASK_QUEUE` | The workflow implementation โ interprets the graph and drives the execution loop |
+| `InitializeActivity` | `ACTIVITY_TASK_QUEUE_INITIALIZE` | Resolves which worker task queue runs each node type, via the API server's node registry |
+
+:::info[It never runs node logic]
+The orchestration service only *schedules* nodes. Every node's `execute()` runs inside a feature worker, as a Temporal activity. The orchestrator handles control flow and passes data *references* between nodes; the Parquet data itself goes straight between workers and MinIO.
+:::
+
+## Where it sits
+
+```mermaid
+flowchart TB
+ API["๐ API Server"]
+ T{{"โฑ๏ธ Temporal"}}
+ O["๐ง Orchestration Service ContinuumWorkflow InitializeActivity"]
+ W["๐งฉ Feature Workers ContinuumNodeActivity"]
+ K[["๐จ Kafka"]]
+
+ API ==>|"start / cancel / terminate"| T
+ T <==>|"workflow tasks"| O
+ O -->|"resolve node โ task queue (REST)"| API
+ T <==>|"node activities"| W
+ W -.->|"progress signals"| T
+ O -.->|"WorkflowUpdateEvent"| K
+
+ classDef ui fill:#8b5cf633,stroke:#8b5cf6,stroke-width:2px
+ classDef core fill:#ec489933,stroke:#ec4899,stroke-width:2px
+ classDef stream fill:#f59e0b33,stroke:#f59e0b,stroke-width:2px
+ classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
+ classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
+ classDef orch fill:#ec489955,stroke:#ec4899,stroke-width:4px
+ class API,T core
+ class O orch
+ class W worker
+ class K stream
+```
+
+The API server, workers and orchestrator never call each other to execute nodes. They all communicate through Temporal, which is why a crashed worker or orchestrator pod loses no progress.
+
+## From graph to Temporal workflow
+
+When the API server starts a `ContinuumWorkflow` with the workflow model (`ContinuumWorkflowModel`: nodes, edges, node properties), the orchestrator interprets it in four phases.
+
+```mermaid
+flowchart TB
+ S(["โถ start(workflowModel)"]) --> I["๐ Initialize resolve task queues, build one activity stub per node"]
+ I --> R{"Any nodes ready? all parents produced output on every connected port"}
+ R -->|"yes"| D["๐ Dispatch mark BUSY, gather inputs, Async.function { run() }"]
+ D --> Wt["โณ Wait Promise.anyOf(pending)"]
+ R -->|"no, but nodes pending"| Wt
+ Wt --> C["โ / โ Record store outputs or $error, publish status"]
+ C --> R
+ R -->|"nothing ready, nothing pending"| F(["๐ FINISHED / FAILED"])
+
+ classDef core fill:#ec489933,stroke:#ec4899,stroke-width:2px
+ classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
+ classDef stream fill:#f59e0b33,stroke:#f59e0b,stroke-width:2px
+ class S,F core
+ class I,R,C core
+ class D,Wt worker
+```
+
+
+
+1. **Initialize.** `WorkflowActivityInitializer` collects the unique node types (the `NodeData.id` class names) and calls `InitializeActivity.getNodeTaskQueue()`. That activity calls `POST /api/v1/node-explorer/nodes/task-queues` on the API server. If any node type has no registered worker yet, the activity fails and Temporal retries it, so a workflow can be started before its workers come up. The orchestrator then builds a separate `IContinuumNodeActivity` stub for **each node instance**, routed to that node's task queue and carrying its own retry policy.
+2. **Find ready nodes.** A node is ready when every parent has completed and produced output on every port this node is connected to, all of its input ports are wired, and it hasn't run or started yet. A node with an unconnected input port is marked `SKIPPED`.
+3. **Dispatch in parallel.** For each ready node, the orchestrator maps each incoming edge's `sourceHandle` output to the node's `targetHandle` input, marks the node `BUSY` (animating its incoming edges on the canvas), and starts `IContinuumNodeActivity.run(node, inputs)` with `Async.function {}`. Independent branches of the DAG run concurrently.
+4. **Wait and record.** `Promise.anyOf()` waits for whichever pending node finishes first. If the outputs contain the `$error` system port, the node is marked `FAILED` and recorded in the error map. Otherwise it is marked `SUCCESS` and its outputs become available to downstream nodes. The loop goes back to step 2 until no nodes are ready and none are pending.
+
+
+
+:::tip[Data passes by reference]
+A node's output `PortData` carries a remote reference to its Parquet file in MinIO, not the rows themselves. The orchestrator passes that reference to downstream nodes as their input, so Temporal history stays small no matter how much data a node produces. See [Data Format](./data-format.md).
+:::
+
+## Failure, retries & cancellation
+
+| Situation | What the orchestrator does |
+|-----------|----------------------------|
+| A node activity throws, times out, or exhausts its retries | Converts the `ActivityFailure` into a `$error` output for that node only. Independent branches keep running; descendants of the failed node simply never become ready. |
+| One or more nodes failed by the end | Publishes `FAILED` and ends the workflow with a non-retryable `ApplicationFailure` (`WorkflowExecutionFailed`) carrying `nodeErrors` and the successful `nodeToOutputsMap`. |
+| User cancels | The API server first sends the `notifyCancelling` signal, which pins the status to `CANCELLED`, then issues Temporal `cancel()`. Nodes that are still `BUSY` are marked `CANCELLED` and a final event is published. |
+| User terminates | The API server sends the `notifyTerminating` signal, which pins the status to `TERMINATED` and updates the search attribute, then issues Temporal `terminate()`. Workflow code can't run after a terminate, so the signal is the orchestrator's last chance to report. |
+
+Default activity options per node stub:
+
+- `startToCloseTimeout`: **60 days** (long-running nodes are expected)
+- `heartbeatTimeout`: **5 minutes** (workers heartbeat in the background, every 60 s by default)
+- Retry: exponential backoff (coefficient 2.0, max interval 100 s), up to **500 attempts**
+
+A node can override any of these retry fields through `NodeData.retryOptions` (`initialIntervalSeconds`, `backoffCoefficient`, `maximumIntervalSeconds`, `maximumAttempts`, `doNotRetry`). Fields it doesn't set fall back to the defaults.
+
+## Live status
+
+The orchestrator is the **only** source of execution status events. Whenever a node starts, completes or reports progress, it publishes a `WorkflowUpdateEvent` to the Kafka topic `continuum-core-event-WorkflowExecutionSnapshot`, keyed by workflow ID. The event contains the full workflow model (node statuses, animated edges), every node's outputs and errors, overall progress (completed nodes รท total nodes), owner, and schedule ID. `continuum-message-bridge` consumes this topic, forwards each event to MQTT for the browser, and syncs it to the database.
+
+Workers report fine-grained progress by sending the `updateNodeProgressSignal` signal to the running workflow. The orchestrator stores the progress on the node and publishes a fresh event.
+
+The orchestrator also maintains two Temporal search attributes on every run, which the API server uses to list and filter executions:
+
+- `Continuum:ExecutionStatus` (Int) โ started / completed / failed / cancelled / terminated
+- `Continuum:WorkflowFileName` (Keyword) โ the workflow file the run came from
+
+The `temporal-search-attributes-init` service in the local compose stack creates both attributes before the orchestrator starts.
+
+## Determinism rules
+
+`ContinuumWorkflow` is Temporal workflow code, so after a crash it is **replayed** from history, not re-run from scratch. That rules out:
+
+- I/O, `Date.now()`, random values or static loggers in workflow code. Use `Workflow.getLogger()`, and put side effects in activities (as `InitializeActivity` does for the REST call).
+- Publishing duplicate events during replay. The status reporter checks `WorkflowUnsafe.isReplaying()` and only publishes during live execution.
+
+## Configuration
+
+| Property / env var | Default | Purpose |
+|--------------------|---------|---------|
+| `TEMPORAL_SERVER_ADDRESS` | `localhost:7233` | Temporal frontend |
+| `TEMPORAL_NAMESPACE` | `default` | Temporal namespace |
+| `CONTINUUM_API_SERVER_BASE_URL` (`continuum.core.orchestration.api-server-base-url`) | `http://localhost:8081` | API server used to resolve node task queues |
+| `CONTINUUM_KAFKA_MAIN_BROKER_LIST` | `localhost:39092,โฆ` | Kafka brokers for status events |
+| `CONTINUUM_KAFKA_MAIN_SCHEMA_REGISTRY` | `http://localhost:38080` | Schema Registry |
diff --git a/versioned_docs/version-0.0.20/architecture/overview.md b/versioned_docs/version-0.0.20/architecture/overview.md
index add3bd5..2e47196 100644
--- a/versioned_docs/version-0.0.20/architecture/overview.md
+++ b/versioned_docs/version-0.0.20/architecture/overview.md
@@ -5,7 +5,7 @@ sidebar_position: 1
# System Overview
-Continuum is split into a browser frontend, a core backend (API server + Temporal orchestration), and independent feature workers that provide the actual workflow nodes.
+Continuum is split into a browser frontend, a core backend, and independent feature workers that provide the actual workflow nodes. The core backend has three parts: the API server, the **orchestration service**, which interprets the graph as a Temporal workflow, and the message bridge.
```mermaid
flowchart TB
@@ -13,8 +13,9 @@ flowchart TB
UI(["๐จ Eclipse Theia IDE + React Flow canvas"])
end
- API["๐ API Server"]
- Temporal{{"โฑ๏ธ Temporal orchestration"}}
+ API["๐ API Server REST, node registry"]
+ Temporal{{"โฑ๏ธ Temporal durable state & task queues"}}
+ Orch["๐ง Orchestration Service interprets the graph as a Temporal workflow"]
Bridge["๐ Message Bridge Kafka โ MQTT"]
Kafka[["๐จ Kafka events"]]
@@ -29,9 +30,11 @@ flowchart TB
UI ==>|"REST"| API
Bridge -.->|"MQTT / WebSocket live status"| UI
- API ==> Temporal
- Temporal ==>|"dispatches"| Workers
- Workers -.->|"events"| Kafka
+ API ==>|"start workflow"| Temporal
+ Temporal <==>|"workflow tasks"| Orch
+ Orch -->|"resolve task queues"| API
+ Temporal ==>|"node activities"| Workers
+ Orch -.->|"status events"| Kafka
Kafka -.-> Bridge
Workers <-->|"read / write"| MinIO
@@ -41,25 +44,36 @@ flowchart TB
classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
+ classDef orch fill:#ec489955,stroke:#ec4899,stroke-width:4px
class UI ui
class API,Temporal core
+ class Orch orch
class Kafka,Bridge stream
class Base,Chem,AI worker
class MinIO store
```
+| Component | Role |
+|-----------|------|
+| `continuum-api-server` | REST entry point for the workbench, node registry, starts/cancels/terminates workflow runs |
+| `continuum-orchestration-service` | Temporal workflow worker that interprets the canvas graph and drives execution. It schedules nodes, routes them to workers, wires outputs to inputs, and publishes status. See [Orchestration Service](./orchestration-service.md). |
+| Temporal | Persists every step of the run and delivers workflow and activity tasks through task queues |
+| Feature workers | Run the actual node logic (`execute()`) as Temporal activities |
+| `continuum-message-bridge` | Forwards Kafka status events to the browser over MQTT, and maintains the node registry |
+
## Execution flow
1. You design a workflow in the browser (React Flow canvas) and hit **Execute**.
-2. `continuum-api-server` receives the REST call and starts a Temporal workflow (`ContinuumWorkflow`, on `WORKFLOW_TASK_QUEUE`).
-3. `InitializeActivity` resolves which task queue (= which worker) handles each node, via `POST /api/v1/node-explorer/nodes/task-queues` against the API server's node registry.
-4. For each DAG node, `IContinuumNodeActivity.run()` is dispatched to the resolved worker's task queue (`ACTIVITY_TASK_QUEUE`). The worker downloads input Parquet from MinIO, runs `execute()`, and uploads output Parquet.
-5. Nodes run in parallel where the DAG allows โ `ContinuumWorkflow` waits for the first pending node to complete, then schedules newly unblocked nodes.
-6. Each node sends progress signals; `ContinuumWorkflow` publishes a `WorkflowUpdateEvent` to Kafka.
-7. `continuum-message-bridge` consumes the Kafka event and republishes it to Mosquitto (MQTT).
-8. The browser receives the update over MQTT-over-WebSocket and lights up the corresponding node in real time.
+2. `continuum-api-server` validates the node properties, records a `PENDING` run, and starts a `ContinuumWorkflow` on `WORKFLOW_TASK_QUEUE`, passing the graph (nodes + edges) as input.
+3. `continuum-orchestration-service` picks up the workflow task and begins interpreting the graph. Its `InitializeActivity` resolves which task queue (= which worker) handles each node type, via `POST /api/v1/node-explorer/nodes/task-queues` against the API server's node registry.
+4. The orchestrator finds every node whose parents have all produced output and dispatches `IContinuumNodeActivity.run()` for each one to the resolved worker's task queue. Each node's inputs are wired from its parents' outputs along the graph's edges.
+5. The worker downloads input Parquet from MinIO, runs `execute()`, uploads output Parquet, and returns references to the output files.
+6. Nodes run in parallel where the DAG allows. The orchestrator waits for the first pending node to complete, records its outputs (or error), and schedules newly unblocked nodes, repeating until the graph is exhausted.
+7. On every state change, and whenever a worker sends a progress signal, the orchestrator publishes a `WorkflowUpdateEvent` to Kafka.
+8. `continuum-message-bridge` consumes the Kafka event and republishes it to Mosquitto (MQTT).
+9. The browser receives the update over MQTT-over-WebSocket and lights up the corresponding node in real time.
@@ -71,42 +85,52 @@ sequenceDiagram
participant B as ๐ฅ๏ธ Browser
participant A as ๐ API Server
participant T as โฑ๏ธ Temporal
+ participant O as ๐ง Orchestration Service
participant W as ๐งฉ Worker
participant S as ๐๏ธ MinIO
participant K as ๐จ Kafka โ MQTT
rect rgba(139, 92, 246, 0.10)
- Note over B,T: ๐ Start
+ Note over B,O: ๐ Start
B->>+A: Execute workflow (REST)
- A->>+T: Start ContinuumWorkflow
- T->>A: InitializeActivity: resolve task queues
+ A->>T: Start ContinuumWorkflow(graph)
deactivate A
+ T->>+O: Workflow task
+ O->>A: InitializeActivity: resolve task queues
+ A-->>O: node type โ task queue
end
- loop ๐ each unblocked DAG node
+ loop ๐ until no nodes ready or pending
+ rect rgba(236, 72, 153, 0.10)
+ Note over O,T: ๐ง Interpret the graph
+ O->>T: Schedule run() for each ready node
+ end
rect rgba(6, 182, 212, 0.10)
Note over T,S: โ๏ธ Run the node
- T->>+W: IContinuumNodeActivity.run()
+ T->>+W: IContinuumNodeActivity.run(node, inputs)
W->>S: Read input Parquet
+ W-->>T: Progress signals
W->>S: Write output Parquet
- W-->>-T: Progress signals
+ W-->>-T: Output port references
+ T->>O: Activity completed
+ O->>O: Record outputs, find newly ready nodes
end
rect rgba(245, 158, 11, 0.12)
- Note over T,B: ๐ก Live status
- T-->>K: WorkflowUpdateEvent
+ Note over O,B: ๐ก Live status
+ O-->>K: WorkflowUpdateEvent
K-->>B: Node status (MQTT over WebSocket)
end
end
- deactivate T
+ deactivate O
```
## Why this survives crashes
:::tip[Crash-proof by design]
-Temporal persists workflow state (in PostgreSQL) at every step. If a worker process dies mid-execution, the orchestration service simply redispatches the pending activity once a worker becomes available again โ no data loss, no restart from scratch.
+Temporal persists workflow state (in PostgreSQL) at every step. If a worker process dies mid-execution, Temporal retries the pending activity once a worker becomes available again โ no data loss, no restart from scratch. If the orchestration service itself restarts, another instance replays the workflow's history and resumes where the DAG loop left off.
:::
-This is the "crash-proof execution" promise: a failed Kafka broker, a restarted worker pod, or a dropped network connection doesn't lose workflow progress.
+This is the "crash-proof execution" promise: a failed Kafka broker, a restarted worker or orchestrator pod, or a dropped network connection doesn't lose workflow progress.
## Task queues
@@ -118,4 +142,4 @@ Three Temporal task queues coordinate the system:
| `ACTIVITY_TASK_QUEUE` | `ContinuumNodeActivity` (feature workers) | Runs individual node logic โ name overridable per worker via `continuum.core.worker.node-task-queue` |
| `ACTIVITY_TASK_QUEUE_INITIALIZE` | `InitializeActivity` (orchestration service) | Resolves node โ task queue routing before dispatch |
-See [Node Model & Registration](./node-model.md) for how a worker's nodes end up in that registry in the first place, and [Data Format](./data-format.md) for how data actually moves between nodes.
+See [Orchestration Service](./orchestration-service.md) for how the graph is interpreted, [Node Model & Registration](./node-model.md) for how a worker's nodes end up in that registry in the first place, and [Data Format](./data-format.md) for how data actually moves between nodes.
diff --git a/versioned_docs/version-0.0.20/contributing/create-new-nodes/step-2-tour-the-template.md b/versioned_docs/version-0.0.20/contributing/create-new-nodes/step-2-tour-the-template.md
index 2d60cf0..2852960 100644
--- a/versioned_docs/version-0.0.20/contributing/create-new-nodes/step-2-tour-the-template.md
+++ b/versioned_docs/version-0.0.20/contributing/create-new-nodes/step-2-tour-the-template.md
@@ -142,6 +142,6 @@ You don't declare Spring, Temporal, Jackson or test dependencies. The three Cont
| `org.projectcontinuum.feature-java` | Java feature modules | The same, for Java. |
| `org.projectcontinuum.worker` | `worker/` | Spring Boot, the worker starter (Temporal polling and node registration), `bootRun`, and Jib for the container image. |
-Add a `dependencies { }` block to a feature module only when your node needs an extra library; see [Add a library](./recipes.md#add-a-library). The plugin versions are the `continuumPlatformVersion` in `gradle.properties` (see the [version note in the overview](./overview.md#what-you-need)).
+Add a `dependencies { }` block to a feature module only when your node needs an extra library; see [Add a library](./recipes.md#add-a-library). The plugin versions are the `continuumPlatformVersion` in `gradle.properties` (see the [version note in the overview](./overview.md#what-you-need)). For every setting and the other plugin IDs, see the [Gradle plugin reference](../../ecosystem/gradle-plugin.md).
Next: [rename the template](./step-3-make-it-yours.md).
diff --git a/versioned_docs/version-0.0.20/contributing/feature-template.md b/versioned_docs/version-0.0.20/contributing/feature-template.md
index a379f9f..8236fa3 100644
--- a/versioned_docs/version-0.0.20/contributing/feature-template.md
+++ b/versioned_docs/version-0.0.20/contributing/feature-template.md
@@ -14,6 +14,8 @@ To build your own set of nodes, start from [`continuum-feature-template`](https:
The template builds against platform `0.0.20` out of the box and includes a Kotlin and a Java example node, CI/CD workflows, a Helm chart and a local Docker stack. For a step-by-step walkthrough of cloning it, renaming it, writing your first node (in Kotlin or Java) and shipping it, see [Create New Nodes](./create-new-nodes/overview.md).
:::
+Starting a project without the template? The [Continuum Gradle plugin](../ecosystem/gradle-plugin.md) page explains every plugin ID and setting, and walks through a from-scratch setup.
+
Once your worker is running and registering nodes, it can be deployed as an independent release into the same Kubernetes namespace as the core platform (see [Deployment](../deployment/helm-charts.md)) โ no changes to `continuum-platform-core` or any other feature repo required.
For questions or to report issues, use the [GitHub issue tracker](https://github.com/projectcontinuum-org/continuum-platform-core/issues) on the core repo.
diff --git a/versioned_docs/version-0.0.20/deployment/helm-charts.md b/versioned_docs/version-0.0.20/deployment/helm-charts.md
index bac094b..41f8cb1 100644
--- a/versioned_docs/version-0.0.20/deployment/helm-charts.md
+++ b/versioned_docs/version-0.0.20/deployment/helm-charts.md
@@ -1,5 +1,6 @@
---
-sidebar_label: "โ Helm Charts"
+sidebar_label: "Helm Charts"
+sidebar_class_name: sidebar-icon-helm
sidebar_position: 1
---
diff --git a/versioned_docs/version-0.0.20/ecosystem/gradle-plugin.md b/versioned_docs/version-0.0.20/ecosystem/gradle-plugin.md
new file mode 100644
index 0000000..9e60bfc
--- /dev/null
+++ b/versioned_docs/version-0.0.20/ecosystem/gradle-plugin.md
@@ -0,0 +1,438 @@
+---
+sidebar_label: "Gradle Plugin"
+sidebar_class_name: sidebar-icon-gradle
+sidebar_position: 2
+title: "Continuum Gradle Plugin"
+---
+
+# Continuum Gradle Plugin
+
+
+
+The **Continuum Gradle plugin** turns an empty Gradle module into a Continuum feature library or a runnable worker. You apply one plugin ID, set a version, and get Spring Boot, the Continuum libraries, tests, publishing and container images configured for you.
+
+
+
+
+ 4 plugin IDs
+ Kotlin or Java
+ Platform 0.0.20
+
+
+Use this page when you start a project **from scratch**. If you would rather start from a working repository, clone the template instead ([Create New Nodes](../contributing/create-new-nodes/overview.md)); the template uses exactly the setup described here.
+
+## What you get
+
+The plugin ships as one artifact, `org.projectcontinuum.core:continuum-gradle-plugin`, which registers four plugin IDs:
+
+| Plugin ID | Use it for | Language |
+|-----------|------------|----------|
+| `org.projectcontinuum.feature` | A **library module** that contains nodes | Kotlin |
+| `org.projectcontinuum.feature-java` | A library module that contains nodes | Java |
+| `org.projectcontinuum.worker` | The **runnable worker** (Spring Boot app) that loads your feature modules | Kotlin |
+| `org.projectcontinuum.worker-java` | The runnable worker | Java |
+
+A worker plugin first applies the matching feature plugin and then adds the application parts, so everything a feature module gets, a worker gets too.
+
+```mermaid
+flowchart LR
+ F(["๐ feature Kotlin library"]) ==>|"extended by"| W(["๐ worker + Spring Boot app + worker starter + optional Jib image"])
+ FJ(["๐ feature-java Java library"]) ==>|"extended by"| WJ(["๐ worker-java + Spring Boot app + worker starter + optional Jib image"])
+
+ classDef lib fill:#8b5cf633,stroke:#8b5cf6,stroke-width:2px
+ classDef app fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
+ class F,FJ lib
+ class W,WJ app
+```
+
+You can mix languages. The template has a Kotlin worker that loads both a Kotlin and a Java feature module.
+
+Every plugin gives you:
+
+- **Dependencies:** Spring Boot starters, `continuum-commons`, Jackson 3 and the test libraries, with Spring Boot, Spring Cloud and Temporal BOMs imported.
+- **Build setup:** a Java 21 toolchain, JUnit 5, sources and Javadoc jars, and Maven Central, Confluent and local Maven repositories.
+- **A build-time check** that every node class carries `@ContinuumNode` ([details](#node-annotation-check)).
+- **Publishing** to Maven Central through JReleaser ([details](#publishing-libraries)).
+
+The worker plugins add the `continuum-worker-springboot-starter`, the Spring Boot application plugin (`bootJar`, `bootRun`) and, when you ask for it, a container image built with Jib ([details](#container-images)).
+
+## Start a project from scratch
+
+This walks through a minimal repository with one feature module and one worker. It uses Kotlin; for Java, swap the plugin IDs as noted.
+
+**You need:** JDK 21. Use Gradle 8.14, the version the template's wrapper pins and the one this page was checked with.
+
+### 1. Lay out the repository
+
+```text
+my-continuum-worker/
+โโโ gradle.properties
+โโโ settings.gradle.kts
+โโโ build.gradle.kts
+โโโ gradlew, gradlew.bat, gradle/ โ the Gradle wrapper
+โโโ features/
+โ โโโ my-feature/
+โ โโโ build.gradle.kts
+โ โโโ src/main/โฆ โ your nodes
+โโโ worker/
+ โโโ build.gradle.kts
+ โโโ src/main/โฆ โ the Spring Boot app
+```
+
+For the wrapper, copy `gradlew`, `gradlew.bat` and the `gradle/` folder from the template, or run `gradle wrapper --gradle-version 8.14` if you have Gradle installed.
+
+### 2. Pin one platform version
+
+Put the Continuum version in `gradle.properties` so the plugin version and the library version can't drift apart:
+
+```properties
+# gradle.properties
+continuumPlatformVersion=0.0.20
+featureVersion=0.0.1
+
+# Gradle needs more memory to compile with Spring Boot 4 and Kotlin 2.2
+org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
+```
+
+`continuumPlatformVersion` is the version of the plugin **and** of the Continuum libraries it adds. They are released together, so use the same value for both.
+
+### 3. Declare the plugins in `settings.gradle.kts`
+
+```kotlin
+// settings.gradle.kts
+pluginManagement {
+ val continuumPlatformVersion: String by settings
+ repositories {
+ mavenCentral()
+ gradlePluginPortal()
+ }
+ plugins {
+ id("org.projectcontinuum.feature") version continuumPlatformVersion
+ id("org.projectcontinuum.worker") version continuumPlatformVersion
+ // Java modules: also declare feature-java and/or worker-java
+ }
+}
+
+rootProject.name = "my-continuum-worker"
+
+include(":features:my-feature")
+include(":worker")
+```
+
+Declaring the versions once here means the module build files apply the plugins by ID only. Add `mavenLocal()` to the repositories only when you are testing a plugin build you made yourself.
+
+The root `build.gradle.kts` can stay empty. The template adds `plugins { id("org.jreleaser") version "1.23.0" apply false }` there; a multi-module build without it also configured and built in our checks, so it is optional.
+
+### 4. Create the feature module
+
+```kotlin
+// features/my-feature/build.gradle.kts
+plugins {
+ id("org.projectcontinuum.feature")
+}
+
+group = "com.acme.demo"
+description = "My Continuum nodes"
+version = property("featureVersion").toString()
+
+continuum {
+ continuumVersion.set(property("continuumPlatformVersion").toString())
+}
+```
+
+:::warning[Always set continuumVersion]
+`continuumVersion` has a built-in default of `0.0.6`, which is **not** the current platform. If you leave it out, the module quietly builds against old Continuum libraries and you get confusing compile errors. Set it in every module that applies a Continuum plugin.
+:::
+
+`group` and `version` matter: they become the Maven coordinates when you publish the module.
+
+For a Java module use `id("org.projectcontinuum.feature-java")`.
+
+### 5. Register the module's nodes
+
+The worker finds your nodes through Spring auto-configuration. Add one class and one file to the feature module:
+
+```kotlin
+// features/my-feature/src/main/kotlin/com/acme/demo/AutoConfigure.kt
+package com.acme.demo
+
+import org.springframework.context.annotation.ComponentScan
+import org.springframework.context.annotation.Configuration
+
+@Configuration
+@ComponentScan(basePackages = ["com.acme.demo"])
+class AutoConfigure
+```
+
+```text
+# features/my-feature/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
+com.acme.demo.AutoConfigure
+```
+
+Now write your nodes in `com.acme.demo` or a sub-package. [Step 4: Write your node](../contributing/create-new-nodes/step-4-write-your-node.md) covers the node class, help page and tests.
+
+### 6. Create the worker
+
+```kotlin
+// worker/build.gradle.kts
+plugins {
+ id("org.projectcontinuum.worker")
+}
+
+group = "com.acme.demo.worker"
+description = "My Continuum worker"
+version = property("featureVersion").toString()
+
+continuum {
+ continuumVersion.set(property("continuumPlatformVersion").toString())
+}
+
+dependencies {
+ implementation(project(":features:my-feature"))
+}
+```
+
+Add the application class and its configuration:
+
+```kotlin
+// worker/src/main/kotlin/com/acme/demo/worker/App.kt
+package com.acme.demo.worker
+
+import org.springframework.boot.autoconfigure.SpringBootApplication
+import org.springframework.boot.runApplication
+
+@SpringBootApplication
+class App
+
+fun main(args: Array) {
+ runApplication(*args)
+}
+```
+
+```yaml
+# worker/src/main/resources/application.yaml
+spring.application.name: my-continuum-worker
+
+# 8080 is taken by the API server in the local stack
+server.port: ${SERVER_PORT:8090}
+
+spring:
+ temporal:
+ namespace: ${TEMPORAL_NAMESPACE:default}
+ connection:
+ target: ${TEMPORAL_SERVER_ADDRESS:localhost:7233}
+ workersAutoDiscovery:
+ packages:
+ - org.projectcontinuum.core.worker.starter
+
+continuum.core:
+ worker:
+ # Must be unique per worker
+ node-task-queue: ${CONTINUUM_NODE_TASK_QUEUE:MY_CONTINUUM_WORKER_TASK_QUEUE}
+```
+
+The worker starter supplies defaults for Kafka, MinIO and the API server that match the local stack, so these are the only settings you must provide. The [Step 6 reference](../contributing/create-new-nodes/step-6-ship-it.md#worker-configuration-reference) lists the environment variables you can override, and the unique task queue rule is explained in [Step 3](../contributing/create-new-nodes/step-3-make-it-yours.md#pick-your-values).
+
+### 7. Build and run
+
+```bash
+./gradlew build
+./gradlew :worker:bootRun
+```
+
+`bootRun` needs the local Continuum stack; see [Step 5](../contributing/create-new-nodes/step-5-test-and-run.md) for starting it and seeing your nodes in the Workbench. A successful start logs `Registered process nodes: [...]` with your node classes.
+
+## The `continuum { }` block
+
+Every module that applies a Continuum plugin gets a `continuum { }` block. All properties are optional, except that you should always set `continuumVersion`.
+
+```kotlin
+continuum {
+ continuumVersion.set("0.0.20")
+ publishToMavenCentral.set(false)
+ jibToImage.set("acme/my-worker:${project.version}")
+}
+```
+
+| Property | Type | Default | Applies to | What it does |
+|----------|------|---------|------------|--------------|
+| `continuumVersion` | String | `0.0.6` | all | Version of `continuum-commons` and, for workers, `continuum-worker-springboot-starter`. **Set this.** |
+| `continuumGroup` | String | `org.projectcontinuum.core` | all | Maven group of those two Continuum artifacts. Change only if you use a fork. |
+| `useKotlin` | Boolean | `true` for `feature`/`worker`, `false` for the `-java` plugins | all | Chosen for you by the plugin ID. It decides which dependencies are added (Kotlin or Java Jackson and test libraries) and where the node check looks for classes. Leave it alone. |
+| `springBootVersion` | String | `4.0.6` | all | Version of the `spring-boot-dependencies` BOM. The Spring Boot **Gradle plugin** version is fixed by the Continuum plugin. |
+| `springCloudVersion` | String | `2025.1.1` | all | Version of the Spring Cloud BOM. |
+| `temporalVersion` | String | `1.28.0` | all | Version of the Temporal BOM. |
+| `jacksonVersion` | String | `3.1.2` | all | Version of the Jackson 3 artifacts (`tools.jackson.*`) added directly. |
+| `awsSdkVersion` | String | `2.30.7` | workers | Version of the AWS SDK BOM. |
+| `publishToMavenCentral` | Boolean | `true` | all | Configures signing and the Maven Central deployment ([details](#publishing-libraries)). Set `false` if you don't publish the module. |
+| `jibFromImage` | String | `eclipse-temurin:21-jre` | workers | Base image for the container. |
+| `jibToImage` | String | none | workers | Target image, for example `acme/my-worker:1.0.0`. If unset, **no container image is configured at all**. |
+
+The defaults are the ones in plugin `0.0.20`; later releases may move them. Normally you only touch `continuumVersion`, `publishToMavenCentral` and `jibToImage` and leave the rest, because the platform is tested against its own defaults.
+
+:::info[Values are read after your build script runs]
+The plugins add dependencies and BOMs after your build script is evaluated, so set versions through `continuum { }` rather than trying to edit the generated dependency lines.
+:::
+
+## What each plugin applies
+
+### Feature plugins
+
+| | `feature` (Kotlin) | `feature-java` |
+|--|--------------------|----------------|
+| Language plugins | `org.jetbrains.kotlin.jvm` and `org.jetbrains.kotlin.plugin.spring` (Kotlin 2.2.0) | `java-library` |
+| Always applied | Spring dependency management, `maven-publish`, JReleaser | the same |
+| Compiler options | `-Xjsr305=strict` | none |
+| JSON library | `tools.jackson.module:jackson-module-kotlin`, `kotlin-reflect` | `tools.jackson.core:jackson-databind` |
+| Test libraries | `kotlin-test-junit5`, `mockito-kotlin` | `junit-jupiter`, `mockito-core` |
+
+You don't declare Kotlin or Spring Boot plugin versions yourself; the Continuum plugin brings them.
+
+Both feature plugins also set up:
+
+- **Toolchain:** Java 21, plus `withSourcesJar()` and `withJavadocJar()`, which Maven Central requires.
+- **Repositories:** `mavenLocal()`, `mavenCentral()` and the Confluent repository (`packages.confluent.io/maven`).
+- **Tests:** every `Test` task uses the JUnit Platform.
+- **Dependencies** (`implementation`): `spring-boot-starter`, `spring-boot-autoconfigure`, `spring-boot-starter-web`, `spring-boot-starter-actuator` and `continuum-commons`.
+- **Test dependencies:** `spring-boot-starter-test` and the JUnit launcher, plus the language-specific libraries above.
+- **BOMs:** `spring-boot-dependencies`, `temporal-bom` and `spring-cloud-dependencies`.
+- **The node check** (`validateContinuumNodeAnnotations`) and **publishing**, described below.
+
+### Worker plugins
+
+A worker plugin applies its feature plugin and then adds:
+
+- the `org.springframework.boot` plugin, which gives you `bootJar` and `bootRun`;
+- the `software.amazon.awssdk:bom` BOM;
+- `continuum-worker-springboot-starter` as an `implementation` dependency;
+- Jib, **only if** `jibToImage` is set.
+
+Because a worker is also a feature module, it is publishable too. In practice you publish its container image, not its jar; the template's release workflow publishes libraries and the worker image separately ([Step 6](../contributing/create-new-nodes/step-6-ship-it.md)).
+
+## Node annotation check
+
+Every node class needs `@ContinuumNode`, and a missing annotation is easy to overlook until the node doesn't show up. The plugins catch this at build time with the task `validateContinuumNodeAnnotations`.
+
+- It is in the `verification` group and runs before `classes`, so `./gradlew build`, `test` and `bootRun` all trigger it.
+- It scans the compiled classes of the module (`build/classes/kotlin/main` or `build/classes/java/main`) for concrete classes that implement `ContinuumNodeModel` (which `ProcessNodeModel` and `TriggerNodeModel` do) and lack the annotation.
+- It skips abstract classes, interfaces, inner classes and anonymous classes.
+- If `continuum-commons` isn't on the classpath, it does nothing.
+
+A missing annotation fails the build with a message that names the class:
+
+```text
+Execution failed for task ':features:my-feature:validateContinuumNodeAnnotations'.
+> Continuum Node Annotation Validation Failed
+ The following classes implement ContinuumNodeModel but are missing the @ContinuumNode annotation:
+ - com.acme.demo.BadNodeModel
+```
+
+Add `@ContinuumNode` to the class and rebuild.
+
+## Publishing libraries
+
+A feature module can be published to Maven Central so other workers can depend on your nodes. The plugin configures this in two stages.
+
+1. **Stage locally.** A `mavenJava` publication (the jar, sources jar and Javadoc jar, with a full POM) is published to a repository called `localStaging` at `build/staging-deploy`:
+ ```bash
+ ./gradlew :features:my-feature:publish
+ ```
+2. **Deploy.** JReleaser signs the staged files with PGP and uploads them to the Maven Central Portal:
+ ```bash
+ ./gradlew :features:my-feature:jreleaserDeploy
+ ```
+
+The Maven coordinates come from the module's `group`, `name` and `version`. The POM links to your repository using the `GITHUB_REPOSITORY` environment variable (set automatically on GitHub Actions) or, locally, a `repoName` property in `gradle.properties` (for example `repoName=my-org/my-repo`).
+
+The POM also lists a fixed developer and the Apache 2.0 license. The developer entry is `Continuum Developer`, and the extension has no setting to change it.
+
+### Credentials
+
+| Variable | Used by | Purpose |
+|----------|---------|---------|
+| `JRELEASER_MAVENCENTRAL_SONATYPE_USERNAME`, `JRELEASER_MAVENCENTRAL_SONATYPE_TOKEN` | `jreleaserDeploy` | Maven Central Portal account |
+| `JRELEASER_GPG_PASSPHRASE`, `JRELEASER_GPG_SECRET_KEY`, `JRELEASER_GPG_PUBLIC_KEY` | `jreleaserDeploy` | Signing key |
+| `MAVEN_REPO_USERNAME`, `MAVEN_REPO_PASSWORD` | `publish`, for `-SNAPSHOT` versions only | Sonatype snapshots repository |
+
+The template's `on-release.yml` maps its repository secrets to these variables; see [Step 6](../contributing/create-new-nodes/step-6-ship-it.md#3-add-repository-secrets). Signing is always on, so `jreleaserDeploy` fails without the GPG variables.
+
+Your module's `group` must be a namespace you have verified in the Maven Central Portal.
+
+### Snapshots
+
+If the module's version ends in `-SNAPSHOT`, `publish` also pushes to the Sonatype snapshots repository (`central.sonatype.com/repository/maven-snapshots/`) using the `MAVEN_REPO_*` variables.
+
+### Turn publishing off
+
+If a module is only used inside your own worker, don't publish it:
+
+```kotlin
+continuum {
+ publishToMavenCentral.set(false)
+}
+```
+
+This leaves out the signing and Maven Central deployment settings. The `maven-publish` and JReleaser plugins stay applied, so the tasks still exist, but don't run `jreleaserDeploy` for that module. Remember to turn it off in your release workflow as well.
+
+## Container images
+
+Worker plugins build container images with [Jib](https://github.com/GoogleContainerTools/jib), so you need no Dockerfile and no Docker daemon in CI.
+
+Jib is **opt-in**. Set `jibToImage` and the plugin applies Jib and configures it; leave it unset and no Jib tasks exist.
+
+```kotlin
+continuum {
+ continuumVersion.set(property("continuumPlatformVersion").toString())
+ jibToImage.set("acme/my-worker:${project.version}")
+ // jibFromImage.set("eclipse-temurin:21-jre") // the default
+}
+```
+
+| Setting | Value |
+|---------|-------|
+| Base image | `jibFromImage` (default `eclipse-temurin:21-jre`) |
+| Target image | `jibToImage` |
+| Registry login | `DOCKER_REPO_USERNAME` and `DOCKER_REPO_PASSWORD` environment variables; empty if unset |
+
+Build and push with:
+
+```bash
+./gradlew :worker:jib # push to the registry
+./gradlew :worker:jibDockerBuild # build into your local Docker daemon
+./gradlew :worker:jibBuildTar # build a tarball
+```
+
+To use a registry other than Docker Hub, put its full address in `jibToImage` (for example `ghcr.io/acme/my-worker:1.0.0`) and set the two environment variables to that registry's credentials.
+
+## Task reference
+
+| Task | Added by | What it does |
+|------|----------|--------------|
+| `validateContinuumNodeAnnotations` | all | Fails the build if a node class lacks `@ContinuumNode`. Runs before `classes`. |
+| `publish` | all | Stages the library into `build/staging-deploy` (and Sonatype snapshots for `-SNAPSHOT` versions). |
+| `publishToMavenLocal` | all | Installs the library into `~/.m2`. Useful for trying a module in another project. |
+| `jreleaserDeploy` | all | Signs and deploys the staged artifacts to Maven Central. Needs `publishToMavenCentral` left `true`. |
+| `bootRun` | workers | Starts the worker from Gradle. |
+| `bootJar` | workers | Builds the executable Spring Boot jar. |
+| `jib`, `jibDockerBuild`, `jibBuildTar` | workers, only when `jibToImage` is set | Build the container image. |
+
+Run `./gradlew :worker:tasks --all` to see everything, including the other JReleaser tasks.
+
+## Troubleshooting
+
+| Symptom | Cause and fix |
+|---------|---------------|
+| `Plugin [id: 'org.projectcontinuum.feature', version: 'โฆ'] was not found` | The version isn't a released one, or `pluginManagement.repositories` in `settings.gradle.kts` lacks `mavenCentral()`. |
+| Compile errors for Continuum classes you know exist, or the wrong API | `continuumVersion` isn't set and defaulted to `0.0.6`. Set it in every module's `continuum { }` block. |
+| `validateContinuumNodeAnnotations FAILED` | A class extends `ProcessNodeModel` or `TriggerNodeModel` without `@ContinuumNode`. See [above](#node-annotation-check). |
+| `Unresolved reference` on `ObjectMapper` or `TypeReference` | Jackson 2 imports. The plugin adds Jackson 3; import `tools.jackson.databind.ObjectMapper` and `tools.jackson.core.type.TypeReference`. |
+| `Unsupported class file major version` or a toolchain error | Gradle isn't running on JDK 21. Check `java -version` and `./gradlew --version`, set `JAVA_HOME`, and run `./gradlew --stop`. |
+| Gradle daemon runs out of memory | Add `org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g` to `gradle.properties`. |
+| `Task 'jib' not found` | `jibToImage` isn't set in that module's `continuum { }` block, so Jib was never applied. |
+| `jreleaserDeploy` fails on signing or credentials | The GPG or Sonatype environment variables are missing. Provide them, or set `publishToMavenCentral.set(false)`. |
+| `jib` fails with `401 Unauthorized` | `DOCKER_REPO_USERNAME` / `DOCKER_REPO_PASSWORD` are missing, or the account can't push to the image name in `jibToImage`. |
+| The worker starts but registers no nodes | Not a plugin problem: check the `AutoConfiguration.imports` file and `@ComponentScan`. See [Troubleshooting](../contributing/create-new-nodes/troubleshooting.md#my-node-doesnt-show-up-in-the-workbench). |
+
+## Where the plugin lives
+
+The source is in the `continuum-gradle-plugin` module of [`continuum-platform-core`](https://github.com/projectcontinuum-org/continuum-platform-core). Its version always equals the platform version. To pick up a new platform release, change `continuumPlatformVersion` in `gradle.properties` and rebuild.
diff --git a/versioned_docs/version-0.0.20/ecosystem/repositories.md b/versioned_docs/version-0.0.20/ecosystem/repositories.md
index ca1b5b0..e85af62 100644
--- a/versioned_docs/version-0.0.20/ecosystem/repositories.md
+++ b/versioned_docs/version-0.0.20/ecosystem/repositories.md
@@ -16,13 +16,13 @@ Project Continuum is split across several focused repositories under the [`proje
| Repository | Description |
|-----------|-------------|
-| [continuum-platform-core](https://github.com/projectcontinuum-org/continuum-platform-core) | Core backend โ API server, Temporal orchestration, message bridge, credentials server, cluster manager, cloud gateway |
+| [continuum-platform-core](https://github.com/projectcontinuum-org/continuum-platform-core) | Core backend โ API server, orchestration service (interprets workflow graphs as Temporal workflows), message bridge, credentials server, cluster manager, cloud gateway, and the [Gradle plugin](./gradle-plugin.md) used to build feature modules and workers |
| [continuum-workbench](https://github.com/projectcontinuum-org/continuum-workbench) | Browser IDE โ Eclipse Theia + React Flow workflow editor |
| [continuum-feature-base](https://github.com/projectcontinuum-org/continuum-feature-base) | Base analytics nodes โ data transforms, REST, scripting, anomaly detection |
| [continuum-feature-ai](https://github.com/projectcontinuum-org/continuum-feature-ai) | AI/ML nodes โ LLM fine-tuning with Unsloth + LoRA |
| [continuum-feature-cheminformatics](https://github.com/projectcontinuum-org/continuum-feature-cheminformatics) | Cheminformatics nodes โ RDKit-powered molecular processing |
| [continuum-feature-knime](https://github.com/projectcontinuum-org/continuum-feature-knime) | KNIME-compatible workflow executors |
-| [continuum-feature-template](https://github.com/projectcontinuum-org/continuum-feature-template) | Template โ scaffold your own custom feature worker |
+| [continuum-feature-template](https://github.com/projectcontinuum-org/continuum-feature-template) | Template โ scaffold your own custom feature worker. Uses the [Gradle plugin](./gradle-plugin.md) |
| [continuum-charts](https://github.com/projectcontinuum-org/continuum-charts) | Helm charts for deploying Continuum on Kubernetes |
| [continuum-local-setup](https://github.com/projectcontinuum-org/continuum-local-setup) | Docker Compose setup for running the entire platform locally |
| [continuum-website](https://github.com/projectcontinuum-org/continuum-website) | Marketing site ([projectcontinuum.org](https://projectcontinuum.org)) |
diff --git a/versioned_docs/version-0.0.20/getting-started/local-setup.md b/versioned_docs/version-0.0.20/getting-started/local-setup.md
index c73fbb4..f48b387 100644
--- a/versioned_docs/version-0.0.20/getting-started/local-setup.md
+++ b/versioned_docs/version-0.0.20/getting-started/local-setup.md
@@ -71,6 +71,7 @@ flowchart LR
subgraph Platform["๐ Platform services"]
WB(["๐ฅ๏ธ continuum-workbench"])
API["continuum-api-server"]
+ ORCH["๐ง continuum-orchestration-service"]
MB["๐ continuum-message-bridge"]
end
subgraph Infra["๐๏ธ Infrastructure"]
@@ -91,7 +92,7 @@ flowchart LR
classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
class FB,FC worker
class WB ui
- class API,MB core
+ class API,ORCH,MB core
class PG,S3 store
class T core
class K,MQ stream
@@ -104,7 +105,7 @@ flowchart LR
| PostgreSQL | 35432 | Database backing Temporal's workflow state and history |
| Temporal | 7233 | Durable workflow execution engine โ orchestrates node-by-node execution, handles retries and crash recovery |
| Temporal UI | [localhost:38081](http://localhost:38081) | Inspect running workflows, view execution history, debug |
-| Kafka (3-node KRaft cluster) | 39092โ39094 | Carries real-time node execution events from workers to the browser |
+| Kafka (3-node KRaft cluster) | 39092โ39094 | Carries real-time execution events from the orchestration service to the browser, and node registrations from workers |
| Schema Registry | [localhost:38080](http://localhost:38080) | Avro schemas for Kafka messages |
| Kafka UI | [localhost:38082](http://localhost:38082) | Browse Kafka topics, messages, consumer groups |
| Mosquitto | 31883 (TCP), 31884 (WS) | MQTT broker โ last hop pushing execution events to the browser over WebSockets |
@@ -115,6 +116,7 @@ flowchart LR
| Service | Port | Purpose |
|---------|------|---------|
| continuum-api-server | [localhost:8080](http://localhost:8080) | REST API โ workflows, node registry, execution trigger. Single entry point for the workbench UI |
+| continuum-orchestration-service | โ | Temporal workflow worker that interprets the workflow graph, dispatches each node to its feature worker, and publishes execution status to Kafka. See [Orchestration Service](../architecture/orchestration-service.md) |
| continuum-message-bridge | โ | Kafka-to-MQTT bridge for live browser updates |
| continuum-workbench | [localhost:3002](http://localhost:3002) | Browser IDE โ Eclipse Theia + React Flow canvas |
diff --git a/versioned_docs/version-0.0.20/intro.mdx b/versioned_docs/version-0.0.20/intro.mdx
index 1332f4c..430b7b6 100644
--- a/versioned_docs/version-0.0.20/intro.mdx
+++ b/versioned_docs/version-0.0.20/intro.mdx
@@ -46,12 +46,13 @@ No desktop install โ the entire IDE runs in your browser.
## How it fits together
-A workflow is a directed graph of nodes. Each node runs as a Temporal activity dispatched to whichever feature worker registered it โ base analytics, cheminformatics, AI/ML, or your own custom worker.
+A workflow is a directed graph of nodes. When you hit Execute, the **orchestration service** interprets that graph as a durable Temporal workflow. It works out which nodes are ready, dispatches each one as a Temporal activity to whichever feature worker registered it (base analytics, cheminformatics, AI/ML, or your own custom worker), and wires each node's outputs into the next node's inputs.
```mermaid
flowchart LR
UI(["๐ฅ๏ธ Workbench draw a workflow in your browser"]) ==>|"โถ Execute"| API["๐ API Server"]
- API ==> T{{"โฑ๏ธ Temporal durable orchestration survives crashes"}}
+ API ==> T{{"โฑ๏ธ Temporal durable execution survives crashes"}}
+ T <==> O["๐ง Orchestration Service interprets the graph, schedules nodes"]
T -->|"dispatch node"| W1["๐ Base Analytics"]
T -->|"dispatch node"| W2["๐งช Cheminformatics"]
T -->|"dispatch node"| W3["๐ค AI / ML"]
@@ -63,11 +64,14 @@ flowchart LR
classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
+ classDef orch fill:#ec489955,stroke:#ec4899,stroke-width:4px
class UI ui
class API,T core
+ class O orch
class W1,W2,W3 worker
class W4 hero
linkStyle 1 stroke:#ec4899,stroke-width:4px
+ linkStyle 2 stroke:#ec4899,stroke-width:4px
```
See [Architecture Overview](./architecture/overview.md) for the full execution path.