diff --git a/workshop/images/15-conditional-flow-dark.svg b/workshop/images/15-conditional-flow-dark.svg index d65a8f60..3e2a9020 100644 --- a/workshop/images/15-conditional-flow-dark.svg +++ b/workshop/images/15-conditional-flow-dark.svg @@ -1,84 +1,88 @@ - + + + + + + + - + - Conditional Logic Flow - How a deterministic shell step gates the agentic job - - - - - - Shell Step - git log --since="24h" - | wc -l - id: recent + Conditional Logic Flow + How a deterministic shell step gates the agentic job + + + + 1 + Gather context + + + 2 + Expose as output + + + 3 + Evaluate condition + + + + + + Shell Step + git log --since="24h" + | wc -l + id: recent - + - - - - $GITHUB_OUTPUT - commit_count=3 - steps.recent.outputs.commit_count + + + + $GITHUB_OUTPUT + commit_count=3 + steps.recent.outputs.commit_count - + - - if: condition - count != '0' + + if: condition + count != '0' - - - true + + + true - - - - ✅ Agent Job Runs - AI processes commits - and posts report + + + + Agent Job Runs + AI processes commits + and posts report - - - false + + + false - - - - ⏭ Agent Job Skipped - No commits — no report - saved AI tokens - - - - 1 - - 2 - - 3 - - - Gather context - Expose as output - Evaluate condition + + + + Agent Job Skipped + No commits — no report + saves AI tokens - Deterministic steps run first; the agent job is gated by the evaluated output value. + Deterministic steps run first; the agent job is gated by the evaluated output value. - - - - - - diff --git a/workshop/images/15-conditional-flow-light.svg b/workshop/images/15-conditional-flow-light.svg index 77accb05..1168d12e 100644 --- a/workshop/images/15-conditional-flow-light.svg +++ b/workshop/images/15-conditional-flow-light.svg @@ -1,84 +1,88 @@ - + + + + + + + - + - Conditional Logic Flow - How a deterministic shell step gates the agentic job + Conditional Logic Flow + How a deterministic shell step gates the agentic job + + + + 1 + Gather context - - - - - Shell Step - git log --since="24h" - | wc -l - id: recent + + 2 + Expose as output - - + + 3 + Evaluate condition + + + + + + Shell Step + git log --since="24h" + | wc -l + id: recent + + + - - - - $GITHUB_OUTPUT - commit_count=3 - steps.recent.outputs.commit_count + + + + $GITHUB_OUTPUT + commit_count=3 + steps.recent.outputs.commit_count - - + + - - if: condition - count != '0' + + if: condition + count != '0' - - - true + + + true - - - - ✅ Agent Job Runs - AI processes commits - and posts report + + + + Agent Job Runs + AI processes commits + and posts report - - - false + + + false - - - - ⏭ Agent Job Skipped - No commits — no report - saved AI tokens - - - - 1 - - 2 - - 3 - - - Gather context - Expose as output - Evaluate condition + + + + Agent Job Skipped + No commits — no report + saves AI tokens - Deterministic steps run first; the agent job is gated by the evaluated output value. + Deterministic steps run first; the agent job is gated by the evaluated output value. - - - - - -