Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(cron): update cron domain documentation and dependencies

Steven Enamakelb281a16b08bf
diff --git a/Cargo.lock b/Cargo.lock
index 5a5d74a1ea..96403b2108 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5449,7 +5449,6 @@ dependencies = [
"tinydocs-bus",
"tinyflows",
"tinyflows-bus",
- "tinyflows-catalog",
"tinyflows-drivers",
"tinyflows-import",
"tinyflows-module",
diff --git a/crates/openhuman-core/src/cron/README.md b/crates/openhuman-core/src/cron/README.md
index 1a16841d70..f81b3445b4 100644
--- a/crates/openhuman-core/src/cron/README.md
+++ b/crates/openhuman-core/src/cron/README.md
@@ -1,12 +1,10 @@
# cron
-The cron domain runs scheduled jobs. It owns the background scheduler loop that
-fires due jobs, the three ways a job can run (a shell command, an agent turn, or
-a hand-off to another domain), the delivery layer that routes a run's output to
-the right place, and the `cron.*` RPC controllers and agent tools that create
-and manage jobs. The scheduler is spawned as a core background service; agents
-reach it through the `cron` and `schedule` tools, and the desktop UI through
-the `cron` RPC namespace.
+The cron domain exposes the `cron.*` RPC controllers and agent tools that
+create and manage scheduled jobs. The core service drives scheduler dispatch,
+publishes health transitions, and supplies the host job handlers and delivery
+callbacks. Agents reach it through the `cron` and `schedule` tools, and the
+desktop UI through the `cron` RPC namespace.
Scheduling itself is not in core. The `tinyflows` loadable module owns the
scheduler runtime (poll pass, process-wide run claims, retry with backoff,
@@ -16,9 +14,12 @@ agent-job cadence floor). Core reaches it only through the `tinyflows-bus`
contract (`tinyflows_bus::schedule`, v6), and keeps what is policy and what is
pluggable: the callbacks the module runs jobs through, the document port it
persists through, the job-kind handler registry, delivery, the operator limits
-and the RPC and tool surface. Core links neither `tinyflows-schedule` nor
-`tinyflows-drivers`' schedule store (`cargo tree -p openhuman -e normal -i
-tinyflows-schedule` is empty).
+and the RPC and tool surface. The core's normal dependency graph excludes the
+TinyFlows engine, catalog, copilot, drivers, and schedule implementation; the
+pure `tinyflows-import` readers remain for legacy data.
+
+Check this boundary with
+`scripts/assert-shed.sh default tinyflows tinyflows-catalog tinyflows-copilot tinyflows-drivers tinyflows-schedule`.
## How it works
diff --git a/crates/openhuman-core/src/modules/registry/records_flows.rs b/crates/openhuman-core/src/modules/registry/records_flows.rs
index a97673e662..cf5851d450 100644
--- a/crates/openhuman-core/src/modules/registry/records_flows.rs
+++ b/crates/openhuman-core/src/modules/registry/records_flows.rs
@@ -3,7 +3,7 @@ use crate::modules::types::{LoadPolicy, ModuleRecord, PlatformAsset, SourceSpec}
pub(crate) const TINYFLOWS: ModuleRecord = ModuleRecord {
id: "tinyflows",
- description: "Scheduled jobs and workflow authoring through TinyFlows",
+ description: "Scheduled jobs, workflow Catalog/Runs execution, and authoring through TinyFlows",
bus_name: tinyflows_bus::BUS_NAME,
object_path: tinyflows_bus::OBJECT_PATH,
version: "0.8.28",
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
index 780b298be4..55b83b943a 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
@@ -272,7 +272,7 @@ Capability {
domain: "flows",
category: CapabilityCategory::Automation,
description: "A `dedup` node inside a saved workflow graph, giving the flow durable \
- exactly-once processing per item with no agent turn or extra plumbing \
+ per-item deduplication with no agent turn or extra plumbing \
involved. It drops an item whose per-item key was already committed by a \
prior successful run, and otherwise passes it through. Committing happens \
automatically: keys the node passes through are marked done only once the \