diff --git a/docs/use/workflows.md b/docs/use/workflows.md index 1570141e..1031ff5e 100644 --- a/docs/use/workflows.md +++ b/docs/use/workflows.md @@ -31,7 +31,7 @@ Each step supports several optional execution control properties: | Property | Evaluated at | Purpose | |---|---|---| | `Condition` | Plan time | Include or skip the step based on request/intent data. | -| `Preconditions` | Execution time (runtime) | Guard the step against stale or unsafe state immediately before it runs. See [Runtime Preconditions](preconditions.md). | +| `Preconditions` | Execution time (runtime) | Guard the step against stale or unsafe state immediately before it runs. See [Runtime Preconditions](workflows/preconditions.md). | | `OnFailureSteps` | After failure (workflow-level) | Cleanup/rollback steps run after a primary step fails. | --- @@ -175,6 +175,6 @@ For full definitions and reference, see: ## Next steps -- Add runtime safety guards: [Runtime Preconditions](preconditions.md) +- Add runtime safety guards: [Runtime Preconditions](workflows/preconditions.md) - Map external systems: [Providers](providers.md) - Review and export plans: [Plan Export](plan-export.md) (e.g. for CI systems) diff --git a/docs/use/preconditions.md b/docs/use/workflows/preconditions.md similarity index 98% rename from docs/use/preconditions.md rename to docs/use/workflows/preconditions.md index a862c5f9..6f19dfa3 100644 --- a/docs/use/preconditions.md +++ b/docs/use/workflows/preconditions.md @@ -221,5 +221,5 @@ affect any other steps. ## Reference -- [Steps reference](../reference/steps.md) -- [Concepts: Plan → Execute separation](../about/concepts.md) +- [Steps reference](../../reference/steps.md) +- [Concepts: Plan → Execute separation](../../about/concepts.md) diff --git a/website/sidebars.js b/website/sidebars.js index 962285dd..1fd0815f 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -46,8 +46,15 @@ const sidebars = { 'use/walkthrough/05-providers-authentication', ], }, - 'use/workflows', - 'use/preconditions', + { + type: 'category', + label: 'Workflows', + collapsed: true, + items: [ + 'use/workflows', + 'use/workflows/preconditions', + ], + }, 'use/providers', 'use/plan-export', ],