Skip to content

docs(workflows): describe workflows as sessions made of steps - #595

Merged
artempartos merged 1 commit into
developfrom
docs/workflows-sessions-and-steps
Oct 28, 2026
Merged

artempartos merged 1 commit into
developfrom
docs/workflows-sessions-and-steps

Conversation

@artempartos

Copy link
Copy Markdown
Contributor

Why

A reader of Building workflows (/docs/running-workflows) asked whether a workflow is made of steps or of sessions. The builder shows Add a session… and Add a step… under it, but the page still described workflows as steps with sub-steps. It also never said that every session gets its own fresh container, that only output files and the closing note reach later sessions, or that a session's steps are a checklist one agent works through in one container.

What changed

  • Building workflows is written in the builder's terms. A new Sessions and steps section covers the container per session, how files pass between sessions, steps as a checklist in the session's prompt, and when to split work into sessions or keep it as steps. What a session holds now matches the editor (the agent persona sits under Execution, and approval is Auto-run available). A new What a step holds section says that neither the order of steps nor Required is enforced at run time.
  • Sessions & Runs, What Flow is, Getting started, AI Builder and Worked examples now say session where they meant a workflow step.
  • Workflows (User guide, plus its mirror in docs/user-guide/) keeps the API names (step, sub_step) and adds a note that maps them to the builder's session and step.
  • The search index description for Building workflows and a CHANGELOG.md entry under Docs are updated.

The change is docs only. CI is the verification.

Noticed but not changed here: the builder's Required toggle on a step says "Must complete for the parent session to proceed", but nothing enforces it. finish_session does not check it, and the agent's checklist does not even show the flag.

🤖 Generated with Claude Code

The builder names the two levels session and step, but Building workflows
still called them steps and sub-steps, so readers could not tell that each
session gets its own fresh container, that only output files and the closing
note cross between sessions, or that a session's steps are a checklist one
agent works through in one container.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Artem Petrov <[email protected]>
@artempartos
artempartos merged commit d4e90c0 into develop Oct 28, 2026
16 checks passed
artempartos added a commit to Hitin/flow that referenced this pull request Oct 28, 2026
* origin/develop:
  docs(workflows): describe workflows as sessions made of steps (AixleHQ#595)
  feat(workflows): open archived workflows read-only in the builder (AixleHQ#594)
  feat(task-comments): let authors delete their own recent comments (AixleHQ#593)
  feat(mcp): log the JSON-RPC method and tool name of each MCP call (AixleHQ#592)
  fix(board): show a run waiting for a session slot as Queued on its card (AixleHQ#591)
  feat(brand): use the new Aixle Flow lockup and route fonts through tokens (AixleHQ#590)
  feat(overview): show tokens used and session time instead of token cost (AixleHQ#589)
  fix(agents): pre-acknowledge Claude Code's cost-threshold notice (AixleHQ#587)
  test(playwright): QA helpers batch 2 (appRequest, readInertiaPage, shot, probeRoutes, signOut) (AixleHQ#586)
  test(playwright): plain-JS QA helpers for browser_run_code on staging (AixleHQ#584)
  feat(runners): add the runners table and the Runner model (AixleHQ#583)
  refactor(feature-flags): plain cached reads, no usage tooling (AixleHQ#579)

# Conflicts:
#	CHANGELOG.md
artempartos added a commit to Hitin/flow that referenced this pull request Oct 28, 2026
* origin/develop:
  docs(workflows): describe workflows as sessions made of steps (AixleHQ#595)
  feat(workflows): open archived workflows read-only in the builder (AixleHQ#594)
  feat(task-comments): let authors delete their own recent comments (AixleHQ#593)
  feat(mcp): log the JSON-RPC method and tool name of each MCP call (AixleHQ#592)
  fix(board): show a run waiting for a session slot as Queued on its card (AixleHQ#591)
  feat(brand): use the new Aixle Flow lockup and route fonts through tokens (AixleHQ#590)
  feat(overview): show tokens used and session time instead of token cost (AixleHQ#589)
  fix(agents): pre-acknowledge Claude Code's cost-threshold notice (AixleHQ#587)
  test(playwright): QA helpers batch 2 (appRequest, readInertiaPage, shot, probeRoutes, signOut) (AixleHQ#586)
  test(playwright): plain-JS QA helpers for browser_run_code on staging (AixleHQ#584)
  feat(runners): add the runners table and the Runner model (AixleHQ#583)
  refactor(feature-flags): plain cached reads, no usage tooling (AixleHQ#579)

# Conflicts:
#	CHANGELOG.md
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.

1 participant