Skip to content

[One Workflow] AI Authoring Preparations: workflows:aiAgent:enabled flag, built-in steps descriptions#254905

Open
Kiryous wants to merge 3 commits intoelastic:mainfrom
Kiryous:kiryous/ai-authoring-foundation
Open

[One Workflow] AI Authoring Preparations: workflows:aiAgent:enabled flag, built-in steps descriptions#254905
Kiryous wants to merge 3 commits intoelastic:mainfrom
Kiryous:kiryous/ai-authoring-foundation

Conversation

@Kiryous
Copy link
Contributor

@Kiryous Kiryous commented Feb 25, 2026

Summary

A small foundational PR that:

  • Adds a constant for the workflows:aiAgent:enabled feature flag
  • Introduces a registry of built-in workflow steps with descriptions (excluding merge and parallel, which aren't implemented yet)

This is groundwork for future Agent Builder integration — no behavioral changes are introduced in this PR.

@Kiryous Kiryous added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:One Workflow Team label for One Workflow (Workflow automation) labels Feb 25, 2026
@Kiryous Kiryous marked this pull request as ready for review February 26, 2026 14:29
@Kiryous Kiryous requested a review from a team as a code owner February 26, 2026 14:29
@elasticmachine
Copy link
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

Comment on lines +19 to +25
export interface BuiltInStepDefinition {
type: string;
description: string;
category: StepCategory;
schema: z.ZodType;
example: string;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not reuse the existing PublicStepDefinition? So we have only format everywhere:

export const WORKFLOWS_UI_VISUAL_EDITOR_SETTING_ID = 'workflows:ui:visualEditor:enabled';
export const WORKFLOWS_UI_EXECUTION_GRAPH_SETTING_ID = 'workflows:ui:executionGraph:enabled';
export const WORKFLOWS_UI_SHOW_EXECUTOR_SETTING_ID = 'workflows:ui:showExecutor:enabled';
export const WORKFLOWS_AI_AGENT_SETTING_ID = 'workflows:aiAgent:enabled';
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this constant used?

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

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:One Workflow Team label for One Workflow (Workflow automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants