Write a workflow
A Markdown workflow file brings its configuration and prompts together. Follow one complete example, then connect steps and supply the context each prompt needs.
1. Write a first workflow
Start with the whole file
A workflow is a Markdown file. The whole file has two parts: YAML frontmatter that describes the workflow and its steps, followed by Markdown sections containing prompts for provider-backed steps.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Describe the workflow
schema_version: "1.0" states the workflow format and rules the file follows. It must match the schema supported by your Crewplane installation.
name gives the workflow a name. The optional description is a plain-language summary of its purpose.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Read the YAML structure
YAML uses key: value entries for settings and spaces to show which settings belong together. Here mode and providers are indented beneath the node they describe.
Under nodes:, the dash starts a list item. The brackets in providers: [mock] make a list containing one provider name.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Name a step
A node is a named step in a workflow. This file declares one node, and id: inspect gives it the name inspect.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Choose a mode
mode: parallel sends the same prompt to one or more executor providers at the same time. This example lists one provider, so it receives the prompt once.
An input node loads a file without a provider. A sequential node can run one executor through ordered rounds, or use executors followed by reviewers in a review loop.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Node modes
Load a file
mode: inputAn input node loads a file as an artifact without invoking a provider.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- File → Input node · read
- Input node → Node output · save
Choose source text
The source field points to a file for Crewplane to read. This supplies existing project context without asking a provider to produce it.
Load without a provider
An input node reads the specified file and exposes it as an artifact. It has no provider invocation or authored prompt section.
Use the saved contents
The input node’s output contains the file text. A downstream prompt can insert that output explicitly after depending on the input node.
Send one prompt to providers
mode: parallelThe same node prompt goes to each selected executor provider independently. Their outputs are combined into the node result.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Node prompt → Provider 1
- Node prompt → Provider 2
- Provider 1 → Node result
- Provider 2 → Node result
Prepare one instruction
Crewplane sends the same rendered node prompt to each selected executor. This is provider fanout within a single node, distinct from concurrent workflow nodes.
First independent executor
The first provider receives the shared prompt and produces its own output. It does not review the second provider’s answer in parallel mode.
Second independent executor
The second provider receives the same prompt and works independently. Its output is retained alongside the first provider’s output.
Collect the responses
Crewplane aggregates the latest output for each provider task into the node result. A later node can reference that combined result in its prompt.
Run an executor in rounds
mode: sequentialOne executor runs a fixed number of ordered rounds, with the last completed round supplying the result; previous output is not automatically added to the next prompt. Configured reviewers can form an executor/reviewer loop.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Round 1 → Round 2 · then
- Round 2 → Node result · result
Start the sequence
The executor runs the first configured round. With two rounds configured, success here does not skip the second round.
Run the same executor again
The next round follows the first, but the previous response is not automatically inserted into its prompt. The provider can inspect edits in the continued working files.
Select the last round
The node result comes from the last completed executor round. For distinct handoffs, use separate nodes with a dependency and an explicit artifact reference.
Select an agent
providers: [mock] names the configured agent for this step. The name must match an entry under agents in .crewplane/config.yml.
When the project uses the mock invoker, calls produce deterministic mock output without starting a provider CLI. The agent name alone does not select the invoker.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Match the prompt heading
## inspect is a Markdown heading. Its name matches id: inspect, connecting this prompt section to the node above.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Write the prompt
The text below the heading tells the selected provider what to do. Crewplane prepares this prompt for the node and supplies it to the configured provider; the provider performs the assigned work.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Prompt delivery with mock
With the mock invoker, no provider CLI starts; a CLI invoker can start a configured provider instead.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Prompt → mock · prepare prompt
- mock → Saved result · save output
The authored instruction
The inspect section gives the agent a specific task: identify the highest-risk issue. Crewplane prepares that text for the selected agent when the node runs.
The mock agent
The workflow selects the configured mock agent. Its mock invoker produces deterministic output locally, so this example does not launch a provider CLI.
The saved output
Crewplane saves the mock response as the node result. A later node can reference that saved output in its own prompt.
Keep node IDs valid
Use lowercase letters, digits, ., _, and - in node IDs. The reserved IDs ., .., logs, manifests, preflight, and workspace-exports are not allowed.
Each provider-backed node needs exactly one matching ## <node-id> section. An input node uses source instead and has no authored prompt section.
---schema_version: "1.0"name: Reviewdescription: Review the repository for risksnodes: - id: inspect mode: parallel providers: [mock]---
## inspectReview the repository and describe the highest-risk issue. Choose a workflow format
Crewplane can load YAML workflows directly. Imports and composition require Markdown workflows; frontmatter can also declare inputs, imports, and worktree settings.
Workflow formats
Both formats can declare workflows; composition uses Markdown.
2. Connect the steps
Set the order
needs: [inspect] makes summarize wait for inspect. Independent nodes can run at the same time once their own dependencies are satisfied.
nodes: - id: inspect mode: parallel providers: [mock] - id: summarize mode: sequential providers: [mock] needs: [inspect]
## summarizeSummarize the review:
{{inspect.output}} Two connected workflow steps
The arrow shows order; a prompt reference separately supplies content.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- inspect → summarize · needs
Inspect runs first
The inspect node reviews the repository and saves its output. The dependency makes it a prerequisite for summarize, rather than letting both nodes start independently.
Summarize waits
The summarize node cannot start until inspect meets its dependency. Waiting alone does not include the review text; the prompt must reference the saved output explicitly.
needs: [inspect]
{{inspect.output}} Pass the result
{{inspect.output}} inserts the saved output into the summarize prompt. The dependency sets order; the reference supplies content.
nodes: - id: inspect mode: parallel providers: [mock] - id: summarize mode: sequential providers: [mock] needs: [inspect]
## summarizeSummarize the review:
{{inspect.output}} Order and content are separate
The dependency determines when the node can run; the template inserts the saved text.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- inspect → summarize · needs: order
- inspect → summarize · output: prompt content
The source of the review
Inspect saves a result that summarize can use. Its node ID identifies both the prerequisite in needs and the artifact in the prompt reference.
Wait, then insert text
The needs entry orders summarize after inspect. The separate template inserts the saved review into the prompt prepared for summarize.
needs: [inspect]
{{inspect.output}} Load a file
An input node uses mode: input and source to load a file without invoking a provider. It has no authored prompt section.
nodes: - id: standards mode: input source: "{{file:standards.md}}" - id: inspect mode: parallel providers: [mock] needs: [standards]
## inspectReview against these standards:
{{standards.output}} Input to provider
The input loads a file without invoking a provider.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- standards.md → standards · read
- standards → inspect · needs
The source file
The input node reads standards.md from the project using a file template. Its contents become an artifact that the later review can use.
source: "{{file:standards.md}}" Load standards once
The standards node loads the file without a provider call or a prompt section. Its saved output gives inspect a named artifact to reference.
Review with standards
Inspect waits for standards and inserts its output into the review prompt. Both the dependency and the reference are needed to express order and provide the file text.
needs: [standards]
{{standards.output}} Use the file
Make inspect depend on standards and put {{standards.output}} in its prompt. The file content is supplied when the prompt is prepared.
nodes: - id: standards mode: input source: "{{file:standards.md}}" - id: inspect mode: parallel providers: [mock] needs: [standards]
## inspectReview against these standards:
{{standards.output}} Input to provider
The input loads a file without invoking a provider.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- standards.md → standards · read
- standards → inspect · needs
The source file
The input node reads standards.md from the project using a file template. Its contents become an artifact that the later review can use.
source: "{{file:standards.md}}" Load standards once
The standards node loads the file without a provider call or a prompt section. Its saved output gives inspect a named artifact to reference.
Review with standards
Inspect waits for standards and inserts its output into the review prompt. Both the dependency and the reference are needed to express order and provide the file text.
needs: [standards]
{{standards.output}} 3. Choose how a node runs
Send the same prompt to providers
parallel sends the same executor prompt to one or more providers and combines their outputs. This happens inside one node, independently of concurrency between workflow nodes.
nodes: - id: review.context mode: parallel providers: [claude, codex] Providers in one node
Parallel mode sends the same prompt to providers within one node.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Prompt → claude · send
- Prompt → codex · send
- claude → Node output · output
- codex → Node output · output
One prompt, two recipients
Crewplane prepares the review.context prompt once and sends the same executor prompt to both selected providers. This fanout occurs inside one workflow node.
Claude executes independently
Claude receives the same prompt as Codex and produces its own output. It is an executor here, not a reviewer of the other provider’s response.
Codex executes independently
Codex receives the same prompt as Claude and produces its own output. The two calls can run concurrently within this node.
Outputs collected together
Crewplane aggregates the latest output for each provider task into the node result. A downstream reference to review.context.output can then include the combined results.
Run in order
A sequential node with one provider runs an executor; depth is the total number of executor rounds. Multiple providers can form a review loop, with executors listed before reviewers.
nodes: - id: summarize mode: sequential depth: 2 providers: [mock] Ordered executor rounds
A single-provider sequential node runs the configured number of rounds.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Round 1 → Round 2 · then
The first executor round
With depth set to 2, the mock executor runs once here and then runs a second time. A successful first round does not end this fixed sequence early.
The second executor round
The same executor runs again after round 1. Crewplane does not automatically insert the previous response into its prompt, although the provider can inspect continued working files.
Configure provider entries
A provider can be a name or an object with a model, supported provider-native reasoning value, and role. Parallel nodes allow only executors; sequential review loops put executors before reviewers. Reviewers approve with NO_FINDINGS or NITS_ONLY; all must approve for consensus.
providers: - claude - provider: codex model: gpt-6.1-sol reasoning: high role: reviewer Provider roles
This provider list assigns the executor and reviewer roles.
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- claude → codex · review
The executor entry
The shorthand claude entry uses the configured agent defaults and the executor role. In a sequential review loop, executor entries come before reviewer entries.
The reviewer entry
This object selects Codex as a reviewer and requests a model and reasoning value. The reviewer checks executor output; it does not create the initial candidate.
Connect names to configuration
An agent is a named entry in .crewplane/config.yml; its provider kind selects an adapter, not installation or authentication. The invoker uses deterministic mock calls or starts external CLI processes through cli.
From workflow to provider
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Workflow → Configuration · select
- Configuration → Invoker · prepare
Choose an agent by name
A workflow provider entry names an agent. Crewplane looks up that name in the project configuration to determine how the agent is invoked.
Resolve the agent configuration
The named entry in .crewplane/config.yml supplies the command and provider kind. The kind selects an adapter; it does not install or authenticate the CLI.
Choose how the call runs
A mock invoker returns deterministic responses. A CLI invoker starts the configured external process, so the agent setup must be usable in that environment.
4. Follow a review loop inside a node
Follow work through one node
A sequential node can contain both an executor and a reviewer. The executor produces a candidate: the output reviewers inspect.
If review blocks the candidate, Crewplane passes unresolved feedback to the executor for a fix when an attempt remains. The selected node result is executor output; reviewer output remains available as evidence.
---schema_version: "1.0"name: Review Loop Examplenodes: - id: implement mode: sequential providers: - provider: codex role: executor - provider: claude role: reviewer---
## implementImplement the requested change and list the files changed. Explore the review loop
Maximum fixes in each audit.
Maximum fresh review passes.
Choose whether the executor or reviewers run first.
Reviewers request changes on the first candidate review in each audit, including new issues in later audits. They approve the next review if a fix is available.
codexclaudeAudit and fix budget
Up to 1 audits can run. Each includes a first candidate review and allows up to 1 fixes; the first review does not use a fix.
Ready to start
Choose the settings and outcome, then play or step through the loop.
Depth and audit rounds are maximums. Approval can leave fixes unused, and a clean first review ends the loop early.
Configuration
depth: 1
audit_rounds: 1
review_starts_with: executor One fix in each audit. Reviewers request changes on the first candidate review in each audit, including new issues in later audits. They approve the next review if a fix is available.
- Executor runs — The executor runs to produce this node’s first candidate.
- Candidate ready — Candidate version 1 is the executor output ready for review.
- Changes requested — Reviewers request changes to candidate version 1.
- Executor fixes — Fix 1 of up to 1 in audit 1: the executor receives the current candidate and unresolved feedback.
- Candidate ready — Candidate version 2 is the executor output ready for review.
- Candidate approved — All reviewers approve candidate version 2 in audit 1.
- Approved result selected — Reviewers approved candidate version 2 after a fix, and no later audits remain. The selected result is executor output.
Count fix attempts with depth
depth is the maximum number of executor fix attempts in one audit. The first candidate and reviewer calls do not spend this budget.
With depth: 2, a blocked first review can lead to fix 1 and another review; if still blocked, fix 2 can follow. Approval can stop the audit before both fixes are used.
---schema_version: "1.0"name: Review Loop Examplenodes: - id: implement mode: sequential providers: - provider: codex role: executor - provider: claude role: reviewer depth: 2---
## implementImplement the requested change and list the files changed. Explore the review loop
Maximum fixes in each audit.
Maximum fresh review passes.
Choose whether the executor or reviewers run first.
Reviewers request changes on the first two candidate reviews in each audit, including new issues in later audits. They approve the next review if two fixes are available.
codexclaudeAudit and fix budget
Up to 1 audits can run. Each includes a first candidate review and allows up to 2 fixes; the first review does not use a fix.
Ready to start
Choose the settings and outcome, then play or step through the loop.
Depth and audit rounds are maximums. Approval can leave fixes unused, and a clean first review ends the loop early.
Configuration
depth: 2
audit_rounds: 1
review_starts_with: executor Two fixes in each audit. Reviewers request changes on the first two candidate reviews in each audit, including new issues in later audits. They approve the next review if two fixes are available.
- Executor runs — The executor runs to produce this node’s first candidate.
- Candidate ready — Candidate version 1 is the executor output ready for review.
- Changes requested — Reviewers request changes to candidate version 1.
- Executor fixes — Fix 1 of up to 2 in audit 1: the executor receives the current candidate and unresolved feedback.
- Candidate ready — Candidate version 2 is the executor output ready for review.
- Changes requested — Reviewers request changes to candidate version 2.
- Executor fixes — Fix 2 of up to 2 in audit 1: the executor receives the current candidate and unresolved feedback.
- Candidate ready — Candidate version 3 is the executor output ready for review.
- Candidate approved — All reviewers approve candidate version 3 in audit 1.
- Approved result selected — Reviewers approved candidate version 3 after a fix, and no later audits remain. The selected result is executor output.
Give a candidate a fresh audit
audit_rounds is the maximum number of fresh review passes. Each audit has its own depth fix budget.
A later audit starts by reviewing the latest valid executor candidate from the prior audit, including when that audit exhausted its fixes. It does not carry the prior audit’s unresolved review state into the fresh review.
If reviewers approve on the first candidate review of an audit, the loop ends early. Approval after a fix ends that audit; another configured audit can then review the candidate afresh.
---schema_version: "1.0"name: Review Loop Examplenodes: - id: implement mode: sequential providers: - provider: codex role: executor - provider: claude role: reviewer depth: 1 audit_rounds: 2---
## implementImplement the requested change and list the files changed. Explore the review loop
Maximum fixes in each audit.
Maximum fresh review passes.
Choose whether the executor or reviewers run first.
Reviewers request changes on the first candidate review in each audit, including new issues in later audits. They approve the next review if a fix is available.
codexclaudeAudit and fix budget
Up to 2 audits can run. Each includes a first candidate review and allows up to 1 fixes; the first review does not use a fix.
Ready to start
Choose the settings and outcome, then play or step through the loop.
Depth and audit rounds are maximums. Approval can leave fixes unused, and a clean first review ends the loop early.
Configuration
depth: 1
audit_rounds: 2
review_starts_with: executor One fix in each audit. Reviewers request changes on the first candidate review in each audit, including new issues in later audits. They approve the next review if a fix is available.
- Executor runs — The executor runs to produce this node’s first candidate.
- Candidate ready — Candidate version 1 is the executor output ready for review.
- Changes requested — Reviewers request changes to candidate version 1.
- Executor fixes — Fix 1 of up to 1 in audit 1: the executor receives the current candidate and unresolved feedback.
- Candidate ready — Candidate version 2 is the executor output ready for review.
- Candidate approved — All reviewers approve candidate version 2 in audit 1.
- Fresh audit begins — Audit 2 begins with candidate version 2 from the prior audit. Review starts afresh, so reviewers can request changes again, and the fix count resets to zero.
- Changes requested — Reviewers request changes to candidate version 2.
- Executor fixes — Fix 1 of up to 1 in audit 2: the executor receives the current candidate and unresolved feedback.
- Candidate ready — Candidate version 3 is the executor output ready for review.
- Candidate approved — All reviewers approve candidate version 3 in audit 2.
- Approved result selected — Reviewers approved candidate version 3 after a fix, and no later audits remain. The selected result is executor output.
Review existing context first
Use review_starts_with: reviewer when there is already something to inspect. Put the context in the prompt, such as an explicitly referenced project file. This first review is round 0 and does not spend depth.
The executor still runs after round 0. If reviewers approve the context, it is told to preserve it while writing this node’s output; if they report blocking feedback, that feedback goes to the executor. Reviewers then inspect the new candidate.
---schema_version: "1.0"name: Review Loop Examplenodes: - id: implement mode: sequential providers: - provider: codex role: executor - provider: claude role: reviewer review_starts_with: reviewer---
## implementUse this file as context for the initial review and any required fix:
{{file:src/foo.py}} Explore the review loop
Maximum fixes in each audit.
Maximum fresh review passes.
Choose whether the executor or reviewers run first.
In this example, reviewers approve the first candidate review.
codexclaudeAudit and fix budget
Up to 1 audits can run. Each includes a first candidate review and allows up to 1 fixes; the first review does not use a fix.
Ready to start
Choose the settings and outcome, then play or step through the loop.
Depth and audit rounds are maximums. Approval can leave fixes unused, and a clean first review ends the loop early.
Configuration
depth: 1
audit_rounds: 1
review_starts_with: reviewer Approved on first review. In this example, reviewers approve the first candidate review.
- Context approved — Round 0: reviewers approve the provided context. The executor still runs and is told to preserve that context; no fix attempt has been spent.
- Executor runs — The executor runs to produce this node’s first candidate.
- Candidate ready — Candidate version 1 is the executor output ready for review.
- Candidate approved — All reviewers approve candidate version 1 in audit 1.
- Clean review ends loop — The first candidate review in audit 1 is clean, so its remaining fixes and all later audits are not needed.
Know what happens at the limit
Every reviewer must approve for the candidate to have consensus. If an audit uses its fixes without approval, a later configured audit can still review the latest valid candidate with a fresh budget.
If the loop exhausts its configured attempts without approval, the default policy can continue with a valid candidate that reviewers did not approve. Set sequential_consensus_on_exhaustion: fatal in .crewplane/config.yml and leave continue_on_failure unset or false on the node when later work requires approval.
A separate no_progress stop applies after two consecutive fixes leave the work unchanged with the same feedback unresolved.
settings: sequential_consensus_on_exhaustion: fatal Explore the review loop
Maximum fixes in each audit.
Maximum fresh review passes.
Choose whether the executor or reviewers run first.
In this example, reviewers request changes on every review, and every fix changes the candidate.
codexclaudeAudit and fix budget
Up to 1 audits can run. Each includes a first candidate review and allows up to 1 fixes; the first review does not use a fix.
Ready to start
Choose the settings and outcome, then play or step through the loop.
Depth and audit rounds are maximums. Approval can leave fixes unused, and a clean first review ends the loop early.
Configuration
depth: 1
audit_rounds: 1
review_starts_with: executor Always blocked. In this example, reviewers request changes on every review, and every fix changes the candidate.
- Executor runs — The executor runs to produce this node’s first candidate.
- Candidate ready — Candidate version 1 is the executor output ready for review.
- Changes requested — Reviewers request changes to candidate version 1.
- Executor fixes — Fix 1 of up to 1 in audit 1: the executor receives the current candidate and unresolved feedback.
- Candidate ready — Candidate version 2 is the executor output ready for review.
- Changes requested — Reviewers request changes to candidate version 2.
- Node fails on exhaustion — The configured audits and fixes are exhausted without approval. With sequential_consensus_on_exhaustion set to fatal and continue_on_failure unset or false, the node fails and dependent work is blocked.
5. Use values in prompts
Choose a reference
Runtime templates can insert a file, environment value, runtime variable, node output, findings, path, size, or SHA-256 digest. Findings references require a node that declares findings: true.
{{file:path}}{{env:KEY}}{{var:KEY}}{{node.output}}{{node.findings}}{{node.output_path}}{{node.findings_path}}{{node.output_size}}{{node.findings_size}}{{node.output_sha256}}{{node.findings_sha256}} What runtime references insert
Distinguish contents from paths
{{node.output}} inserts saved text; {{node.output_path}} inserts only its path. When using a path, tell the provider to open the file and what to inspect; a path, size, or digest does not do that by itself.
Two ways to refer to output
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Saved output → output · insert text
- Saved output → output_path · insert path
A saved node artifact
A completed node’s output can be inserted as text or referenced by its path. The choice affects what the downstream provider sees in its prompt.
Insert the text
The output template places the saved contents directly into the prompt. Use it when the provider needs that text as immediate context.
{{inspect.output}} Insert only the path
The output_path template supplies a path, not the file contents. Tell the provider to open the file and specify what to inspect if it needs the contents.
{{inspect.output_path}} Understand file access
{{file:path}} reads UTF-8 text within the project root by default. External files require settings.file_access.allowed_template_paths; symlinks are resolved before the final access check. References under .crewplane/execution-results/<run-key>/ are allowed only after the source run has succeeded, failed, or been cancelled. Running-run results and other runtime-owned paths stay blocked.
File template access
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- file:path → Resolve path
- Resolve path → Project files · check
- Resolve path → External files · check
- Resolve path → Run records · check
Request file text
A file template inserts UTF-8 text from a path into the prompt. Crewplane checks access to the resolved path before reading it.
{{file:docs/standards.md}} Resolve before checking
Crewplane resolves symlinks before the final access check. A path that appears to be inside the project cannot use a symlink to bypass the applicable boundary.
Files in the project
Ordinary project files are allowed by default, subject to the runtime-owned path rules. The template reads the file text rather than asking a provider to open it.
Allow an external path
A file outside the project root requires an explicit entry in settings.file_access.allowed_template_paths. This makes the exception a configuration choice.
Results from finished runs
Files under execution-results can be referenced only after their source run succeeds, fails, or is cancelled. Results from a running run and other runtime-owned paths remain blocked.
Understand insertion limits
Optional token_budget thresholds count characters in each checked insertion, not the total prompt or model tokens. Several small insertions can still make a large prompt; files a provider opens later are not bounded by those thresholds.
Prompt insertions
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Insertion 1 → Prompt · insert
- Insertion 2 → Prompt · insert
First insertion
A token_budget threshold checks the character count of this inserted artifact or review context on its own. It is not a count of model tokens.
Second insertion
This insertion is checked separately from the first. Both can pass their individual limits even when their combined contribution makes the prompt large.
The assembled prompt
The final prompt can contain several checked insertions plus authored text. The thresholds do not measure the total prompt or limit files a provider opens later.
Set composition-time values
{{param:key}} is for composition. A bound parameter is substituted when Markdown workflows are combined; an unbound parameter becomes {{var:key}} for runtime resolution.
Parameter resolution
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- param → with value · bound
- param → var · unbound
A composition placeholder
A reusable workflow can contain a param placeholder for project_name. Composition resolves it before runtime validation, using a supplied value when available.
{{param:project_name}} A bound value
When the importer supplies project_name in with, composition substitutes that value into the imported workflow. The runtime receives the substituted text.
with:
project_name: "current project"
{{param:project_name}} → current project An unbound value
Without a binding, composition rewrites the placeholder as a runtime variable reference. Crewplane supplies the built-in project_name from the resolved project root directory name.
{{param:project_name}} → {{var:project_name}} 6. Recognize run records
Read the plan
Preflight is the compiled plan checked before provider CLIs run. Its workflow signature helps Crewplane decide whether to skip a duplicate or resume.
Plan and execution
Hover or focus a node to preview its explanation; click to keep it.Tap a node to select its explanation.
- Workflow → Preflight · compile
- Preflight → Run · validate
The authored workflow
The Markdown file supplies node definitions and prompts. Crewplane compiles those declarations into a plan before provider execution.
Check the compiled plan
Preflight validates the compiled plan before provider CLIs run. The resulting workflow signature also helps Crewplane decide whether a run is a duplicate or can resume.
Execute the plan
After validation, Crewplane coordinates the run and its records. Provider-backed nodes can invoke configured providers as their dependencies become ready.
Find saved results
Node-local logs and saved files can appear under .crewplane/execution-stages/<run-key>/<node-id>/. Consolidated output and optional findings appear under .crewplane/execution-results/<run-key>/.