Skip to content

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

docs(flows): document tinyflows builder gate host

Steven Enamakel28bfbb7fa7b8
diff --git a/crates/openhuman-core/src/flows/README.md b/crates/openhuman-core/src/flows/README.md
index 41aa0489a4..a6d3e10058 100644
--- a/crates/openhuman-core/src/flows/README.md
+++ b/crates/openhuman-core/src/flows/README.md
@@ -51,7 +51,7 @@ it into a `WorkflowGraph`, and rejects anything `tinyflows::validate::validate`
refuses. Engine-compatibility checks map topology problems onto
`FlowValidationError`.
-Agent-authored graphs pass one more stack, `run_builder_gates` in
+Agent-authored graphs pass one more stack, `run_builder_gates` (a `tinyflows::gates::BuilderGateHost` over `builder_failures`) in
[`ops/builder_gates.rs`](./ops/builder_gates.rs). It is the single definition of the author-time hard
gates, run in increasing cost order and short-circuiting on the first failure:
engine compatibility, binding resolvability, agent-ref resolvability,
diff --git a/docs/module-boundary-inventory.md b/docs/module-boundary-inventory.md
index 8b506f168e..912ecf17f6 100644
--- a/docs/module-boundary-inventory.md
+++ b/docs/module-boundary-inventory.md
@@ -472,3 +472,7 @@ adapter that correlates harness history into its `ToolResult`. The host keeps
approval classification (`SecurityPolicy`), Composio schema lookup, and the
store, checkpoint, bus and cron effects. TinyFlows is a plain library gitlink,
so there is no registry record or `module-boundaries.json` entry.
+
+### TinyFlows builder gate stack (#7551)
+
+`flows/ops/builder_gates.rs` no longer orders the author-time gates. `tinyflows::gates::builder_failures` runs compatibility, saved-workflow, portable authoring and binding gates, then the host stages, then the mock-run argument preflight. The host implements `BuilderGateHost`: `ToolPolicy` (workspace-relative upload paths), `AgentReferences`, `Connections` and `ToolContracts`, plus the saved-workflow lookup. `validate_binding_resolvability` and `validate_required_arg_resolvability` are deleted. Provider connectivity remains an advisory proposal field, not a stage.