Skip to content

docs(workflows): add the built-in 'init' step type to the Step Types table#3234

Merged
mnriem merged 1 commit into
github:mainfrom
jawwad-ali:docs-workflows-init-step-type
Jun 29, 2026
Merged

docs(workflows): add the built-in 'init' step type to the Step Types table#3234
mnriem merged 1 commit into
github:mainfrom
jawwad-ali:docs-workflows-init-step-type

Conversation

@jawwad-ali

Copy link
Copy Markdown
Contributor

Description

The Step Types table in docs/reference/workflows.md lists command, prompt, shell, gate, if, switch, while, do-while, fan-out, and fan-in — but omits init, which is a registered built-in step.

init is registered in workflows/__init__.py (_register_builtin_steps_register_step(InitStep())) and documented in steps/init/__init__.py as bootstrapping a project (equivalent to specify init) from within a workflow. So the reference table was missing a real, usable step type.

Fix

Add the init row to the table. Docs-only.

Testing

  • markdownlint-cli2 docs/reference/workflows.md → 0 errors.
  • Cross-checked the table against the registry (_register_builtin_steps): with init added, all ten registered built-ins are now documented.

AI Disclosure

  • I did use AI assistance (describe below)

Found and fixed with Claude Code (Claude Opus 4.8) under my direction. AI cross-referenced the documented Step Types table against the runtime step registry and found init missing; I confirmed InitStep is registered and its documented purpose, and reviewed the diff before submitting.

…table

The Step Types table in docs/reference/workflows.md listed command, prompt, shell, gate, if, switch, while, do-while, fan-out, and fan-in, but omitted 'init' -- which IS a registered built-in (workflows/__init__.py _register_builtin_steps registers InitStep) and is documented in steps/init/__init__.py as bootstrapping a project (equivalent to 'specify init'). Add the missing row so the reference matches the registry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the workflow reference documentation to include the built-in init step type, bringing the “Step Types” table in line with the actual set of registered built-in steps in the workflow engine.

Changes:

  • Add an init row to the Step Types table in docs/reference/workflows.md.
Show a summary per file
File Description
docs/reference/workflows.md Adds init to the documented list of workflow step types.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@mnriem mnriem merged commit 5367f69 into github:main Jun 29, 2026
12 checks passed
@mnriem

mnriem commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants