Skip to main content
foundry collects the odd Foundry-scoped verbs that don’t belong under pipelines (CRUD + runs + logs) or connectors (credentials). Today: one — a natural-language → import-conditions compiler.

Commands

foundry compile-conditions

Turns a natural-language filter (Korean or English) into the structured rules a Cloud Source node executes. Same compiler the Foundry UI runs — surfaced as a CLI verb so scripted pipeline setup can produce the rules programmatically.
Uses the workspace’s Ask AI model.

Input modes

The prompt is a positional string but also accepts the standard piping conventions:

Merging with existing rules

Pass --existing (JSON array, or @file) to merge into a rule set you already have. The server de-dupes:
Prints the merged rule list (default) or the raw {conditions, added} response with --json.

Recipes

Bootstrap a Cloud Source node from natural language

Iterate on a filter

Each pass returns the full merged set plus which rules were newly added.
  • nora pipelines — where the compiled rules land (config.conditions on a Cloud Source node).
  • Source blocks — the concept behind pipeline sources.