The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed .gitignore,crates/openhuman-core/src/flows/skills/flow-authoring/references/dry
Steven Enamakel864f4a0e766a
diff --git a/.gitignore b/.gitignoreindex 09d4961f3c..f84e034e9d 100644--- a/.gitignore+++ b/.gitignore@@ -66,6 +66,10 @@ scripts/ci-secrets.local.json*.sln*.sw?references/+# Flow-authoring pages are compiled into the core binary; do not hide them+# behind the generic generated-reference-directory rule above.+!crates/openhuman-core/src/flows/skills/flow-authoring/references/+!crates/openhuman-core/src/flows/skills/flow-authoring/references/*.mdcrates/openhuman-app/runtime-skill-*.mypy_cache.ruff_cachediff --git a/crates/openhuman-core/src/flows/skills/flow-authoring/references/dry-run.md b/crates/openhuman-core/src/flows/skills/flow-authoring/references/dry-run.mdnew file mode 100644index 0000000000..026c611bc0--- /dev/null+++ b/crates/openhuman-core/src/flows/skills/flow-authoring/references/dry-run.md@@ -0,0 +1,21 @@+# Reading a dry run++A dry run evaluates the graph without committing the real side effects. It is+useful for checking node wiring, expression results, branches, and the actions+the graph would request. It is not evidence that external services accepted a+request, that credentials are valid, or that a real action completed.++## Report results precisely++Say which input was used, which branches executed, and which proposed actions+were observed. Separate values that were evaluated from actions that would+have happened. Never describe a dry run as sending a message, writing memory,+or modifying an integration.++## Limits++Use non-secret representative data. Test alternate branches and absent+optional values when they affect a decision. A dry run cannot prove behavior+behind a live provider, approval prompt, network failure, rate limit, or+permission boundary; name those remaining checks before asking to run the+workflow for real.diff --git a/crates/openhuman-core/src/flows/skills/flow-authoring/references/expressions.md b/crates/openhuman-core/src/flows/skills/flow-authoring/references/expressions.mdnew file mode 100644index 0000000000..17e4bbc271--- /dev/null+++ b/crates/openhuman-core/src/flows/skills/flow-authoring/references/expressions.md@@ -0,0 +1,30 @@+# Expressions++Use a literal value unless a field must be derived at run time. A value that+starts with `=` is evaluated as an expression; all other values are passed to+the node unchanged.++## Inputs and results++Build expressions from the values exposed by the node contract. Start by+reading `get_node_kind_contract` for the node being configured, then use the+documented input and output names exactly. Do not guess a path from a label:+a graph can validate while a guessed path evaluates to `null` at run time.++Use jq only for a transformation that cannot be represented by selecting a+field. Keep filters small, preserve the value type expected by the destination+port, and account for absent optional fields with `?` or an explicit default.++## Files and outbound actions++An attachment must come from an output that is documented as a file or binary+artifact. Do not turn arbitrary text into a path, and do not put a local path+in a remote-action configuration. Inspect the producing node's output+contract before wiring it to an outbound action.++## Check before proposing++Before presenting a graph, use the dry-run tool on representative, non-secret+input. A successful expression evaluation proves only the exercised shape of+data; it does not prove that optional fields will exist in every production+run.diff --git a/crates/openhuman-core/src/flows/skills/flow-authoring/references/node-config.md b/crates/openhuman-core/src/flows/skills/flow-authoring/references/node-config.mdnew file mode 100644index 0000000000..2d28d5172d--- /dev/null+++ b/crates/openhuman-core/src/flows/skills/flow-authoring/references/node-config.md@@ -0,0 +1,30 @@+# Node configuration++`get_node_kind_contract` is the source of truth for a node's fields, ports,+examples, and validation rules. Read it before configuring any node; this+page records only conventions shared by several node kinds.++## Memory and deduplication++Give memory operations a stable source scope. Scope identifies where a fact+comes from; an item ID is only a deduplication key and must not be used as the+collection scope. Choose a deterministic deduplication key from data that is+available on every run. Do not use a timestamp or generated UUID when the+intent is to suppress repeated work.++## Triggers++Make a trigger narrow enough that its input shape and authorization boundary+are clear. A trigger begins a run; it does not grant an action permission.+Any side effect still needs the normal approval and policy path.++## Error handling++Set per-node error handling deliberately. Continue only when later nodes can+produce a correct result without this node's output. Prefer a visible failure+for required inputs and side effects; swallowing an error may make a completed+run misleading.++After configuring a node, inspect its port types and connect only compatible+outputs. A graph proposal should state the purpose of each non-default error+policy so the user can review its consequence.